shay and Claude Opus 5
769cde552d
feat(widgets): attribution on every widget, and make it legible
...
Five of the seven standalone widgets and all three placeholder cards
carried no attribution at all, and where it did render it was font-size 9
at opacity 0.5 (about 2.1:1 contrast) at the bottom of a 1500px card. Each
embedded widget sits on a public profile and is the only organic
acquisition surface we have.
Shared helper so the styling can't drift again. font-size 10, opacity
0.75 (about 3.1:1), still using the theme's text_secondary so it stays
roughly 4x fainter than the user's own content. Composite output is
byte-identical in size; four standalone cards grow 16px where the footer
would otherwise collide with existing content.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
2026-08-22 16:10:26 -07:00
shay
fe4bb4e87e
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-07-19 21:01:40 -07:00
shay
d1e89fb1c3
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:37:08 -07:00
shay
e53d1cfbe0
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:17:53 -07:00
shay
410b503877
feat(Analytics): add daily stats rollup to persist data beyond pruning
2026-05-27 10:47:42 -07:00
shay
f66088e5d6
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:21:32 -07:00
shay
99c40cb0ce
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:16:11 -07:00
shay
369d42bb5f
feat(api): implement auto-enrollment for unknown users on first hit
2026-05-26 15:10:20 -07:00
shay
151f330d31
feat(analytics): add request tracking decorator for API endpoints
2026-05-12 01:47:13 -04:00
shay
01927b2173
feat(analytics): include render-only users in activity count query
2026-05-11 23:34:57 -04:00
shay
d4cbbae82a
feat(api): add basic auth protection to /dev dashboard route
2026-05-11 19:03:26 -04:00
shay
ef48d2581b
feat(admin dashboard): add admin dashboard
2026-05-11 18:26:43 -04:00
shay
00bf46968a
feat(admin dashboard): add admin dashboard
2026-05-11 18:25:09 -04:00
shay
99378e13cd
feat(api): add compatibility route for top-langs to handle upstream URLs.
2026-05-06 10:26:53 -04:00
shay
8dbbd16cf9
feat(api): auto-enroll users typing unknown usernames into workshop
2026-05-04 16:34:12 -04:00
shay
6edf98334c
feat(api): add idempotency check for already queued builds in callback
2026-05-04 15:52:03 -04:00
shay
4a1d31ffdd
feat(api): implement async fetch with callback to enqueue build job
2026-05-04 12:35:41 -04:00
shay
50dd73a0de
feat(api): distinguish between not enrolled and not found user statuses
2026-05-03 20:38:21 -04:00
shay
954f259b8f
feat(worker): update worker to render and persist SVGs with widget data
2026-04-25 12:28:38 -04:00
shay
7f1e53cfad
feat(db): normalize usernames in enrollment_rank for case insensitivity
2026-04-22 12:50:14 -04:00
shay
9cc9de2147
feat(api): add shortcut for rendering grade widget with username query.
2026-04-21 15:09:17 -04:00
shay
795f49d0a8
feat(api): update ResultScreen to use fallback URL for embed snippet
2026-04-20 16:05:33 -04:00
shay
96dc98142f
feat(composite): add show_name parameter to control header visibility.
2026-04-20 15:04:09 -04:00
shay
58fd6fbe67
feat(streaks): replace show_dates with customizable color setting.
2026-04-20 13:49:21 -04:00
shay
1d0fd3013e
feat(streaks): persist streaks on refresh and pass to renderer
...
Phase 1 worker now reads the stored streak, computes an updated one via
processor.compute_streaks, persists it to the DB (preserving the all-time
max across settings changes), and includes it in widget_data. Phase 2
_render_widgets pre-reads the stored streak and passes it to the processor.
2026-04-20 11:52:22 -04:00
shay and Claude Opus 4.7
f23449a17e
feat(streaks): render streaks widget in generate_widgets_from_github
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-20 11:48:09 -04:00
shay
cb7a00d7c4
feat(streaks): add streaks widget renderer
...
Add render_streaks_widget() to generator/src/widgets/streaks.py with
flame/trophy icons, two-column layout, optional date display, and
export it from the widgets package; append 3 smoke tests (all 11 pass).
2026-04-20 11:45:51 -04:00
shay and Claude Sonnet 4.6
3b00a0aeac
feat(streaks): compute current and max streak with grace day
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 11:42:59 -04:00
shay and Claude Sonnet 4.6
7fb1ba3e01
feat(streaks): add user_streaks table and get/put helpers
...
Adds the user_streaks table to settings.db schema and implements
get_user_streak / put_user_streak helpers with upsert semantics.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 11:40:13 -04:00
shay
8b7f999adc
feat(api): per-login mutate rate limit layered on per-IP
2026-04-19 19:09:04 -04:00
shay
0cd7bf339d
feat(api): remove public /enroll endpoint and auto-enroll on /data
2026-04-19 19:06:38 -04:00
shay
91f6328efd
feat(api): /generate and /refresh use OAuth session; remove edit_token helpers
2026-04-19 19:03:16 -04:00
shay
4ee71e0b86
feat(api): PATCH /settings uses OAuth session + same-origin
2026-04-19 18:59:46 -04:00
shay and Claude Opus 4.7
eb4b68bf0d
feat(api): OAuth callback — verify state, fetch profile, implicit enroll
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-19 18:57:20 -04:00
shay and Claude Opus 4.7
98c40ff993
feat(api): add /api/auth/github/login with CSRF state + local-only next
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-19 18:54:44 -04:00
shay
a6356d4d1d
feat(api): add /api/auth/me and /api/auth/logout
2026-04-19 18:53:12 -04:00
shay
4602bb9494
test(auth): unit tests for require_github_owner and require_same_origin
2026-04-19 18:49:39 -04:00
shay
22483aea19
db: enroll() accepts github profile; no longer returns edit_token
2026-04-19 18:45:26 -04:00
shay
57b782ceaf
db: add github_id and github_avatar_url columns + set_github_profile
2026-04-19 18:44:01 -04:00
shay
016583c9f3
feat(api): implement per-user edit token for settings mutations
2026-04-19 09:34:26 -04:00
shay
8ac657b874
chore(ResultScreen): update props to reflect SVG generation process changes
2026-04-18 12:17:25 -04:00
shay
7b2301cec0
chore(api): rename test function for clarity on enrollment behavior
2026-04-18 11:58:02 -04:00
shay
f9c59d934d
chore(api): add asynchronous build kickoff for improved responsiveness
2026-04-18 11:26:25 -04:00
shay
79b9c31197
feat(api): implement precomputed widget data storage and retrieval.
2026-04-18 11:13:43 -04:00
shay
f0c6edacf6
feat(api): add endpoint for fetching computed widget data by username.
2026-04-18 10:54:41 -04:00
shay
a3c17a15da
test(generator): add end-to-end integration test + README
2026-04-17 17:06:03 -04:00
shay
c0401a8a28
feat(generator): add poll cron that enqueues on payload-hash change
2026-04-17 17:03:11 -04:00
shay
d448825bed
feat(generator): add Flask API with SPA static, auth stub, rate limit
2026-04-17 16:59:25 -04:00
shay and Claude Opus 4.7
07221a1329
feat(generator): add build worker with retries and placeholder fallback
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-17 16:53:17 -04:00
shay and Claude Opus 4.7
97ad1c2b39
feat(generator): add typed HTTP client to the fetcher service
...
Implements thin wrapper over fetcher's two main endpoints: GET /data/<user>
and POST /fetch. Used by worker.py (rebuilds), api.py (user lookups), and
cron.py (bulk refresh). Includes authentication via X-Internal-Token header.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-17 16:47:38 -04:00