1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
Quentin Gliech
57c87071d1 Update some dependencies and the cargo-deny allowlist 2024-07-05 10:07:40 +02:00
dependabot[bot]
97ffc1dd10 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
3978acd94e 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]
0a3ed88921 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
749f71364e mas-i18n: box the sprintf parser error variant 2024-05-02 10:58:25 +02:00
dependabot[bot]
b5a2092a3e 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
d8f5fdaf5c Moved some dependencies in the workspace and upgrade some dependencies 2024-03-19 14:54:35 +01:00
dependabot[bot]
4e1ec08915 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
90cebeeefc Remove unnecessary debugging printf in i18n crate 2024-02-19 17:53:45 +01:00
Quentin Gliech
1c000a1fed 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
3df600b5d7 i18n: make the message translator fallback to en 2024-02-02 18:01:51 +01:00
Quentin Gliech
36ebbc4d70 i18n: utilities to format short dates and times 2024-02-02 18:01:51 +01:00
Quentin Gliech
b927d330c9 Bump most Rust dependencies 2024-02-02 15:37:05 +01:00
Quentin Gliech
49963b26f8 Prepare workspace to publish OIDC crates 2023-12-07 16:02:55 +01:00
Quentin Gliech
a0f5f3c642 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
30247448d5 Bump Rust dependencies 2023-11-24 13:04:37 +01:00
dependabot[bot]
ef3e6fb920 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
b9258f74cc bump other rust dependencies 2023-10-20 00:22:40 +02:00
dependabot[bot]
ddd1041985 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]
a2a5e53541 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]
f78e7cc7a2 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]
28d9f708f7 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]
4c7b5a154d 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]
a845e883f2 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
dependabot[bot]
aef65f1a21 build(deps): bump icu_locid_transform from 1.3.0 to 1.3.1
Bumps [icu_locid_transform](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_locid_transform@1.3.1)

---
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-05 23:29:04 +02:00
dependabot[bot]
968dc3f3c1 build(deps): bump pest from 2.7.3 to 2.7.4
Bumps [pest](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
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 23:28:44 +02:00
Quentin Gliech
b2cd8d83f7 templates: translate a lot more stuff 2023-10-05 19:29:23 +02:00
Quentin Gliech
873651a780 i18n: fix clippy warnings 2023-10-05 19:29:23 +02:00
Quentin Gliech
2d52ba7fb3 i18n: include context when looking for translation keys 2023-10-05 19:29:23 +02:00
Quentin Gliech
2b645f7be4 templates: escape translation placeholders 2023-10-05 19:29:23 +02:00
Quentin Gliech
15ad89aa82 templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech
f666da79b3 i18n-scan: utility to scan translatable strings in templates 2023-10-05 19:29:23 +02:00
Quentin Gliech
5f8411e88c i18n: translator structure, to hold translations 2023-10-05 19:29:23 +02:00
Quentin Gliech
396104e8a4 i18n: clippy cleanups 2023-10-05 19:29:23 +02:00
Quentin Gliech
edff285ff6 i18n: simple translation tree structure 2023-10-05 19:29:23 +02:00
Quentin Gliech
a9a4a54a48 i18n: sprintf.js port 2023-10-05 19:29:23 +02:00