Gina Häußge
7b5ab1af64
Merge branch 'pr/3885' into maintenance
2021-01-18 12:28:15 +01:00
Gina Häußge
fe287cf6f8
📝 Slight rephrasing
2021-01-18 12:28:05 +01:00
Gina Häußge
1af19bb417
♻️ Get rid of some code duplication
2021-01-18 12:14:25 +01:00
Gina Häußge
81b8507692
Merge pull request #3942 from jasonbcox/pluginblacklist-button-fix
...
Fix button state in plugin blacklist subwizard
2021-01-18 10:38:34 +01:00
Gina Häußge
be5d4907ef
Merge pull request #3953 from eyal0/save_logging_levels_on_change_only
...
Save logging levels on change only
2021-01-18 10:32:31 +01:00
Gina Häußge
37fa52c47a
Merge pull request #3956 from eyal0/difference_instead_of_without
...
Use _.difference instead of _.without for arrays
2021-01-18 10:31:54 +01:00
Gina Häußge
98a3566555
Merge pull request #3957 from eyal0/auto_add_logger
...
Automatically add logger when one is selected
2021-01-18 10:30:48 +01:00
eyal0
ff440d36e2
Add slicing.defaultSlicer to set/get
2021-01-13 16:46:38 -07:00
eyal0
74facf9373
Merge branch 'empty_new_logger' into auto_add_logger
2021-01-13 14:54:43 -07:00
eyal0
f7a1f0b69f
Use optionsCaption instead of making a fake component
2021-01-13 14:53:33 -07:00
eyal0
b667257ecd
Automatically add logger when one is selected
...
When a user choose a new logger, we can assume that the intent is to
eventually add it to the list, so just do that.
This fixes #3947
2021-01-13 13:47:09 -07:00
eyal0
bf3461f9f1
Use _.difference instead of _.without for arrays
...
This fixes #3955
2021-01-13 13:26:51 -07:00
eyal0
56c516aa9a
Reset changed flag after reloading the settings.
...
This fixes #3952
2021-01-13 12:54:41 -07:00
eyal0
99decf0d66
Merge branch 'reload_logging_settings' into auto_add_logger
2021-01-13 12:09:01 -07:00
eyal0
85919a1df5
Add empty component to availableLoggers list
...
This fixes #3950
2021-01-13 12:06:03 -07:00
eyal0
f8d8af8cc4
Reload logging settings when settings are viewed.
...
This fixes #3948
2021-01-13 11:43:31 -07:00
Gina Häußge
498463f5cb
🥅 Gracefully handle invalid local network definitions
...
See #3945
Closes #3946
2021-01-13 16:23:25 +01:00
Gina Häußge
be9c3acf39
Merge pull request #3943 from jasonbcox/connectivity-button-fix
...
Fix button state in connectivity check subwizard
2021-01-13 13:01:13 +01:00
Gina Häußge
1cff1b4c9c
Merge pull request #3941 from jasonbcox/tracking-wizard-typo
...
Fix typo in tracking wizard
2021-01-13 12:59:27 +01:00
Shawn Bruce
c8dbd89411
Add onbeforeusersettingsave
2021-01-12 19:41:32 -05:00
Jason B. Cox
85edae2cba
Fix button state in connectivity check subwizard
2021-01-12 14:56:14 -08:00
Jason B. Cox
2375cbe637
Fix typo in tracking wizard
2021-01-12 14:46:33 -08:00
Jason B. Cox
d215ea2b4e
Fix button state in plugin blacklist subwizard
2021-01-12 14:42:05 -08:00
Gina Häußge
3d4acbe332
Merge pull request #3866 from cp2004/improve/backup_helper
...
Add plugin helpers to backup plugin
2021-01-12 18:09:19 +01:00
Gina Häußge
cce77c958c
Merge branch 'maintenance' into patch-1
2021-01-12 17:51:27 +01:00
Gina Häußge
35c3660958
🐛 pmgr: make upload install async & fix conflict handling
...
It turns out that a) we were not yet doing plugin installation after an
archive/file upload asynchronously, so that any delays there could still
cause timeouts, and that b) we were also not handling the conflict
situation of trying to start another plugin install while one is already
running correctly on the frontend.
This fixes both issues.
2021-01-12 16:33:02 +01:00
Gina Häußge
de8c31ed51
✨ Tracking: add printer state to ping event
...
That will allow us to get a general idea of actively used vs idle
instances. A huge number of instances in an error state could also be an
indicator of problems with a release.
Would also be a cool thing to be able to add "this many printers are
currently printing" to data.octoprint.org
2021-01-11 19:17:39 +01:00
Gina Häußge
76aeda4991
Merge pull request #3924 from jasonbcox/tracking-button-fix
...
Fix button state in usage tracking wizard
2021-01-11 18:15:40 +01:00
Gina Häußge
5512b1f8d7
Merge pull request #3912 from cp2004/fix/undervoltage_report
...
Fix plugin install errors not being reported to the frontend
2021-01-11 17:57:42 +01:00
Gina Häußge
c3762b3119
Merge pull request #3913 from cp2004/fix/terminal_filter
...
Fix default regexp for new terminal filters
2021-01-11 17:48:31 +01:00
Gina Häußge
1f08c9b6db
Merge pull request #3925 from cp2004/improve/icon_fixes
...
Couple of small icon fixes
2021-01-11 17:48:01 +01:00
Gina Häußge
2a51385f43
Merge pull request #3918 from cp2004/fix/wizard_order
...
Ensure connectivity check wizard comes before usage tracking
2021-01-11 10:20:51 +01:00
Gina Häußge
6afa83a7a1
Merge pull request #3888 from cp2004/fix/uiplugin
...
Fix rendering of UI plugin
2021-01-11 09:30:41 +01:00
Gina Häußge
fd891e39ff
Merge pull request #3889 from kantlivelong/fix_3886
...
Handle http errors when downloading plugin files.
2021-01-11 09:24:52 +01:00
Gina Häußge
f4a2af750c
✏ Fix file header
2021-01-11 09:24:04 +01:00
cp2004
f2403a13e5
💄 Fix action command prompt icon
...
Leftover from FA5 upgrade #3782
Thanks to @LazeMMS for spotting this one!
2021-01-04 19:06:24 +00:00
cp2004
35494e975d
💄 Set default state on announcments icon
...
Created an annoying pop-in on page load, by setting default states it only changes occasionally when there is a new post.
2021-01-04 18:59:50 +00:00
Jason B. Cox
0de01942a3
Fix button state in usage tracking wizard
...
* Fix button state so that the tracking can be enabled/disabled after
selecting one of the options for the first time.
* Improve formatting in tracking wizard template to improve code
readability.
* Add myself to AUTHORS file.
2021-01-03 15:43:48 -08:00
cp2004
2e7ed0106a
🐛 Ensure connectivity check wizard comes before usage tracking
...
If the server was not connected to the internet, then the AUT wizard would hang as it failed to reach https://tracking.octoprint.org .
Closes #3895
2020-12-31 14:07:29 +00:00
cp2004
e8b0277d76
🐛 Fix default regexp for new terminal filters
...
Closes #3845
This was prettier's doing I suspect. Watch out that it doesn't do this one again.
2020-12-27 19:17:09 +00:00
cp2004
b807eb2d6d
🐛 Fix plugin install errors not being reported to the UI
...
When plugin install went async (4cf2a673c8 ) not all of the responses were caught. This PR changes the rest of the responses to become asynchronous as well.
Closes #3849
2020-12-27 18:30:14 +00:00
cp2004
3f8f1e598a
📝 Document new backup plugin options
...
See https://github.com/OctoPrint/OctoPrint/pull/3866#pullrequestreview-549218212
'These helpers should be documented in the docs for the backup plugin.'
They are now documented :)
2020-12-27 17:21:31 +00:00
cp2004
74c2ce2054
🐛 Use isinstance instead of type
...
https://github.com/OctoPrint/OctoPrint/pull/3866#pullrequestreview-549218212
'Better use isinstance(exclude, list) here, or we rule out anything that inherits from list.'
This is also consistent with the method further down the call, at https://github.com/OctoPrint/OctoPrint/blob/280baee3a0f299366daa303ab23a1379405ebd0d/src/octoprint/plugins/backup/__init__.py#L876-L879
2020-12-27 16:18:23 +00:00
cp2004
3cf798120a
♻️ Rename backup_file to filename
...
For consistency, all methods should now use filename rather than backup_file, since that was not clear if it should be a file object or name.
https://github.com/OctoPrint/OctoPrint/pull/3866#pullrequestreview-549218212
2020-12-27 16:13:31 +00:00
Shawn Bruce
bf6010f21f
Handle http errors when downloading plugin files.
2020-12-16 10:19:08 -05:00
cp2004
3b79f83c50
🐛 Fix rendering of UI plugin
...
No, I'm not making one *yet*. Just testing it out as a possible way of updating the UI, or extracting the current core UI 😉
Closes #3887
2020-12-15 23:17:00 +00:00
j7126
17389ac17b
fix get_settings_restricted_paths documentation
2020-12-14 17:08:28 +10:00
MichaIng
973002c6cb
Capture testballoon output from pip output instead of tmp file
...
setup.py STDOUT and STDERR are printed via pip STDOUT until v19 and STDERR from v20 on, which can hence parsed by the originating script directly. This allows the fragile need to a temporary file that needs to be R/W-opened by two different processes.
Signed-off-by: MichaIng <micha@dietpi.com >
2020-12-12 23:55:07 +01:00
Gina Häußge
535af4aa1d
Merge pull request #3878 from eyal0/patch-5
...
Validate websocket JSON before sending
2020-12-11 15:03:55 +01:00
Gina Häußge
dc269846d1
🥅 Validate additional data from plugins at source
...
That way it won't even enter the state data if it's not JSON compliant,
that's better than no longer being able to send any state reports just
because one plugin is sending broken data.
Closes #3875
2020-12-11 15:01:44 +01:00