Gina Häußge
504137d249
Merge branch 'rc/maintenance' into staging/maintenance
2020-03-03 12:37:34 +01:00
Gina Häußge
b818042fc5
📝 More work on the Py3 migration guide
2020-03-03 12:37:22 +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
fe7894fb5f
Merge branch 'rc/maintenance' into staging/maintenance
2020-03-02 13:46:29 +01:00
Gina Häußge
f57afca557
📝 Add example to iterator point
2020-03-02 13:45:37 +01:00
Gina Häußge
38e8878ded
Merge branch 'rc/maintenance' into staging/maintenance
2020-03-02 13:08:45 +01:00
Gina Häußge
230740708b
📝 Guide on migrating plugins to Python 3
2020-03-02 12:51:49 +01:00
Gina Häußge
0c3b0b8a40
Merge branch 'staging/maintenance' into maintenance
2020-02-26 15:31:34 +01:00
Gina Häußge
cf560a47d5
🔖 staging/maintenance is now 1.4.0rc7.dev
2020-02-26 15:31:03 +01:00
Gina Häußge
d99af420ac
🐛 loginui: fix reload not triggering right after first run setup
1.4.0rc6
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
f7756698e9
🐛 Don't protect blueprints before first run setup
2020-02-25 17:03:51 +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
5015422086
🐛 py3 list vs iterator
2020-02-25 15:48:01 +01:00
Gina Häußge
2d85d8acf8
♻ is_(anonymous|active)() => is_(anonymous|active)
2020-02-25 15:41:38 +01:00
Gina Häußge
2af589a823
♻ Remove remnants of old login ui
2020-02-25 15:37:51 +01:00
Gina Häußge
20c55f4d3d
🐛 Fix missing protection for blueprint plugins
...
is_blueprint_protected should mean a requirement of a logged in non
anonymous user. Implemented accordingly. Got forgotten during switch to
granular permission system.
2020-02-25 15:37:50 +01:00
Gina Häußge
b7fdc82d30
🐛 Fix buggy implementation of (before|after)_request hooks
2020-02-25 15:37:48 +01:00
Gina Häußge
770ebf2cf9
📝 Docs for new access control situation
2020-02-25 15:34:17 +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
38c09153ac
♻ Fix deprecated method names
2020-02-24 14:16:09 +01:00
Gina Häußge
e30e18e431
📝 Docs for reauthRequired push message
2020-02-24 12:49:12 +01:00
Gina Häußge
249d19f55b
🐛 Reauth for stale sessions instead of active logout
...
Fixes #3459
2020-02-24 12:49:04 +01:00
Gina Häußge
2e043ecf5b
📝 Explicitly document LineProcessorStream behaviour under py3
...
Make absolutely clear that processLine will be called with a byte & not
a unicode string.
See #3454
2020-02-18 15:57:01 +01:00
Gina Häußge
831edf234d
🐛 Fix a firmware info reporting bug
...
It was not reported if firmware detection was disabled, even though one
should not have anything to do with the other.
Not a regression, but considering that it negatively impacts the printer
safety plugin that relies on firmware info it'll go into 1.4.0
regardless.
2020-02-17 17:34:19 +01:00
Gina Häußge
b42c753d3f
🐛 Fix a Py3 bug with the self._printer wrapper in plugins
2020-02-17 17:32:20 +01:00
Gina Häußge
e0b09857c4
Merge branch 'staging/maintenance' into maintenance
2020-02-11 14:38:25 +01:00
Gina Häußge
924cd5cb4c
🔖 rc/maintenance is now 1.4.0rc6.dev
2020-02-11 14:37:43 +01:00
Gina Häußge
73f7c4d8a1
🔖 Preparing release of 1.4.0rc5
1.4.0rc5
2020-02-10 17:02:07 +01:00
Gina Häußge
0d035496f5
🐛 Fix caching on /api/files
...
We were calculating the last modified date for the internal file cache
wrong and that led to returning stale data.
Should fix #3422
2020-02-07 19:28:11 +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
c31566a626
🐛 Fix incompatible plugins to be marked as compatible
...
First part of fixing #3442
2020-02-04 15:52:53 +01:00
Gina Häußge
0cfc7a2976
Merge remote-tracking branch 'origin/staging/maintenance' into staging/maintenance
2020-02-04 13:17:11 +01:00
Gina Häußge
de5a10163e
🐛 Reintroduce message backlog on socket
...
Was present in forcelogin and made sure that plugins triggering a
message on the socket immediately after connect would get through right
after auth.
Without this a lot of plugins out there run into issues, so this is a
backwards compatibility fix for a regression in 1.4.x.
See also #3400
2020-02-04 13:15:44 +01:00
Gina Häußge
0a22c4e66c
♻ Fix a duplicated line of code
2020-01-31 14:28:27 +01:00
Gina Häußge
a88d95af77
🐛 Fix autologin
...
We need to actually try to identify the user just like we used to do
with the forcelogin plugin. Just checking permissions will only work
if we already have a session.
Closes #3434
2020-01-29 11:37:07 +01:00
Gina Häußge
010221ab5b
🐛 Fix handling of unset remote addresses
2020-01-29 11:35:56 +01:00
Gina Häußge
6471a04a86
staging/maintenance is now 1.4.0rc5.dev
...
And maintenance is now 1.4.1.dev
2020-01-28 15:16:19 +01:00
Gina Häußge
7b2762c590
🐛 Remove accidentally commited debug statement
1.4.0rc4
2020-01-27 18:06:02 +01:00
Gina Häußge
de0b97b99c
🐛 Fix first run setup
2020-01-27 17:32:52 +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
4d716647e5
🐛 Fix socket connect timeout handling
...
Was triggering even though it should have been cleared due to a
self vs this issue.
Also protect against undefined connection deferred.
2020-01-27 15:03:18 +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
88ecfbdb65
🐛 Fix another py2 vs 3 issue
...
Closes #3431
2020-01-27 11:58:17 +01:00
Gina Häußge
8087967683
🐛 Fix behaviour when page cached & server down
...
E.g. in Firefox reopen tab while server is down - FF will use a cached
copy and for some reason sockjs won't notice that stuff is down. So now
we have a timeout of 5s for initial connection that takes care of that.
2020-01-24 16:54:52 +01:00
Gina Häußge
cb43197105
🐛 Fix endpoint in docs
2020-01-24 13:08:10 +01:00
Gina Häußge
b1b9329614
♻ Move /api/access/user to /api/currentuser
...
Update documentation accordingly.
See also #3418
2020-01-24 13:05:06 +01:00
Gina Häußge
7317814ce0
📝 Document needed permissions & fix some stuff
2020-01-23 13:21:52 +01:00
Gina Häußge
66ef7b66bb
📝 Documentation for the access API
2020-01-22 18:39:32 +01:00