Jonas Schäfer
ea7ed7c030
Add support for roles
...
Requires patches to prosody trunk which have been submitted
already (2021-03-22) which introduce the set_roles function on
usermanager.
Fixes #42 .
2021-03-25 17:31:56 +01:00
Jonas Schäfer
cca899bd8c
Create "Edit user" form
...
This aggregates the user actions behind a single "edit" button on
the list view, making it less crammed. It also offers the
functionality of actually editing the user, mind.
Also in preparation for #42 .
Requires https://hg.prosody.im/prosody-modules/rev/5bc706c2db8f .
2021-03-25 17:31:49 +01:00
Jonas Schäfer
359e6b4ce2
Use tertiary style for "back" buttons
...
This allows us to have two levels of emphasis for the actual
form buttons and is also in line with the global "Log out"
navigational button.
2021-03-25 17:31:43 +01:00
Jonas Schäfer
6650dd2046
Capitalize App Store in the invite for consistency
2021-03-25 17:28:36 +01:00
Jonas Schäfer
c6c01b82f5
Merge pull request #74 from snikket-im/feature/invite-from-users-list
...
Render invite form below user list
2021-03-22 15:30:56 +01:00
Jonas Schäfer
fdb55568ec
Change problematic "Back" buttons
...
Fixes #39 .
2021-03-22 15:08:33 +01:00
Jonas Schäfer
a9a651be09
Render invite form below user list
...
Fixes #73 .
2021-03-22 15:03:18 +01: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
b822000f2e
Improve install button layout on narrow screens
...
This allows the button container to add line breaks between the
buttons when necessary.
2021-03-20 16:30:42 +01:00
Jonas Schäfer
885db355ab
Add F-Droid download button
...
Using the mechanism introduced for iOS to describe the multi-step
process.
Fixes #52 .
2021-03-20 16:15:20 +01:00
Jonas Schäfer
c3d5b06313
Add multi-step instructions for iOS installation
...
Fixes #53 .
2021-03-20 16:15:07 +01:00
Jonas Schäfer
2dd8838852
Report validity issues of avatar input right away
...
This helps discovering the actual error message. Thanks @zash.
2021-03-20 15:56:44 +01:00
Jonas Schäfer
5df2c3945a
Use browser API to indicate validity state
2021-03-20 14:40:31 +01:00
Jonas Schäfer
3eb8036ebd
Implement size checking for the avatar
...
This checks the avatar size on the client side (if available) and
on the server side against a configuration-defined limit. The
default limit is set to use the same value as in the original
report, as no sensible limit value is known.
Fixes #67 .
2021-03-20 12:57:11 +01:00
Kim Alvefur
05d1b42dc4
Hint to the browser that the avatar should be PNG
...
Should result in that the file picker by default only shows PNG files
for selection.
2021-03-17 15:26:30 +01:00
Michał Mazur
a21730f136
Update admin_invites.html
...
A better sounding variant "Expires" in place "Valid until".
2021-02-20 15:53:00 +01:00
Emmanuel Gil Peyrot
de8589923b
Make more titles translatable
2021-02-14 13:11:18 +01:00
Jonas Schäfer
d4707196ec
Include Link header and element in invite response
...
This allows future App versions to also work with the invite page
without having to screen scrape the content.
Fixes #56 (at least for the portal side of things).
2021-02-09 16:44:50 +01:00
Jonas Schäfer
8a8d4c54bd
Collapse the logout button text on narrow displays
...
This prevents ugly line wraps on long site names
2021-02-09 16:44:50 +01:00
Jonas Schäfer
4c128f1af2
Clarify "Not on mobile" button text
...
Tester feedback has shown that desktop client users will also
click that button because they are, in fact, not on mobile.
This button speaks more to the users intent (sending the
invitation to the mobile device) after having (hopefully) read
the text above.
Fixes #38 .
2021-02-09 16:44:50 +01:00
Jonas Schäfer
8b551a8946
Fix invite page layout after adding support for flashboxes
2021-02-09 16:44:50 +01:00
Jonas Schäfer
9876e42fb7
Add support for a flash message sidebar
2021-02-06 12:00:45 +01:00
Jonas Schäfer
8b66c5a063
Add alert role to dynamically added message for a11y
2021-02-06 11:31:55 +01:00
Jonas Schäfer
53e023f9ae
Protect against invalid domain on the client side
...
Here we protect the user from themselves if they accidentally
enter their snikket credentials into the wrong instance by
preventing the form from even being submitted and by showing a
nice error message.
2021-02-06 11:20:05 +01:00
Jonas Schäfer
5b812c773d
Fix footer on login page
2021-02-04 15:51:43 +01:00
Jonas Schäfer
a68a469319
Add extended trademark hints to the about page
2021-02-03 18:57:01 +01:00
Jonas Schäfer
961f285fa5
Add trademark info to the footer
...
Fixes #45 .
2021-02-03 18:55:22 +01:00
Jonas Schäfer
7456295cb6
Make title red if running in debug
...
This (a) helps developers to not accidentally their production
server and (b) deters user from letting it run that way for long.
2021-02-03 18:50:36 +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
7013161872
Add full support for favicon magic in portal even without proxy
2021-01-31 12:51:09 +01:00
Jonas Schäfer
58a9903a8f
Make clipboard button accessible
...
Without the @href, it is not accessible at all because it is not
considered an active element.
2021-01-30 12:47:37 +01:00
Jonas Schäfer
0dbd8087eb
Fix use of incorrect symbol
2021-01-30 12:47:37 +01:00
Jonas Schäfer
e7610928e2
Remove unused template
2021-01-30 11:34:16 +01:00
Jonas Schäfer
abd7894b6f
Fix nesting mistake
2021-01-30 11:15:29 +01:00
Jonas Schäfer
eaaca163a0
Fix rendering issues in password reset invite pages
2021-01-30 11:05:57 +01:00
Jonas Schäfer
5f1d3ba307
Implement password reset flow
2021-01-30 10:49:28 +01:00
Jonas Schäfer
9612926230
Address a bunch of accessibility issues
...
- Add missing labels for form fields
- Improve contrast slightly
- Remove incorrect aria-label= and title= attributes
- Use fieldset for radio button groups
2021-01-29 15:58:54 +01:00
Matthew Wild
ec94a47c8c
Update to use logo including text for invite pages
2021-01-29 08:48:13 +00:00
Jonas Schäfer
25f161d2b0
Make boxes friendlier
2021-01-29 09:32:11 +01:00
Jonas Schäfer
e5c5bbfbb4
Fix broken form validation for main circle
2021-01-29 09:32:06 +01:00
Jonas Schäfer
4044e857bc
Disable iOS app reference by default
...
The app is not published yet, so we hide it by default. But we
allow allow to set an environment variable to show the button with
an appropriate link.
2021-01-29 09:32:01 +01:00
Jonas Schäfer
f4348600e2
Minor tweak to user profile home card
...
This aligns the buttons of the two cards and also the aspect
ratio becomes a tad nicer.
2021-01-28 20:10:18 +01:00
Jonas Schäfer
028f9b35a6
Fix leak of internal circle name in tooltips
2021-01-28 20:01:22 +01:00
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