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
f43b1c62f6
update
2025-09-04 18:13:12 +08:00
36c795e6ec
update
2025-09-04 17:31:08 +08:00
ebfe08a97c
update
2025-09-04 17:20:55 +08:00
bb41f05bbe
update
2025-07-16 01:15:15 +08:00
eb09245467
fix
2025-07-16 01:10:27 +08:00
108a125810
add ws
2025-07-16 01:02:12 +08:00
01e5c9097c
update
2025-07-15 17:20:20 +08:00
403d3db941
update
2025-07-15 17:16:48 +08:00
34b9822a3d
update
2025-06-15 23:11:52 +08:00
313e326316
fix
2025-06-15 23:07:48 +08:00
30becb56bc
update
2025-06-15 23:02:47 +08:00
ac3c7c4dec
fix
2025-06-15 22:58:00 +08:00
452b4039fe
test
2025-06-15 22:32:59 +08:00
3502ac0c42
test
2025-06-15 22:31:55 +08:00
2dc1c3b005
test
2025-06-15 22:28:48 +08:00
641d4a84b4
test
2025-06-15 22:23:03 +08:00
7edeea299e
test
2025-06-15 22:13:35 +08:00
e5e9115c50
test
2025-06-15 22:11:44 +08:00
93768b3a3b
fix
2025-06-15 22:01:08 +08:00
74f29cd1f3
update
2025-06-15 22:00:28 +08:00
f30dfac02b
添加上传图片
2025-06-15 21:52:26 +08:00
5aaf86b3ee
test
2025-06-15 20:01:29 +08:00