Commit graph

10276 commits

Author SHA1 Message Date
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
dirk-hub 4fb519d88b
fix(docker-compose): use the user "node" for the frontend container (dirk-hub) (#4963)
Co-authored-by: dirk <dirk.gitlab@gmx.de>
2024-01-29 12:29:19 +01:00
Christian Fehmer 774057d262
chore: configure vscode-jest extension (#4962) 2024-01-24 20:44:43 +01:00
Christian Fehmer 9007039ac3
chore: errors shown in frontend tests in vscode (fehmer) (#4961) 2024-01-24 20:40:37 +01:00
Miodec 608f4a2283 chore: improve bulid changelog script 2024-01-24 13:44:30 +01:00
Miodec 2c7bfea1e4 chore: release v24.4.1 2024-01-24 13:13:39 +01:00
Miodec f099ccfe3b fix: email enumeration vulnerability 2024-01-24 13:09:45 +01:00
Eduard Stefanescu 0413c426d9
feat(quote): add more romanian quotes (StefanescuEduard) (#4960) 2024-01-24 12:47:29 +01:00
Derrick 1d6d910006
impr(quotes): add 5 Korean quotes (drrckchng) (#4959) 2024-01-24 12:43:22 +01:00
Ikaro Felix bc49354740
impr(quotes): add Portuguese quotes (ikarofelix) (#4956) 2024-01-24 12:39:28 +01:00
Miodec 3a5006a605 chore: release v24.4.0 2024-01-22 15:10:02 +01:00
Miodec 6ef1d165fd chore: fix tests being broken because of the new lint rules 2024-01-22 15:07:00 +01:00
Miodec 487d0feacc impr(typing): remember lazy mode choice when typing arabic in local storage
closes #4948
2024-01-22 15:03:42 +01:00
Dmitry 62c23e78b7
feat(quotes): add belarusian lacinka quotes (Dmskrzh) (#4938)
* Added "belarusian_laticnka.json"

* Update belarusian_lacinka.json

Changed "belarusian" to "belarusian_lacinka"
2024-01-22 21:46:16 +08:00
Eduard Stefanescu 32d1c13408
feat(language): add more romanian word lists (StefanescuEduard) (#4950)
Replace unused romanian double quotes with nornal quotes
2024-01-22 21:35:09 +08:00
Miodec 6886740201 chore: update template 2024-01-22 14:33:55 +01:00
Christian Fehmer 56ab68a383
fix(theme): dark note not replacing words with dots in some highlight modes (fehmer) (#4951) 2024-01-22 21:32:03 +08:00
github-actions[bot] 8ce99c935a
refactor: run prettier (#4949)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-01-22 21:29:57 +08:00
Nad Alaba c16eb6d9c1
fix(quotes): fix grammatical and spelling errors of arabic quotes (#4947) 2024-01-22 21:29:41 +08:00