Commit Graph

172 Commits

Author SHA1 Message Date
e522765e3e fix chain modal 2026-04-30 09:42:31 -06:00
c4362321e5 rm test file 2026-04-30 09:30:18 -06:00
f99c2c8033 feat: add showcase backend 2026-04-30 08:59:14 -06:00
c5f46de80a change to v4 2026-04-27 06:35:10 -06:00
99f680814e fix delete 2026-04-16 01:32:42 -06:00
6ca5e4b6ea feat: expose message source field in messages API
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 00:40:22 -06:00
8657697c25 fix 2026-04-15 22:25:30 -06:00
b37d4c56de add delete button 2026-04-15 19:16:38 -06:00
2f6f7d1387 add asset 2026-04-13 04:36:44 -06:00
f282785c19 fix 2026-04-06 05:27:13 -06:00
d1f2c76bdf use lite 2026-04-01 19:58:16 -06:00
4e69714b17 bloom 2026-04-01 05:14:56 -06:00
c9cd66b50e perf: defer large text fields in top_viewed query 2026-04-01 00:00:37 -06:00
9ff5cac2ed feat: query top 5 by view_count in get_task_stats 2026-03-31 23:58:03 -06:00
3e9d73c2f9 fix: use UUID type for TopViewedItem.submission_id 2026-03-31 23:56:49 -06:00
e502f69934 update 2026-03-31 23:21:27 -06:00
8791d5d0cd add pass_score 2026-03-31 07:41:28 -06:00
e2449869aa change model 2026-03-31 05:50:27 -06:00
e356a2631d add role 2026-03-31 04:55:34 -06:00
9c76c98da8 fix 2026-03-31 02:21:44 -06:00
986b48f1de fix 2026-03-30 22:54:07 -06:00
eb8fa92029 fix 2026-03-30 19:13:56 -06:00
a049ca7f2b add log 2026-03-30 18:51:04 -06:00
0219a05142 refactor score 2026-03-30 18:51:04 -06:00
4cb37b0c95 refactor score 2026-03-30 05:56:47 -06:00
d05c05757d add bloom 2026-03-30 05:33:14 -06:00
8456b76586 remove rank 2026-03-29 10:07:22 -06:00
504c2bb70b remove challenge's content 2026-03-26 22:33:23 -06:00
cbdd1265bf fix request is timed out 2026-03-26 22:19:26 -06:00
b13c172e04 fix 2026-03-26 08:10:59 -06:00
24f691e7fb change to ds chat 2026-03-25 20:47:20 -06:00
fb747f9df4 update 2026-03-25 18:53:02 -06:00
7c4f729cb4 fix 2026-03-18 19:57:04 +08:00
0dc8b92dcb add stats 2026-03-18 19:46:27 +08:00
e692ddd1f3 update 2026-03-18 18:40:10 +08:00
7e5e02c7e6 update 2026-03-18 14:50:24 +08:00
3a58925764 add leaderboard 2026-03-09 20:00:06 +08:00
c01273bccd fix 2026-03-09 19:07:39 +08:00
417e7c34bc Fix submission list API performance: N+1 queries, missing indexes, and in-memory pagination
- Add select_related("user") in update_score() to eliminate N+1 on rating.user.role
- Return QuerySet directly from list_submissions so @paginate works at DB level
- Defer html/css/js fields in list queries to reduce data transfer
- Add db_index on flag field for filtered queries
- Add select_related("task", "user") to get_submission endpoint
- Replace manual list() serialization with resolve_* methods on SubmissionOut

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:26:32 +08:00
d4727b1538 Add flag API endpoint and filter logic
Adds PUT /{submission_id}/flag endpoint (admin/super only) and
flag filter support in list_submissions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:23:17 +08:00
c7834530fe Add flag to API schemas and submission filter
Adds flag field to SubmissionOut, SubmissionFilter, and new FlagIn schema.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:23:10 +08:00
aa344b92e5 Add flag field to Submission model with FlagChoices enum
Adds red/blue/green/yellow flag options for marking submissions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:23:05 +08:00
9e8c3d7ebb update 2026-03-09 09:55:43 +08:00
7d8966caea fix 2026-03-09 09:53:03 +08:00
7990b886c8 fix 2026-03-09 09:47:40 +08:00
6998d694bb add chat 2026-03-04 20:05:33 +08:00
fdbe06a077 update 2026-03-04 00:04:39 +08:00
04721a035b update 2026-01-26 14:38:26 +08:00
8e91884d75 fix list submissions 2025-12-22 18:29:18 +08:00
d1b5b67725 update 2025-12-20 22:42:05 +08:00