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
97b4a7be0f
Merge pull request #77 from Zash/mod_rest-version-change
...
Update for switch to datamapper in mod_rest
2021-03-24 09:10:22 +01:00
Kim Alvefur
329916e200
Update for switch to datamapper in mod_rest
...
mod_rest after the switch to the new util.datamapper in
https://hg.prosody.im/prosody-modules/rev/073f5397c1d2 does not accept
boolean True as value for the xep-0092 'version' field. An empty object
is equivalent and compatible with both previous and future versions.
2021-03-23 21:38:34 +01:00
Kim Alvefur
3571b8909b
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (254 of 254 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/sv/
2021-03-23 15:00:36 +00: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
Weblate
c4b575f091
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/
2021-03-22 14:09:01 +00: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
Kim Alvefur
d2069289b0
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (252 of 252 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/sv/
2021-03-21 16:31:20 +00:00
Link Mauve
552b5d2940
Translated using Weblate (French)
...
Currently translated at 96.8% (244 of 252 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/fr/
2021-03-21 16:31:19 +00:00
Jonas Schäfer
b0f9ae5d57
Translated using Weblate (German)
...
Currently translated at 100.0% (252 of 252 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/de/
2021-03-21 16:31:19 +00:00
Weblate
dd4a012612
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/
2021-03-20 15:59:19 +00: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
a6b67b3fdd
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:20:05 +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
Jonas Schäfer
02ed390cd2
Fix type annotation
2021-03-20 12:36:06 +01:00
Jonas Schäfer
2506810b90
Return 404 on expired invite URLs
2021-03-19 16:54:40 +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
GodGoldfish
5ef5b93eb9
Translated using Weblate (Russian)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/ru/
2021-03-12 23:04:55 +00:00
GodGoldfish
0ff6e00e9d
Translated using Weblate (French)
...
Currently translated at 90.1% (220 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/fr/
2021-03-12 23:04:54 +00:00
Jonas Schäfer
c04ac4bee0
Make linter happy
2021-03-11 07:32:31 +01:00
Daniel Holmgaard
3e19d42c2a
Translated using Weblate (Danish)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/da/
2021-03-10 19:03:47 +00: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
Jonas Schäfer
025172592f
Improve error handling in Prosody version retrieval
2021-03-09 22:20:37 +01: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
3083c118a3
Add fully translated language codes
2021-03-09 22:03:08 +01:00
Daniel Holmgaard
fa1b13fbdb
Translated using Weblate (Danish)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/da/
2021-03-06 17:03:39 +00:00
Daniel Holmgaard
ba30d728f4
Translated using Weblate (Danish)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/da/
2021-03-03 22:03:08 +00:00
Matthew Wild
af87301fa4
Added translation using Weblate (Danish)
2021-03-01 21:01:54 +00:00
Kim Alvefur
8ee0b0dd30
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/sv/
2021-02-25 16:02:18 +00:00
Roberto Resoli
4a27ef9d72
Translated using Weblate (Italian)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/it/
2021-02-25 16:02:18 +00:00
misiek
9e9fdaf8d4
Translated using Weblate (Polish)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-02-25 16:02:17 +00:00
uira
bdb186ca81
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/id/
2021-02-25 16:02:17 +00:00
Jonas Schäfer
4ca9b82bce
Translated using Weblate (German)
...
Currently translated at 100.0% (244 of 244 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/de/
2021-02-25 16:02:16 +00:00
Jonas Schäfer
6dbe2c2d5e
Fix missing type annotation
2021-02-23 21:18:14 +01:00
Jonas Schäfer
e410aedfef
Improve logging of rejected IQ calls
2021-02-23 20:21:44 +01:00
Jonas Schäfer
1713da61e7
Fix password change
...
This fixes a regression introduced in e476d9b7 which caused the
token to be incorrectly used when authenticating with mod_rest for
sending the password change IQ stanza.
2021-02-23 20:20:47 +01:00
Kim Alvefur
53aac690df
Add health check to dockerfile
2021-02-23 15:56:19 +01:00
Weblate
5e4009ca11
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/
2021-02-23 06:55:53 +00:00
Jonas Schäfer
80860a3ac6
Extract missing strings
2021-02-23 07:55:38 +01:00