Commit Graph

31 Commits

Author SHA1 Message Date
Vincent Breitmoser b29845b893 cargo: apply cargo fmt --all 2022-02-26 17:01:14 +01:00
Nora Widdecke a329a1a89a lint: fix clippy::single_component_path_imports 2022-02-25 10:25:26 +01:00
Justus Winter b97a06f51c web: rename request_origin -> origin, it is a mouthful already 2022-02-06 22:58:29 +01:00
Justus Winter b428116189 web: i18n and request origin everywhere 2022-02-06 22:58:29 +01:00
Vincent Breitmoser a2bc5f014c web: first iteration, update to rocket v0.5-rc1 2022-02-06 22:58:29 +01:00
Vincent Breitmoser 9d5ec287a9 cargo: update gettext-macros to patched 0.6
This should work with rust stable, once we update rocket.

Uses a patched version of gettext-macros with a bugfix for
https://github.com/Plume-org/gettext-macros/issues/16
2022-01-04 12:06:16 +01:00
Vincent Breitmoser 860bd6e552 update to sequoia-0.20 2020-11-04 22:21:00 +01:00
Vincent Breitmoser 041385ae4e
i18n: incorporate feedback from AO 2019-11-02 23:55:50 +01:00
Vincent Breitmoser 9152e2d3dd
i18n: translate more dynamic messages 2019-10-03 18:18:43 +02:00
Vincent Breitmoser 0fced131c5
i18n: working i18n based on gettext 2019-10-03 18:18:42 +02:00
Vincent Breitmoser 77e9c13b5b
i18n: localize mail templates 2019-10-03 18:18:41 +02:00
Vincent Breitmoser 41ea7111d9
update to rust 2018 edition 2019-09-02 23:09:52 +02:00
Vincent Breitmoser eec7765b54
prometheus: aggregate similar stats using labels 2019-07-20 17:00:14 +02:00
Vincent Breitmoser a9a6c51fac
prometheus: introduce a couple simple prometheus stats 2019-07-20 00:13:23 +02:00
Vincent Breitmoser 65df904cd0
mail: use base_uri from RequestOrigin
This will cause outgoing emails to contain onion addresses for backlinks
to the server, if the request comes via onion service.
2019-06-23 01:41:29 +02:00
Vincent Breitmoser 52bb3aeab6 web: use base_uri from RequestOrigin everywhere 2019-06-22 22:45:17 +00:00
Vincent Breitmoser e5b7d83433
slightly improve wording in publish dialog 2019-06-12 16:57:19 +02:00
Vincent Breitmoser bc3adcb610
actually add fingerprint to manage mail template 2019-06-06 19:05:15 +02:00
Vincent Breitmoser 38926b4cda
rewrite manage mail 2019-06-06 18:18:19 +02:00
Vincent Breitmoser c3632b9c32
use manage template for "expired" error 2019-06-04 16:12:38 +02:00
Vincent Breitmoser 15e1e79b86
Use JSON API for /vks/v1/upload 2019-06-04 16:12:33 +02:00
Vincent Breitmoser 24e739d886 rate limit mails for /manage 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 0dac8f3426 use trait for better type safety in stateless tokens 2019-05-14 16:27:12 +00:00
Vincent Breitmoser c25329785d allow generic payloads in stateless tokens 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 66e17a296d link to key lookup on manage page 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 9c0f31217d adapt hagrid to database changes 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 851ea659b6 drop polymorphic database abstraction 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 120480cdc5 more copy 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 2cba968e62
template updates for /manage and others 2019-04-26 15:21:52 +02:00
Vincent Breitmoser 6a08ff1089
move /vks/manage to /manage 2019-04-26 15:21:51 +02:00
Vincent Breitmoser 2b1722c540
(barely) working /manage endpoint 2019-04-26 15:21:50 +02:00