Gina Häußge
482c2f7115
🐛 Fix timelapse progress under Py3
...
Closes #3409
2020-01-15 16:53:54 +01:00
Gina Häußge
7fa4ebd1ec
Merge pull request #3414 from fieldOfView/fix_allows_multiple_needs
...
Fix checking against multiple Needs on OctoPrintPermission
2020-01-14 12:44:18 +01:00
Gina Häußge
9c3b552aa8
🔥 Remove unused leftover code
2020-01-14 11:24:22 +01:00
Gina Häußge
3229e65a8d
♻ Remove assumptions about UI from permission model
...
Implements #3419
2020-01-14 11:22:54 +01:00
fieldOfView
7191d39b51
Fix multiple Needs on OctoPrintPermission
...
fixes #3398
2020-01-03 08:41:59 -08:00
Gina Häußge
58bc5171ee
✏ Adjusted plugin tutorial for py3
2019-12-13 13:43:29 +01:00
Gina Häußge
74f3bc9ae6
🔖 staging/devel is now 1.4.0rc4.dev
2019-12-12 15:01:53 +01:00
Gina Häußge
464d9c0757
🔖 Preparing release of 1.4.0rc3
1.4.0rc3
2019-12-12 13:00:35 +01:00
Gina Häußge
94ae90ab80
♻ Cleaned up a pre-py3 leftover comment
2019-12-12 12:43:45 +01:00
Gina Häußge
33b89550a4
🐛 Fix a unicode issue under win32
...
subprocess env must not contain unicode strings but could now after some
py3 related refactorings.
2019-12-12 12:43:13 +01:00
Gina Häußge
9661469532
🐛 Fix some permission bindings
...
Closes #3388
2019-12-11 15:01:57 +01:00
Gina Häußge
b06c222a7d
🐛 Fix checksum calculation in stk500v2 under py3
...
See #3382
2019-12-11 10:50:40 +01:00
Gina Häußge
9f85b54681
🐛 Convert decoded header to unicode
...
See #3382
2019-12-11 10:28:32 +01:00
Gina Häußge
5d1ad5d75d
🐛 Add blinker dependency for flask_principal
...
Was forgotten in 928d62a517
2019-12-10 16:35:07 +01:00
Gina Häußge
dc32f955b7
🐛 Fix forwarding of HTTPExceptions on SimpleApiPlugins
...
Part of #3375
2019-12-10 16:16:40 +01:00
Gina Häußge
220592c267
🐛 IspError should be a proper Exception
...
Otherwise our try-catch-blocks won't catch it anymore.
2019-12-10 12:56:23 +01:00
Gina Häußge
0faa6879b4
☂ Resilience against issue in Printoid
...
Closes #3381
2019-12-10 12:55:47 +01:00
Gina Häußge
71b5de91bf
🐛 Fix 403 response
...
Dumping string representations of the permission objects doesn't make
sense, and neither does rewriting the error description in the first
place.
2019-12-09 19:06:53 +01:00
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
fe755405e8
📝 Add docs for octoprint.access.permissions hook
...
As mentioned in #3365
2019-12-03 17:14:00 +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
f2b2496e58
🔖 staging/devel is now 1.4.0rc3.dev
2019-12-02 16:23:02 +01:00
Gina Häußge
e603b98d0d
🔖 Preparing release of 1.4.0rc2
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
2801da5c51
💚 Fix unit tests by fixing mocked functions
...
Closes #3348
2019-11-26 16:22:08 +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
4469a2d84a
🔖 staging/devel is now 1.4.0rc2.dev, devel 1.5.0.dev
2019-11-26 10:36:18 +01:00
Gina Häußge
2da7aa358d
🔖 Preparing release of 1.4.0rc1
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