Matthew Wild
d6d4bb5afb
Add policy URLs and contact addresses for instances in the relevant places
2023-10-25 16:18:12 +01:00
Kim Alvefur
14368c5e9a
Merge pull request #158 from Zash/prosody-split-user-roles
...
Update for role changes in Prosody
2023-10-07 14:17:58 +02:00
Kim Alvefur
2cdcf7f282
Update for role changes in Prosody
...
See https://hg.prosody.im/trunk/rev/082c7d856e61
2023-10-07 12:59:43 +02:00
Kim Alvefur
0f1e76e38c
Merge pull request #157 from Zash/debian12
...
Switch base image to Debian 12
2023-10-07 12:58:58 +02:00
Kim Alvefur
ad9af20f12
Workaround for Flask context change
2023-10-04 23:27:05 +02:00
Kim Alvefur
9672cd6870
Install as many packages as possible from Debian
...
The only missing piece appears to be environ-config.
This **fails to start** with
```
ImportError: cannot import name '_app_ctx_stack' from 'quart' (/usr/lib/python3/dist-packages/quart/__init__.py)
```
2023-10-04 23:27:05 +02:00
Kim Alvefur
d3a6be7bec
Switch base image to Debian 12
2023-08-07 08:47:55 +02:00
Kim Alvefur
7a4b56914c
Switch to sassc for CSS building
...
Because https://github.com/Kronuz/pyScss/pull/426 is not yet in a
release, also just look at the diffstat!
2023-08-02 22:35:32 +02:00
Roberto Resoli
0f74b1b8f2
Translated using Weblate (Italian)
...
Currently translated at 91.8% (294 of 320 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/it/
2023-07-13 11:17:54 +00:00
misiek
df78e8a8b0
Translated using Weblate (Polish)
...
Currently translated at 100.0% (320 of 320 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/pl/
2023-04-04 14:11:31 +00:00
Kim Alvefur
77ccdd5eed
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (320 of 320 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/sv/
2023-04-02 15:17:18 +00:00
uira
54b6cad7cd
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (320 of 320 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/id/
2023-04-02 15:17:15 +00:00
Jonas Schäfer
fbb618c178
Translated using Weblate (German)
...
Currently translated at 100.0% (320 of 320 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/de/
2023-04-01 11:13:44 +00:00
Weblate
bd3d56851b
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/
2023-04-01 10:17:56 +00:00
Jonas Schäfer
c475b83c02
Merge pull request #154 from snikket-im/feature/protect-circle-deletion
...
Add confirmation step to circle deletion
2023-04-01 10:22:23 +02:00
Jonas Schäfer
d9b73055a8
Add confirmation step to circle deletion
...
Deleting a circle is highly destructive. It removes the group chat
alongside history, as well as the user list. It should definitely be
protected by a confirmation dialogue, I have no clue why it wasn't.
Fixes #153 .
2023-04-01 10:08:52 +02:00
Matthew Wild
f37270594e
Merge pull request #152 from snikket-im/fix/role-config
...
Follow new role scheme in Prosody
2023-03-29 20:16:36 +01:00
Jonas Schäfer
fcfcdbeb23
Follow new role scheme in Prosody
...
Prosody changed its role scheme to only support a single primary role
for each user. In addition, the names of the built-in roles have been
changed. We thus follow those changes to be compatible with the most
recent trunk.
One open question is whether we should switch admin -> operator here,
too (operator being a server-wide admin), but so far there's no need
to.
2023-03-29 18:42:53 +02:00
Jonas Schäfer
fd566b7f30
Merge pull request #151 from snikket-im/fix/user-listing-roles
...
Make AdminUserInfo compatible with new API
2023-03-28 22:23:06 +02:00
Jonas Schäfer
2762304ae8
Make AdminUserInfo compatible with new API
...
The mod_http_admin_api changed recently [1], so we need to follow
suit.
Fixes #149 .
[1]: https://hg.prosody.im/prosody-modules/rev/d68348323406
2023-03-28 22:21:07 +02:00
Jonas Schäfer
49bbc3ab09
Merge pull request #148 from Zash/newscopes
...
Update to match new Prosody scope naming scheme
2023-03-28 21:42:00 +02:00
Kim Alvefur
8f1f80b7d7
Update to match new Prosody scope naming scheme
...
Ref https://hg.prosody.im/prosody-modules/rev/5ab134b7e510
Thanks Jonas
2023-03-28 21:14:20 +02:00
Jonas Schäfer
13bc283a3e
Merge pull request #140 from snikket-im/feature/site-name-consistency
...
entrypoint: default SNIKKET_WEB_SITE_NAME to SNIKKET_SITE_NAME
2023-03-28 20:59:17 +02:00
Jonas Schäfer
abc0af3918
entrypoint: default SNIKKET_WEB_SITE_NAME to SNIKKET_SITE_NAME
...
The documentation only talks about SNIKKET_SITE_NAME,
and users thus do not know that they must
set SNIKKET_WEB_SITE_NAME to make
their site name appear on the portal.
2023-03-28 20:54:47 +02:00
Jonas Schäfer
0aff4fc99d
Merge pull request #144 from snikket-im/fix/invite-link-header
...
Fix Link header on invite pages
2023-03-28 20:48:59 +02:00
Jonas Schäfer
40562d16f6
Fix Link header on invite pages
...
Thanks @singpolyma.
2023-03-28 19:19:43 +02:00
Jonas Schäfer
48a4a8f587
Merge pull request #147 from snikket-im/fix/i18n-lint
...
Fix i18n CI linting
2023-03-28 19:19:35 +02:00
Jonas Schäfer
664112bf53
Fix i18n CI linting
...
It diffs the things, and we're in 2023 now.
2023-03-28 19:16:27 +02:00
Jonas Schäfer
2dfc39e757
Merge pull request #141 from snikket-im/fix/quart-dep
...
Update WTForms and pin quart version
2023-03-28 19:14:30 +02:00
Jonas Schäfer
31b743a97f
Update WTForms and pin quart version
...
The quart pin is required to fix an attribute error which otherwise
occurs during startup. Hence, this should be a good qualifier to know
when it's safe to upgrade.
Note that this is not a problem in Quart, but in flask-WTForms. But
downgrading flask-wtforms does not help [1], so we don't revert that
uprade.
```
AttributeError: module 'quart.json' has no attribute 'JSONEncoder'
```
[1]: https://github.com/pallets/quart/issues/163
2022-10-24 10:14:03 +02:00
Weblate
14a335bb06
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/
2022-06-07 20:34:03 +00:00
Jonas Schäfer
6c8c213a88
Merge pull request #100 from snikket-im/feature/drop-xmpp-qr-code
...
Remove XMPP URI QR code
2022-06-07 22:33:53 +02:00
Jonas Schäfer
2e224d96ce
Remove XMPP URI QR code
...
At the same time, we can also drop the CSS used for that makeshift tab
box. I always felt a bit uneasy about it, a11y-wise, so it's good
riddance.
Fixes #99 .
2022-06-07 22:31:40 +02:00
Weblate
b70cb57497
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/
2022-06-06 17:55:08 +00:00
Jonas Schäfer
124e0ce145
Merge pull request #137 from snikket-im/premerge
...
Merge a bunch of things together
2022-06-06 19:54:54 +02:00
Jonas Schäfer
f2c79044e0
Clean up post-merge lint
...
I am a *bit* sorry for this commit, because ideally this would've been
folded into 6d50b1c2c7 and whatever the
source of the other "conflict" was.
However, as the things have been merged in a batch, I can't do much more
than this.
2022-06-06 19:52:24 +02:00
Jonas Schäfer
13bc4bb227
Merge branch 'fix/babel-extraction' into premerge
2022-06-06 19:46:59 +02:00
Jonas Schäfer
f1351eb5cc
Merge branch 'fix/use-english-default' into premerge
2022-06-06 19:46:49 +02:00
Jonas Schäfer
41573569af
Merge branch 'feature/export-back-button' into premerge
2022-06-06 19:46:43 +02:00
Jonas Schäfer
b1f3026b8a
Merge branch 'feature/wtforms-3' into premerge
2022-06-06 19:46:32 +02:00
Jonas Schäfer
6794314a59
Merge branch 'feature/vary-accept-language' into premerge
2022-06-06 19:46:25 +02:00
Jonas Schäfer
077e957a00
Merge branch 'feature/ci-extract-translations' into premerge
2022-06-06 19:46:19 +02:00
Jonas Schäfer
4902941145
Merge branch 'feature/strip-versions' into premerge
2022-06-06 19:46:09 +02:00
Jonas Schäfer
5222c8eafe
Merge branch 'feature/hypercorn-stdout' into premerge
2022-06-06 19:44:39 +02:00
Jonas Schäfer
03ca7ac5bb
Unbreak translation text extraction
...
It was broken because of the same jinja2 update (presumably) which
prompted 68f72743c5 .
2022-05-30 20:51:37 +02:00
Matthew Wild
56cee8bab6
Merge pull request #135 from snikket-im/feature/update-dependencies
...
Update dependencies
2022-05-30 16:59:22 +01:00
Jonas Schäfer
b36fc0d5ac
Bump hsluv to 5.x
...
Fixes #134 .
2022-05-30 17:38:18 +02:00
Jonas Schäfer
68f72743c5
Bump quart to version 0.17
...
This is needed because jinja2 had an update which caused the portal to
not work at all:
```
ImportError: cannot import name 'escape' from 'jinja2'
```
Quart needed updating for that.
This update required a lot of typefixes. Apparently, the "canned"
responses (like redirect) are now plain werkzeug responses, while
quart.Response does not inherit from werkzeug.Response (otherwise, we
could've changed the type annotations to werkzeug.Response everywhere,
but that doesn't work because a quart.Response is not a
werkzeug.Response).
P.S.: This time, I *did* check that avatar uploads don't break (see
b007afc ).
2022-05-30 17:37:54 +02:00
Daniel Holmgaard
8741efb2c4
Translated using Weblate (Danish)
...
Currently translated at 100.0% (321 of 321 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/da/
2022-05-30 14:01:08 +00:00
Daniel Holmgaard
a0e8933b64
Translated using Weblate (Danish)
...
Currently translated at 95.6% (307 of 321 strings)
Translation: Snikket/Web Portal
Translate-URL: http://i18n.sotecware.net/projects/snikket/web-portal/da/
2022-05-26 23:01:53 +00:00