Commit graph

6553 commits

Author SHA1 Message Date
Miodec d098d3a2d8 if input is empty calculating burst from last input
closes #2611
2022-03-02 13:39:48 +01:00
Miodec acc85ce7b8 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-03-02 02:32:45 +01:00
Jack 226de70e36
Added monkey status codes (#2613)
* test code

* added some monkey status codes

* adding status message to response

* added more codes

* using all new codes
2022-03-02 02:14:32 +01:00
Miodec 8e7e7f968a rounding key data to 2
cloud help with #2433
2022-03-02 01:53:52 +01:00
Bruce Berrios d792844473
Add ape key authentication (#2610)
* Add ape key authentication

* Move ape key config to server config

* Remove full stops

* Fix
2022-03-01 17:43:22 -05:00
Bruce Berrios 9d7443903a
Add ape keys API to ape client (#2612) 2022-03-01 17:05:35 -05:00
Miodec 8279d3b749 only showing sign out button if account page is active
closes #2608
2022-03-01 19:29:39 +01:00
Miodec b0eaa580f6 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-03-01 18:44:19 +01:00
Miodec 2735673d95 calculating burst based on input length, not word 2022-03-01 18:44:12 +01:00
Miodec 7c21991cd9 failing test earlier 2022-03-01 18:41:17 +01:00
Bruce Berrios 3017f8808d
Fix errors (#2609) 2022-03-01 17:21:06 +01:00
Bruce Berrios 2f70d1ab8a
Add ApeKeys CRUD (#2606)
* Add ApeKeys CRUD

* Fix

* Omit ape key data

* Encode id + key
2022-03-01 11:11:01 -05:00
Miodec db601bdc10 fixed pseudolang not working 2022-03-01 13:29:36 +01:00
Miodec 142f091741 fully resetting config 2022-03-01 12:35:38 +01:00
zeval fea83b38c2
Simple coherence fix in theme randomizing settings (#2607)
* Simple coherence fix in theme randomizing settings

* Fix spelling consistency

Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
2022-02-28 18:59:48 -06:00
Miodec 5adb03a360 updated result schema once more 2022-03-01 00:33:32 +01:00
Miodec 55f60d0788 updated result custom text schema 2022-03-01 00:30:27 +01:00
Miodec c448769401 temporary/initial solution to seeing response message in swagger stats 2022-02-28 22:58:28 +01:00
Miodec 3306b4f695 actually fixed quote length this time 2022-02-28 22:44:42 +01:00
Miodec f91c749c18 fixed incorrect keyconsistency calculation 2022-02-28 22:30:57 +01:00
Miodec cb215ef521 removed unnecessary console log 2022-02-28 21:30:59 +01:00
Miodec 0b7ad942a4 fixed quote length all not working 2022-02-28 21:30:29 +01:00
Miodec 258fd433b5 added user routes
part of #2605
2022-02-28 21:17:37 +01:00
Miodec 97d87554e4 increased apdex threshold 2022-02-28 20:24:06 +01:00
Miodec 6d58497422 added temporary route to notify users of outdated website 2022-02-28 20:14:20 +01:00
Jack c91dd52f88
Partial config save (#2604)
* saving key by key instead to support partial config

* using new savefullconfig funciton

* moved default config to its own file

* using full config update function

* merging potentially partial config from the db with default config

* added partial saving
moved default config to another file

* refactored with lodash

* removed unnecessary json parse

* changed parameter types
2022-02-28 19:53:55 +01:00
Miodec 2c05a1ccc1 added basic swagger spec
part of #2605
2022-02-28 19:53:07 +01:00
Miodec af94af3667 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-28 16:42:48 +01:00
Bruce Berrios 999e8636e1
Remove pii (#2602)
* Remove JWT tokens and ip addresses from records

* Use save exact

* Fix

* Fix

* Rename

* Downgrade status code

* Check if dev

* Make server stats still accessible in maintenance

Co-authored-by: Jack <jack@monkeytype.com>
2022-02-28 15:13:59 +01:00
Miodec 256e674256 moved config values to global types 2022-02-28 12:53:38 +01:00
Miodec 053ca05d00 removed duplicate validation 2022-02-28 12:44:46 +01:00
Bruce Berrios 182d0b6b22
Add ape keys routing and configuration (#2599)
* Add ape keys routing and configuration

* Fix

* Add 404 route
2022-02-28 12:37:05 +01:00
Miodec d958b2b48a we good 2022-02-28 00:49:11 +01:00
Miodec b0c2e3e024 added prom client 2022-02-28 00:39:44 +01:00
Miodec e3840d63c9 PICNIC 2022-02-28 00:21:35 +01:00
Miodec 962eeeec45 back to testing 2022-02-28 00:14:07 +01:00
Miodec c71c8a3054 PICNIC 2022-02-28 00:10:46 +01:00
Miodec c3b517cf10 added stats package 2022-02-28 00:06:12 +01:00
Evan 637b199c49
Add test-logic.ts (#2601)
* Add test-logic.ts

* add quote search functionality back

* things
2022-02-27 23:22:50 +01:00
Miodec 13bf690d44 fixed psa exception 2022-02-27 20:13:58 +01:00
Miodec dd4d5551de fixed wpm acc and burst flashing for new users 2022-02-27 20:11:01 +01:00
Miodec 35dd8d7766 sending nosave param 2022-02-27 20:09:05 +01:00
Evan fdabc4325a
TypeScript FrontEnd: Add Test Files (#2540)
* add funbox.ts

* add layout-emulator.ts

* add manual-restart-tracker.ts

* add monkey.ts

* add out-of-focus.ts

* add pace-caret.ts

* add pb-crown.ts

* add poetry.ts

* add practise-words.ts

* add replay.ts

* add test-timer.ts

* add timer-progress.ts

* add today-tracker.ts

* add tts.ts

* add weak-spot.ts and wordset.ts

* add wikipedia.ts

* fixes

* add shift-tracker.ts; please help me

* add result.ts

* add test-ui.ts

* add what I got

* Revert "add what I got"

This reverts commit 6c6b3d8b4b.

* fix

* merge or something
2022-02-27 19:04:03 +01:00
Miodec fdc392dc01 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-02-27 18:40:35 +01:00
Miodec 46640e1408 optional 2022-02-27 18:40:29 +01:00
Bruce Berrios bbc8c837df
Move quote moderation logic to quotes (#2590)
* Move quote moderation logic to quotes

* Add note

* Fix issue
2022-02-27 18:37:51 +01:00
Evan 39b13804da
Update shift-tracker.js (#2597)
* Update shift-tracker.js

* Update shift-tracker.js
2022-02-27 18:36:02 +01:00
Ferotiq 01fedf40ee
dynamic keymap layout style fix (#2594) 2022-02-26 20:02:16 -06:00
Ferotiq be8fcdbe3e
GOOD JOB MIO (#2593) 2022-02-26 19:33:52 -06:00
Ferotiq 34ac755630
Add dynamic keymap legend style (#2592) by Ferotiq
* Add dynamic keymap legend style

* Speed

* make it work with all layouts

* Fix bug

* Update layout-emulator.js

* Update layout-emulator.js

* mac fix

* we didn't need layout state

* make quote show up

* remove some

* Rename

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-27 01:11:52 +01:00