Commit Graph

45 Commits

Author SHA1 Message Date
Jonas Schäfer
07fa1f0abd Fix missing space in string 2022-01-17 17:27:26 +01:00
Jonas Schäfer
3b768fe220 Extract translations 2022-01-17 17:26:02 +01:00
Jonas Schäfer
3d62efccfc admin: Show deleted users in circle members
This helps with removing those users from circles, to avoid them
popping up in peoples roster again.

Even though removal from a circle also only partially works
(roster entries are for instance not cleared), this helps with
ghost users reappearing all the time.
2021-06-18 16:18:22 +02:00
Jonas Schäfer
a02e66023c Fix missing extract_translations run 2021-06-18 16:05:38 +02:00
Jonas Schäfer
b40a625283 admin: allow disabling display of metrics
This is useful in situations where the admins of the Snikket
server (i.e. those who care for the docker containers) are not the
same people as the people who are admins of the Snikket service
(i.e. those who care for the users).
2021-05-27 17:59:40 +02:00
Jonas Schäfer
8a293985ca Implement system status panel
This offers system metrics and a way to send a broadcast
message to all online or registered users.

Requires prosody-modules cade5dac1003.
2021-05-27 17:21:58 +02:00
Jonas Schäfer
a48abacf1d Disable restricted role for now
It is not implemented in snikket-server yet, so we don’t want to
put anything misleading out there.
2021-03-25 17:32:03 +01:00
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
fdb55568ec Change problematic "Back" buttons
Fixes #39.
2021-03-22 15:08:33 +01:00
Jonas Schäfer
e7aa0a2c45 Fix more dotless strings 2021-03-20 16:44:44 +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
c3d5b06313 Add multi-step instructions for iOS installation
Fixes #53.
2021-03-20 16:15:07 +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
Jonas Schäfer
80860a3ac6 Extract missing strings 2021-02-23 07:55:38 +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
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
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
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
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
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
2b7930a5b7 Update strings after removal of things 2021-01-27 15:34:09 +01:00
Jonas Schäfer
6ffce26b08 Straighten up terminology
code -> link, invite -> invitation
2021-01-26 20:51: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
1a4f16eaef Fix typo 2021-01-26 16:28:23 +01:00
Jonas Schäfer
a6d20a0a73 Change generic Apply labels to something more semantic
In context of #33.
2021-01-26 16:12: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
5ca33fd69d Streamline wording: Use service instead of instance/server 2021-01-23 14:51:54 +01:00
Jonas Schäfer
b199416982 Update translations from source 2021-01-23 14:17:26 +01:00
Jonas Schäfer
614f7e6bb7 Include .pot file in repository
Weblate likes to have that one :)
2021-01-23 12:53:29 +01:00