Jonas Schäfer
aa04320d70
Fix F-Droid installation button
...
The button was broken because it was classified as popover, which
means that the JavaScript code will mess with it. In reality,
*that* button was supposed to point at the actual market:// URL.
So we just remove the class and associated data here to fix that.
Fixes #89 .
2021-06-20 14:14:30 +02:00
Jonas Schäfer
13b2a76c3d
Fix mypy errors introduced in b007afc901
2021-05-27 16:33:46 +02:00
Jonas Schäfer
28e01c336d
Do not install quart 0.15
...
As we saw in b007afc901 , we cannot
use that version right now.
2021-05-25 18:56:15 +02:00
Jonas Schäfer
5fb0b91178
Bumping version number to 0.2.1
2021-05-22 11:11:50 +02:00
Jonas Schäfer
b007afc901
Revert "Upgrade to quart 0.15"
...
This reverts commit 486596f89f .
It was discovered that multipart/form-data forms do not work
correctly with Quart 0.15. The upgrade to Quart 0.15 was rushed
and not tested correctly, which I apologize for.
See-Also: https://github.com/pgjones/quart/issues/126
2021-05-22 11:11:16 +02:00
Matthew Wild
7f02746f63
admin: Re-disable 'limited' role (accidentally uncommented in c58ce8450)
beta.20210519
2021-05-19 21:59:16 +01:00
Roberto Resoli
f2788aeb36
Translated using Weblate (Italian)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/it/
2021-05-19 15:12:20 +00:00
misiek
536a05b0eb
Translated using Weblate (Polish)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-05-19 15:12:20 +00:00
uira
e0226d47e3
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/id/
2021-05-19 15:12:20 +00:00
misiek
0fe10a44ce
Translated using Weblate (Polish)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-05-18 13:29:00 +00:00
Jonas Schäfer
e892d81815
Translated using Weblate (German)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/de/
2021-05-18 13:29:00 +00:00
Jonas Schäfer
c58ce8450f
Fix type annotations after bumping dependencies
2021-05-18 14:33:06 +02:00
Jonas Schäfer
03573d1f05
Explicitly pass mod_rest JSON as JSON
...
Otherwise, it can get passed as x-www-form-urlencoded, which
Prosody understandably does not quite like.
2021-05-18 12:35:46 +02:00
Jonas Schäfer
486596f89f
Upgrade to quart 0.15
2021-05-18 12:35:31 +02:00
Jonas Schäfer
425b4d4295
Fix dysfunctional password reset button
2021-05-18 12:20:45 +02:00
misiek
87de808046
Translated using Weblate (Polish)
...
Currently translated at 97.8% (273 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-04-23 20:00:57 +00:00
misiek
05455ac743
Translated using Weblate (Polish)
...
Currently translated at 96.0% (268 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-04-05 19:01:04 +00:00
Daniel Holmgaard
1e926714cb
Translated using Weblate (Danish)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/da/
2021-04-02 19:01:03 +00:00
Tilman Jiménez
e1602f3140
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 49.1% (137 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/es_MX/
2021-03-31 13:00:53 +00:00
uira
2e89973263
Translated using Weblate (Indonesian)
...
Currently translated at 99.2% (277 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/id/
2021-03-29 08:00:48 +00:00
Kim Alvefur
a6f1361ddd
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (279 of 279 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/sv/
2021-03-27 00:01:12 +00:00
Weblate
552a3bbd41
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-25 16:35:52 +00:00
misiek
3f2de1e5bf
Translated using Weblate (Polish)
...
Currently translated at 97.6% (248 of 254 strings)
Translation: Snikket/Web Portal
Translate-URL: https://i18n.sotecware.net/projects/snikket/web-portal/pl/
2021-03-25 16:35:49 +00:00
Jonas Schäfer
059a10f475
Merge pull request #76 from snikket-im/feature/roles
...
"Edit user" flow, role management
2021-03-25 17:35:42 +01: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
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