Commit graph

5910 commits

Author SHA1 Message Date
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
Miodec
db4174c29a moved logging to controller 2022-01-31 13:05:14 +01:00
Miodec
90660a6858 logging reports 2022-01-31 13:03:59 +01:00
Miodec
ed4f109c56 increased report limits 2022-01-31 13:01:50 +01:00
Miodec
d45589354e renamed rate quote popup to quote rate popup to stay consistent 2022-01-31 12:55:01 +01:00
Rizwan Mustafa
e5ce6014b2
Added Urdu 5k & Added font for languages with Arabic script e.g Arabic, Persian and Urdu. (#2378) by rizwanmustafa
* Fixed typo

* Added Noto Naskh Arabic font for languages with Arabic script

* Added Urdu 5k
2022-01-31 12:43:42 +01:00
aNOOBis
fd778d0669
2 new quotes (#2379) by aNOOBisTheGod 2022-01-31 12:42:21 +01:00
Miodec
be5ee252a9 storing float, displaying with tofixed
fixed uncaught exceptions
2022-01-31 02:00:07 +01:00
Miodec
d1c5b7fdb7 removed unused code 2022-01-31 00:55:04 +01:00
Bruce Berrios
974e50ec48
Add quote reporting feature (#2372) by Bruception
* Add initial quote reporting logic

* Remove report status

* Add initial frontend

* Add submit logic

* Add report quote button to rating popup

* Refactor quoteId argument

* Remove console log

* Add captcha to request validation schema

* Use captcha id for value and reset

* Update report data schema

* Hide report popup on complete

* quote search styling update

* updated report quote styling

* tofixed

* tofixed

* moved report button to the result screen
styling changes

* resetting captcha after hiding to avoid ugly animation

* select2 styling update

* lowercase

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-31 00:53:56 +01:00
Miodec
776b0290ec Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-01-30 15:47:48 +01:00
Miodec
ae5d8573b3 quote ratings changes
setting to empty object when no ratings found
better handling of edge cases, should fix getting undefined / NaN
fixed console error when no rating was found
2022-01-30 15:47:45 +01:00
Miodec
14e381a01e defaulting to empty string if undefined 2022-01-30 15:45:06 +01:00
Jack
96c06e99c7
updated support 2022-01-30 14:23:51 +01:00
Miodec
2da53fb233 removed quote 2022-01-30 13:51:08 +01:00
Miodec
ccd61c5b20 using optionals to avoid exceptions 2022-01-30 00:08:53 +01:00
glowy
b6cbabcaa5
Added GMK Fleuriste theme (#2366) by batsoup804
* created fleuriste.css

* updated colors

* updated menu children

* updated list with GMK fleuriste

* updated typo error

* updated caret color

* updated gibberish

afhhajsfhr nvruarnt anrutanf. afhruarnt tuenksdj jiseirnt!

* reverted funbox info change

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-29 22:06:36 +01:00
Miodec
28b59945ee Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-01-29 22:03:37 +01:00