Miodec
b3865152e4
Merge branch 'master' into newtribemerge
2024-08-13 18:23:44 +02:00
Miodec
19cef8b4af
impr: add req.method to dev slowdown log
...
!nuf
2024-08-12 22:22:53 +02:00
Christian Fehmer
1c9dbccfa3
chore: update vitest to 2.0.5 (@fehmer) ( #5770 )
2024-08-12 20:18:22 +02:00
Jack
55e183e7bb
impr: add local storage with schema class to improve type safety (@miodec) ( #5763 )
...
!nuf
2024-08-12 17:04:01 +02:00
Walid Mosbahi
38a8529808
impr(commandline): preview error sound on hover (@Bretis2019) ( #5769 )
...
* fix: play sound on error on hover in settings pop up menu
* name
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-12 16:51:16 +02:00
Jave Bantilan
2ae398cdaf
impr: update filipino word list (@Killer8Hyper) ( #5768 )
...
Replaced less commonly appearing or less frequently typed word:
bayan → pasok (entry • entrance • admission • school day • work day • going to work)
My bad, I really missed this one out. It was on my list/notes, but I completely forgot about it.
It's been a year or two since I started planning to update some words in the list. So, yeah, this will be my final update on the most common 200 words in Filipino—unless someone requests an update. But I believe that's unlikely, as I've done my best to provide a useful list for everyone.
2024-08-12 16:42:58 +02:00
Miodec
692d3f5920
impr: deep copy constant objects when retrieving them
2024-08-12 15:50:34 +02:00
Miodec
ed47fb73a8
chore: allow expressions in explicit-function-return-type rule
2024-08-12 14:31:58 +02:00
Christian Fehmer
c6e8f413fc
impr: use tsrest for leaderboard endpoints (@fehmer) ( #5717 )
...
!nuf
2024-08-12 14:08:17 +02:00
neinja
d5b243cf57
impr(quotes): add 3 german quotes (@neinja007) ( #5767 )
2024-08-12 12:49:15 +02:00
Jave Bantilan
6d000aec6a
impr: update filipino word list (@Killer8Hyper) ( #5761 )
2024-08-12 12:46:54 +02:00
Avick Saha
474ef2e53d
fix(language): add one thousandth word to english 1k (@avick-saha) ( #5757 )
2024-08-12 12:45:52 +02:00
Breno Queiroz Lima
d7a40c8d5a
fix(save custom text modal): save button not being enabled (@brenob6) ( #5759 )
...
* fix: invalid return values
* add: hexToRgb test suite
* test: update hexToRgb test value
* add more tests
* fix: save custom text button not enabled (#5692 )
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-12 12:25:09 +02:00
Christian Fehmer
092d513f01
chore: fix test coverage not working with vitest workspaces (@fehmer) ( #5764 )
2024-08-11 17:50:26 +02:00
Christian Fehmer
ef8dfe2272
chore: add test case for apekey permission bug (@fehmer) ( #5762 )
2024-08-11 12:07:42 +02:00
Miodec
61c9134030
chore: add vitest workspace configuration file
2024-08-11 00:14:39 +02:00
Miodec
77c9cc423f
fix(server): incorrect apekeys permission check
2024-08-10 23:59:59 +02:00
Miodec
24e94479d3
style: only apply error underline when moving to the next word
2024-08-10 21:45:47 +02:00
Miodec
142b51cc26
style: sliiiightly increase the horizontal word margin
2024-08-10 14:55:47 +02:00
Miodec
002ef8f6bf
fix(caret): not working in zen mode
2024-08-10 14:55:47 +02:00
Christian Fehmer
a9caf24427
fix: documentation link in settings (@fehmer) ( #5755 )
2024-08-09 22:21:18 +02:00
Christian Fehmer
cfea8eef19
refactor: use single client for whole contract on frontend (@fehmer) ( #5752 )
...
* refactor: use single client for whole contract on frontend (@fehmer)
* review comments
2024-08-09 22:07:09 +02:00
Miodec
4995f042ac
chore: fix eslint in dev script
2024-08-09 22:03:01 +02:00
Miodec
3eca422182
chore: add more recommended extensions
2024-08-09 21:50:11 +02:00
Miodec
295e47638e
chore: rebuild all files instead of just what changed
2024-08-09 17:01:10 +02:00
Christian Fehmer
02505750ad
refactor: implement recordClientVersion as middleware (@fehmer) ( #5750 )
...
* refactor: implement recordClientVersion as middleware (@fehmer)
* move csp for docs into docs route
* fix
* review comments
2024-08-09 14:20:16 +02:00
Miodec
8e343bc390
chore: replace all eslint warnings with errors
2024-08-09 13:20:59 +02:00
Jack
782eea643b
chore: remove some unnecessary root dependencies, move to correct packages (@miodec) ( #5751 )
...
* remove some, move some
* version
2024-08-09 13:19:53 +02:00
Miodec
d27c622943
chore: move example.env to release package
2024-08-09 12:51:29 +02:00
Miodec
24f9a6c079
chore: add ts-check script
2024-08-09 12:42:02 +02:00
Miodec
f32846de32
refactor: getLocalPb returns pb object instead of just wpm
...
also use this function in test logic
also fixes todo
2024-08-09 12:40:15 +02:00
Christian Fehmer
c50535cd0f
impr: use tsrest for public endpoints (@fehmer) ( #5716 )
...
!nuf
2024-08-09 12:39:27 +02:00
Miodec
6c9148624e
impr: use authentication state instead of the dom
...
!nuf
2024-08-09 11:55:54 +02:00
Miodec
083c18b8b9
Merge branch 'master' into newtribemerge
2024-08-09 11:08:04 +02:00
Miodec
90e3ad4957
refactor: move psa check to after auth was initialised
2024-08-09 10:45:57 +02:00
Miodec
690dee1257
chore: remove word from profanities list
2024-08-08 21:43:55 +02:00
Christian Fehmer
0d7e3cf916
fix: don't send authentication if user is not authenticated (@fehmer ( #5747 )
2024-08-08 19:00:02 +02:00
Christian Fehmer
45d27b5e00
chore: add test for recordClientVersion (@fehmer) ( #5746 )
2024-08-08 18:27:00 +02:00
Miodec
0a0f175291
chore: export deploy backend script
2024-08-08 18:16:28 +02:00
Christian Fehmer
2d24fc323e
fix: remove tailing slashes from new endpoint urls (@fehmer) ( #5745 )
...
!nuf
2024-08-08 18:12:50 +02:00
Miodec
c33a087161
chore: quote lengths script
2024-08-08 17:41:14 +02:00
Miodec
e1a2020b01
fix(quote): user reports
2024-08-08 17:40:28 +02:00
Miodec
c2d08096ed
impr: export cf purge script
...
!nuf
2024-08-08 17:07:13 +02:00
Miodec
d57e318cf1
fix: sh scripts sometimes not finding .env file
...
!nuf
2024-08-08 17:07:13 +02:00
Miodec
316bbd33a6
impr: notify user that captcha api failed to respond instead of throwing a server error
2024-08-08 17:07:13 +02:00
Christian Fehmer
f929d65a6c
chore: add more badges to readme (@fehmer) ( #5744 )
...
* chore: add more badges to readme (@fehmer)
* get rid of miodec
2024-08-08 17:06:50 +02:00
Miodec
cdfcc9e663
fix: incorrect paths
...
!nuf
2024-08-08 16:27:47 +02:00
Jack
1eebf748ba
refactor: move release code to a package (@miodec) ( #5743 )
2024-08-08 16:16:01 +02:00
Christian Fehmer
f6ec006507
impr: use tsrest for psa endpoints (@fehmer) ( #5712 )
...
!nuf
2024-08-08 15:10:26 +02:00
Nad Alaba
657d305abc
fix(caret): jumping in word tape mode and RTL position issues (@NadAlaba) ( #5726 )
...
* fix(caret): jumping in word tape mode (@NadAlaba)
* fix(caret): diacritics getting caret width of last letter
* fix(caret): hide extra letters in RTL languages
* fix(caret): add space width for non-mono fonts
* optimize getting space width
* refactor assignmet in conditional and remove console.log
* move left calculation in tape mode to getTargetPositionLeft
* no need to calculate left 2 times in tape mode
* prophylactically consider future changes of hide extra letters
* treat blind mode and hide extra letters the same
* change naming and fix tape word
* final refactor
* change naming
* nope, cleaner version doesn't work
* || instead of ?? for letter.offsetTop
* reduce unneeded code
* chore: run anticheat for banned accounts
---------
Co-authored-by: Jack <jack@monkeytype.com>
2024-08-08 13:49:24 +02:00