Commit graph

10223 commits

Author SHA1 Message Date
Miodec 46d17d4139 chore: testing frontend before release 2024-02-08 13:51:02 +01:00
Miodec aa011b6b99 build: include all shared types files instead of just one 2024-02-08 13:49:11 +01:00
Absalon43 78bb715885
feat(sounds): add fist fight and rubber keys (Absalon43) (#4984)
* Add files via upload

* feat: add support for fist fight and plastic toy sounds

* feat: add support for fist fight and plastic toy sounds

* chore: remove extra semicolon

* feat: less busy punch sound

* feat: add punch misses as error sound

* fix: update punch sounds and make them less aggresive

* fix: Change name of plastic toy to rubber keys

---------

Co-authored-by: arthur-d42 <64164367+arthur-d42@users.noreply.github.com>
Co-authored-by: arthur-d42 <arthurdiness@gmail.com>
2024-02-08 12:01:18 +01:00
Andrew Guo 2642e139cf
fix(popups): ape key popup close button not working (andGuo) (#5020) 2024-02-08 11:53:56 +01:00
penguin-teal 388f2e21f7
impr(quotes): add Code C quotes (penguin-teal) (#5015) 2024-02-08 11:44:30 +01:00
Miodec 315b7f70bb refactor(types): server configuration types
add types to ape client (#4786)
2024-02-07 23:45:48 +01:00
Miodec 15af21cbf3 refactor(types): update namespace naming 2024-02-07 23:32:05 +01:00
Miodec 4f5f28a92d refactor(types): ape keys types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 23:13:10 +01:00
Miodec efb972a659 refactor(types): public types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 22:29:16 +01:00
Miodec 65120db1f0 refactor(types): PSA types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 19:06:06 +01:00
Jack f456e1e615
refactor: enable no-floating-promises rule (#5007)
* enable rule

* backend

* fixes

* more fixes

* mooore fixes

* fixes

* fixed double void

* change some voids to await

* await -> void

* remvoe void

* missing return

* awaiting config update
2024-02-07 18:49:12 +01:00
Miodec 6e929c7f8d refactor: pretty fix 2024-02-07 17:46:47 +01:00
Miodec 3233de860d fix: resolve circular dependency by moving new function to a utils file 2024-02-07 17:20:38 +01:00
Miodec 1ee058882f impr(types): add frontend config API response types
part of #4786
2024-02-07 17:13:04 +01:00
Miodec c65b13e8aa chore: using new function from the previous commit 2024-02-07 17:10:18 +01:00
Miodec 4bbe321dfe impr: add function to merge partial config onto default config 2024-02-07 17:09:02 +01:00
Christian Fehmer 848e851973
test: fix typescript setup in tests (#5014) 2024-02-07 16:32:48 +01:00
Christian Fehmer 9d7e5b1ddb
test: add jquery and mocks to frontend tests (#5013) 2024-02-07 16:11:07 +01:00
Miodec c57992343c refactor: update type name, make it dynamically generated 2024-02-07 13:50:45 +01:00
Christian Fehmer 97e2baa915
refactor: import jquery and jquery plugins using webpack (fehmer) (#4880)
* refactor: import jquery and jquery plugins using webpack

* move select import to index

* moved imports to the top

* unnecessary types

* ignoring requires in this file

* importing html2cavnas as needed instead of globally

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-07 13:12:12 +01:00
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