Commit Graph

59 Commits

Author SHA1 Message Date
Jonas Schäfer
e58a3176ac Also revamp the admin index 2021-01-28 18:55:22 +01:00
Jonas Schäfer
205b0173a7 Revamp the welcome screen for a hopefully final iteration 2021-01-28 18:53:03 +01:00
Jonas Schäfer
6235231db5 Add avatar to edit profile form 2021-01-28 18:53:03 +01:00
Jonas Schäfer
af61705482 Iterate further on the welcome page 2021-01-28 18:53:03 +01:00
Jonas Schäfer
46c7b3be11 Relayout the "welcome" screens again
Grouping the buttons together with the text for easier grasping
what they relate to and moving them to the bottom.
2021-01-28 18:53:03 +01:00
Jonas Schäfer
f68db94d91 Redo the welcome navigation
Tester feedback suggested that it looks really content-heavy,
more like blogpost previews or something like that. We now move
to a clear, recognizable "action button with description" style
using the already prominent primary colour.
2021-01-28 18:53:03 +01:00
Jonas Schäfer
d5ad562d2c Revamp rendering of invitation type to better accomodate roster invites 2021-01-28 16:15:46 +01:00
Jonas Schäfer
7028770f40 Add background to invalid invite page 2021-01-28 15:00:57 +01:00
Matthew Wild
350fd29622 templates: Render ?roster invites as type 'Contact' 2021-01-28 11:04:22 +00:00
Jonas Schäfer
4b4844ecaa Clean up icon use throughout the thing 2021-01-27 17:16:45 +01:00
Jonas Schäfer
0ead8ce4b3 Improve navigation in circles section
Separate the people/edit buttons visually (although they lead to
the same page) to anticipate user intent.
2021-01-27 17:16:35 +01:00
Jonas Schäfer
d568a235eb Fix breaking the vertical rhythm in the theme demo 2021-01-27 17:16:30 +01:00
Jonas Schäfer
4d0ba8ef9a Tweak form layout
- Use boldface for labels
- Use the equivalent of h4 for the heading
- Indent checkbox/radio choices
2021-01-27 17:16:30 +01:00
Jonas Schäfer
2f368e0a34 Change "reusability" to "type" for invites
- This makes the choice much clearer
- Allows for less generic terms in the table
- Future extensibility \o/
2021-01-27 17:16:30 +01:00
Jonas Schäfer
7da56c81fc Make default circle un-editable in the UI 2021-01-27 15:34:30 +01:00
Jonas Schäfer
d556034349 Drop phone number from the UI
It cannot be set with any tools currently, so we don’t need to
waste space on it.
2021-01-27 15:03:36 +01:00
Jonas Schäfer
6ffce26b08 Straighten up terminology
code -> link, invite -> invitation
2021-01-26 20:51:21 +01:00
Jonas Schäfer
1a4f16eaef Fix typo 2021-01-26 16:28:23 +01:00
Jonas Schäfer
df75fbaa1b Add support for circles with MUCs 2021-01-26 16:12:07 +01:00
Jonas Schäfer
5f1a45082e Add explanatory texts to circle related views 2021-01-26 16:11:56 +01:00
Jonas Schäfer
174a2c3e14 Handle edge case where a circle was deleted more thoroughly 2021-01-26 15:06:14 +01:00
Jonas Schäfer
c1132ae975 Implement invite flow in the web portal
This allows us to translate the pages using the same tooling and
to have consistent theming.
2021-01-25 17:10:42 +01:00
Jonas Schäfer
3c08320be4 Fix typo 2021-01-24 11:05:34 +01:00
Jonas Schäfer
8af1588176 Fix error display on passwd form
Fixes #32.
2021-01-24 10:54:58 +01:00
Jonas Schäfer
8af949e7db Clean up some translation-related issues 2021-01-24 10:54:34 +01:00
Jonas Schäfer
62226c26ac Require non-empty circle name when creating a new circle 2021-01-23 18:49:48 +01:00
Jonas Schäfer
5ca33fd69d Streamline wording: Use service instead of instance/server 2021-01-23 14:51:54 +01:00
Jonas Schäfer
fe43479b19 Password reset link support
This also includes a restructure of the admin API usage because it
was restructured upstream :).
2021-01-23 14:07:30 +01:00
Matthew Wild
159976f2d8 Add favicon thingies to <head> 2021-01-22 16:58:27 +00:00
Jonas Schäfer
0d03cd5227 Add support for setting a human-friendly SITE_NAME 2021-01-22 15:28:06 +01:00
Jonas Schäfer
e18b733017 Add more features to circle editor
- Manage members
- Update name

(Normally, I’d fix this up into the initial implementation
commit, but things happened in between and the rebase would be
painful.)
2021-01-21 18:09:57 +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
b6188ed29f Add button to export debug info of a user 2021-01-21 18:09:57 +01:00
Jonas Schäfer
f363ff0b38 Fix error handling
Previously, some kinds of errors would throw nice and fun cascades
of exceptions.

We now have a nice, clean error page for 500 and 503 (backend
connectivity) errors which includes minimal debugging information
for productive setups and a traceback for development setups.

In any case, the full exception is logged to the log with an error
ID which is printed on the error page.
2021-01-21 18:09:55 +01:00
Jonas Schäfer
17efe53106 Implement group support (we call ’em circles) 2021-01-21 16:55:10 +01:00
Jonas Schäfer
c1dbec51ab Use icons instead of Unicode symbols for buttons
Fixes #26.
2021-01-18 17:35:03 +01:00
Jonas Schäfer
be7be0e16a Add link buttons to demo for comparing styles 2021-01-17 20:22:52 +01:00
Jonas Schäfer
c3cee9b3a2 Add some missing translations 2021-01-17 20:13:35 +01:00
Jonas Schäfer
1b6d340d49 Modify invitation layout
- Make URLs easily copyable
- Do not show XMPP URI
2021-01-17 20:13:05 +01:00
Jonas Schäfer
427f73811c Add support for modifying profile access model
Fixes #17.
2021-01-17 20:12:01 +01:00
Jonas Schäfer
fce7b9a637 Move footer to the bottom if content is not larger than viewport 2021-01-17 20:11:26 +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
Jonas Schäfer
e476d9b7c2 Implement admin dashboard
Fixes #23.
2021-01-17 20:10:04 +01:00
Jonas Schäfer
6660fe76ea Extend and improve stylesheet
- Support for blockquotes
- Support for lists (ol, ul)
- Make tertiary buttons more obvious by using an underline
- Extend demo to showcase new features
2021-01-16 15:16:04 +01:00
Jonas Schäfer
d8fe169ba4 Add warning box to inform user of password change implications 2021-01-16 15:16:04 +01:00
Jonas Schäfer
00f678a86f Redefine box styles to be independent of primary/accent for semantics 2021-01-16 15:16:04 +01:00
Jonas Schäfer
095970adb4 Convert login page to proper form
- free CSRF protection
- free "empty field" early out
- easier passing on of errors to the view
2020-04-30 16:14:14 +02:00
Jonas Schäfer
af08f31cf3 Include language tag in html/@lang 2020-03-07 16:56:15 +01:00
Jonas Schäfer
e07fbb0c97 Start translating the web portal 2020-03-07 16:55:12 +01:00
Jonas Schäfer
6819a4eec6 Clean up about page 2020-03-07 13:31:40 +01:00