siftlode/backend/app
npeter83 424b19f3b6 feat(feed): keyset/cursor pagination replacing OFFSET/LIMIT
Replace deep-OFFSET paging (which scans-and-discards skipped rows on the
233k-row catalog and shifts/duplicates rows as the scheduler ingests mid-
scroll) with stable keyset pagination over an opaque cursor.

A single sort registry drives both the ORDER BY and a generic, NULL-aware
keyset WHERE so they can never drift, with Video.id as the unique final
tiebreaker. Covers every sort: newest/oldest, views, duration, title,
subscribers (joined), priority (coalesced multi-key) and the seeded
shuffle. The response now returns next_cursor instead of offset.
2026-06-25 19:54:40 +02:00
..
routes feat(feed): keyset/cursor pagination replacing OFFSET/LIMIT 2026-06-25 19:54:40 +02:00
static chore: rebrand Subfeed -> Siftlode 2026-06-14 04:40:22 +02:00
sync chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
youtube chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
__init__.py feat: M1 foundation — compose stack, FastAPI, Google OAuth, encrypted tokens 2026-06-11 01:01:37 +02:00
auth.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
config.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
db.py feat: M1 foundation — compose stack, FastAPI, Google OAuth, encrypted tokens 2026-06-11 01:01:37 +02:00
email.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
main.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
models.py feat(setup): first-boot detection + setup-mode gating + one-time token (epic 6a) 2026-06-21 00:38:47 +02:00
notifications.py feat(notifications): durable per-user inbox (P1) + maintenance schema 2026-06-18 03:20:17 +02:00
progress.py feat(scheduler): admin run-now/run-all triggers + live progress + completion notices 2026-06-18 04:01:10 +02:00
quota.py feat(config): move operational params to DB (quota/backfill/shorts/batch) 2026-06-19 13:07:45 +02:00
ratelimit.py feat(demo): demo-account schema + reusable rate limiter 2026-06-16 09:17:14 +02:00
scheduler.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
security.py feat(auth): email+password registration with two-gate activation (5a backend) 2026-06-19 14:03:11 +02:00
state.py chore: rename remaining subfeed references to siftlode 2026-06-21 06:53:12 +02:00
sysconfig.py feat(auth): manage Google OAuth credentials from the database (epic 6b) 2026-06-20 20:04:23 +02:00