memos/server/auth
johnnyjoygh 715306ea66 chore: enrich access tokens setting page
Settings drops the all-in-one bordered card for a de-carded layout in
the property-rail design language: a sticky table-of-contents rail at
md+ (Settings wordmark, uppercase group labels, quiet anchor rows) and
a horizontally swipeable chip strip below md, replacing the mobile
section dropdown. Nav items are real anchors with aria-current, and
switching sections scrolls back to the top.

Access Tokens becomes a first-class section with an explainer panel:
what a PAT is and a copyable curl example (real instance origin,
memos_pat_ prefix) beside token-safety guidelines in a two-column band,
with a Learn more docs link and the tokens table beneath. Successful
PAT authentication now records the token's lastUsedAt asynchronously
inside resolveBearer, with a clone-before-mutate cache guard and
monotonic writes in the store, surfaced in a Last used column.

Also localizes the create dialog's 90 Days label, lets the My Account
row wrap instead of clipping on narrow screens, and drops the dead
select-section key from all locales.
2026-07-18 10:41:53 +08:00
..
authenticator.go chore: enrich access tokens setting page 2026-07-18 10:41:53 +08:00
authenticator_test.go feat(auth): add private instance mode derived from instance_url 2026-07-05 22:48:00 +08:00
context.go refactor: consolidate duplicated auth logic into auth package 2026-02-24 23:08:16 +08:00
extract.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
token.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
token_test.go refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00