Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null value when no spool selected #605

Closed
NotExpectedYet opened this issue May 30, 2021 · 1 comment
Closed

Null value when no spool selected #605

NotExpectedYet opened this issue May 30, 2021 · 1 comment
Labels
bug Something isn't working / good issue report fixed on dev This issue has been fixed and is on its way stale Any issue which has expired but still has value

Comments

@NotExpectedYet
Copy link
Member

Description of the problem

When no spool selected I get Total 0, and Tool 0: null. Total is correct but tool should not be null. We can't really default here regardless so 0 is fine.

Needs to default to "No Spool"

Reproduction of the problem

...
@NotExpectedYet NotExpectedYet added the bug Something isn't working / good issue report label May 30, 2021
@NotExpectedYet NotExpectedYet added the fixed on dev This issue has been fixed and is on its way label Jul 11, 2021
NotExpectedYet added a commit that referenced this issue Jul 11, 2021
* add filament back to generate on boot.

* add filament back to generate on boot.

* Fixed #605 + totals not been counted on printer control

* update changelog
@github-actions
Copy link

This issue has been marked as stale... It will be closed in 5 days unless commented on.

@github-actions github-actions bot added the stale Any issue which has expired but still has value label Sep 10, 2021
NotExpectedYet added a commit that referenced this issue May 19, 2022
* Bugfix/609 printer bulk functions broken (#610)

* version 1.1.13-hotfix

* wow what a dodo

* Fixed #609

* split function for printer info

* Add tests, remove await and annotate TODO

* Forgot to clean up

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Bugfix/555 offline after error (#614)

* version 1.1.13-hotfix

* Fixed #555 - Offline after error

* fixed the overwrite lag

Co-authored-by: David Zwart <davidzwa@gmail.com>

* V2/add job stats (#619)

* Convert V1 job statistics

* Apply tests from V1

* Job statistics fixed

* 574 state split (#575)

* Squash state op api refactor

* Apply compat check to new OP client implementation

* Prettier

* Add state test

* Add global key comparison tests

* Whitespacecake

* clog

* Bugfix/608 global update buttomn (#611)

* version 1.1.13-hotfix

* Fixed #608

* make buttons dissapear and mild cleanup

* update changelog!

* Remove log

* comment code cleanup

* comment code cleanup

* unnest octoPrintUpdates and octoPrintPluginUpdates

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Bugfix/fix to string goof (#616)

* version 1.1.13-hotfix

* fixey the shittney

* remove the pointless printer online update, done above

* change weird comment

* add note for refactor

* - make sure settings updates on first SSE tick.
- make sure correct printer index is updated on refresh / save

* - move to saved variable that's updated on first tick. Passing through wouldn't capture fresh SSE information.

* Fix changelog dupes

* Fix AUTO check when ports missing (virtual, one port only)

* Bugfix statejs

Co-authored-by: David Zwart <davidzwa@gmail.com>

* V2/add file stats (#623)

* Add service for file stats

* Add tests and fix them

* Speed up Windows performance x5-x10 (#631)

* Run it

* Optimize system page with tough concessions

* Opportunistic cleaning

* Changelog

* Fix tests by removal

* View cleanup

* Boom done fully tested on Windows

* 🧪 API testing and rework index/users (#601)

* Squash api tests

* Add sorting filtering to API tests

* Test filter and sorting defaults

* Add printers SSE tests

* Add thiccccccc sse test

* No functional change (#634)

* Fix the tests on systems with non UTC timezone (#636)

* 🐛 regression printer settings module exports (#633)

* Fix bug in printer settings

* Fish or guppy

* 🐛 #589 fix login - investigate persistence (skipped persistence ... for reasons) (#639)

* Fix login and tests... but not persistence sadly

* Changelog

* Fixed #641 - Printer manager crashes when console is opened with offline Printers due to spam (#642)

* Fixed #641 - Printer manager breaks when console is opened with offline printers due to spam.

* remove unneeded checks + changelog

* client comp

* 🚀 build assets with webpack - publish to npm - install to octofarm (#377)

* Squash and fix V2

* Boo boo

* Fix package bug

* Update client

* Make peace with the gods of npm install ci mode

* Clear up webpack in root package json

* Update layout icon path

* Fix dashboard partial case sensitive on unix, remove unused assets in npm client publish

* Whoopsie in client tgz double packed, optimize devdeps client and update to unstable rc3

* Corrected changelog

* Update client to new rc1 build

* Update prettier and run

* Correct the used bundle

* Chore/fix ci (#652)

* Fix npm publish dry run

* Fix V2 by fiddling around a bit

* Codecov fork

* Fix noty issue when building with webpack on linux (#653)

* Bugfix/fix noty undefined (#654)

* Fix noty issue when building with webpack on linux

* need to import noty

* Feature/cleanup printer manager (#657)

* Fix noty issue when building with webpack on linux

* fix missing apex charts import

* split printer manager

* update element tags in files

* merge missing require for Noty

* fake farm status for now

* clean up button styling

* Fixed #584 - Smaller screen action buttons wrapped incorrectly

* update changelog

* wonderous tweaks

* fix errant firmware ware title

* Bugfix/sse flatted new major version namespace (#655)

* Fix SSE problems

* Changelog

* move client over to flatted package

* update flatted package to 3.1.1

Co-authored-by: NotExpectedYet <online@notexpectedyet.com>
Co-authored-by: James Mackay <info@notexpectedyet.com>

* Added new ignored issue to stale box (#661)

Added "fixed" to the ignored issues for stale bot.

* 🧪 Chore filament, printer, script check, history runner - coverage + slight touch-ups (#646)

* Squash filament refactor and testing

* Changelog

* Add Node 16 LTS to workflow builds (#663)

* Set node_env with production as default (#660)

* Set node_env with production as default

* Rebuilt package and changelog

* Fix semver complaints

* Lock sync (#664)

* Bugfix/prerelease gulp problem (#666)

* Fix gulp prerelease action

* Push for real when not PR

* Bugfix/688-670 api fix (#671)

* default back to true for timeout/recursive

* fix my blind truing

* return back to default false

* fix goofs and clean up user messages

* fix api service mock calling logger when not imported

* revert files to not retry and update api call to use boolean for recursive

* keep a damn changelog

* Revert PiSupport

* Update to latest minor version of Node and Alpine (#675)

* Update to latest minor version of Node and Alpine

* Remove pkg

* Remove pkg config

* 📘 Add the FarmPi to readme (#676)

* :blue_book: Add the FarmPi to readme

* Rectify tabbing

* 🚀 Chore/debug gha profiles find (#662)

* Squash GHA tests fix

* Add task scheduler package, task manager and startup task registrations

* Optimize logs filtering quick tasks

* Reduce console logging further for repeated tasks

* 🐛 Bugfix/590 669 file manager fixes (#673)

* Update package jsons, file manager scroll to top when change

* Reduce min height to 40vh, add empty file list text

* Add printer badge in title bar

* Small cleanups

* Back button now follows folder logic

* Optimise file list rendering, filter beforehand and show empty text

* Sync readme

* Changelog

* Relock and add newest client build

* Fix var naming, apply secondary badge color

* Applied changelog more descriptively

* minor tweaks

* Add flex stretch to file manager, fix body height

Co-authored-by: NotExpectedYet <online@notexpectedyet.com>

* 🧪 Chore/history refactor di injected (#650)

* Squash history di half assed

* clog

* Reintroduce try-catch now that code has been checked

* Fix new nodejs/jest strictness on tests not tolerating both done and async

* Chore/printer manager js clean up (#678)

* keep a damn changelog

* big clean up

* fix cors check for more responsive data

* activate printer specific functions

* prep for printer manager functions

* octoprint bulk actions

* octoprint plugins

* bulk commands

* update changelog

* moved all printer manager functions

* activated api errors button with printer settings modal

* activate bulk update plugins enable/disable

* fix plugin enable/disable/uninstall

* remove re-start instances button

* delete errant move in op client

* fix indentation

* add fps results

* Fix curr ops

* Revert the inclusion of SSE handling

* clean up resolve more reviews

* Up the client build and see what the action does

* Revert

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Bugfix/679 disable op update check airgapped (#680)

* keep a damn changelog

* big clean up

* fix cors check for more responsive data

* activate printer specific functions

* prep for printer manager functions

* octoprint bulk actions

* octoprint plugins

* bulk commands

* update changelog

* moved all printer manager functions

* activated api errors button with printer settings modal

* activate bulk update plugins enable/disable

* fix plugin enable/disable/uninstall

* remove re-start instances button

* skip api calls if airgapped

* skip api calls if airgapped

* skip api calls if airgapped

* update changelog

* remove op client changes

* begon ya bastard

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Bugfix/filament not loading (#683)

* add filament back to generate on boot.

* add filament back to generate on boot.

* Bugfix/605 null value null when no spool (#685)

* add filament back to generate on boot.

* add filament back to generate on boot.

* Fixed #605 + totals not been counted on printer control

* update changelog

* Chore/cleanup monitoring (#684)

* Clean up monitoring code w.r.t SSE and subdivide code footprint

* Doing the thing with the thing for the stuff

* clog

* Rename sse files to handlers and fix imports

* Rectify invalid abbrev

* Fix unnested data

* Feature/printer map (#687)

* Squash changes

* Fix printer group

* clog

* Head onto next build for NPM

* Feature/task manager improve (#688)

* Completely clean up logs, extend task manager

* Add run once, run delayed and periodic run

* Generalize tasks

* Add pattern description

* Small bug rolled out

* Further taskify

* Squash task manager work

* Update client bundle and octofarm installation (#690)

* 🐛 bugfix/698 monitoring view worker (#699)

* Remove old current ops worker, bug

* :bug: Changelog bugfix

* 🐦 Canary non-breaking updates (#701)

* Fixed #667 Weekly Utility was not saving previous days values. (#686)

* Fixed #667 Weekly Utility was not saving previous days values.

* Forcey fixed the tests for now

* Fix tests to show NaN is not gone

* Yuck well ok then

* I give up...

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Squash and fix tests (#694)

* Squash move files and fix tests (#696)

* Add new deps, run prettier on most files (#697)

* Squash prettier, deps

* Harmless prettier

* Revert small whoopsie to get working version

* Chore/pre bigone4 (#700)

* Cleanup client api dedupe

* Fix some changes w.r.t. old routes and remove some dupe json conversions

* Fix file manager json dupe

* Remove hexnut as we are moving away from  it (#702)

* Add global API exception handler, more client dupe .json() fixes. Add constants (#704)

* Revert v2 view change, add slight OP client change and add event emitter dep (#705)

* Chore/axios client (#706)

* rename printer-manager to follow current format

* update octofarm_client to utilise axois

* fix settings page

* fix filament manager

* fix history

* fixed #681

* fixed views

* update change log

* Chore/additional cleanup (#708)

* fix my package.json goof

* remove errant .json()

* client

* Missing UI import in client (#709)

* Migration is not yet implemented, so its not properly done (#712)

* Chore/axios global error handler (#711)

* fix api / cors errors incorrectly showing

* move octofarm and worker into services

* initial error handler and usage

* initial error handler and usage

* clean up

* update function names

* remove unneeded try/catch

* remove unneeded try/catch

* deal with known http errors

* update changelog

* remove unneeded validate paths

* fix api errors

* remove console log

* fix codes

* load global error handler on main page

* add no connection

* remove errors

* Missing throws (#714)

* Missing throws

* Use hyphen in OF service name

* Sync up with awilix branch

* Improve URL robustness with full URL

* 🐦 Chore/clean up system (#713)

* add system split

* rename system runner

* patreon constants

* rest of system split

* migrate js client and tidy up

* clean up console

* whoops

* Squash system page work

* wording change

* chop it up

* add note

* sneaky

* system page / server settings fully split

* change log and filament manager

* fix gcode naming

* fix goof

* add todo note

* fix goofs

* clean up client-error

* change DEV INFO to FILE INFO

* Fix new URL throwing inner error

Co-authored-by: David Zwart <davidzwa@gmail.com>

* Fix changelog type

* Typo changelog

* Lots of small fixes and constants added (#720)

* Squash with reverted state constants

* Pass validation errors and add todo

* Fix mon control list instead of client settings

* Chore/various fixes for dev merge (#728)

* webSocketURL + sortIndex required = false;

* server timeout settings from client not formatted to ms

* fix websocket with extra /

* replace redundant awaits

* fix printersToConnect incorrect variable

* printer settings never removed loading icon

* updated patreon list

* skip jest tests for printer-schema

Co-authored-by: James <james@vexica.com>

* Ok (#729)

Co-authored-by: James Mackay <info@notexpectedyet.com>
Co-authored-by: James <james@vexica.com>

* fix incorrect ws url fix (#731) (#732)

* Bug Fixes Galore (#760)

* update versions for 1.2 realease

* clean up

* further clean up

* further further clean upper

* octofarm client package fix

* fix incorrect client import

* fix no connection logs spinner

* update packages

* fix incorrect information been passed to error modal

* fix scan network for printers

* fix importing of printers and websocket issue

* fix cors check

* also remove ping message

* Printer Manager bulk commands update

* Printer Manager plugins + fix uniqueness

* Fix double listener issue, should also fix re-creating the connection with different API keys...

* state tweaks

* Fixed #607 - Allow current user to be changed in UI

* Fixed #607 - Allow current user to be changed in UI

* update client package

* Fixed #730 - Groups did not work as intended

* Fixed #295 - Support display layer progress plugin

* calcluate own layer percent, plugin uses OP's

* silence offline logs

* severly reduce the amount of printer connection logs kept in memory

* fix log dump path

* fix undefined on log dump platform

* fix system functions

* Fixed #761 add manufacturer to filament selections

* Fixed #672: Incorrectly sending spool temp offsets after print start not before

* update OF package for development push

* lock updates

Co-authored-by: James <james@vexica.com>

* Continue on with the system checking (#767)

* continue with the system checking

* Fixed #763 - Allow folders in multi-upload

* fix print after upload

* Allow selection of unique folder list for farm on multi-upload

* fix value reset and validations

* layout changes

* various fixes

* remove url replace

* fix "No logs received" message not clearing properly...

* state tweaks and url fixes

* restart required after OP plugin/system update

* gcode scripts ui

* gcode scripts improvements

* current operation ordering backend

* Fixed #762 current operations get's sorting...

* re-activate sorting on views

* multi-print options for new action bar

* re-enable multi-upload and fix display layer when not generated

* dashboard see improvements

* view user feedback improvements

* split out printer control

* user client settings init, views disable/enable, server options for view enable/disable, new view combined

* initialise client settings for first user

* display latest release notes inside system view

* display latest release notes inside system view

* protect system end points with ensuring administrator grouping

* user manager CRUD

* add in checks so can't delete/edit last admin

* fix broken delete button

* utilise users client settings on api

* make sure user is set for API call

* fix size not been read on modals

* fix settings not updating for user

* fix dashboard failing to load when current op is disabled

* printer group view init

* set original views to default, group/combined/current disabled as default

* cut down and finalise action button arrangement

* fix power button not hidding

* update note on monitoring views

* Fix toFixed error on dashboard

* Fix issue with printer manager still trying to utilise old buttons

* finalise combined list views name, super list!

* Fix printer manager trying to update missing buttons

* Fix Filament Usage Over Time graph

* fix nodemon duplication

* fix system info not updating

* fix terminal manager

* printer switch tweaks

* printer switch tweaks

* monitoring view style/template tweaks

* monitoring view style/template tweaks

* system contrast tweaks

* group view

* update client package to lates

* update package log

* rc4

* rc4

Co-authored-by: James <james@vexica.com>

* update the task manager to run the update check periodicly

* put some locks on user editing if it's current user, additional warning message about login requirement

* add some better linkage

* add check for ejs whilst OF is initially booting

* Make sure initial user created updates the cache

* protect endpoints admin only

* reboot only when required

* update changelog

* Bugfix/system check (#769)

* update the task manager to run the update check periodicly

* put some locks on user editing if it's current user, additional warning message about login requirement

* add some better linkage

* add check for ejs whilst OF is initially booting

* Make sure initial user created updates the cache

* protect endpoints admin only

* reboot only when required

* update changelog

* fix duplicated ID's

* hide logout button if login setting off

* utilise space better!

* small tweaks

* improve patreon display

* improve patreon display

* initial patreon check, requires server changes

* initial patreon check, requires server changes

* remove unneeded require

* change client setting defaults

* allow client settings for users to work

* fix some issues

Co-authored-by: James <james@vexica.com>

* Bugfix/system check (#770)

* update the task manager to run the update check periodicly

* put some locks on user editing if it's current user, additional warning message about login requirement

* add some better linkage

* add check for ejs whilst OF is initially booting

* Make sure initial user created updates the cache

* protect endpoints admin only

* reboot only when required

* update changelog

* fix duplicated ID's

* hide logout button if login setting off

* utilise space better!

* small tweaks

* improve patreon display

* improve patreon display

* initial patreon check, requires server changes

* initial patreon check, requires server changes

* remove unneeded require

* change client setting defaults

* allow client settings for users to work

* fix some issues

Co-authored-by: James <james@vexica.com>

* Bugfix/rc5 check (#771)

* automate the columns for printers on group view

* space out cards better on super list view

* fix sorting not working on list view types

* file manager improvements

* fix single file sync same was as previous

* no need to render html everytime for release notes

* imrpove loggin

* Fixed #768 - Incorrect reaction to hide settings on views

* add settings to system information dump

* react to correct hide settings

* date and time dashboard widget

* tweaks to allowed widget sizes

* fix history chart colours wrong way wound

* slight tweaks to filament manager view

* actual fix for #768

* group view was not ignoring blank groups

* improve printer scanning / move init over to task manager

* ui for filament manager bed offset

* correctly disabled buttons on ui

* fix terminal not reacting to state

* fix filament manager usage over time chart

* fix plugin error message on cancel update

* make sure restart required flag actually goes after reboot

* add additional options for filament manager + improve syncing errors checks

* deal with OP's in-progress response for plugin installation

* check bed offsets on print start

* administrator protect endpoints for turning on/off filament plugin

* fix spools offset applying to other actions !== print

* initial clone spool function

* another option for hiding empty spools, quick setup for filament manager plugin

* allow cloning of spools

* update changelog

* filament manager tweaks

* update changelog

* fix jplist import to old one that worked

* don't allow deletion of spool if attached to printer

* reset printer clean task to preiodic

* reset printer clean task to preiodic

* delete spool/profile server checks

* update spool table/stats on changes

* change all total figures to use kg

* bring back the printer assignment select box in filament manager

* disabled selection of printers with spools already

* allow assigning spools from filament manager

* fix ui flow

* activate the hide empty option

* uprev client for merge

* update to rc5

* update package lock

Co-authored-by: James <james@vexica.com>

* Update users.js (#775)

* Bugfix/rc cleanup (#776)

Re-enable migrations for settingsApperance -> settingsAppearance
Ensure user settings are correctly found and used when accessing the client.

* clean up console logs

* Bugfix/files history (#774)

* update toad scheduler

* allow viewing of OctoFarms tasks

* auto update of task state

* allow for re-running non-intervalled tasks

* remove old shim migration solved

* more protection on system page

* history pagination init

* catch up remote

* history pagination, new layout, statistics and monthly statistics

* fix all items

* filters linked up

* history mobile view and loading tweaks, error checking on migrations

* storage alerts on file manager

* improve syncing on file manager

* don't allow file refresh unless all queue has finished

* history and filament ui checkthrough

* fix delete and edit... suprised they worked before

* update all packages to lates

* history re-work

* fix history chart crapping out for no raison

* ok don't fix history chart crapping out for no raison

* fix percentage rounding

* move iamalive check to sse

* better error checking basic

* remove handled checking

* farmOverview modal

* farm overview and connections overview

* add print success rate and resends percentage to farm overview

* only successful connections produce a response time

* add websocket ping failure

* clean up styling on farm overview

* add reconnect function for sse streams on client

* fixed issue with original sse client never reconnecting properly...

* Fix remaining printer manager ui issues

* multi-user op warning and multi-user octofarm detect

* history fixed... again!

* group view multi-file select

* update

* fix history buttons not displaying

* fix incorrect keys in printer stats

* chunk up printer syncing into batches of 10. 100 printers none connected all serialised

* fix file manager multi-upload

* fix gcode scripts

* fix group view working with offline never seen printers

* view tweaks

* filament manager tweaks

* fix amIAlive

* finalise boot tasks and patreon data error

* fix views for user group

* fixed #733

* update influxdb note

* clean up

* up-rev client

* up-rev server

* generate new lock files

* Bugfix/cpu memory profiling (#778)

* fix missing favicon

* add task timing to log output

* fix ui bug

* remove inspect

* remove pointless filament manager check

* remove some unneeded awaits

* fix database action issues

* state listener clean up

* sse client clean up

* sse client clean up

* move ping/pong over to task manager

* don't allow recreation of websocket if it exists...

* update ready for merge + new package locks

* fix dry run

Co-authored-by: James <james@vexica.com>

* add pws library

* init ws file

* improve output on initial api check (#780)

Co-authored-by: James <james@vexica.com>

* Fix patreon data call (#782)

* await patreon data

* fix package lock

* Added: FarmPi Detection! 

* init

* detect farmPi and overwrite os info

* fix package-lock issue

* fix extra space

* Added #643 - FarmPi host detection and version display in system

Co-authored-by: James <james@vexica.com>

* Remove state.js  (#786)

* change to create canary

* Fixed: Many issues! (#784)

* Fix patreon data call (#782)

* await patreon data

* fix package lock

* Added: FarmPi Detection! 

* init

* detect farmPi and overwrite os info

* fix package-lock issue

* fix extra space

* Added #643 - FarmPi host detection and version display in system

Co-authored-by: James <james@vexica.com>

* update ready for 1.2

* remove my testing path I forgot about

* fix deleting printereDB

* fix delete all db

* add debug message for rate limited github check

* fix query selector for groups starting with numbers

* fix restartRequired flag not clearing

* do not use state call to collect printers state, confusing if using wrong api key

* make ping/pong failure completely destroy websocket

* developer action menu

* repalce some errant console logs with debugs

* stop overriding uncaught errors

* move printer-manager under pages

* inititail health checks

* clean up settings was all over the place

* server side produces health checks

* start of ui

* load up html

* fix dropdowns

* graceful shutdown of service

* update changelog

* fix pm2 shutdown and nodemon

* tweaks

* sort server boot

* sort server boot

Co-authored-by: James <james@vexica.com>

* Changed: Replaced websocket implementation (#781)

* install packages

* clean up settings was all over the place

* use debug loggin when in development mode

* commit current changes

* commiting current work

* apikey vs apiKey... does it frigging matter? no...

* commit work done

* printer defaults

* start collecting some datsa

* all api calls replaced

* ONTO THE SOCKETS

* fix babelrc private linting

* websocket connection!

* fix package issue

* don't commit delete package-lock dodo

* working websocket implementation and graceful shutdown

* api retry and keep alive websocket

* api retry and keep alive websocket

* starting to bring in data

* fix api retry

* adding logging / colours

* printer store, starting to link up service

* printer store, starting to link up service

* remove god awful cheesy startup message

* refactored printer startup sequence

* initialise -> offline

* linking up status

* global api check, websocket state update

* add printer and more data link up

* link back up job state

* Completed state

* events capture

* plugin listeners

* printer CRUD

* new checks, min supported and max checked OP

* printer manager, sse and some backend linking up

* fix up all page routes

* remove old runner refs in scripts

* fix some loggin issues

* host, printer and websocket state server side

* state and timing tweaks

* connection monitor

* printer overview and health checks

* cache the health checks for later use

* lower the increment on timeout to try and catch the connection sooner

* use health check cache

* replace a lot of printer clean references

* more printerclean references

* remove startup message

* upgrade to fa 5.15

* allow rescan of api, force rescan of api and reconnect websockets

* single printer websocket reconnect and utilise reconnectingIn value

* utilise disabled flag across ui

* enable and disable printer actions

* ui tweaks for disabled/enabled printers

* disable some other elements

* link up printer manager alerts

* health checks, state management resets reconnecting in

* tweaks

* update sort index

* fix sort index not saving

* tweaks to printer manager layout

* fix sorting patch

* add easy function

* don't allow force api scans on offline printers

* make sure name isn't overwritten by force scan, make sure colour is overwritten

* utilise op colours on ui

* add coloured icon to printer manager

* eurgh spools

* allow assigning spools, and fix assigning no spool

* clean filament and relink filament manager

* file selection

* file upload

* add files, add folders

* display files instantly same with folders

* move files and folders

* delete files and folders

* file statistics now registered in task manager

* disable registration after first admin user created

* fix starting and loading jobs from file manager

* resync file

* fix system information generation for good!

* new system

* fix graph title

* fix cpu issue due to logs build up

* fix cpu issue due to logs build up

* move to single plugin list call...

* fix plugin installation/disable/enable/disable - now only shows what's installed/disabled/enabled

* update task

* fix 1.6.0+ plugin check

* re-enable plugin healthcheck service

* relax health checks a bit

* fix health check pop up

* increase printer ticker log a bit more

* additional CPU charts for system

* starting printer settings

* rip out farm information, heatmaps and statistics generation

* printer manager cleaned up

* dashboard clean up

* views clean up

* GOOD BYE STATE.JS FOREVERRRRR

Co-authored-by: James <james@vexica.com>

Co-authored-by: James <james@vexica.com>

* Attempt to fix mongodb install and update docker images to latest pm2 commands and environment (#787)

* ui button and initial function

* install specific mongodb version

* erugh

* erugh 2.0

* do it in entry point

* update client whilst imma attit

* [Refactor] Files and Folder Re-arrange (#789)

* ui button and initial function

* fix total ping pong on connection modal

* re-arrange everything

* update log and history paths

* docker paths update

* begin loading UI

* eurgh checkboxes

* fix environment paths to not mess older versions

* location clean up and fix login problem due to packages

* clean up

* move some folders rename some shizzle

* new package.json for backwards compatibility

* new package.json for backwards compatibility

* fix up docker files for new dir structure

* client files initial clean up

* fix nodejs for new dir

* fix v14 build

* update readme for new dev instructions

* alpine docker fix for new dir

* actual alpine docker fix

* last try, home time

* final client clean up

* load settings

* clean up

* fix alpine docker

* fix docker plz

* hehe what a dodo

* ahh I changed to ci... need lock

* confussed.com

* waht

* eurgh docker

* replace main docker image with much more lightweight one alpine

* remove canary tags

* remove inmemory mongodb

* hide bulk settings update till done

* fix git path

* Fix am I alive and call error conflic

* utilise pm2 ecosystem file rather than copying the long command

* fix log paths

* add additonal git / version info to system info

Co-authored-by: James <james@vexica.com>

* Configure dependabot (#796)

* Create SECURITY.md (#797)

* Build images for arm v7 and arm64 (#795)

Co-authored-by: James Mackay <info@notexpectedyet.com>

* Automate release actions (#798)

* delete old publish

* generate new package-locks

* update dependabot

* forgot schedule

* tweaks

Co-authored-by: James <james@vexica.com>

* [RC] testing npm package (#799)

Co-authored-by: James <james@vexica.com>

* [RC] Actual npm action test (#800)

* testing npm package

* fix missing

* fix missing

Co-authored-by: James <james@vexica.com>

* [RC] Action test 2 (#801)

* testing npm package

* fix missing

* fix missing

* change to push based

Co-authored-by: James <james@vexica.com>

* [RC] Action test 3 (#802)

* testing npm package

* fix missing

* fix missing

* change to push based

* change to push based

Co-authored-by: James <james@vexica.com>

* [RC] Action test 4 (#803)

* testing npm package

* fix missing

* fix missing

* change to push based

* change to push based

* change to push based

Co-authored-by: James <james@vexica.com>

* [CI/CD] automate pre-releases (#804)

Automates the alpha builds of octofarm from the development branches. Auto incrementing the version and publishing to npm.

* fix automation (#805)

Co-authored-by: James <james@vexica.com>

* fix multiple run commands (#806)

Co-authored-by: James <james@vexica.com>

* fix indentation (#807)

Co-authored-by: James <james@vexica.com>

* checkout development not current branch (#808)

Co-authored-by: James <james@vexica.com>

* Bugfix/errant+ (#809)

* checkout development not current branch

* fix errant push

Co-authored-by: James <james@vexica.com>

* Test/bump versions (#810)

* checkout development not current branch

* alpha.0 -> alpha.1

* add alpha to version display

Co-authored-by: James <james@vexica.com>

* Remove incorrect tag (#811)

* checkout development not current branch

* reset versioning for correct alpha tag

Co-authored-by: James <james@vexica.com>

* Fix/missing token reset versions (#812)

* checkout development not current branch

* reset versioning for correct alpha tag

Co-authored-by: James <james@vexica.com>

* [Bot] Bump Alpha Version!

* Bugfix/fix package paths (#813)

* checkout development not current branch

* fix paths for alpha bump

Co-authored-by: James <james@vexica.com>

* [Bug Fix] Various bug fixes (#790)

* fix background upload path

* change tasks running text

* fix undefined on op versions

* fix log dump paths

* add printer overview to system dump

* logs be sexy

* initial morgan config to replace http loggin

* fix client loading incorrect js

* override morgans skip when loglevel silly

* start validating the API

* eurgh swagger will take a LONG time

* enable a refresh button on server lost connection modal

* add health checks to sys info dump

* fix the package

* fix server settings restart required

* fix initial system check

* fix health checks not loading listeners

* fixed save button not appearing for printer settings

* fix bulk settings not updating sockets properly

* start fixing printer settings

* event emitter service and cache

* remove errant console log

* fix script check loggin

* boat load of events

* up to power settings restored

* alerts log

* make alerts log same size as connection text

* don't let timeout take too long...

* custom gcode

* final folder move, bye bye runners

* refactor constants

* remove automatic text from settings modal for user

* change the power settings instructions

* refactor and fix printer settings update

* always force current user check

* clean up and fix profile patching

* fix dependabot

* improve logging on api

* ws logging tweaks

* generate gonnection log client side

* printer manager overview fixes

* fix user list grab

* change version grab to warning not debug

* fix sort index generation without printer list

* fix add printer sort index

* remove some console logs

* push current

* tweak disabled ordering

* fix sort index

* fix ip detection for ticker

* increase ping/pong for slower connections

* fix deleting printers

* tweak disabling printer

* fix ping/pong for shit networks

* fix ping/pong for shit networks

* rename api so easier to find errors

* tweaks and update websocket package

* reset ping/pong checks

* remove some old todos

* log file actions improvements

* bulk enable/disable printers

* tweaks to api retry

* system stats tweaks

* fix bulk enable printers

* checkout development not current branch

Co-authored-by: James <james@vexica.com>

* [Bot] Bump Alpha Version! - v1.2.0-alpha.2

* ci: fix client build

Should fix the server not receiving the updated alpha number

* feat: additional file types (#815)

* add support for .gcode,.gco,.g,.ctb,.fdg,.nc,.gc

* update changelog

* update note

* patch for client build alpha test

* [Bot] Bump Alpha Version! - v1.2.0-alpha.3

* ci: new start-alpha command (#817)

* [Bot] Bump Alpha Version! - v1.2.0-alpha.4

* ci: finalise alpha bump (#819)

* refactor(main): clean up todos (#820)

* ci: add pr linter

* refactor: clean non-related todo's for v1.2

* change pr linter

* bot: bump alpha version - v1.2.0-alpha.5

* feat(client): add stl to allowed file types (#822)

* bot: bump alpha version - v

* fix(server): start alpha script (#824)

* fix(client): fix views (#826)

* bot: bump alpha version - v

* fix(main): get the client version regardless (#827)

* fix(main): get the client version regardless

* fix(main): get the server version regardless

* fix(main): get the server version regardless

* fix(client): make sure id is passed to create camera (#828)

* I do NOT need to be on the read me -_-

* fix(client): make sure id is passed to create camera template

* bot: bump alpha version - v1.2.0-alpha.6

* chore(main): put 30s delay before updating client package.json (#829)

* fix(server): Fix initial scan of printer name. (#830)

* bot: bump alpha version - v1.2.0-alpha.7

* chore(server): improve log output (#831)

* bot: bump alpha version - v1.2.0-alpha.8

* chore(main): setup code checks

* Bump tmpl from 1.0.4 to 1.0.5 (#834)

* Create codeql-analysis.yml

* Update codeql-analysis.yml

* Bump tmpl from 1.0.4 to 1.0.5

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(main): fix dependabot branches

* chore(main): fix dependabot branches

Co-authored-by: James Mackay <info@notexpectedyet.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Mackay <online@notexpectedyet.com>

* bot: bump alpha version - v1.2.0-alpha.9

* chore(main): clean up todo list ready to test issues (#841)

* fix(client): #839 - Replace coloured buttons with coloured printer icon (#851)

* chore(main): fix git ignore

* fix(client): #839 - Replace coloured buttons with coloured printer icon

* bot: bump alpha version - v1.2.0-alpha.10

* chore(main): remove todo action (#855)

* chore(main): clean development branch (#856)

* fix package-locks v1 -> v2

* chore(main): make sure to only commit package*.json updates for client/server.

* chore(main): commit the mins

* refactor(security): allow for security scopes in tags

* refactor(security): fix incorrect client commits

* refactor(security): validate printer add
utilise octofarm errors

* bot: bump alpha version - v1.2.0-alpha.11

* refactor(security): deal with critical alerts (#857)

* refactor(security): finalise validate add printer

* refactor(security): validate printer delete

* refactor(security): introduce rate limiting for DDOS

* refactor(security): tweak rate limiting

* refactor(security): validate bulk update printers details

* refactor(security): update change log

* refactor(security): generate custom supersecret and set in .env

* refactor(security): fix database evals validation

* refactor(security): fix sort index id_list

* bot: bump alpha version - v1.2.0-alpha.12

* chore(main): another scanning layer (#859)

* Create codeql-analysis.yml

* Update codeql-analysis.yml

* Create semgrep-analysis.yml

* refactor(security): clean up remaining critial alerts (#858)

* refactor(security): fix additional hardcoded secret

* refactor(security): init script testing

* refactor(security): escape shell arguments

* bot: bump alpha version - v1.2.0-alpha.13

* refactor(security): enable semgrep (#860)

* Chore(main): add extra scanning layer (#861)

* Create codeql-analysis.yml

* Update codeql-analysis.yml

* Create semgrep-analysis.yml

* refactor(security): enable semgrep

* refactor(security): enable semgrep2

* Update codeql-analysis.yml (#863)

* fix(server): security fixes and more (#823)

* docs(main): update readme for script changes

* feat(server): update file via websocket listener, not repeated api calls

* chore(main): fix package jsons

* chore(main): merge remote

* chore(main): sort package.jsons

* refactor(server): replace repeated file calls with listener trigger on meta-analysis complete/updated

* refactor(client): fix unsafe link warning

* refactor(server): fix up .thens

* refactor(server): validate any id params

* refactor(server): fix invalid dict call

* refactor(server): add loading spinner to undefined printer name as it's generating

* refactor(client): split camera and triggers tabs

* fix(client): name generation becoming undefined

* feat(client): allow for name generation

* ci(main): add sonar analysis

* chore(main): make sure codeql runs on updated PR's

* chore(server): sanitize id params

* chore(server): attempt to fix some sanitize errors

* chore(server): fix more sanitizing errors

* chore(server): clean up bugs

* chore(server): remove some smells

* chore(server): fix redirect vuln

* chore(server): fix api issues

* chore(server): stringify params

* chore(server): clean up unsanitized user input

* chore(server): clean up unsanitized user input

* chore(server): sanitize redirect for 404

* chore(server): limit bodyparser

* chore(server): limit further

* chore(server): clean up printer data

* chore(server): fingers crossed rest of vulns

* chore(server): handle file szie limit

* chore(server): smash a boat load of issues

* Update codeql-analysis.yml (#862)

* bot: bump alpha version - v1.2.0-alpha.14

* chore(server): squash more bugs (#864)

* chore(main): bump nodejs version

* chore(server): introduce a printer queue add task

* chore(server): more clean up of code

* bot: bump alpha version - v1.2.0-alpha.15

* chore(server): contine on with bugfixing (#865)

* chore(server): fix re-organising printers

* chore(server): fix and investigate further why that isn't working

* chore(server): sanitize id lists

* chore(server): clean up some elements and functions

* chore(server): change house keeping to 5 days not 1

* chore(server):fix bug

* chore(server): fix eval insecurity

* chore(server): how this not fix it... grr

* chore(client): upgrade to font-awesome 6

* chore(client): forgot these

* chore(client): i can copy and paste like a pro

* chore(client): fix re-writing global scope

* feat(client): file queue modal

* feat(client): file manager clean up and initial split

* feat(client): start abstraction of SSE client

* feat(client): file manager events connection and server sse service

* refactor(server): move amialive over to events endpoint

* refactor(main): remove those gash badges

* refactor(main): not needed

* feat(client): trigger client event for file data change

* refactor(main): commit work done

* Remove confusing readme stuff

* re-write initalise printers and create an enable printer queue

* file manager further clean up and prepwork

* add queue for enabling printers and offline check of printers

* increase offline check timers

* fix ui display for "searching"

* clean up and update packages

* tweakeroos to offline/online printer checking

* tasks tweask

* grab allowed reconnect states...

* fix printer onboarding

* fi enable/disable and swap to dropdown for manage functions

* fix quick connect state for disabled

* fix disabled button state

* fix enable/disable

* fix enabled state not persisting

* fix user lists

* split out modal for editing printer settings so can be changed with disabled

* remove unused import

* add printer edit modal, fix multi-users, allow alert to open edit

* fix plugin install/enable/disable list creation

* fix restart required never clearing

* clean up file-manager

* remove tags

* clean up some files

* remove some bugs

* fix printer onboarding again, and reconnecting to offline printers

* fix printer naming

* fix websocket reconnect

* fix websocket setting api online

* revert to passport 0.4.1 - 0.5.2 doesn't like my setup

* generate all file lists on demand

* stop file manager killing itself

* fix file reflow

* Revert "fix file reflow"

This reverts commit c8ecc4df6d5cb536e076910ba92e120408374e07.

* actual fix file reflow

* boom house keeping

* code of conduct - new readme layout - contributing samples to work with

* fix upload queue element trigger

* fix upload queue element trigger

* variable name

* delete all

* disable updating file information for now

* fix printer name not updating

* fix printer name not updating and generation

* file bugs begone!

* last bug in delete all... remove all folders

* weird css issue

* fix weird css issue

* fix scroll on houseclean

* fix notifications

* show no active printers message on file manager

* hide "Searching..." from views

* hide "Searching..." from views

* sprt disconnected button response to state

* fixes #871

* tweak current op view sizing better

* fix update check

* fix not goof on file manaer

* update AUTO message on action button quick connect

* live update file information

* don't always reload file folder

* missed a notification

* clean up logging

* starting history work

* starting history work

* cancelled and failed history

* disable some unfinished fields

Co-authored-by: James <james@vexica.com>

* bot: bump alpha version - v1.2.0-alpha.16

* chore(main): clean up routes (#879)

* chore(main): cleanup routes

* chore(main): missing routes

* bot: bump alpha version - v1.2.0-alpha.17

* fix file manager (#882)

* bot: bump alpha version - v1.2.0-alpha.18

* fix(server): fix estimated print time bug (#883)

* bot: bump alpha version - v1.2.0-alpha.19

* feat(main): automated websocket throttle (#880)

* chore(main): automated throttle calculation for further testing

* finalise throttle algorithm

* clean up health checks/connections/overview

* clean up health check store

* update font awesome 6.1.1

* fix(server): fix estimated print time bug

* chore(main): automated throttle calculation for further testing

* finalise throttle algorithm

* clean up health checks/connections/overview

* clean up health check store

* update font awesome 6.1.1

* fix(server): add alerts for undervoltage/overheating

* feat(server): add in task for checking printer once per day for updates/plugins/octopi data

* feat(server): only run octopi task on printers previously acquired data

* bot: bump alpha version - v1.2.0-alpha.20

* fix(server): attempt sse /events fix (#885)

* add retry to events route

* clean up sse file

* prettier

* add max-age to header

* prep for switchover to type/id

* remove spacing

* bot: bump alpha version - v1.2.0-alpha.21

* make setup alpha install packages

* chore(main): ci stuff and attempt mongodb fix (#887)

* fix plugin issue

* attempt mongodb fix

* ci stuff

* rebuild package-lock

* docker-mongo fix 2

* docker-mongo fix 3

* remove errant install and install correct package

* remove smelly code

* update-main command

* bot: bump alpha version - v1.2.0-alpha.22

* chore(server): fix mongo attempt 2 (#888)

* hu working dir continues through, who knew

* hu working dir continues through, who knew

* feat(main): Add throttled status and pull in websocket data for PSU/Thermal throttle on Pi's (#889)

* add throttle rate and websocket plugin throttle detection for Power and Overheat.

* remove console

* add const to octopi

* bot: bump alpha version - v1.2.0-alpha.23

* chore(main): socket clean up settings fixes (#881)

* chore(main): start fixes for filament manager

* improve throttle loggin,

* imrpove logging to user and logs

* use single timeout value... users need to increase this if printers go offline... update to safe 2 second value

* health check pass shouldn't trigger without cutoff values

* start of the filament manager changes

* make throtte increase less sensitive

* extrapolate amialive service

* extrapolate amialive service and fix timer going minus

* add icon and remove unneeded loggin

* fix server restart incorrectly asking for reset

* fix active user list error on server restart

* fix file upload on printer pages

* bot: bump alpha version - v1.2.0-alpha.24

* fix(main) docker patch (#892)

* Fix incorrect log location

* Fix logs

* Main over master eurgh... (#893)

* missed one!

* Clean up comments and force PR run (#894)

* Last attempt today (#895)

* Try stretch (#896)

* Fix repo (#897)

* Damn quote

* Fix malformed entry

* chore(main): the actual woes of filament manager (#890)

* fix me plz

* Fix printer name again

* make client settings defaults more sane

* make throttle less reactive

* add upper and lower bowndaries to websocket throttle

* improve filament manage sync note

* fix not on no history yet

* fix profiles

* auto load in rest of file information with additional api call

* add addition file manager call server side

* fix views on server settings and finally fix restart required!

* fix restart required not clearing

* working all night and day....

* fix initial sync

* fix disable not been removed on enable

* fix values not been reset when opening printer edit

* sleep

* replace disabled transparent background

* allow multi-select option, working add/remove/edit, new materials list

* support resource monitor plugin

* attach spools and lotta clean up... wowsa

* de-attach all spools when disabling multi-select

* sexy clone spools, fix job not updating cost on filament change

* lower influx timer, and remove uneeded restart trigger on activate

* oof sexy info view and dlp plugin enhancement

* add in job split

* helper functions galore

* clean job on startup, disconnect, error and reconnection of websocket (shutdown)

* extrapolate connect button

* change layout of resource monitor plugin support

* hmm docker you mysterious beast

* update firmware grab

* fix memory store bug

* setup ttl and autoremove

* log more errors to server

* split printercosts

* clean up error firing to server

* Control select spools

* file manager select filament

* mini spool select

* hu timelapse event is not what i thought....

* filter out some klipper logs

* start improving printer logs

* fixerup printer logs, and reduce temp collection to every 5 seconds.

* fix timings and time reference on temp graph

* fix temp check spacing

* fix views camera display

* fix starting files spool check

* reduce data sent to monitoring views to needed only

* fix z-index on current op sorting

* capture history properly...

* fix updating spools in history

* fix history generation, fix timelapse, fix dodo david never testing

* whoops i deleted before it downloaded...

* sort timelapse deleting too quickly

* add job elec and maint to history card

Co-authored-by: James <james@vexica.com>

* bot: bump alpha version - v1.2.0-alpha.25

* fix(client): clean-up power functionality (#898)

* enable some buttons

* fix dash header z-index

* Emergency stop quick action

* Home printer quick action

* disable group view until sorted

* fix cost settings updating

* add note about power settings and remove old gcode note

* power on/off/state

* fix rest

Co-authored-by: James <james@vexica.com>

* bot: bump alpha version - v1.2.0-alpha.26

* Merge pull request #899

* update record rather than awaiting return...

* change

* bot: bump alpha version - v1.2.0-alpha.27

* re-add sleep settings for timelapse capture

* Fix/clean up goofs (#900)

* fix some power settings goods

* allow all printers for gcode selection

* bot: bump alpha version - v1.2.0-alpha.28

* chore(main): history and various (#902)

* update error log capture

* fix psu on/off/quick connect

* load new log shizzle

* make sure psu control plugin settings are picked up

* make sure cost settings are picked up or return to default

* add some colour to printer manage drop down

* fix name generation

* fix scroll bar overflow settings

* hopeful fixes of dockers

* history re-working. Needs testing...

* clean ups

* mighty colourful

Co-authored-by: James <james@vexica.com>

* bot: bump alpha version - v1.2.0-alpha.29

* Fix/various (#904)

* forgot forward slashes

* make power settings onboarding grab only

* make power settings onboarding grab only

* fix user actions

* set first administrator as fall back user for no login

* various

* fix downdate failed not displaying state

* fix job not enabling on complete state

* disable WOL and see if anyone actually uses it

* disable WOL and see if anyone actually uses it

* fix history capture with downdating weight and updating thumbs/timelapse/cam capture

* clean up history

* add close modal on disconnect function

* add in more action tracking for users

* display current user and update trigger actions

* show user actions log on printer manager, to update when I do the printer ticker fixes

* bot: bump alpha version - v1.2.0-alpha.30

* chore(main): fix up printer manager (#906)

* fix loader issue on printer manager

* log and display active user on history capture

* clean up history and action service

* add turn off heaters action command

* add printer actions to logs table

* fix gcode command bugs

* fix influxdb stalling server on failed connection

* add group to print edit function

* fix bulk disable/enable using old button for state display

* fix spool check and display

* increase pingpong checks back to every 10 seconds

* fix some printer edit bugs

* fix plugin installing and rescan endpoint on completion

* log plugins to user actions

* fix plugins not clearing on restart and incorrectly firing a restart

* fix camera url undefined on network scan

* fix global api incorrect message

* fix errant octopi json parse on failed connections

* incorrect error messages

* fix port preference error on monitoring when missing

* bot: bump alpha version - v1.2.0-alpha.31

* chore(main): fix missed printer manager stuff (#907)

* refactor client states for better re-activity

* fix printer manager button states

* various fixes

* bolster logging for api

* format

* capture plugin messages in debug log

* clean up timeout

* allow force reconnect

* add reconnect if user data fails to grab

* only update versions data if values available

* bot: bump alpha version - v1.2.0-alpha.32

* fix two file manager regression (#908)

* bot: bump alpha version - v1.2.0-alpha.33

* chore(main): timelapse improvements (#909)

* fix pm2 restart command

* fixed images not display (file/history) with special characters in filename

* restore original url encoding as planned to be fixed plugin/op side

* made timelapse capture more robust with date matching and added a bailout after an hour which only incrememnts whilst OP is generating the timelapse.

* bot: bump alpha version - v1.2.0-alpha.34

* chore(main): fix and improve influxdb export and various other cleanups (#910)

* make eslint a global package

* update node alpha bump version

* install updater for later improvements

* little cleanups and prettier run

* patch print time genius completion percentage as it's way way off!

* fix influx export printer live data

* fix influx db history export

* capture spool data to influx, needs testing further

* influx data finalise

* make sure searching state is set when re-enabling/force connecting a printer

* finalise influx output for spools

* fix history not showing average print time

* fix force connect allowing connections whenever

* clean ups and capture unknown plugins to logs

* disable regsiter button on submit

* add note to support unknown plugins

* add note to support unknown plugins

* replace content editable fields

* grab/show/display klipper ready state

* fix some view issues

* fix farm overview not hiding octopi rows if doesn't exist

* fix user registration always disabling registration

* fix restart causing error popping up on system page

* fix user name not been shown on active sessions

* fix error where client would fail to connect to event stream on login pages

* fixes for user crud and system pass user permissions

* disable newUser button when login requirements turned off

* cleanup and log some errors

* missed an error

* bot: bump alpha version - v1.2.0-alpha.35

* chore(main): final push for rc8 (#911)

* fix klipper state goofs

* fix some influx goofs

* cleaner ui for forcing reconnection to printer

* fix maintenance costs not displaying when 0

* fix roundings

* fix charts showing incorrectly

* fix filament graphs

* remove drag and drop from file lists, printers only

* close connection to influx database if error occurs

* print start sequence improvements

* print start sequence improvements

* stop overwriting file name, correctly create display / name, handle duplicates better

* fix mult-upload finally

* fix replace bug

* fix gcode scripts not sending to scripts marked for all printers

* fix mult-print file upload varient

* fix multi-print select files

* clean up

* bot: bump alpha version - v1.2.0-alpha.36

* chore(main): alpha merge (#914)

* Create codeql-analysis.yml

* Update codeql-analysis.yml

* Update README.md

* chore(main): ci-di and readme clean up (#915)

* clean up issue report

* add new pr name linters

* add new release notes?

* add new links

* update changelog

* update github readme's

* clean up workflows

* fix(main): printer websocket connector (#916)

* simplify the ping/pong check

* move alpha bump to canary actually...

* force file scan on non-onboarded printers

* show better plugin log

* up-rev ready for V1.2

* fix(main): dependencies install for docker (#917)

* fix dep install for

* done in dockerfile not needed

* fix(client): registration button disabled and no submit (#918)

* fix nodemon missing dev-dep

* fix new user not submitting

* fix versioning not showing rc8

* prep-semantic release and create canary

* ci(main): testing semantic release generation (#920)

* only allow docker builds after dev / master pr

* only allow scopes of main,server,client

* remove chore

* invalid test

* chore(main): add commit linting to pre-commit

* ci(main): add commit linting to pre-commit

* ci(main): add missing dependencies to development

* ci(main): add docker builds to run after release workflow fixes #921

* bot: bump alpha version - v1.2.0-alpha.0

* feat(main): initial commit # => 1.2.0 (#922)

* feat(main): initial commit # => 1.2.0

* fix(main): missing deps

* bot: bump alpha version - v1.2.0-alpha.1

* fix(main): actually install dependencies (#923)

* feat(main): initial commit # => 1.2.0

* fix(main): whoops - actually include missing dependencies

* ci(server): turn off dry run (#924)

* ci(server): turn off dry run

* ci(main): delete master release file

* ci(main): run the release automation on push not pull_request (#925)

* fix(main): fix missing package.json file

* chore(release): 1.2.0-beta.1 [skip ci]

# [1.2.0-beta.1](https://github.com/OctoFarm/OctoFarm/compare/v1.1.0...v1.2.0-beta.1) (2022-05-12)

### Bug Fixes

* **client:** [#839](https://github.com/OctoFarm/OctoFarm/issues/839) - Replace coloured buttons with coloured printer icon ([#851](https://github.com/OctoFarm/OctoFarm/issues/851)) ([3e49478](https://github.com/OctoFarm/OctoFarm/commit/3e4947846605a4992eb0629d9a5bd37cc1ad11c2))
* **main:** actually install dependencies ([#923](https://github.com/OctoFarm/OctoFarm/issues/923)) ([57be504](https://github.com/OctoFarm/OctoFarm/commit/57be50426da589d9847d1d36c3be00bc8711f38e))
* **server:** attempt sse /events fix ([#885](https://github.com/OctoFarm/OctoFarm/issues/885)) ([1127ae6](https://github.com/OctoFarm/OctoFarm/commit/1127ae65b34adae15752614559021f1c370e9314))
* **client:** clean-up power functionality ([#898](https://github.com/OctoFarm/OctoFarm/issues/898)) ([ca69544](https://github.com/OctoFarm/OctoFarm/commit/ca6954433b9fbaa2dccd0176a23abfc0b6ad749d))
* **main:** dependencies install for docker ([#917](https://github.com/OctoFarm/OctoFarm/issues/917)) ([72c5a35](https://github.com/OctoFarm/OctoFarm/commit/72c5a3506ce9f4285824a06e188160ee1a77053d))
* **server:** fix estimated print time bug ([#883](https://github.com/OctoFarm/OctoFarm/issues/883)) ([da0db0a](https://github.com/OctoFarm/OctoFarm/commit/da0db0ae749b5af3f593a115e2da64bba8ff64b8))
* **server:** Fix initial scan of printer name. ([#830](https://github.com/OctoFarm/OctoFarm/issues/830)) ([882f940](https://github.com/OctoFarm/OctoFarm/commit/882f940bb8ffc7573ff5e6f6592ad2c5fe68dfa8))
* **main:** fix missing package.json file ([7ab98b6](https://github.com/OctoFarm/OctoFarm/commit/7ab98b6bd947648354fba1c3c26bf7a5d0f2c0bb))
* **client:** fix views ([#826](https://github.com/OctoFarm/OctoFarm/issues/826)) ([62fc862](https://github.com/OctoFarm/OctoFarm/commit/62fc86227d2197ef3f28f3c20f155ee82e7af6e1))
* **main:** get the client version regardless ([#827](https://github.com/OctoFarm/OctoFarm/issues/827)) ([cd7e826](https://github.com/OctoFarm/OctoFarm/commit/cd7e826d5fd878a8079930fa45e2f0ff03293661))
* **client:** make sure id is passed to create camera ([#828](https://github.com/OctoFarm/OctoFarm/issues/828)) ([c07e6af](https://github.com/OctoFarm/OctoFarm/commit/c07e6afff747775cf6b0518afbb21c26d35bac13))
* **main:** printer websocket connector ([#916](https://github.com/OctoFarm/OctoFarm/issues/916)) ([99f1d6f](https://github.com/OctoFarm/OctoFarm/commit/99f1d6f1e774569e3ee9ba358a14ae890104e2cf))
* **client:** registration button disabled and no submit ([#918](https://github.com/OctoFarm/OctoFarm/issues/918)) ([6b9a72a](https://github.com/OctoFarm/OctoFarm/commit/6b9a72a58c965e1d0171958a6887be425fa7fde8))
* **server:** security fixes and more ([#823](https://github.com/OctoFarm/OctoFarm/issues/823)) ([670a0d2](https://github.com/OctoFarm/OctoFarm/commit/670a0d2bda9054dded1d2365b3c607d392e0b9cc)), closes [#862](https://github.com/OctoFarm/OctoFarm/issues/862)
* **server:** start alpha script ([#824](https://github.com/OctoFarm/OctoFarm/issues/824)) ([c475e38](https://github.com/OctoFarm/OctoFarm/commit/c475e38da09469babb9c03a836954dfed8343c98))

### Features

* **client:** add stl to allowed file types ([#822](https://github.com/OctoFarm/OctoFarm/issues/822)) ([98fedbb](https://github.com/OctoFarm/OctoFarm/commit/98fedbbabe040586f928c27030b732b06bf956d1))
* **main:** Add throttled status and pull in websocket data for PSU/Thermal throttle on Pi's ([#889](https://github.com/OctoFarm/OctoFarm/issues/889)) ([65e0094](https://github.com/OctoFarm/OctoFarm/commit/65e009477a8ba004d7197742da67ea3efb40d471))
* additional file types ([#815](https://github.com/OctoFarm/OctoFarm/issues/815)) ([117dda5](https://github.com/OctoFarm/OctoFarm/commit/117dda502822a5bcf906c61eab320e3537795d4e))
* **main:** automated websocket throttle ([#880](https://github.com/OctoFarm/OctoFarm/issues/880)) ([27eeb38](https://github.com/OctoFarm/OctoFarm/commit/27eeb38293fef6addd00a230481f24aad37c67ba))
* **main:** initial commit # => 1.2.0 ([#922](https://github.com/OctoFarm/OctoFarm/issues/922)) ([d53d873](https://github.com/OctoFarm/OctoFarm/commit/d53d873379df62fc713d85dda8167a7cc951baf4))

* ci(main): tweak server release and add in client release

* ci(main): tweak server release and add in client release

* ci(main): turn off alpha releases

* ci(main): closes #921 - tweak server release and add in client release (#929)

* ci(main): turn off alpha releases

ci(main): tweak server release and add in client release

ci(main):…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working / good issue report fixed on dev This issue has been fixed and is on its way stale Any issue which has expired but still has value
Projects
None yet
Development

No branches or pull requests

1 participant