alpha
Login
or
Join now
ave.zone
/
tranquil-pds
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork for PR & AGPL purposes
pds.lavate.ch
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tranquil-pds
/
crates
/
at
refactor/unify-short-codes
22 folders
ave
refactor(auth): unify short-code generation onto util::generate_token_code
7w ago
852f3ff2
tranquil-api
refactor(auth): unify short-code generation onto util::generate_token_code Collapse the three ad-hoc short-code generators into one canonical generator plus a shared normalizer: - util::generate_token_code now emits the uppercase base32 XXXXX-XXXXX display form; new util::normalize_token_code canonicalizes user input (uppercase, strip hyphen/whitespace). - email_token and legacy_2fa now generate via util, store the normalized form, and compare normalized input. Their private generate_short_token/generate_code (and BASE32_CHARS/CODE_LENGTH) are removed. - PLC (request/sign) and password reset inline util::generate_token_code, persist the normalized form, email the display form, and normalize input before lookup. The generate_plc_token/generate_reset_code wrappers are removed. Behavior changes: legacy login-2FA codes go from 8-digit numeric to XXXXX-XXXXX; PLC and password-reset codes go from lowercase to uppercase. All four code types are now accepted case-/hyphen-insensitively. OAuth web-login 2FA, account deletion, and the long verification_token blobs are intentionally untouched. Tests: add util normalize tests + email_token/legacy_2fa case/hyphen tests; update integration tests to expect the canonical stored form and the new emailed format.
1 month ago
tranquil-auth
chore(auth): align at+jwt/refresh+jwt expiry with reference PDS
1 month ago
tranquil-cache
refactor: toml config
5 months ago
tranquil-comms
feat(locales): add french locale, fix missing error keys, remove dead keys Adds french locale registration and translation file. Fixes 4 missing error keys that were referenced in code but absent from all locale files. Removes 2 unreferenced keys from `register.validation` that duplicated `registerPasskey.errors`. I *think* that's all that's needed for french locale? Couldn't find anything else required to make it work!
2 months ago
tranquil-config
fix(tranquil-config): reject unknown keys in TlsConfig, bump rust 1.96 Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
tranquil-crypto
small bug fixes, code dedup
6 months ago
tranquil-db
fix(firehose): lost events if seq commits out of order Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
tranquil-db-traits
fix(firehose): lost events if seq commits out of order Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
tranquil-infra
fix(backups): remove useless backups concept
4 months ago
tranquil-lexicon
fix(tranquil-store): atomic record commits, hint-as-truth recovery Lewis: May this revision serve well! <lu5a@proton.me>
3 months ago
tranquil-oauth
chore: allow native certs during local dev Allows Traefik certs to be trusted by Tranquil. Signed-off-by: Trezy <tre@trezy.com>
2 months ago
tranquil-oauth-server
feat: tranquil's own TLS handling Lewis: May this revision serve well! <lu5a@proton.me>
2 months ago
tranquil-pds
refactor(auth): unify short-code generation onto util::generate_token_code Collapse the three ad-hoc short-code generators into one canonical generator plus a shared normalizer: - util::generate_token_code now emits the uppercase base32 XXXXX-XXXXX display form; new util::normalize_token_code canonicalizes user input (uppercase, strip hyphen/whitespace). - email_token and legacy_2fa now generate via util, store the normalized form, and compare normalized input. Their private generate_short_token/generate_code (and BASE32_CHARS/CODE_LENGTH) are removed. - PLC (request/sign) and password reset inline util::generate_token_code, persist the normalized form, email the display form, and normalize input before lookup. The generate_plc_token/generate_reset_code wrappers are removed. Behavior changes: legacy login-2FA codes go from 8-digit numeric to XXXXX-XXXXX; PLC and password-reset codes go from lowercase to uppercase. All four code types are now accepted case-/hyphen-insensitively. OAuth web-login 2FA, account deletion, and the long verification_token blobs are intentionally untouched. Tests: add util normalize tests + email_token/legacy_2fa case/hyphen tests; update integration tests to expect the canonical stored form and the new emailed format.
1 month ago
tranquil-repo
feat(tranquil-store): gc and hardening Lewis: May this revision serve well! <lu5a@proton.me>
3 months ago
tranquil-ripple
refactor: toml config
5 months ago
tranquil-scopes
fix: derive lexicon DNS authority from all-but-last NSID segment Permission-set expansion resolved the lexicon's DNS authority using a fixed `parts[..2]`, which only works for three-segment NSIDs. For a four-segment NSID such as community.lexicon.bookmarks.authManageBookmarks this dropped a segment and queried _lexicon.lexicon.community instead of _lexicon.bookmarks.lexicon.community, failing with "DNS resolution failed: ... no record found". The authority is every NSID segment except the last (the name), reversed. Use parts[..parts.len() - 1] to match the spec and the existing extract_namespace_authority helper, and update the DNS authority test with three/four-segment and bookmarks regression cases.
1 month ago
tranquil-server
feat: tranquil's own TLS handling Lewis: May this revision serve well! <lu5a@proton.me>
2 months ago
tranquil-signal
fix(config): signal gate is useless since needs admin work to activate anyway Lewis: May this revision serve well! <lu5a@proton.me>
2 months ago
tranquil-storage
fix(backups): remove useless backups concept
4 months ago
tranquil-store
fix(store): unblock eventlog sync&freeze when writer dies Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
tranquil-sync
feat(pds): selfhealing repo writing by detecting corruption & retrying Lewis: May this revision serve well! <lu5a@proton.me>
1 month ago
tranquil-types
feat: cross-pds delegation
4 months ago