Commit graph

5927 commits

Author SHA1 Message Date
Miodec
169d6ebfb3 removed keys length check 2022-02-01 21:32:57 +01:00
Miodec
bccc4f24fc added a check to only update the database configuration once 2022-02-01 21:01:24 +01:00
Miodec
325da7b170 added warning about reporting quotes 2022-02-01 20:34:23 +01:00
Miodec
2948fb84a2 quote typo 2022-02-01 20:20:11 +01:00
Miodec
2dcfa38aa6 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-01 20:15:30 +01:00
Miodec
cbdd3ed1c6 updating database configuration if number of keys is not the same 2022-02-01 20:15:27 +01:00
Bruce Berrios
92a503df71
Refactor Quote Endpoints (#2388) by Bruception
* Refactor quotes route

* Add request validation

* removed unnecessary configuration check

* using const

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-01 19:47:41 +01:00
Theo Pearson-Bray
89ca9e5830
Add "civilise" to British English (#2391) by tpb1908
* Add "civilise" and "civilisation" to British English

"civilize" is in 4 quotes
"civilization" is in 24 quotes

* Add "civilized" to British English

Same root as "civilize"
2022-02-01 19:11:36 +01:00
M Usman Abubakr
aefb60a2dc
Added DMG theme (#2392) by Usman-Abubakr 2022-02-01 19:09:56 +01:00
Miodec
4935a6594d using asynchandlerwrapper
removed try catches
2022-02-01 18:42:25 +01:00
Miodec
07a32b63e5 using asynchandlerwrapper
removed try catches
removed old, unused functions
2022-02-01 18:38:48 +01:00
Miodec
cd47dcffab using asynchandlerwrapper
removed try catches
added conffiguration check instead of commenting code out
2022-02-01 18:30:46 +01:00
Miodec
779faf42da using asynchandlerwrapper, removed try catch 2022-02-01 18:26:59 +01:00
Miodec
596673af1d removed unused args 2022-02-01 18:22:31 +01:00
Miodec
96dc1783e5 removed unused code 2022-02-01 18:21:31 +01:00
Miodec
05d3ead9ce ignoring eslint errors if argument begins with _ 2022-02-01 18:13:40 +01:00
Miodec
4167bcffe6 using asynchandlerwrapper, removed try catches
part of #2376
2022-02-01 18:00:33 +01:00
Miodec
cd1ac9743d removed try catches, removed unused functions 2022-02-01 17:56:23 +01:00
Miodec
66b3e012b0 using asynchandlerwrapper in leaderboard routes
part of #2376
2022-02-01 17:53:33 +01:00
Miodec
5bb5715475 pressing tab with quicktab hides leaderboards 2022-02-01 14:22:17 +01:00
Miodec
9ecd6e0147 fixed show all lines not working with big quotes
closes #2390
2022-02-01 13:50:10 +01:00
Miodec
6c31faab0c added package to update a files modified date
this fixes issues where firebase deploy would not upload the file (because gulp doesnt update the modified date)
2022-02-01 13:34:05 +01:00
Miodec
0cc74791fb switched hashing package
now using node-object-hash
added a configuratoin property to enable/disable hashing
part of #2389 and #2250
2022-02-01 13:13:59 +01:00
Miodec
e141225fdc console log to help debugging
logging the result that failed to save to hopefully find what the issue is
should help with #2389 and #2250
2022-02-01 12:43:16 +01:00
Miodec
bd2d82e681 added async handler wrapper to config routes
part of #2376
2022-02-01 00:33:48 +01:00
Miodec
08103327dc fixed issue where base configuratoin would fail to insert into the database 2022-02-01 00:31:04 +01:00
Miodec
7f1e50e3bd fixed logger not defined 2022-02-01 00:08:49 +01:00
Miodec
2588819502 updated funox memory
remembering settings before initialising test
loading memory after funbox was set to none
closes #2325
2022-01-31 23:52:49 +01:00
Jack
66c888de0d
added merch store 2022-01-31 23:29:49 +01:00
Miodec
3ff21797dd replaced try catch with optional operators and return 2022-01-31 23:23:34 +01:00
Miodec
ac68c543b8 fixed uncaught exception 2022-01-31 23:20:26 +01:00
Miodec
5191e7fc1e checking tags when calculating average
closes #2373
2022-01-31 23:14:36 +01:00
Miodec
7e428d93c3 updating pace caret if tag was toggled through the command line 2022-01-31 23:13:56 +01:00
Miodec
8a7b812fe1 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-01-31 23:02:00 +01:00
Miodec
b21dfec158 theme improvements
updated color rainbow
added animatoin to logo
fixed caret animation
rainbow now starts with green
closes #2384
2022-01-31 23:01:57 +01:00
Bruce Berrios
101c227599
Add Dynamic Server Configuration (#2385) by Bruception
* Add no frontend script

* Define context middleware

* Define base configuration schema

* Define configuration DAO

* Setup context middleware and live configuration fetch

* Remove patch configuration method

* Rename files for consistency

* Use plain object check

* Use plain object

* modified base configuration

* renamed config property

* brought back 2 properties

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-31 22:47:58 +01:00
ABHISHEK VALSAN
d29c33ad43
adding malayalam language (#2387) by ABHISHEKVALSAN 2022-01-31 22:24:51 +01:00
Miodec
2b2156614d typo. thanks doki 2022-01-31 19:15:01 +01:00
aNOOBis
7f21f6fb0b
MORE QUOTES!!! (#2382) 2022-01-31 17:38:46 +01:00
iuuang
5c8126477c
changed spanish 200 (#2374)
* 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.

Co-authored-by: Jack <jack@monkeytype.com>
2022-01-31 16:16:46 +01:00
Miodec
272a02b622 npm install 2022-01-31 16:09:19 +01:00
Miodec
68de7cfb89 exact package version 2022-01-31 16:08:15 +01:00
Miodec
1692679951 typo 2022-01-31 15:36:22 +01:00
Miodec
10a5633e25 updating service worker after register
unregistering other service workers
2022-01-31 15:32:39 +01:00
Miodec
8710581f4b awaiting cache delete 2022-01-31 15:31:55 +01:00
Miodec
67cd0d0a20 Revert "moved sw.js to static"
This reverts commit fc3efc20a4.
2022-01-31 15:29:26 +01:00
Miodec
fc3efc20a4 moved sw.js to static 2022-01-31 14:26:19 +01:00
Miodec
5facebe6bb only scrolling vertically 2022-01-31 13:35:58 +01:00
Rizwan Mustafa
644c32237b
Replaced Arabic lookalike characters with Urdu ones (#2381) 2022-01-31 13:09:56 +01:00
Miodec
71eeba4340 no anim if there is a previous callback 2022-01-31 13:09:35 +01:00