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