Commit graph

6982 commits

Author SHA1 Message Date
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
Miodec 6d496fe983 removed problematic characters from ascii temporairly 2022-02-27 00:59:58 +01:00
Miodec b6568cd75b removed any 2022-02-26 23:46:24 +01:00
Miodec bc773700ab removed any 2022-02-26 23:39:55 +01:00
Miodec c6bb3be6b9 removed any 2022-02-26 23:38:07 +01:00
Miodec acc5d147f2 removed any 2022-02-26 23:37:05 +01:00
Miodec d3d8157f83 removed any 2022-02-26 23:36:07 +01:00
Miodec e02f1b14d1 fixed incorrect type 2022-02-26 23:35:53 +01:00
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