Commit graph

10203 commits

Author SHA1 Message Date
Miodec
0309fc3268 fix: not being able to login if user config is empty 2024-02-07 10:48:53 +01:00
Miodec
020eb7b44e fix: fixing a fix where a previuos fix didnt fix the issue
completed event doesnt have isPb property, so the delete didnt work
2024-02-07 09:51:31 +01:00
Miodec
a11314f11c impr(server): not saving 503 errors to the database 2024-02-07 09:50:43 +01:00
Miodec
f9732af192 chore: release v24.6.1 2024-02-07 09:41:05 +01:00
Miodec
aa78b46bbf fix: incorrect test data 2024-02-07 09:35:45 +01:00
Miodec
ead765d57a fix(server): only saving isPb property in the database if the result was a pb
this was the previous behaviour but #4980 broke it
2024-02-07 09:28:54 +01:00
Miodec
6c1c22787d fix(account page): results with isPb set to false still showing up as personal bests 2024-02-07 09:23:52 +01:00
Miodec
2604c98196 better type 2024-02-06 18:41:46 +01:00
Miodec
983be00861 refactor: not using any 2024-02-06 15:32:25 +01:00
Miodec
f8109e0d98 chore: fix eslint error 2024-02-06 14:19:50 +01:00
Miodec
b6e611f2be refactor: reorder eslint rules, change some error to warn 2024-02-06 14:18:27 +01:00
Miodec
eb0219e976 chore: unnecessary comment 2024-02-06 14:03:14 +01:00
Jack
83a4c0e6aa
refactor: enable strict-boolean-expressions rule (#4992) 2024-02-06 14:01:45 +01:00
Adam Mehaney
a0d8e3a9f2
impr(language): add 'buffer' to list of keywords in luau language (adammehaney) (#5005)
* Add 'buffer' to list of keywords in code_luau.json

* impr(language): add 'buffer' to list of keywords in luau language
2024-02-06 13:43:31 +01:00
Miodec
8dac6aa509 chore: release v24.6.0 2024-02-05 15:27:36 +01:00
Miodec
8c794aa058 fix: funboxes not applying on repeated tests
closes #5003
2024-02-05 15:24:34 +01:00
Miodec
bfda00166c impr: clearing funbox in the middle of the test finish animation
this will make sure funboxes like mirror clear while neither the test or result page are visible
2024-02-05 15:24:10 +01:00
Nipul Mallikarachchi
63c3b6773f
impr(quotes): add 2 russian quotes (NipulM) (#5002)
* impr(quotes): add 2 russian quotes (NipulM)

* update russian.json

correcting minor spelling mistakes.
2024-02-05 15:16:32 +01:00
Miodec
ca87feb26c fix: quote reports 2024-02-05 15:16:08 +01:00
Miodec
b8e647d38d impr(reporting): dont allow reporting for suspected cheating if user has opted out of leaderboards 2024-02-05 15:16:08 +01:00
Miodec
7326ff0985 impr(reporting): dont allow reporting for suspected cheating if user has opted out of leaderboards 2024-02-05 15:16:08 +01:00
Walter White
fed310ee9c
fix(language): cleaned russian 375k (mb6ockatf) (#4997) 2024-02-05 14:16:58 +01:00
anakojm
cf70ec93ec
feat(layout): add ergo‑l (anakojm) (#5001) 2024-02-05 14:13:00 +01:00
Andrey Kuznetsov
a6be3926a6
fix(language): typos in russian 10k (kae) (#4998)
* Update russian_10k.json

- fixed typos
- removed duplicates

* - fixed extra typos

* remove duplicates
2024-02-05 14:12:21 +01:00
Ale-Flash
5a525cbfd0
fix(language): remove non-italian words from italian 7k (Ale-Flash) (#5000)
removed non-Italian words such as crêpe that cannot be written with an Italian keyboard and other nonexisting words
2024-02-05 14:10:37 +01:00
Patel Prince
554d64f742
feat(lang): add gujarati 1k language (prince-patel23) (#4994)
* feat(languages): add Gujarati language support

BREAKING CHANGE: This commit introduces support for the Gujarati language in Monkeytype. Users can now practice typing in Gujarati.

* feat(languages): enable noLazyMode for Gujarati language

This commit adds the "noLazyMode": true property in the Gujarati.json file.

* feat(lang): add gujarati_1k language

Adds support for the gujarati_1k language with approximately 1000 words.

BREAKING CHANGE: None

* feat(lang): add new words to Gujarati_1k language

Adds a batch of new words to the Gujarati language.

* feat(lang):littel bit formating to Gujarati language

* fix(lang): remove duplicate word from Gujarati language

Addresses an issue by removing a duplicate word in the Gujarati language file.

* fix(lang): remove additional duplicate word from Gujarati language

Resolves an issue by eliminating another duplicate word in the Gujarati language file.

* fix(lang): remove one duplicate word from Gujarati language

Resolves an issue by eliminating another duplicate word in the Gujarati language file.

* pretty fix

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-05 13:41:22 +01:00
Miodec
94a4be3f6f refactor: use new functions
my dumbass forgot to save all files
2024-02-05 13:17:50 +01:00
Miodec
68fa0b65a5 test: add langauge string function tests 2024-02-05 13:16:40 +01:00
Miodec
acce544b19 refactor: add util functions for handling language strings 2024-02-05 13:16:05 +01:00
Miodec
7e33b4891e chore: upgrade jest 2024-02-05 13:01:09 +01:00
Miodec
5cea19e299 chore: add todos 2024-02-05 12:37:30 +01:00
Miodec
6fddc7c070 fix: weird behavior when using quote mode with a language that doesnt have a base (200) list 2024-02-05 12:36:39 +01:00
Miodec
1cfce348a1 chore: release v24.5.2 2024-02-02 12:56:10 +01:00
Miodec
b69f057da6 only if not draft 2024-02-01 23:22:19 +01:00
Jack
d9eb4b980d
fix(custom text): saving a book mode test completely breaking saved book mode tests (#4990)
* rename functions

* add set functions

* use new set functions (still need to fix type errors)

* make parameter not optional

* fix type errors
2024-02-01 15:17:13 +01:00
Miodec
1f302c3dd9 chore: quote lengths script 2024-02-01 12:46:24 +01:00
Miodec
a163c81474 fix(quotes): address quote reports 2024-02-01 12:45:54 +01:00
Miodec
74322a5237 chore: release v24.5.1 2024-02-01 11:59:55 +01:00
Jack
8b48347764
refactor: result types (#4980)
* further shared improvements
 - moved more types to shared
 - reworked the way results are typed

THIS COULD CHANGE LOGIC, TEST THIS

* removed comment

* update the way completed event is built on the client

* remove unnecessary property

* comment

* move hash check higher

* remove todo

* fix incorrect type

* updated type
remove field if undefined
2024-02-01 11:54:25 +01:00
Miodec
0920010f5e fix(account page): results being put in the wrong histogram bucket 2024-02-01 11:32:51 +01:00
Miodec
f57bac8071 fix(account page): account activity showing undefined tests completed on hover 2024-01-31 16:13:58 +01:00
Miodec
9e394beb41 fix: keymaps not showing 2024-01-31 13:51:37 +01:00
Jack
0124ee6345
chore: upgrade axios from 0.21.4 to 1.6.4 (#4986)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
- https://snyk.io/vuln/SNYK-JS-AXIOS-6144788

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-01-31 13:05:45 +01:00
Miodec
b8cc17a12b chore: upgrade typescript version 2024-01-31 12:36:13 +01:00
Miodec
e546f7cfdc chore: release v24.5.0 2024-01-31 12:11:16 +01:00
Miodec
48184bbb24 chore: update supporters 2024-01-30 22:51:25 +01:00
Oleksii Zaitsev
217aa4a24e
refactor: quotes types (zaitsev-oleksii) (#4981)
* refactor: quotes types

* refactor: quotes types - void -> null

* refactor: quotes types - removed redundant code
2024-01-30 22:33:53 +01:00
Miodec
1a2e16884c fix(account page): rounding wpm instead of flooring when generating the speed histogram 2024-01-30 21:30:23 +01:00
Patel Prince
476992238d
chore: fix bcp 47 property in gujarati (#4983)
formatting the words , and change the property from "bcp 47": "gu" to "bcp 47": "gu-IN".
2024-01-30 13:44:43 +01:00
duunr
76c9d2db15
feat(layouts): add seht-drai, ints, rollla, wreathy (snypetofpaper) (#4982)
* Add seht-drai, ints, rollla, wreathy

* Fix CTGAP
2024-01-30 13:43:42 +01:00