managarten/apps/uload/apps/server/src
Till JS 51da1f8a59 fix(uload): add input validation, migrate clicks to dedicated table
- Add URL validation (must be valid http/https), short code uniqueness check,
  custom code format validation, maxClicks >= 1, expiresAt must be future
- Migrate uload-server click tracking from sync_changes to uload.clicks table
  for performant analytics with SQL indexes on link_id, clicked_at, country
- Migrate analytics queries from JSON aggregation on sync_changes to direct
  SQL on uload.clicks (typed columns instead of data->>'field' extraction)
- Make short URL domain configurable via PUBLIC_ULOAD_DOMAIN env var

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:30:17 +02:00
..
db feat(uload): sync_changes integration, Stripe checkout, docs update 2026-03-29 19:02:11 +02:00
lib feat(uload): rewrite to local-first + Hono architecture 2026-03-29 09:16:04 +02:00
middleware feat(uload): rewrite to local-first + Hono architecture 2026-03-29 09:16:04 +02:00
routes feat(uload): sync_changes integration, Stripe checkout, docs update 2026-03-29 19:02:11 +02:00
services fix(uload): add input validation, migrate clicks to dedicated table 2026-04-02 16:30:17 +02:00
config.ts feat(uload): sync_changes integration, Stripe checkout, docs update 2026-03-29 19:02:11 +02:00
index.ts feat(uload): sync_changes integration, Stripe checkout, docs update 2026-03-29 19:02:11 +02:00