Commit graph

6749 commits

Author SHA1 Message Date
Miodec 67e7c44e89 reduced shake displacement 2022-03-09 14:28:43 +01:00
Miodec 395c7b9e57 monkey uses raw if blind mode is enabled 2022-03-09 14:27:50 +01:00
Miodec 46832316d8 updated hyper and animation speed thresholds 2022-03-09 14:27:32 +01:00
Miodec e1027ddc70 only showing monkey during the test
closes #2659
2022-03-09 14:12:53 +01:00
Bruce Berrios 2dba957adc
Add public api docs (#2656) by bruce
* Add public documentation

* typo

* added hard limit on the leaderboards

* ignoring worker when compiling

* added leaderboard routes

* leaderboards accept apekeys

* Fix docs

* Fix

* Specify parse base

* Add ape rate limiter

* added documentation link

* updated message

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-09 13:02:37 +01:00
Rasmit Devkota 4ebfd98c2c
Added Hindi INSCRIPT Keyboard Layout (#2661) by DrAlienTech
* Added Hindi INSCRIPT Keyboard Layout

* fixed maximum length <= 2 error for Hindi INSCRIPT
2022-03-09 12:51:54 +01:00
Bruce Berrios 79a6cb86ed
Migrate presets to TS (#2662) by bruce 2022-03-09 12:51:20 +01:00
Miodec ef69178abf fixed quote id 2022-03-09 01:31:03 +01:00
Miodec cfbecff59c added mr robot quote 2022-03-08 23:25:51 +01:00
Rizwan Mustafa d5f7e3890c
Remove deprecated frontend (#2658)
* Remove deprecated click calls

* Remove deprecated focus calls

* Remove deprecated keypress event

* Remove deprecated keyCode

* Remove .keydown depracated frontend
2022-03-08 08:01:11 -06:00
Bruce Berrios 9dfb352a40
Update ape keys data model (#2655) by bruce
* Update ape keys data model

* Add use count

* Add safer check
2022-03-08 00:41:04 +01:00
Bruce Berrios 61ebf2cc39
Add error handling for bad requests (#2654) by bruce
* Add error handling for bad requests

* Fix status code

* Update

* Tidy status codes
2022-03-07 22:16:42 +01:00
Bruce Berrios f4bfb938b2
Consolidate personal bests endpoints (#2653) 2022-03-07 11:25:12 -05:00
Bruce Berrios 3240abc22e
Enable strict null checks in backend (#2639)
* Enable strict null checks in backend

* Fix

* Use non-null assertion

* Add none
2022-03-07 11:10:07 -05:00
Bruce Berrios ff0ee93fe4
Fix tokenizer (#2652) 2022-03-07 15:32:59 +01:00
Miodec 244b35e071 removed jquery cookie 2022-03-07 15:10:31 +01:00
Miodec f144a03336 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-03-07 14:39:14 +01:00
Miodec 0ff1d347a6 fixed ignore 2022-03-07 14:39:09 +01:00
Miodec 44c75552ad renamed 2022-03-07 14:37:53 +01:00
Miodec 88d1529706 added worker to ignore 2022-03-07 14:36:55 +01:00
Miodec d0d1ec10d3 typo 2022-03-07 14:24:04 +01:00
Bruce Berrios 538fb9d385
Improve quote search experience (#2644) by Bruception
* Initial

* Improve

* Fix comment

* Add stemming and idf

* Remove normalization

* Move idf calc outside
2022-03-07 14:17:15 +01:00
Evan 1622f37efd
Add Custom Text Storage (#2648) by Fero
* Add custom text

* changed function return type

* added popups for saving and deleting saved texts

* moved saved texts to their own file
logic changes
styling changes

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-07 14:16:00 +01:00
Ashkan Arabi 965482959d
Added 1k and 5k to Persian (#2650) by AshkanArabim
* Added 1k and 5k to Persian

* Update persian_1k.json

* Update persian_5k.json
2022-03-07 14:14:32 +01:00
Abinawan Bhattarai d914de9ebe
Updated Nepali Language and Added Nepali Quotes. (#2651) by Abinawan
* Create nepali.json

* Update _groups.json

* Update _list.json

* Update _groups.json

* Update _list.json

* Update nepali.json

* Update nepali.json

* Updated nepali.json

[-] Removed some words that had similar meaning but was different due to Nepali language having different word for different kind of people (Elder, Younger, Friends, Parents, etc).
[-] Removed some letters from words which had no meaning while typing in single word like हाम्रोमा(in ours) and हाम्रो(ours), word मा is removed.
[+] Words are arranged in alphabetical order to make easier incase someone wants to check either there is grammatical error.

* Create nepali_1k.json

* Update _list.json

* Update _groups.json

* Create nepali.json

* Update nepali.json

* Update nepali.json

* Update nepali.json

* Update nepali.json
2022-03-07 14:14:09 +01:00
Miodec 3521008928 no need to modify local keys - they are redownloaded every time the popup is shown 2022-03-06 23:44:32 +01:00
Miodec bd0c2b9026 not storing ape keys in snapshot,
redownloading when opening the ape keys popup to get latest dates
2022-03-06 23:42:22 +01:00
Miodec 8049cb661d hiding ape keys for now 2022-03-06 18:37:02 +01:00
Miodec f8cc82cd23 always rounding to 2 after calculations are done 2022-03-06 18:36:25 +01:00
Miodec 8af10af599 added enpoints for getting personal bests 2022-03-06 18:33:36 +01:00
Miodec 83c1e8adf5 added rate limiting for ape key endpoints 2022-03-06 18:33:20 +01:00
Miodec 08d7ded235 changed error code 2022-03-06 18:13:58 +01:00
Miodec 16a982e71e added decoded token types 2022-03-06 17:16:33 +01:00
Jack f221326f47
Added Ape Keys Popup (#2642)
* added disabled field to simple popup input

* inverted disabled logic

* fixed initial value completely not working in simple popups

* loading ape keys into the snapshot

* added type for ape keys

* only vertical resize for textareas

* added before init function
added can close parameter
correclty handling textearas

* storing active popup in a variable

* fixed click handler

* hiding text element if string is empty

* updated ape keys types

* added click handler to open ape keys popup

* added simple poopups for generating, editing and deleting ape keys

* added ape keys popup

* updated ape key type

* ape keys is optional

* not getting ape keys by default

* added function to get ape keys

* refactor

* using last used on property
2022-03-06 09:34:48 -06:00
Miodec 134389515c difficulty change clears active challenge 2022-03-06 15:34:19 +01:00
Bruce Berrios 5ae8ff0759
Remove quote languages check (#2645) 2022-03-06 13:33:53 +01:00
Bruce Berrios 7d19f54828
Add last used on logic (#2643)
* Add last used on logic

* Remove lodash
2022-03-05 21:25:30 -05:00
Bruce Berrios 6645c2d4bd
Fix (#2641) 2022-03-06 02:09:06 +01:00
Sagittarius 97f6a4ff8e
New Quotes German (#2640)
* New Quotes German

* Update german.json

* Update german.json

* Update german.json

* Update german.json

* Update german.json

* Update german.json
2022-03-05 16:19:44 -05:00
Bruce Berrios 5aa6fd7621
Remove mongo types (#2637) 2022-03-04 19:20:40 -06:00
Bruce Berrios f479e87c16
Remove artifact (#2636) 2022-03-04 19:10:46 -06:00
Bruce Berrios 1df8388e2d
Migrate utils pb to ts (#2631)
* Migrate utils pb to ts

* Fix

* Move to separate function
2022-03-04 23:24:10 +01:00
gimmerain4days 41b8148c4a
Remove potentially offensive words, capitalization (#2632) by gimmerain4days 2022-03-04 23:06:22 +01:00
Bruce Berrios 3566992e45
Migrate some DAO to ts (#2633)
* Migrate some DAO to ts

* Oops

* Added constant name
2022-03-04 22:50:15 +01:00
Miodec 3de06f4e41 added thicc quote 2022-03-04 20:51:24 +01:00
Miodec 1c2c5991d3 missing await
sign out on catch
2022-03-04 19:21:06 +01:00
Miodec bef07017b9 length fixes 2022-03-04 18:58:01 +01:00
Miodec 300b03f5ea length fixes, removed short quote 2022-03-04 18:53:45 +01:00
Miodec 02843541d7 removed quote 2022-03-04 18:48:12 +01:00
Miodec b70be5f01f typo 2022-03-04 18:47:46 +01:00