Jonas Schäfer
a1ecb4ce80
Port to WTForms 3.x
...
Fixes #103 .
2022-01-22 15:17:48 +01:00
Jonas Schäfer
3a81a0140b
Revert "Fix spurious mypy error"
...
This reverts commit 28ff19c19c .
2022-01-08 13:12:30 +01:00
Jonas Schäfer
28ff19c19c
Fix spurious mypy error
...
For whatever reason, it thinks that babel has no __version__ field, but
it in fact does.
2022-01-08 12:52:31 +01:00
Jonas Schäfer
13b2a76c3d
Fix mypy errors introduced in b007afc901
2021-05-27 16:33:46 +02:00
Jonas Schäfer
b007afc901
Revert "Upgrade to quart 0.15"
...
This reverts commit 486596f89f .
It was discovered that multipart/form-data forms do not work
correctly with Quart 0.15. The upgrade to Quart 0.15 was rushed
and not tested correctly, which I apologize for.
See-Also: https://github.com/pgjones/quart/issues/126
2021-05-22 11:11:16 +02:00
Jonas Schäfer
c58ce8450f
Fix type annotations after bumping dependencies
2021-05-18 14:33:06 +02:00
Jonas Schäfer
486596f89f
Upgrade to quart 0.15
2021-05-18 12:35:31 +02:00
Jonas Schäfer
ad229d6700
Use standard error rendering for the login form
...
This provides a consistent UX.
2021-03-20 16:30:42 +01:00
Jonas Schäfer
c04ac4bee0
Make linter happy
2021-03-11 07:32:31 +01:00
Matthew Wild
03732ac06b
Fix health check to declare itself text/plain and match Prosody
2021-03-10 14:54:01 +00:00
Matthew Wild
c70228fed7
Add /_health endpoint
2021-03-10 14:22:38 +00:00
Kim Alvefur
6de1e5313f
Add support for displaying prosody version
...
This only works for authenticated users even in debug mode because
it requires a session with prosody to send the request.
Fixes #66 .
2021-03-09 22:08:58 +01:00
Jonas Schäfer
713da89445
Add flash message feedback to all relevant user actions
...
Fixes #40 .
2021-02-06 12:00:55 +01:00
Jonas Schäfer
ddf9f89d77
Remove redundant import
2021-02-06 11:31:51 +01:00
Jonas Schäfer
e4d339627e
Protect against incorrect domain name on the server side
...
Instead of processing the input further and forwarding the
credentials to prosody, we catch the error early on to prevent
having to handle the 400 error code specially and to prevent the
password from spilling in other components.
Fixes #55 .
2021-02-06 11:20:05 +01:00
Jonas Schäfer
96f4b0d4f8
Make version info only available on admin or debug sessions
2021-02-03 18:47:21 +01:00
Jonas Schäfer
a9f9f9d74a
s/user name/username/
...
Also fix tense of error message.
2021-01-26 20:51:21 +01:00
Jonas Schäfer
47bf47c7b3
Fix unused import
2021-01-21 18:43:20 +01:00
Jonas Schäfer
ff870ae71e
Update about page
...
- Show more software versions in debug mode (only)
- Add license links and information
2021-01-21 18:09:57 +01:00
Jonas Schäfer
17efe53106
Implement group support (we call ’em circles)
2021-01-21 16:55:10 +01:00
Jonas Schäfer
fa700bba07
Massive code cleanup
...
- Avoid fighting import cycles using a factory function
- Collapse useless subpackages into simple modules
- Move flask plugins / infrastructure in own module
- Refactor how blueprints are used to localize information about
URL routing to app factory
2021-01-17 20:11:25 +01:00