Commit graph

10798 commits

Author SHA1 Message Date
Christian Fehmer be634599ad
wip 2024-06-01 01:42:03 +02:00
Christian Fehmer d354947f31
wip 2024-06-01 01:42:02 +02:00
Christian Fehmer 24909fda1c
feat: detect custom background image not available (fehmer) (#5460)
* feat: detect custom background image not available (fehmer)

* settings page not updating custom background input if config changes

* cleanup
2024-05-30 13:04:55 +02:00
Miodec 595000ad4f fix(caret): incorrect placement on page load 2024-05-29 19:52:41 +02:00
Miodec b2a8604994 fix(presets): punctuation and numbers modes not being enabled in certain situations
this was done by moving the setter functions to be called after setting the mode config

closes #5454
2024-05-29 15:00:06 +02:00
Nad Alaba 2c0002c919
fix(xp): hide decimal point if displayed xp is < 1000 (NadAlaba) (#5448)
* fix(xp): hide the decimal point if displayed xp is an integer < 1000 (NadAlaba)

* fix tests to match new rounding behavior

* if you failed the test change the test

* revert abbreviateNumber() and test changes and move previous changes to formatXp()
2024-05-29 14:48:54 +02:00
Miodec 05d6160b2a test: remove double mock 2024-05-29 14:44:54 +02:00
Miodec 57e2bbc86f chore: make sure to use the correct node version 2024-05-29 14:43:05 +02:00
Miodec 9659ebb1be chore: make sure pre-push hook file is executable 2024-05-29 14:36:04 +02:00
Miodec 16b794412b chore: make sure to run tests before pushing to master 2024-05-29 14:34:13 +02:00
Miodec 57ff186f91 build: add @shared alias pointing to the shared directory 2024-05-29 14:29:47 +02:00
Miodec 90c96a2bd7 refactor: move token revoke call to other auth util functions 2024-05-28 19:02:08 +02:00
Miodec a279744ef3 refactor: update crown type names 2024-05-28 18:20:31 +02:00
Miodec 5306d6fe2c fix: remove pending crown from results that wont be sent to the server 2024-05-28 18:16:38 +02:00
Miodec d2d1f83a36 fix: also disallow stop on letter on the daily leaderboards 2024-05-28 18:10:02 +02:00
Miodec 45781e8d61 chore: release v24.22.0 2024-05-28 17:41:51 +02:00
Miodec 40423baa2a test: fix missing mocks breaking tests 2024-05-28 17:38:54 +02:00
Miodec 0c38d99bde fix(backend): use correct function
!nuf
2024-05-28 17:23:54 +02:00
Miodec bc3ecb25eb impr(result): add new crown states (error, warning, ineligible, normal) 2024-05-28 17:11:10 +02:00
Miodec aa2466a0d1 feat(result): disallow stop on error letter from getting new pbs 2024-05-28 17:10:51 +02:00
Miodec 4a29e6a1be chore: remove unnecessary import 2024-05-28 13:44:23 +02:00
Miodec cd11d7ced7 impr(result saving): better error message when result schema is incorrect
this should reduce confusion, especially when deploying updates
2024-05-28 13:43:01 +02:00
Miodec 468460fc27 impr(british english): add more words to the replacement list 2024-05-28 13:38:12 +02:00
Miodec cebc4d76ad chore: quote lengths script 2024-05-28 11:55:07 +02:00
Miodec 353077c7aa fix(quotes): user reports 2024-05-28 11:54:44 +02:00
Miodec 898278b3eb docs: missing paragraph element
fixes #5443
2024-05-28 11:06:14 +02:00
Miodec 8e057e3cb6 impr(server): move password update from client to server
this allows us to make sure to invalidate user tokens on password change

!nuf
2024-05-28 11:06:14 +02:00
Miodec 313468cee3 chore: remove unnecessary import 2024-05-28 11:06:14 +02:00
Miodec f7a97505db refactor(backend): revoke tokens, update email
move revoke tokens function from delete user to its own funciton (together with removing from cache)
remove authutil calls from dal and move them to the controller layer
make sure to revoke tokens on email change
2024-05-28 11:06:14 +02:00
Nad Alaba f9d1016e47
fix(layout): fix arabic 101 & arabic 102 layouts (#5449) 2024-05-28 10:46:47 +02:00
Nad Alaba df3e9ff123
impr(results filters): allow deselecting options in multiselect dropdowns of results filters (NadAlaba) (#5445)
* handle @ts-expect-error differently

* allow deselecting in multi-select dropdown of results filters

* mark the all option element as selected when all options are selected

* filter by option.value instead of option.filter

Since ResultFilters is being populated with (option.value)s,
without this change the `selected` property of tags options
will not be set to true.

* make mutli-select dropdowns scroll to top by default

* style .ss-max like .ss-value-text

* fix mistyped group name of language and tags
2024-05-28 10:41:19 +02:00
Nad Alaba f4d121c250
fix(crt): shrinking xp bar and hints not glowing (NadAlaba) (#5447)
* fix xp Bar shrinking in width when crt is enabled

* fix hints not glowing in crt mode
2024-05-28 10:34:48 +02:00
Aaron 272d61cd0a
docs: utilize blockquote color highlights (unrealapex) (#5444)
* docs: add note for unix systems

* docs: use gfm blockquote highlight for note

github flavored markdown supports highlighting of NOTE and WARNING
messages in blockquotes. see
https://github.com/orgs/community/discussions/16925

* docs: fix bold text

Co-authored-by: Warrobot10 <132307750+Warrobot10@users.noreply.github.com>

---------

Co-authored-by: Warrobot10 <132307750+Warrobot10@users.noreply.github.com>
2024-05-28 10:32:23 +02:00
Gauthier Fiorentino 367569f9b6
impr(quotes): add French quotes (#5441) 2024-05-28 10:29:02 +02:00
Miodec b626fdd643 impr(french input): when typing œ and æ, replace them with oe and ae
closes #5437
2024-05-24 12:41:12 +02:00
Christian Fehmer fd3fc7ca47
test: fix flaky tests on user creation (fehmer) (#5434) 2024-05-24 12:33:44 +02:00
Miodec 8f2644c2f3 chore: release v24.21.1 2024-05-23 13:37:31 +02:00
Miodec c421f22065 fix(account page): bad performance in safari
closes #5424
2024-05-23 13:30:21 +02:00
Christian Fehmer b19ff0d9bd
fix: too many decimals showing on profile page for some users (fehmer) (#5433) 2024-05-23 12:56:55 +02:00
Miodec 57b06eff18 fix: missing code flow paths for psa banners
!nuf
2024-05-23 11:18:23 +02:00
Miodec 007fcf7e8c fix(login page): failing popup signin not resetting input fields
closes #5430
2024-05-23 11:09:57 +02:00
Christian Fehmer c942e1da5a
fix: maintenance banner is blocked by ublock (fehmer) (#5413)
* fix: maintenance banner is blocked by ublock (fehmer)

* use addPsa for all non-ad banners
2024-05-23 11:02:47 +02:00
Léo Cazenave 627f1349e9
fix(layout): update Ergo‑L layout to 1.0 version (Nuclear-Squid) (#5421) 2024-05-23 10:55:40 +02:00
Md. Shahnewaz Siddique 0a54470a2c
impr(quotes): add Bangla quotes (shahnewaz-labib) (#5429)
* added bangla quotes

* added bangla quotes
2024-05-23 10:54:51 +02:00
Christian Fehmer d9767ebc97
fix: testActivity not removed on account reset (fehmer) (#5427) 2024-05-23 10:53:23 +02:00
Christian Fehmer 5d4bab5564
chore: fix frontend not starting in dev mode if backend is in maintenance (fehmer) (#5422) 2024-05-20 15:48:42 +02:00
Miodec 3255654921 impr: add admin endpoint to send forgot password email
!nuf
2024-05-20 15:35:52 +02:00
Miodec 38d406c5d4 chore: release v24.21.0 2024-05-20 13:12:54 +02:00
Miodec d9d338a215 chore: quote lengths script 2024-05-20 13:05:43 +02:00
Miodec e1e592e09b fix(quote): user reports 2024-05-20 13:05:43 +02:00