b10e030298
feat: add gradebook aggregation service
2026-05-02 07:55:06 -06:00
274b5b1981
test: add gradebook API coverage
2026-05-02 07:53:30 -06:00
99ec8cdf02
add showcase manage
2026-05-01 08:24:30 -06:00
17948a69f3
fix
2026-04-30 10:14:53 -06:00
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
99f680814e
fix delete
2026-04-16 01:32:42 -06:00
b37d4c56de
add delete button
2026-04-15 19:16:38 -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
9c76c98da8
fix
2026-03-31 02:21:44 -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
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
6998d694bb
add chat
2026-03-04 20:05:33 +08:00
8e91884d75
fix list submissions
2025-12-22 18:29:18 +08:00
313e326316
fix
2025-06-15 23:07:48 +08:00
30becb56bc
update
2025-06-15 23:02:47 +08:00
8cdf1f8d2c
添加提交的序号
2025-04-28 09:34:34 +08:00
cdf83f4d07
update
2025-03-20 18:58:38 +08:00
c81b5b1a55
添加 rating
2025-03-19 09:15:14 +08:00
d857da26f6
fix
2025-03-18 19:36:26 +08:00
06ba298b3c
fix
2025-03-18 19:33:42 +08:00
8cdc23d499
fix
2025-03-18 19:29:59 +08:00
55ef262ae8
添加提交
2025-03-18 19:16:32 +08:00
0d07daa655
add verbose name
2025-03-10 20:23:36 +08:00
3b52eb1813
fix
2025-03-07 09:37:28 +08:00
c95dafe14d
重构数据
2025-03-07 00:06:56 +08:00