62 Commits

Author SHA1 Message Date
Quentin Gliech
8dd096ce60 Fix a few more clippy lints 2025-08-18 10:45:20 +02:00
Quentin Gliech
b8d23be313 Fix many clippy warnings
This is because the tracing-attributes update made clippy look at those
again. I've removed the `too_many_lines` lint, as it's not really useful
and we ignore it most of the time anyway.
2025-07-30 14:49:38 +02:00
Quentin Gliech
2468aa01c5 Fix a few more license reference issues 2025-06-12 11:13:59 +02:00
Quentin Gliech
6421d9d1f5 Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
69e3001966 Define all the dependencies at the workspace level 2025-06-10 14:25:38 +02:00
Quentin Gliech
e7d619f5cf Check rendering of templates with all supported locales. 2025-05-05 14:38:24 +02:00
Quentin Gliech
a10e517d4e Generate a device name based on the client name and user agent 2025-04-25 16:55:29 +02:00
Quentin Gliech
a86696e0a8 Fix Clippy lints introduced by Rust 1.86 2025-04-06 16:18:27 +02:00
dependabot[bot]
4602b51ee4 build(deps): bump pest_derive from 2.7.15 to 2.8.0
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.15 to 2.8.0.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.15...v2.8.0)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 13:35:46 +00:00
dependabot[bot]
bca7ff38da build(deps): bump pest from 2.7.15 to 2.8.0
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.15 to 2.8.0.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.15...v2.8.0)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 13:52:50 +00:00
Quentin Gliech
4c8f966181 Remove spuriuous ICU errors from the logs 2025-03-03 12:17:53 +01:00
Quentin Gliech
7167e970b0 Upgrade ICU4X crates to 0.15 2025-02-24 10:52:04 +01:00
Quentin Gliech
56d9c7e63b Upgrade to Rust 1.85 and edition 2024 2025-02-21 16:15:02 +01:00
Quentin Gliech
7315cd7531 Buffer reading of translation files 2025-01-29 14:18:51 +01:00
dependabot[bot]
fbf22b991e build(deps): bump pest_derive from 2.7.14 to 2.7.15
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.14 to 2.7.15.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-17 18:40:29 +01:00
Quentin Gliech
6d197e14dd Better error message when a translation file fails to load 2024-12-16 17:39:21 +01:00
dependabot[bot]
8a7a3de71a build(deps): bump pest from 2.7.14 to 2.7.15
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.14 to 2.7.15.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 11:31:38 +01:00
Quentin Gliech
ee6472178a Upgrade to Rust 1.83.0 and fix new warnings 2024-12-05 17:32:49 +01:00
dependabot[bot]
435787f8e4 build(deps): bump pest_derive from 2.7.13 to 2.7.14
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.13 to 2.7.14.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.13...v2.7.14)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 16:28:21 +02:00
dependabot[bot]
3ac851cee7 build(deps): bump pest from 2.7.13 to 2.7.14
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.13 to 2.7.14.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.13...v2.7.14)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 14:54:10 +02:00
dependabot[bot]
97337f485e build(deps): bump pest_derive from 2.7.11 to 2.7.13
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.11 to 2.7.13.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.11...v2.7.13)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 19:05:34 +02:00
dependabot[bot]
d32c1643e5 build(deps): bump pest from 2.7.11 to 2.7.13
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.11 to 2.7.13.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.11...v2.7.13)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 15:06:37 +02:00
Quentin Gliech
0d41cd8a0f Manual license edit of remaining files 2024-09-10 14:28:55 +02:00
Quentin Gliech
9a946c19e7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech
9da19e2af0 License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech
488cc564b9 Update some dependencies and the cargo-deny allowlist 2024-07-05 10:07:40 +02:00
dependabot[bot]
6714893119 build(deps): bump writeable from 0.5.4 to 0.5.5
Bumps [writeable](https://github.com/unicode-org/icu4x) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/commits)

---
updated-dependencies:
- dependency-name: writeable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 18:44:54 +02:00
Quentin Gliech
3e450b50f0 Fix recently added Clippy lints
This also ignores the clippy::blocks_in_conditions lint in two crates,
until tracing gets fixed: https://github.com/tokio-rs/tracing/issues/2876
2024-05-07 07:32:02 +02:00
dependabot[bot]
bc5745d88b build(deps): bump pest_derive from 2.7.8 to 2.7.10
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.8 to 2.7.10.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.8...v2.7.10)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 11:15:33 +02:00
Quentin Gliech
715423c11f mas-i18n: box the sprintf parser error variant 2024-05-02 10:58:25 +02:00
dependabot[bot]
446bb565a8 build(deps): bump pest from 2.7.8 to 2.7.10
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.8 to 2.7.10.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.8...v2.7.10)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 10:58:25 +02:00
Quentin Gliech
7dd59c962c Moved some dependencies in the workspace and upgrade some dependencies 2024-03-19 14:54:35 +01:00
dependabot[bot]
1d06e3581f build(deps): bump pest from 2.7.6 to 2.7.7
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.6 to 2.7.7.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.6...v2.7.7)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 14:46:28 +01:00
Quentin Gliech
53e01e235d Remove unnecessary debugging printf in i18n crate 2024-02-19 17:53:45 +01:00
Quentin Gliech
46c02ab1e2 Make sure the locale fallback works as expected
- Also makes sure that the fallback runs in the backend and is then
   picked up by the frontend
 - and explicitely fallback zh-CN to zh-Hans
2024-02-19 11:43:36 +01:00
Quentin Gliech
1de7ccc445 i18n: make the message translator fallback to en 2024-02-02 18:01:51 +01:00
Quentin Gliech
2ec93ceaab i18n: utilities to format short dates and times 2024-02-02 18:01:51 +01:00
Quentin Gliech
306c99d49d Bump most Rust dependencies 2024-02-02 15:37:05 +01:00
Quentin Gliech
dc66b5b18f Prepare workspace to publish OIDC crates 2023-12-07 16:02:55 +01:00
Quentin Gliech
a7ff6b00aa Enable clippy lints on a workspace level
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
2023-12-05 17:20:42 +01:00
Quentin Gliech
90a6b64c88 Bump Rust dependencies 2023-11-24 13:04:37 +01:00
dependabot[bot]
f04dadf11b build(deps): bump pest from 2.7.4 to 2.7.5
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.4 to 2.7.5.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.4...v2.7.5)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 12:23:44 +01:00
Quentin Gliech
b32d4db6d0 bump other rust dependencies 2023-10-20 00:22:40 +02:00
dependabot[bot]
830400a0e7 build(deps): bump the icu group with 2 updates
Bumps the icu group with 2 updates: [icu_plurals](https://github.com/unicode-org/icu4x) and [icu_provider_adapters](https://github.com/unicode-org/icu4x).


Updates `icu_plurals` from 1.3.0 to 1.3.2
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.3.0...icu@1.3.2)

Updates `icu_provider_adapters` from 1.3.0 to 1.3.2
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.3.0...icu@1.3.2)

---
updated-dependencies:
- dependency-name: icu_plurals
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: icu
- dependency-name: icu_provider_adapters
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: icu
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 10:55:06 +02:00
dependabot[bot]
eb3d1ff08f build(deps): bump icu_list from 1.3.0 to 1.3.2
Bumps [icu_list](https://github.com/unicode-org/icu4x) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.3.0...icu@1.3.2)

---
updated-dependencies:
- dependency-name: icu_list
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 00:13:26 +02:00
dependabot[bot]
3f30fe3b7c build(deps): bump icu_locid_transform from 1.3.1 to 1.3.2
Bumps [icu_locid_transform](https://github.com/unicode-org/icu4x) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/ind/icu_locid_transform@1.3.1...icu@1.3.2)

---
updated-dependencies:
- dependency-name: icu_locid_transform
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 00:13:08 +02:00
dependabot[bot]
34c5db27c3 build(deps): bump pest_derive from 2.7.3 to 2.7.4
Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.7.3 to 2.7.4.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.3...v2.7.4)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 00:12:48 +02:00
dependabot[bot]
63684e2e63 build(deps): bump icu_locid from 1.3.0 to 1.3.2
Bumps [icu_locid](https://github.com/unicode-org/icu4x) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.3.0...icu@1.3.2)

---
updated-dependencies:
- dependency-name: icu_locid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 23:41:16 +02:00
dependabot[bot]
ad4afb2c4d build(deps): bump icu_provider from 1.3.0 to 1.3.1
Bumps [icu_provider](https://github.com/unicode-org/icu4x) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.3.0...ind/icu_capi@1.3.1)

---
updated-dependencies:
- dependency-name: icu_provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 23:29:42 +02:00