cp2004
aba033ae63
🐛 Make octoprint.util.ResettableTimer daemon thread by default
...
See also:
* https://github.com/j7126/OctoPrint-Dashboard/pull/219
* https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/pull/200
Affects plugins that use multiprocessing, since it blocks the shutdown (and release of server address binding), breaking the server.
Shouldn't be a breaking change, since it should be run daemon=True anyway to avoid the shutdown problems.
2020-10-06 15:40:15 +01:00
Gina Häußge
559c9b4e52
🐛 discovery: Send three SSDP notify as defined in spec
2020-10-05 11:45:50 +02:00
Gina Häußge
21c8095b8a
🥅 Protect against potential deadlock
2020-10-02 11:05:41 +02:00
Gina Häußge
8377b59217
🚸 Add new upload state "Refreshing list"
...
That will hopefully make it easier to determine whether any slow uploads
are caused by file processing (e.g. by plugins) in the backend during
saving, or by refreshing the file list from the backend after successful
upload.
As discussed here: https://community.octoprint.org/t/24644/13
2020-10-02 11:05:11 +02:00
Gina Häußge
d06e0c5e94
📝 Document Bearer token option
2020-10-01 15:58:29 +02:00
Gina Häußge
db0cf4082d
📝 Fix property name
2020-10-01 15:56:08 +02:00
Gina Häußge
0747a4d850
📝 Add version info
2020-10-01 15:53:58 +02:00
Gina Häußge
3b19d4b6fb
Merge remote-tracking branch 'origin/maintenance' into maintenance
2020-10-01 15:53:29 +02:00
Gina Häußge
8a3a4ff653
✨ New /api/server endpoint incl. safe mode info
2020-10-01 15:53:18 +02:00
Gina Häußge
d652524cef
Merge pull request #3756 from mjrider/Adding-bearer-token
...
Adding support for bearer token
2020-10-01 13:36:57 +02:00
Robbert Müller
3c1aaa24f5
Adding support for bearer token
2020-10-01 13:05:20 +02:00
Gina Häußge
26151b3c42
⚡ ️ Even more aggressive caching of uploads
...
The LocalFileStorage now maintains its own internal cache for all
tracked folders and will only refresh entries if the last modification
of a (sub)folder has changed.
2020-10-01 11:44:50 +02:00
Gina Häußge
9a7712ed11
✨ Support for including func args in time_this log
2020-10-01 11:43:46 +02:00
Gina Häußge
098e5f2516
🐛 Fix time_this decorator
...
Wasn't actually working as a decorator with parameters, and
monotonic_time also turned out to be too unprecise a time source.
2020-09-30 16:58:57 +02:00
Gina Häußge
687e6ad900
💚 Make flake8 happy again
2020-09-30 14:16:18 +02:00
Gina Häußge
22ce8e4c24
✨ New plugin timings logging feature
...
If enabled (via Settings > Server > Debug options) this will write two
new files to the logging dir, plugintimings.log and plugintimings.csv,
which contain timing information for each and every hook or
implementation call on plugins registered with OctoPrint. This should
be helpful to debug any kind of performance issues caused by third
party plugins. It should also be a valuable tool to debug performance
issues with bundled plugins.
As requested in #1241
2020-09-30 13:58:47 +02:00
Gina Häußge
24204efab6
🐛 Keep null check after all
2020-09-29 15:08:12 +02:00
Gina Häußge
9611172b88
🐛 Fix caching wrapper on endpoints
...
At some point the last modified implementation broke, and for some
reason current Firefox also appears to be even sending an
If-Modified-Since header if an ETag is present.
This fixes caching again so that if both If-Modified-Since and
If-None-Match are present, Last-Modified and ETag will be checked,
if onlye one is present only that one will be checked, and if neither
is present the cache will always be considered stale.
Possible (at least partial) solution for #1241
2020-09-29 14:37:17 +02:00
Gina Häußge
a808c58091
📝 Even more docs for octoprint.plugin.core
2020-09-29 13:58:30 +02:00
Gina Häußge
d19ce0a67e
✨ backup: config flag/env var to mark restore as unsupported
...
cc @LongLiveCHIEF
2020-09-29 13:27:42 +02:00
Gina Häußge
3672f7bad7
✨ Disable logout button for authheader/apikey login
2020-09-29 12:26:37 +02:00
Gina Häußge
855cdad612
♻️ Slimmed down a method a bit
2020-09-29 11:39:50 +02:00
Gina Häußge
b857fd1e24
📝 More docs for PluginInfo and PluginManager
2020-09-29 11:32:05 +02:00
Gina Häußge
9dce1e5291
🐛 Always do a passive login
2020-09-28 18:41:57 +02:00
Gina Häußge
126d370b34
🐛 Fix backwards logic
2020-09-28 18:39:19 +02:00
Gina Häußge
37210a76fa
🐛 Fix logging in via HTTP Basic Auth
...
We need to make sure we actually try to log in a user from API key or
auth header before checking permissions. This used to be part of the
loginui plugin that was bundled in 1.4.x, but got forgotten when
implementing that in the shape of the new dedicated login dialog that
supports custom permissions to check and redirect URLs.
Closes #3747
2020-09-28 18:02:42 +02:00
Gina Häußge
e92e69b35b
⚡ ️ in_place option for dict_merge
...
Thanks for the idea, @amrsoll
2020-09-28 15:05:37 +02:00
Gina Häußge
b218cbab92
Merge branch 'master' into maintenance
2020-09-28 11:49:10 +02:00
Gina Häußge
6746e8777a
👷 ️ Fix workflow syntax
...
It helps to actually use the correct syntax. I hate mondays.
2020-09-28 11:48:39 +02:00
Gina Häußge
81b295726f
Merge branch 'master' into maintenance
2020-09-28 11:42:05 +02:00
Gina Häußge
b7d749ec90
👷 ️ Have CI run on PR too
...
No idea why that got left out 🤦♀️ Thanks for the heads-up @frenkh
2020-09-28 11:39:53 +02:00
Gina Häußge
87102407c7
✨ SWU: Fix CLI
...
As mentioned in
https://community.octoprint.org/t/24481
2020-09-25 15:42:47 +02:00
Gina Häußge
8668e5d66b
✨ client: fix socket authentication
2020-09-25 14:39:05 +02:00
Gina Häußge
0b9158f727
📝 More version added info
2020-09-24 18:08:20 +02:00
Gina Häußge
d98b793705
📝 Added version added info to all hooks
2020-09-23 19:10:07 +02:00
Gina Häußge
0d96f1b8ca
✨ New hook octoprint.printer.additional_state_data
...
Use to inject additional data into the regular state pushes to
PrinterCallbacks, including the push socket.
As requested in OctoPrint/plugins.octoprint.org#553
2020-09-23 18:55:29 +02:00
Gina Häußge
290de2f15c
Merge remote-tracking branch 'origin/maintenance' into maintenance
2020-09-23 16:09:41 +02:00
Gina Häußge
d30b3a398f
🐛 Fix tooltip on freshly initialized slider
...
Closes #3743
2020-09-23 16:09:31 +02:00
Gina Häußge
fc56327e79
Merge pull request #3745 from frenck/frenck-2020-0002
...
Add pyenv local version to .gitignore
2020-09-23 14:59:23 +02:00
Franck Nijhof
03918703d9
Add pyenv local version to .gitignore
2020-09-23 14:45:17 +02:00
Gina Häußge
8feb5b2ff9
Merge pull request #3744 from frenck/frenck-2020-0001
...
Add unique ID TXT record to ZeroConf service
2020-09-23 14:10:09 +02:00
Franck Nijhof
cf16ce6e64
Add unique ID TXT record to ZeroConf service
2020-09-23 13:42:45 +02:00
Gina Häußge
fb6248c624
Merge branch 'master' into maintenance
2020-09-23 12:31:33 +02:00
Gina Häußge
10827e56aa
📝 Move branching/versioning into docs
...
... and improve phrasing.
Hopefully solves #3741
2020-09-23 12:02:47 +02:00
Gina Häußge
107926dd7e
Merge pull request #3742 from cp2004/update-language-pack-link
...
✏️ Update link to language packs
2020-09-23 11:27:14 +02:00
Gina Häußge
c0495d22c9
🐛 Remove default submit from settings forms
...
We only want explicitly defined form behaviour.
Otherwise stuff might be triggered by hitting
the enter key that should not be triggered.
Closes #3740
2020-09-23 11:25:32 +02:00
cp2004
030f9ac6d3
✏️ Update link to language packs
2020-09-22 20:56:43 +01:00
Gina Häußge
786e2f860f
🐛 remove should behave the same as set and get regarding defaults
2020-09-22 16:31:09 +02:00
Gina Häußge
a6fc1e715a
♻️ SWU: Clean up the settings processing
2020-09-22 16:30:26 +02:00
Gina Häußge
917dd262f9
🐛 SWU: Fix overlay_ttl updating
2020-09-22 15:00:33 +02:00