No description
Find a file
Filip Kin 04662711a2
All checks were successful
deploy / build-and-deploy (push) Successful in 1m3s
Auto-renew session tokens (sliding expiry)
Session tokens had a hard 7-day expiry with no renewal, so an active user had
to re-enter credentials every week or two. Make the expiry a 30-day SLIDING
window: every authenticated request extends expires_at (written at most ~once a
day per token, off the hot path), so a device used regularly never has to sign
in again; a token only lapses after the full idle window with no activity.

Server-only change - the client already reuses its stored token and re-validates
on each launch/sync, so it benefits with no change.
2026-06-19 20:17:01 -04:00
.forgejo/workflows Build all-ABI phone AAB + Wear OS AAB (own versionCode band, targetSdk 35) for Play 2026-06-02 00:55:48 -04:00
app Fix login feedback, sync gating, watch reinstall, overlay back, notif open 2026-06-14 20:17:29 -04:00
ci Build all-ABI phone AAB + Wear OS AAB (own versionCode band, targetSdk 35) for Play 2026-06-02 00:55:48 -04:00
docs Reorder feeling picker (most-likely moods on top) on watch + overlay 2026-06-02 16:46:54 -04:00
server Auto-renew session tokens (sliding expiry) 2026-06-19 20:17:01 -04:00
wear Fix login feedback, sync gating, watch reinstall, overlay back, notif open 2026-06-14 20:17:29 -04:00
.dockerignore Serve web app + API from one origin; landing page 2026-05-29 01:41:47 -04:00
.gitignore Serve web app + API from one origin; landing page 2026-05-29 01:41:47 -04:00
bun.lock Gate the app on an expired session (re-sign-in + export), fix mobile export to share the real file via expo-sharing 2026-06-01 21:02:14 -04:00
Dockerfile Add curl + HEALTHCHECK to server image (Coolify health check) 2026-05-29 02:39:00 -04:00
Dockerfile.android Build all-ABI phone AAB + Wear OS AAB (own versionCode band, targetSdk 35) for Play 2026-06-02 00:55:48 -04:00
package.json Phase 2: Bun monorepo + E2EE app auth (crypto, real tRPC, Signal-style UX) 2026-05-29 00:57:25 -04:00
README.md initial commit 2024-10-14 22:00:44 +13:00

rightnow

To install dependencies:

bun install

To run:

bun run src/index.ts

This project was created using bun init in bun v1.1.29. Bun is a fast all-in-one JavaScript runtime.