Gina Häußge
928d62a517
♻ Vendoring flask_principal
...
It no longer seems to be maintained and there's an issue in the code
we need fixed.
2019-12-09 19:06:52 +01:00
Gina Häußge
78bd3b1a52
🐛 "remember" does not need to be set on session
...
Be able to deal with that.
Follow up to #3370
2019-12-09 19:06:51 +01:00
Gina Häußge
b9bab0577b
♻ Remove monkey patch that's no longer needed
2019-12-09 17:32:31 +01:00
Gina Häußge
c41551a643
🐛 Fix wrong handling of session protection signal
...
We should only clear out the identity when the session has actually
been deemed deleted, not just on staleness due to e.g. a client IP
change.
Closes #3370
2019-12-09 17:31:53 +01:00
Gina Häußge
6c92dd1303
🐛 PNotify needs position:fixed
...
Closes #3377
2019-12-09 14:19:16 +01:00
Gina Häußge
124f01ca2d
🐛 py3: ensure an int as rolling window size
...
Closes #3371
2019-12-06 13:40:03 +01:00
Gina Häußge
0dece85fa7
🐛 Fix notifications being visible w/ needed login
2019-12-04 15:24:08 +01:00
Gina Häußge
caebf90ee9
🐛 Fix short UI flicker before loading animation
2019-12-04 14:37:16 +01:00
Gina Häußge
0c77014903
☔ Make sure js/css mime types are always correct
...
Even if we are running on windows and something is borked in the
registry...
Closes #3367
2019-12-03 18:03:11 +01:00
Gina Häußge
231a796200
☔ Limit legal plugin permission keys
2019-12-03 17:26:29 +01:00
Gina Häußge
2200f2186c
🐛 Fix permissions of global API key
...
Closes #3365
2019-12-03 14:55:32 +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
e235fc299f
🐛 Make sure data is set
...
Closes #3364
2019-12-02 14:07:41 +01:00
Gina Häußge
4f25ed546e
🐛 Only proceed if children is set AND truthy
...
Closes #3363
2019-12-02 13:55:04 +01:00
Gina Häußge
f72b9db6a9
🐛 Fix wrong escape
...
Closes #3362
2019-12-02 12:24:48 +01:00
Gina Häußge
80e8e33283
🐛 Don't logout always-logged-in AdminUser
...
If ACL is disabled it doesn't make sense to log it out and it's causing
issues further down the line due to different handling.
Fixes #3361
2019-12-02 12:24:44 +01:00
Gina Häußge
00d0396417
🐛 Fix autologin
...
Closes #3357
2019-11-29 12:50:16 +01:00
Gina Häußge
59e39662f1
🐛 timelapse: fix accessed event payload field
...
Closes #3354
2019-11-28 18:02:34 +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
471dab9406
🐛 Don't try to write None values into upload body
...
Closes #3349
2019-11-26 15:34:14 +01:00
Gina Häußge
1deb247ce5
🐛 Let functools.wraps do its job
...
Closes #3348
2019-11-26 15:14:24 +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
cbb083d7f6
♻ Do not invalidate / cache on hard reload if printing
...
Less radical follow-up to #3344 while the kinks for actually needed
UI refreshs are ironed out on that one.
2019-11-25 10:00:03 +01:00
Gina Häußge
d68de2c3c7
Revert "Do not refresh on no-cache in request"
...
This reverts commit 3b1874e
2019-11-25 09:46:50 +01:00
Gina Häußge
454c5e494a
Merge pull request #3344 from justfalter/disable-refresh-on-no-cache
...
Do not refresh on no-cache in request
2019-11-22 12:18:13 +01:00
Mike Ryan
3b1874ea25
Do not refresh on no-cache in request
...
Remove code that would lead to a refresh upon receiving a
'Cache-Control: no-cache' or 'Pragma: no-cache' in a request. The
purpose of these headers is to invalidate intermdiate proxy caches, not
that of an application server. A refresh in octoprint would lead to
several seconds of high CPU utilization on lower-power systems (like the
Raspberry Pi), leading to stuttering in print jobs.
It is still possible to explicitly cause a refresh by including
`_refresh` in the query parameters of a request.
2019-11-21 08:48:44 -06:00
Gina Häußge
e0233dee13
🐛 SWU: Restart after pip update too
2019-11-21 14:27:52 +01:00
Gina Häußge
b7e0e89bb4
⚡ ️ Precompile markdown & remove changelog
...
We already have Github's releases with all the changes, we don't need to
keep everything twice.
Instead of the changelog included in the about dialog there's now a link
to the release list, that should suffice.
Implements #3342
2019-11-20 15:35:44 +01:00
Gina Häußge
d8c3063813
⬆️ Update 3rd party deps
2019-11-20 15:30:36 +01:00
Gina Häußge
1485050234
☔ Add noscript tag
...
If the user's browser has JS disabled, we should tell them instead of
displaying a non functional UI.
As suggested in https://community.octoprint.org/t/i-forgot-my-octoprint-password-how-can-i-reset-it/215/8?u=foosel
2019-11-15 16:46:06 +01:00
Gina Häußge
6d7721f8f5
✨ PMGR: More cleanup options
...
Additional "clean up all leftovers" feature to clean up anything left
over by plugins already uninstalled.
Also takes care of entries in the disabled plugin list now.
See also #3299
2019-11-15 16:28:27 +01:00
Gina Häußge
e3ae71eabd
🐛 PMGR: Apparently mtime can sometimes still be None
...
Handle that.
See https://community.octoprint.org/t/plugins-pip-error-on-fresh-octopi-0-17-0-install/13466
for an example.
2019-11-15 10:43:34 +01:00
Gina Häußge
e88041c59e
🐛 PMGR: Remove access attempts on removed field
2019-11-15 10:43:34 +01:00
Gina Häußge
766a64c8f6
Merge pull request #3337 from CapnBry/allowbackanal
...
Setting to allow gcode analysis to continue during printing
2019-11-12 17:24:14 +01:00
Bryan Mayland
8485d2c9a7
Fix tests failing due to no Settings
2019-11-12 16:07:57 +00:00
Bryan Mayland
397e691a6a
Update setting caption for analyzeGcode.runAt
2019-11-12 15:53:06 +00:00
Bryan Mayland
6481f7cf6b
webui setting for gcodeAnalysis.runAt
2019-11-12 15:47:54 +00:00
Bryan Mayland
46c527d24a
Switch setting to fully control background gcode analysis queueing
2019-11-12 15:28:41 +00:00
Gina Häußge
5392f39cc4
Merge branch 'pr/3335' into devel
2019-11-12 15:28:47 +01:00
Bryan Mayland
4a324b4f5e
Setting to allow gcode analysis to continue during printing
2019-11-12 13:49:54 +00:00
Kelly Anderson
39e4cd3136
fix another dictionary changed size during iteration exception, possibly triggered only under python3
2019-11-09 00:54:41 -07:00
Gina Häußge
8fefa63c8c
🐛 Fix whitespace issue
2019-11-08 15:15:20 +01:00
Gina Häußge
10532b9118
🐛 SWU: Fix doctest
2019-11-08 14:55:31 +01:00
Gina Häußge
7f2eb470e4
Merge branch 'maintenance' into devel
2019-11-08 14:52:20 +01:00
Gina Häußge
8955b8e0b6
🐛 Fix a unicode bug
2019-11-08 14:48:45 +01:00
Gina Häußge
ee9d5048e2
✨ SWU: Optional pip auto update
...
Since we can't guarantee for compatibility with future versions of pip
we'll stick to the updater for that being opt-in.
2019-11-08 14:48:29 +01:00
Gina Häußge
09bb74b6c6
✨ SWU: New check type pypi_release
2019-11-08 14:45:51 +01:00
Gina Häußge
493dddf66e
🐛 to_bytes/to_unicode should pass through None
2019-11-08 14:45:17 +01:00