Commit graph

6496 commits

Author SHA1 Message Date
Miodec 8a5fbc4751 removed any 2022-02-26 23:31:38 +01:00
Miodec ea3df47046 removed any 2022-02-26 23:29:10 +01:00
Miodec 5f18424eed removed some any types, made config event more strict 2022-02-26 23:26:18 +01:00
Miodec 8ef55423d7 removed another any 2022-02-26 23:11:59 +01:00
Miodec 0c85df8791 removed some 'any' types 2022-02-26 23:09:36 +01:00
Miodec 0390fa8319 converted to ts 2022-02-26 22:59:22 +01:00
Miodec 160f2b830f converted to ts 2022-02-26 22:54:16 +01:00
Ferotiq fbea553fbf
Some Config Validation Fixes (#2558) by Ferotiq
* config validation fix

* isConfigValueValid doesn't need to be async, can just return promise

* split isConfigValueValid into a sync and an async function

* Hopefully change layoutfluid message

* fix

* fix again

* Update config.ts

* fix

* fix message thing and add validity enum

* fixed custom theme not changing

* Lots of changes

* renamed to config-validation

* added possible type async

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-26 22:12:03 +01:00
Miodec 0d6b58d56e fixed presets stopping the commandline from showing when user is not logged in 2022-02-26 12:57:40 +01:00
Miodec ce505c9b8a completely fixed result saving for new users 2022-02-26 00:53:28 +01:00
Miodec 8476a7c594 fixed wikipedia not adding words correctly
closes #2566
2022-02-25 20:38:54 +01:00
Miodec 9579b818f6 removed some words
closes #2565
2022-02-25 20:13:14 +01:00
Miodec 1dfe082620 also hiding footer 2022-02-25 20:09:24 +01:00
Miodec 3c3b6f2091 bigger close button on the banners 2022-02-25 20:06:43 +01:00
Bruce Berrios 6b1e9efe73
Fix quote ratings (#2586) by Bruception
* Fix quote ratings

* Reorder logic

* Update message

* Fix consistency
2022-02-25 19:22:44 +01:00
Bruce Berrios 4daf76e7d9
Migrate config client to ts (#2588) by Bruception 2022-02-25 19:20:38 +01:00
Miodec 75dc3bc973 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-25 19:03:53 +01:00
Miodec 3d7692c560 fixed new user check 2022-02-25 19:03:48 +01:00
Stiaan Nel fa2e83c03f
add language afrikaans (#2587)
* added afrikaans

* added afrikaans_1k

* added afrikaans_10k

* include afrikaans in _groups.json

* fix typo

* resolved comment
2022-02-25 01:07:52 +01:00
Miodec 32f1954176 switched delete calls around 2022-02-25 00:33:58 +01:00
Miodec 0718fd58bd Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-24 13:15:25 +01:00
iuuang 5d5492fc15
Added code_matlab (#2583) by iuuang
* Update spanish_10k.json

changed "not words", bad words and historical figures.

* Update spanish_1k.json

removed not full words and fixed capitalization.

* Update spanish_10k.json

* removed "non-words"

* Changes to Spanish 1k

fine, I'll stop including ü

* Update spanish_1k.json

* fixed capitalization of some words, removed surnames from controversial people

* updated spanish 200

removed some double words and some not common ones.

* updated spanish lists

second attempt.

* Create code_matlab.json

I dont know a whole lot but Im probably going to exand this as my knowledge expands too.

* Actually make the language show up

* remove caps

Co-authored-by: Jack <jack@monkeytype.com>
Co-authored-by: Ferotiq <evanrayweigel@outlook.com>
2022-02-24 13:15:09 +01:00
Bruce Berrios 8b23cdd7dc
Migrate some controller files (#2584)
* Migrate some controller files

* Rename variable
2022-02-24 13:14:33 +01:00
Bot_Manemj 3b53eba99d
Update french_10k.json (#2585) by TTamisier
Removed all duplicates and some swear words
2022-02-24 13:11:33 +01:00
Miodec 1eda09ea39 rounding time on the account 2022-02-24 12:39:20 +01:00
Miodec 4be9a686c4 fixed account document not being deleted 2022-02-24 12:33:54 +01:00
Miodec b2386e04aa defaulting to false 2022-02-24 12:20:53 +01:00
Bruce Berrios 7a1596d562
Migrate routes (#2582) 2022-02-23 22:44:49 -06:00
Bruce Berrios 8c5b88ef5d
Migrate files to ts (#2581) 2022-02-23 22:17:17 -06:00
Ferotiq 8620b45ea7
fix some backend errors (#2580) 2022-02-23 21:54:38 -06:00
gimmerain4days 9d522d0c37
English 25k - Replace British Spellings (#2578) by gimmerain4days 2022-02-24 00:28:33 +01:00
Octahedron 78279cefae
Fixed octa8 semicolon/colon (#2579)
some silly goofball accidentally put the layout data incorrectly haha
2022-02-23 14:46:55 -06:00
Bruce Berrios 8dbf0966d1
Upgrade mongo library to 4.x.x (#2576) 2022-02-23 14:23:54 -05:00
Miodec efea8afab2 logging database name 2022-02-23 18:40:14 +01:00
Charles Ancheta 65654624a6
Remove some @ts-ignores in frontend scripts (#2575)
* Remove some `@ts-ignores` in frontend scripts

- Create interfaces for `String` prototype and the `global` object
- Create type for errors in catch blocks
- Create partial type for Firebase user object
- Fix function signature of `objectToQueryString`
- Use strict equality on string comparisons

* Use Firebase types instead of partial types

* Revert "Use Firebase types instead of partial types"

This reverts commit 9d239205c7.

* Use Firebase types instead of partial types

* Move Global type to MonkeyTypes

- Also remove duplicate `TimeStats` type

* Create global alias instead of typecasting
2022-02-23 10:18:06 -05:00
Bruce Berrios 1ba7a76b86
Migrate middlewares to TypeScript (#2574)
* Migrate middlewares

* Update workflow

* Fix ignore

* Fix

* Fix

* Remove babel loader from root dependencies

* Remove mongoDb
2022-02-23 10:03:38 -05:00
Miodec 124e842115 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-23 13:45:52 +01:00
Samar Mohan cc5eca2740
display 0 if the time typing is NaN. (#2571) 2022-02-23 13:35:09 +01:00
Miodec 6f67db0788 fixed page not changing to account after sign up
closes #2568
2022-02-23 13:29:57 +01:00
Miodec c71baadc9b commented out worker file to avoid it producing errors and warnings 2022-02-23 13:24:53 +01:00
Miodec 34e1255cf9 fixed sticky banners media query not removing right icon 2022-02-23 13:19:19 +01:00
Miodec a18fbc6a5f Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-23 13:07:25 +01:00
Miodec f00bc98db8 moved database down message to the top of the if stack 2022-02-23 13:07:18 +01:00
Ferotiq b99a979370
remove run-script-os and change the script back (#2573) 2022-02-23 01:07:48 +01:00
Ferotiq bf281d9ba7
Update english.json (#2572) 2022-02-23 00:50:53 +01:00
Jack e57d864e9c
Update bug_report.yaml 2022-02-23 00:20:22 +01:00
Miodec ad250d7f5c Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-22 23:39:25 +01:00
Miodec 80f822c76a removed unnecessary types 2022-02-22 23:39:21 +01:00
Bruce Berrios 61f16584c9
Action anti cheat step (#2570)
* Add anti-cheat check

* Add anti-cheat step

* Test

* Revert

* .

* Fix
2022-02-22 23:02:37 +01:00
Miodec 91657fd53f reenabled helmet 2022-02-22 23:00:27 +01:00