Code Monkey home page Code Monkey logo

dpwt's People

Contributors

pro6dog avatar yldbouk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

dpwt's Issues

Create Backend

Since there are no options that can do exactly what we want, I believe the easiest solution is to create a backend that relies on other applications. Here is a rundown on what the backend might do. A script monitors the print db for the first queued job. When a job is first in line, it checks to see if the printer is ready to print something through this solution. If not, wait. If it is ready, slice the file, then begin printing it, checking the status every few minutes. If it errors, send a notification through some solution, like slack or discord (discord allows for webhooks, so it might be easier). When it is done printing, set the job status as needs processing. Notify the requester and the admin (we can notify the user by checking the state of their print and displaying a banner). When it is done, the admin would ready the printer for a new print, and set the job as done. Repeat.

Issues with this method:

  • if a job is outgoing, it will make every other job wait for the job to be done, even if the next job is on a different printer.
  • that’s it so far.

Add reset password prompt for new users

  • Add a new role called "changepassword"
  • Make users with "changepassword" role have a popup on the first login to change password.
  • Add reset password option in the admin console.
  • Limit reset password option so the admin can not change the password of people with higher perms.

User Account Updates Will Not Apply Until User Has Signed Out.

  • User data and permissions are stored in session storage, which means you have you sign out and back in for it to update.

Possible Fixes:

  • We could fetch user data every time we visit a page.
  • Create a rng column that updates each time a change is made to the user.

Context

  • For the first possible fix, we could access the login database and compare the variables there with current session storage.
  • For the second possible fix, you can make a column that creates a random string every time the user data is changed. The string will be stored in the user data upon sign in. Then, on every page, it compares the string with the column. If discrepancies found, log the person out.

Create Feedback Submitter on Website

Create a form on the website to submit feedback. There will be something like three check boxes: issue, new feature and one just general feedback. Once submitted, if issue, webhook the issue to github with issue label. If a new feature, give that corresponding label.

  • Create Page
  • Create Script

Prettify Website

-Here is an issue with some things what we might like to do in the future.

Pages

  • Rewrite the 3D View Page
  • Rewrite Printer Management Page (Refer to comment 552298803)
  • Fill Up Home Page
  • Replace <center> Tags With CSS
  • Make Header Better with Dropdowns

Scripts

  • Make scripts more compact.
  • Get rid of error page and instead add message to script with back button.

Log Users Out on Printer Lock

Same thing as account change, but specifically with printer lock, not other columns.

This could be easily done by checking the session selected printer, then querying the db. If locked, unset printer session variables and return to printer select page.

Work on Solution to slice .stl to .gcode

This needs to be in place to automatically take the files that are in the "Queue" from the website upload. Then the converter will automatically place the new .gcode into the correct queue for that printer.

ezgif com-webp-to-jpg

Add Specific Settings In the website for raft/supports

The purpose of this is to add settings on the website to control the slicer so the user can choose to add a raft and or supports to their object. This information can then be fed to the slicer so it can determine whether or not to print with a raft and/or supports.

Add to Password Reset

Add a confirm password spot for the voluntary password reset, and add responses on the login page.

Fill up home page

We need something to be in the homepage so it isn’t blank. Just something about what it is.

Page Loads Too Fast After Action

When performing an action, such as pausing a job, the page loads too fast before the sql code actually executes, Just add a half second delay before reloading the page.

Fix padding on certain pages.

There are some padding issues on some pages, like the sign up page. Just add some padding. Also check all other pages for errors (typos, missing links, etc.).

Create Feedback Blacklist

Extension to #28
Check local storage for agreedToConsent. If false or doesn’t exist, show consent form warning of misuse. If agreed to, change agreedToConsent to true. If declined, redirect to home page. If agreedToConsent Is true, do not show form.

When loading feedback page, check of the user is blacklisted. If so, disable the form. Do the same in the script in case the page is altered.

Add Color Flag to Requesting Page

This is for when the user is creating a job request and they can choose their color. So when printing is in session requests that are flagged with the same color can be printed at the same time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.