Miodec
2d858bece4
stricter schema
2023-06-29 14:05:31 +02:00
Miodec
62ebee77b5
stricter schema
2023-06-29 14:05:31 +02:00
Miodec
1ea9650cce
updated language schema
...
closes #4422
2023-06-29 13:15:55 +02:00
Miodec
10159702ff
opened the tags endpoint to the apekey authentication
2023-06-29 13:11:40 +02:00
Miodec
3d2fc2913a
omitting note
2023-06-28 14:06:02 +02:00
Miodec
73a24af279
admin validation
2023-06-27 17:03:33 +02:00
Miodec
817b4e6805
more strict config schema
2023-06-26 15:23:57 +02:00
Eduardo Guzman-Diaz
cc95aff900
Adding tests for isTagPresetNameValid ( #4402 ) gondolin24
...
* Adding tests for isTagPresetNameValid
* more generic tag names
added more tests
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2023-06-26 13:16:39 +02:00
Miodec
9d6be7a4ea
fixed typo
2023-06-25 21:40:28 +02:00
Miodec
8597037845
added another check to make sure emails match
2023-06-23 16:44:05 +02:00
Miodec
782ac58907
unnecessary catch (we want to be notified if the drop failed as it will cause duplication)
2023-06-21 13:04:59 +02:00
Miodec
e2a51d0080
removed possible false positives
2023-06-19 13:24:24 +02:00
Miodec
756c05da96
fixed start of day timestamp being incorrect
2023-06-16 16:08:05 +02:00
Miodec
ce404ec964
added more tests
2023-06-16 16:06:23 +02:00
Miodec
6e2887c9b1
removed console logs
2023-06-15 20:27:16 +02:00
Miodec
242e017371
allowing change if undefined or null
2023-06-14 23:56:39 +02:00
Xea
850a14c584
split smoothCaret into several modes ( #4374 ) im-0xea
...
* split smoothCaret into several modes
* implemented requested changes of smoothCaret modes
* moved config migration code
* bring back caretFlash animation
* fixed error (weird how the build process didnt catch this)
---------
Co-authored-by: Miodec <jack@monkeytype.com>
Co-authored-by: Niki <n.topel@callassoftware.com>
2023-06-14 13:59:24 +02:00
Miodec
2ff29b1f5a
actually fixed hour offset getting overwritten
2023-06-14 12:25:29 +02:00
Miodec
cb166d2743
fixed everyuser getting houroffset 0 automatically
2023-06-13 23:15:13 +02:00
Miodec
d500e06d9b
pretty fix
2023-06-12 14:47:13 +02:00
Jack
27b1a7fedb
Streak hour offset ( #4357 )
...
* backend flow to set hour offset
* added frontend popup to set streak hour offset
* displaying a message that the user can change offset
displaying the actual offset if its already set
* applying offset when checking streaks
* added tests for the new offset
updated old streak tests
* defaulting to undefined
* removing content if offset is already set
* updated the way offset is displayed
* also updating in the local snapshot
2023-06-12 14:38:44 +02:00
Miodec
cca3f8090d
updated admin limit
2023-06-07 15:15:14 +02:00
Miodec
b2ac4e7197
moved to admin route
2023-06-07 15:00:13 +02:00
Miodec
0107530eae
added toggle banned endpoint
2023-06-07 14:53:53 +02:00
Miodec
45eb1e8a40
added rate limiter
2023-06-07 14:53:33 +02:00
Miodec
5a1070be52
1 email attempt
2023-06-07 09:14:58 +02:00
Miodec
895c6738cb
added test that verified pb funbox check is working
2023-06-05 18:07:00 +02:00
Miodec
985ef5959e
fixed pbs not working with funboxes
2023-06-05 17:46:44 +02:00
Miodec
009c79350b
removed console logs
2023-06-05 17:38:41 +02:00
Miodec
6ff95b0e83
updated funbox structure
...
added frontend properties and functions
updated type
2023-06-05 13:11:39 +02:00
Miodec
2e7179df8e
checking if result funboxes are unique
...
checking if result funboxes are compatible with each other
2023-06-05 13:11:16 +02:00
Miodec
f8f80fbeb0
making sure to only take unique funboxes
2023-06-05 12:27:38 +02:00
Miodec
bcc6445440
stricter result schema
2023-06-05 11:27:32 +02:00
Miodec
f51a64727e
stricted result schema
2023-06-05 11:27:32 +02:00
Evan
0f51c384f6
Force mode2
to always be string ( #4097 ) Ferotiq Miodec
...
* make a util type
* `StringNumber` in `leaderboards.ts`
* fix errors in`pb-tables.ts`
* remove string conversion
* update schemas
* refactor `checkAndUpdatePb`
* use string arrays
* parse the mode2 before comparing
* refactor types
* fallback to empty array
* complete the mode2 string conversion
* missed a few things
* assert
* fix tests
* those were meant to be arrays
* don't supply custom and zen by default
* update interfaces
* add `parseInt`
* rename
* apparently those weren't even needed
* updated type
* added types
* types
* added comment
* added comments, removed triple equals
* another comment and again removed type check
* making sure to include legacy results
* using template strings instead
* using template strings and triple equals
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-24 15:53:37 +02:00
Nis-chal-Jain
7c8f537941
Fixed an typo at the documentation of monkeytype api ( #4306 ) Nis-chal-Jain
2023-05-22 15:05:03 +02:00
Miodec
5d2b07308b
removed console log
2023-05-22 14:32:07 +02:00
Miodec
5ff41ded22
fixed email client not catching sending errors
...
logging errors to the database
2023-05-17 23:51:37 +02:00
Miodec
014e20cf82
setting cached user banned property,
...
not checking again if user is already banned
2023-05-17 13:34:46 +02:00
Miodec
445f61c8a8
better comment
2023-05-17 13:34:46 +02:00
Miodec
82bfc5956e
updated log
2023-05-17 13:34:46 +02:00
Miodec
16b2b11caf
better log
2023-05-17 12:05:48 +02:00
Miodec
f0ec3d36ff
not allowing users to report themselves
...
closes #4269
2023-05-15 13:36:58 +02:00
Miodec
6c9eb9ec3a
deleting inbox on user reset
...
closes #4281
2023-05-15 13:36:57 +02:00
Miodec
219ec63794
turns out date.now uses miliseconds instead of seconds... who knew?
2023-05-09 16:06:47 +02:00
Evan
9408322503
Update PersonalBests
Interface ( #4158 ) Ferotiq
...
* update `PersonalBests` interface
* removed properties
* setting to skeleton if needed
* consistency and add skeleton by default
* consistency
* populate personalBests on user get
* simplification + consistency + small fixes
* protecting against partial object
* removed duplicate
* not optional property
* ensuring personal bests structure while creating user snapshot
* checking pb structure for tags
* missing skeleton
* required personal bests property
* simplify
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-03 11:39:32 +02:00
Bruce Berrios
8ee934c69d
Remove daily lb cache ( #4231 )
...
* Remove daily lb cache
* remove init
* lint
2023-04-30 11:25:18 -04:00
Miodec
02d4fa050f
logging more fields
2023-04-24 12:54:54 +02:00
Miodec
9ff57a773f
fixed tests
2023-04-21 12:05:38 +02:00
Miodec
aecdd21474
allowing users to update the casing of their own name
2023-04-21 11:22:43 +02:00