Commit graph

10194 commits

Author SHA1 Message Date
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
Nivaldinho-jpg 3eb716b295
impr(quotes): added 23 portuguese quotes (nivaldinho-jpg) (#4888)
* Update portuguese.json

Added more quotes

* Update portuguese.json

Removed one quote

* Update portuguese.json

Fixed quote lenght (82 and 83)

* Update portuguese.json

* Update portuguese.json

* Update portuguese.json

Updated quote IDs

* Update portuguese.json

* Update portuguese.json

updated quote ids
2024-01-30 13:42:46 +01:00
Kacper Wyczawski 231a050b82
docs(privacy-policy): Remove incorrect duplicated date (kacperwyczawski) 2024-01-29 17:46:13 +01:00
Jack 0751375ab6
refactor: shared types (miodec) (#4978)
* rework shared types

* revert one small change
2024-01-29 15:53:42 +01:00
Jack ee629db5b5
build: enable noUncheckedIndexedAccess compiler rule (Miodec) (#4958)
* added rule to backend and fixed all the errors

* setup frontend and start fixing some warnings

* more fixes

* fixes

* fixes

* fixes

* more refactoring

* fixes

* pain

* more pain

* ouch

* mooore

* 10 hours later

* ugghhh

* another one

* last element can be undefined duh

* smol one

* absolute typescript gigachad

* moooore fixes

* chart stuff

* almost done

* its... done

* remove console log

* use for of instead
2024-01-29 13:27:36 +01:00
github-actions[bot] b4dcc83b1a
refactor: run prettier (#4974)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-01-29 12:46:32 +01:00
Fynn 3c03478402
feat(quotes): add Kotlin quotes (Fynn-Pritzkau) (#4942)
* added 3 Kotlin quotes

* fixed length of quotes

* Added 5 new quotes

* fixed length of quotes

* Added 3 new quotes to code_kotlin.json

* Corrected length of quotes

---------

Co-authored-by: fynn.pritzkau <fynn.pritzkau@unitechnik.com>
2024-01-29 12:42:23 +01:00
Patel Prince d7a85191d3
feat(languages): add Gujarati (prince-patel23) (#4967)
* 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.
2024-01-29 12:41:02 +01:00
Dlurak b402230a24
feat(language): add code v (Dlurak) (#4957)
* Add the V programming language

* Change from `code_swift` to `code_V`

* Add way more words

All keywords, all types and some built in functions are now included
2024-01-29 12:39:07 +01:00
Miodec b0f365e453 chore: pretty-fix 2024-01-29 12:34:41 +01:00