Commit graph

11112 commits

Author SHA1 Message Date
Jack
f72f58f3f9
fix: font awesome regular not working (Miodec, fehmer) (#5477)
!nuf
2024-06-07 13:51:32 +02:00
Christian Fehmer
a8c7134f80
fix: year selector flashing in the top left on page load (fehmer) (#5476) 2024-06-07 12:33:53 +02:00
Christian Fehmer
fad3f6e8d1
impr: optimize use of fontawesome (fehmer) (#5423)
!nuf
2024-06-07 11:29:04 +02:00
Miodec
ff86c83211 impr(server): log server versions which generate 500 errors
!nuf
2024-06-06 12:49:20 +02:00
Nad Alaba
a1c805cc28
fix: backspace to previous word in stop on letter leaving type hints (NadAlaba) (#5466)
* fix: fix backspace to previous word in stop on letter (NadAlaba)

* revert to calling updateWordElement() in all cases after backspacing
2024-06-05 15:25:48 +02:00
Tarun
37c256b037
impr(quotes): add hindi quote (atypicalesper) (#5475)
* Update hindi.json

The translation is "In the journey of life, when no friend was seen far and wide, in panic, I made loneliness a companion, turning an enemy into a fellow traveller."

* Update hindi.json

the translation for the added quote is "In the journey of life, when no friend was seen far and wide, in panic, I made loneliness a companion, turning an enemy into a fellow traveller."
2024-06-05 15:21:53 +02:00
ethan
e038873b5c
fix: misaligned tooltip in terms-of-service (extoplasm) (#5474) 2024-06-05 15:20:37 +02:00
Miodec
66a91011d7 fix(server): incorrect error message when profanity was detected
this reworks the profanity check a little bit, usernames with profanity
are still considered valid if they match the regex pattern and they
match the length check
2024-06-05 15:16:38 +02:00
Miodec
8e8fdf8720 fix(style): right to left languages causing test word offset 2024-06-04 13:30:14 +02:00
Miodec
85007b7412 fix(style): weird shifting behavior when typing test that is only one line 2024-06-03 18:02:24 +02:00
Miodec
2890dc7db1 fix(funbox): memory not allowing typing at all
closes #5457
2024-06-03 17:30:07 +02:00
Miodec
21692a1195 chore: release v24.23.0 2024-06-03 16:23:23 +02:00
Christian Fehmer
01076986be
fix: test activity graph bugs (fehmer) (#5468) 2024-06-03 13:00:30 +02:00
Qihan Liu
eac0f7c6af
impr(quotes): correct typos and added quotes in simplified chinese (faq0) (#5465)
* Update chinese_simplified.json

Corrected 2 typos,
added some quotes,
edited the length group.

* fix PR check issues

edited one length of a quote
2024-06-03 12:15:26 +02:00
Warrobot10
eb3a6e0f40
docs: fix a typo and apply styling to the whole doc (Warrobot10) (#5456)
* docs: fix a typo and apply styling to the whole doc

* docs: fix styling

* uppercase

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-06-03 12:14:18 +02:00
celestars
2265472028
impr(quotes): Add English quote (celestars) (#5452) 2024-06-03 11:52:38 +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