Gina Häußge
2570b296ca
♻️ Rewrite port/baudrate detection
...
Now they no longer are separate processes but one merged one.
Port detection now will only test the two most common baudrates plus
any additionally configured ones if there is more than one port to test,
that way the additional overhead of having to cycle through both port
and baudrate should be greatly reduced.
As a consequence all avr_isp references have been finally removed.
Closes #3394
2020-06-04 15:45:00 +02:00
Gina Häußge
80f94946e3
Revert "➕ ➖ Switch from awesome-slugify to python-slugify"
...
This reverts commit 73fbd15b
The change causes a full rescan for renaming on the uploads folder.
Unintended, needs to be looked at closer at a later date.
2020-06-03 18:42:48 +02:00
Gina Häußge
73fbd15bca
➕ ➖ Switch from awesome-slugify to python-slugify
2020-06-03 15:13:00 +02:00
Gina Häußge
65a66b11eb
✨ pgmr: include recent installs in repo browser
...
Also allow sorting by it.
2020-05-20 20:05:37 +02:00
Gina Häußge
052f81275b
🚸 pgmr: Dedicated error message on general failure
...
If we can't load stuff from the backend, don't get stuck in "pip not
available" mode (which confuses people terribly) but instead show a
dedicated error.
2020-05-19 17:50:40 +02:00
Gina Häußge
e0a5751d9f
💄 pgmr: Slight restyling of repository browser
...
Make sure icons don't get separated from their text and reduce
amount of unused space.
2020-05-19 17:36:24 +02:00
Gina Häußge
8a18963a72
✨ pgmr: Add sort by plugin popularity
...
Uses data from the anonymous usage tracking pulled from the repo.
2020-05-19 17:34:57 +02:00
Gina Häußge
92cfa98d88
💚 Remove unused format and make flake happy
2020-05-15 14:13:30 +02:00
Gina Häußge
b763c0516d
Merge branch 'pr/3566' into maintenance
2020-05-15 13:13:50 +02:00
Gina Häußge
f4ba30b4ce
🐛 swu: really delete check_providers
...
As mentioned in #3566
2020-05-15 13:08:27 +02:00
Gina Häußge
6367ab8bf9
✨ pgmr: Display installation stats from repo
...
Based on tracking data, coming full circle here.
2020-05-14 00:18:40 +02:00
Shawn Bruce
1d2e82644c
Use global_remove instead of global_set in octoprint.plugins.pluginmanager._cleanup_settings.
...
SeenWizards plugin data should be removed during cleanup.
2020-05-12 15:46:35 -04:00
Gina Häußge
ed1b02dcb2
Merge branch 'pr/3553' into maintenance
2020-05-06 15:42:52 +02:00
Shawn Bruce
3bc4ae14cc
Fix issue where _simulateTemps may never reach target temp but instead be stuck within 0.5C(delta)
2020-05-05 12:24:05 -04:00
Gina Häußge
15f5873cc2
✨ appkeys: support manual generation in settings
...
Also add a detail view for individual keys, also shown after
generation of a new key.
2020-04-28 15:14:10 +02:00
Gina Häußge
2d8904e2cf
💬 Action Command Prompt -> Printer Dialogs in settings
2020-04-21 15:33:52 +02:00
Gina Häußge
5b92be5889
✨ New bundled plugin action_command_notification
...
Implements support for //action:notification messages from the printer.
2020-04-21 15:31:08 +02:00
Gina Häußge
e6336c62ab
☂ Drop file descriptors on all subprocesses
...
At least if possible (close_fds + stdout/stderr redirection is not
supported on win32 in Python <= 3.7).
Closes #3378
2020-04-20 21:05:57 +02:00
Gina Häußge
3fccee1bc2
♻ Minor refactoring
2020-04-06 19:17:26 +02:00
kerber
0a658e1b2e
Restoring from backup preserves original file datestamps.
2020-04-06 19:17:26 +02:00
Gina Häußge
0da0e6cf8b
✨ pmgr: Add Python version to plugin list
2020-04-03 16:59:12 +02:00
Gina Häußge
014d32b83b
💬 foosel/OctoPrint => OctoPrint/OctoPrint
...
Also fixed some links while at it.
2020-04-03 15:00:53 +02:00
Gina Häußge
ee70e9d546
🚸 Include Python version in footer
...
As suggested in https://community.octoprint.org/t/17819
2020-04-02 18:03:53 +02:00
Gina Häußge
2cc0e91c38
🐛 announcements: Fix wrong permission name
2020-04-02 17:53:47 +02:00
Gina Häußge
f99ba720a8
♻ backup: remove code repetition
2020-04-01 19:24:45 +02:00
Gina Häußge
7e4c29befb
✨ backup: Add first run wizard
...
Bypasses permissions in first run mode, allows
to restore existing backup.
Closes #3496
2020-04-01 18:58:39 +02:00
Gina Häußge
ef7a247df3
Merge remote-tracking branch 'kantlivelong/restore_wizard_poc' into improve/firstrun_restore
2020-04-01 16:11:00 +02:00
Shawn Bruce
b63eec3e91
restore from backup wizard proof of concept
2020-03-30 22:43:09 -04:00
Gina Häußge
761a0fdb61
♻ Extract printer safety warning into dependency
...
Renamed to firmware check, published to PyPI, on a different release
cycle and version number scheme than core OctoPrint but still considered
bundled via a new mechanism to mark external plugins as such.
This will speed up deployment of new firmware checks in case of new
printers with disabled thermal runaway protection, or stuff like the CBD
firmware.
2020-03-27 15:42:06 +01:00
Gina Häußge
8a01d89049
✨ Detect ZWLF variant of CBD firmware
2020-03-25 16:03:42 +01:00
Gina Häußge
610a7ed8a8
✨ printer_safety_warning: Detect broken cbd firmware
2020-03-24 17:05:02 +01:00
Gina Häußge
86751249be
Merge branch 'master' into maintenance
2020-03-04 13:01:53 +01:00
Gina Häußge
6232a04e52
🔖 Preparing release of 1.4.0
...
OMG OMG
2020-03-03 16:28:51 +01:00
Gina Häußge
c37f83c6c3
♻ tracking: Send environment with pong
...
Gets us more up to date stats regarding used hardware than on the
startup event.
2020-03-02 15:53:46 +01:00
Gina Häußge
d99af420ac
🐛 loginui: fix reload not triggering right after first run setup
2020-02-26 12:01:24 +01:00
Gina Häußge
73c2baa39e
🔖 Preparing release of 1.4.0rc6
2020-02-26 10:08:34 +01:00
Gina Häußge
054df68741
📝 Fix year
2020-02-26 09:13:44 +01:00
Gina Häußge
453ef0cb97
♻ Remove implicit blueprint protection in favour of explicit one
2020-02-25 17:03:29 +01:00
Gina Häußge
a75c641c18
♻ Implement login dialog through UiPlugin
...
Otherwise alternative UIs might still be wide open, and caching and such
was also really painful to solve before.
The LoginUI Plugin is pretty much just a distilled ForceLogin plugin.
Also declared it as hidden so it won't show up/be manageable by the
plugin manager.
2020-02-25 15:33:42 +01:00
Gina Häußge
73f7c4d8a1
🔖 Preparing release of 1.4.0rc5
2020-02-10 17:02:07 +01:00
Gina Häußge
10079b8d9d
🐛 PGMR: Fix UI representation of incompatible plugins
...
Second part of fixing #3442
2020-02-04 15:53:56 +01:00
Gina Häußge
60d2bd1ac1
🔖 Preparing release of 1.4.0rc4
2020-01-27 15:51:27 +01:00
Gina Häußge
43ab47a260
✨ pi support: Permission check for API endpoint
2020-01-27 13:46:09 +01:00
Gina Häußge
464d9c0757
🔖 Preparing release of 1.4.0rc3
2019-12-12 13:00:35 +01:00
Gina Häußge
b57b7cb606
🐛 appkeys: fix key gen under Python 2
...
And refactor key generation to be located in ONE central utility method
to avoid issues like that in the future.
Closes #3366
2019-12-03 12:56:14 +01:00
Gina Häußge
e603b98d0d
🔖 Preparing release of 1.4.0rc2
2019-12-02 14:11:43 +01:00
Gina Häußge
038e1b9a57
🐛 appkeys: Fix a deprecation warning
2019-11-26 18:42:36 +01:00
Gina Häußge
bbefeeeb02
🐛 appkeys: generate string api keys
...
Instead of binaries.
Closes #3350
2019-11-26 18:35:32 +01:00
Gina Häußge
2da7aa358d
🔖 Preparing release of 1.4.0rc1
2019-11-25 11:57:30 +01:00
Gina Häußge
e0233dee13
🐛 SWU: Restart after pip update too
2019-11-21 14:27:52 +01:00