Commit Graph

6 Commits

Author SHA1 Message Date
Henrik Jess Nielsen
5e14a219b1 feat: add Tink API request logger
All checks were successful
Build and Deploy / deploy (push) Successful in 21s
- TinkClient now accepts on_request callback; all API methods log via
  shared _get/_post helpers (method, url, req/resp body, status, timing)
- _logger(sess) helper creates a session-bound callback (max 50 entries)
- All route handlers pass _logger(sess) to _client()
- New GET /demo/log — shows all API calls in reverse-chronological order,
  collapsible req/resp bodies, status + duration badges
- New POST /demo/log/clear — clears the log
- Navbar gets 'API Log' link (always visible)
- _ctx() now applied to ALL template responses (steps 1–6)
2026-05-22 19:20:33 +02:00
Henrik Jess Nielsen
a77c709d4d Test test test
All checks were successful
Build and Deploy / deploy (push) Successful in 22s
2026-05-22 19:18:38 +02:00
Henrik Jess Nielsen
3f687bb212 fix: step 6 webhooks demo - replace 404 events API with webhook registration flow
Some checks failed
Build and Deploy / deploy (push) Failing after 10m23s
- Replace /events/v2/* endpoints (404 in sandbox) with /api/v1/webhooks
- Add list_webhooks() and register_webhook() methods to TinkClient
- Step 6 now shows: webhook flow diagram + curl examples + live API + sample payload
- Handle sandbox 404 gracefully (shows example data, no red error)
- Remove .env.production from git tracking (credentials via Gitea secrets)
- deploy.yml: write .env.production from TINK_CLIENT_ID/SECRET secrets
2026-05-22 19:04:06 +02:00
Henrik Jess Nielsen
e3fa08f6fb excluded resolver
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-05-22 18:33:54 +02:00
Henrik Jess Nielsen
26a16e3638 First attempt to tink demo
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-05-22 18:30:59 +02:00
Henrik Jess Nielsen
ba6d428a43 first commit 2026-05-22 18:30:40 +02:00