Quantum
ad32549a45
No evaluating editable_problem_ids for public problem editors
2023-02-18 21:40:09 +00:00
Quantum
65661310ff
Lazy load *_problem_ids in submission list context
2023-02-18 21:40:09 +00:00
Evan
c798d4dc34
Optimize contest ranked submissions
...
Remove filtering non-zero point submissions since they're already
filtered. Remove joinined contest participation/contest submission since
we only need the contest id, which we can get from `contest_object_id`.
2023-02-18 20:12:10 +00:00
Quantum
2a24cc676c
Pre-compute completed_contest in queryset for contest list
2023-02-18 19:22:52 +00:00
Quantum
94a28ca4ba
Use more sane contest list counting
2023-02-18 08:27:25 +00:00
Quantum
dd86e24f10
Pre-compute editor_or_tester in queryset for contest list
2023-02-18 08:27:25 +00:00
Quantum
9871632bed
Prefetch classes in contest list page
2023-02-18 08:27:25 +00:00
Quantum
41d5c09755
Use infinite pagination for users list
2023-02-18 07:43:45 +00:00
Quantum
3fb2a590dc
Override problem list count to avoid distinct
2023-02-18 07:31:18 +00:00
Quantum
a6aa5d7b49
Make DiggPaginator support manual count override
2023-02-18 07:31:18 +00:00
Quantum
c9633b5d6b
Replace author/curator/tester join with exists subquery
2023-02-18 07:31:18 +00:00
Quantum
b47068a3b1
Fix MariaDB insanity with submission language filters
2023-02-18 07:11:39 +00:00
Jonathan Wu
9436dcafad
Prevent data leak after login but before 2fa completed
2023-02-18 04:34:04 +00:00
Quantum
70bb0bf61b
Create sitemap generation script
2023-02-17 22:29:56 +00:00
Evan
7744f7b273
Replace smart_text with smart_str; fixes #2186
2023-02-12 22:28:35 +00:00
Quantum
b2519e819e
Use multi-column indices for Submission model
2023-02-12 01:27:40 +00:00
Quantum
430c40420a
Use multi-column index for User model
2023-02-11 20:09:48 -05:00
Tudor Brindus
49aad96806
UserList
: avoid a query per row for display name overrides
...
Should speed up `/users/` by ~150ms in prod.
2023-02-11 19:52:31 -05:00
Tudor Brindus
966e3c8f60
Use rem for problem table alignment
...
Refs #2159 .
2023-02-08 01:45:26 -05:00
Tudor Brindus
f7ab0908ec
Revert "Make dark mode headers look nicer"
...
This reverts commit 05c7e61c17
.
2023-02-08 01:25:44 -05:00
Evan
05c7e61c17
Make dark mode headers look nicer
2023-02-07 23:45:51 -05:00
Tudor Brindus
58f6a767e4
Make it clear which theme we're referring to
2023-02-07 23:26:27 -05:00
Tudor Brindus
a2870eac5e
Reorder editor theme to come after site theme
...
It refers to the site theme, which wasn't introduced early enough before.
2023-02-07 23:23:10 -05:00
Evan
e00396fc2a
Use different default ace theme depending on site theme
2023-02-07 22:58:43 -05:00
Evan
861fcaaf26
Soften blacks and whites on dark mode
2023-02-07 22:52:21 -05:00
Evan
4821f246f7
Use custom styling of checkboxes for dark mode support
2023-02-07 22:38:19 -05:00
Tudor Brindus
9da0f29fb4
Align problem table headers the same as rows
2023-02-07 22:37:28 -05:00
Tudor Brindus
66350de58c
Clean up part of the edit profile page
2023-02-07 22:37:01 -05:00
Tudor Brindus
d338459896
Add a class for the problem types column header
2023-02-06 00:51:37 -05:00
Evan
e7c7bde206
Fix inline select2 search field text colour
2023-02-05 23:36:16 -05:00
Evan
766aa4e0ed
Always use white text on cyan for select2 selected item
2023-02-05 23:33:46 -05:00
Evan
56e2496492
Clean up problem submit select2 CSS
2023-02-05 23:26:00 -05:00
Evan
efe7894f64
Use custom variable for select2 search dropdown background
...
So that we can keep the current white background for light theme but
have only dark gray (not black) for dark theme.
2023-02-05 23:24:02 -05:00
Evan
9066af6a5c
Create and use custom 'dmoj' select2 theme
2023-02-05 23:24:02 -05:00
Evan
b3fe5bd302
Copy select2 default theme
...
Source: https://github.com/select2/select2/tree/4.0.3/src/scss/theme/default
2023-02-05 23:24:02 -05:00
Evan
566cbf2c66
Remove dead hot problem CSS
2023-02-05 21:47:02 -05:00
Quantum
8a592a821e
Use better favicon to fix #2163
2023-02-05 18:20:51 -05:00
Evan
3c72324262
Use a darker (light theme) / lighter (dark theme) color for tab text
...
This matches the tab text color before 1b68ed36b
. Currently, the text
looks off since it has the same colour as unclickable text.
2023-02-05 15:53:56 -05:00
Evan
4ab6f89991
Standardize gravatar images
2023-02-05 15:35:38 -05:00
Evan
9f4e82163d
Use correct ace theme and mode for userscript
2023-02-05 15:03:28 -05:00
Evan
e2956644f7
Fix dark mode colour for alert close button
...
`text-shadow` does nothing on light mode, and messes up the rendering on
dark mode, so just remove it.
2023-02-05 14:42:15 -05:00
int-y1
6655dfd18d
Use a better default for timezone map
2023-02-05 14:42:08 -05:00
Evan
31f2ded7a0
Clean up contest ranking CSS and add dark mode colours
2023-02-05 14:04:19 -05:00
Evan
2436abb408
Move contest ranking CSS to SCSS file
2023-02-05 14:04:19 -05:00
Evan
4d12a32dde
Add submission activity dark mode
2023-02-05 14:01:47 -05:00
Evan
175ccf9edc
Add ability to specify table ids for user tables
...
This is necessary to be able to move contest ranking CSS to
SCSS files without affecting other user tables.
2023-02-05 13:56:39 -05:00
Evan
2a7d74d446
Fix grading spinner colour on dark mode
2023-02-05 13:02:53 -05:00
Evan
35140e0ba4
Clean up edit profile label CSS
2023-02-04 15:40:29 -05:00
Evan
2bd44f2e46
Add custom rating colours for dark mode; #2035
2023-02-04 15:39:32 -05:00
Evan
2c6049978b
Make dark mode links slightly lighter
2023-02-04 15:39:22 -05:00