Miodec
9881800175
fixed config schema
2023-06-29 14:21:26 +02:00
Miodec
df3e1d7df4
captcha schema
2023-06-29 14:20:55 +02:00
Miodec
d4c9fb4874
fixed captcha schema
2023-06-29 14:17:29 +02:00
Miodec
e375dee6fe
better schema
2023-06-29 14:05:31 +02:00
Miodec
08a96e634a
moved content limit check to the DAL
2023-06-29 14:05:31 +02:00
Miodec
7a9eb30cef
added content limit for tags
2023-06-29 14:05:31 +02:00
Miodec
ca38437153
stricter validation
2023-06-29 14:05:31 +02:00
Miodec
21eeae095e
stricter schema
2023-06-29 14:05:31 +02:00
Miodec
92a50a6cb7
stricter schema
2023-06-29 14:05:31 +02:00
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
Miodec
017ca95236
passing previous name as function parameter to avoid requesting the user multiple times
2023-04-21 10:44:40 +02:00
Miodec
7d4e1ffc03
moved last name change check to the controller
2023-04-21 10:43:32 +02:00
Miodec
ad664812be
missing styles in the config validation
2023-04-21 10:11:13 +02:00
Miodec
c12852eef2
updated bullmq
2023-04-20 13:27:41 +02:00
Miodec
5fbc14c73c
cron version bump
2023-04-20 13:13:08 +02:00
Miodec
2d8a4a7651
update firebase admin
2023-04-20 13:08:53 +02:00
Miodec
cc59b346fc
looking fo the service account key in the src folder
2023-04-18 16:19:46 +02:00
Miodec
c6d0070dd3
moved firebase admin into its own module
...
not initialising if ther eis no service account
this allows the backend server to be ran without firebase (all though it will throw errors)
closes #4190
2023-04-18 15:50:54 +02:00
Miodec
942df911bd
fixed server boot errors not displayed correctly
2023-04-18 15:50:54 +02:00
Miodec
dcbf5e0333
Merge branch 'newads'
2023-04-18 12:44:55 +02:00
Miodec
e6cbdfd6c0
not including users who have opted out
2023-04-18 11:28:00 +02:00
Miodec
f053ca2c96
stopped ab test, removed ab test tracking code
2023-04-17 16:47:39 +02:00
Miodec
d96eea2bca
Merge branch 'master' into newads
2023-04-12 16:26:59 +02:00
Miodec
26a876938e
i am stupid
2023-04-12 16:26:45 +02:00
Miodec
73c84b43c3
Merge branch 'master' into newads
2023-04-12 00:03:00 +02:00
Miodec
c36664c00c
passing lboptout into validation
2023-04-12 00:01:31 +02:00
Miodec
f29db00949
added catch, disabled cache for send verification email
2023-04-11 23:24:14 +02:00
Miodec
4262144c85
Merge branch 'master' into newads
2023-04-06 01:40:35 +02:00
Miodec
eedb92d77f
sending chartotal to the backend
2023-04-06 01:39:44 +02:00
Miodec
09bb9d5687
Merge branch 'master' into newads
2023-04-05 18:29:20 +02:00
Miodec
1a47ca9b00
added start to first
2023-04-05 18:27:17 +02:00
Miodec
5cfc79f578
deleting new properties
2023-04-05 18:26:46 +02:00
Miodec
9902f983a1
Merge branch 'master' into newads
2023-04-05 13:37:00 +02:00
Miodec
9a5ea07ca0
logging ua
2023-04-05 13:36:50 +02:00
Miodec
70bf4d7d3c
Merge branch 'master' into newads
2023-04-05 10:41:29 +02:00
Miodec
8f0f63182e
logging version
2023-04-05 10:41:01 +02:00
Miodec
dc14aa9e41
Merge branch 'master' into newads
2023-04-04 18:57:12 +02:00
Miodec
1d3501ce94
reworked the way key spacing is recorded
...
added lastKeyToEnd (time between last keypress and test end)
2023-04-03 19:27:15 +02:00
Miodec
252139178e
updated error message
2023-04-03 19:25:13 +02:00
Miodec
486c2d0632
using new duration calculation
...
added keyoverlap
2023-04-03 14:57:59 +02:00
Miodec
8e7f966fc7
added min value
2023-04-03 14:52:54 +02:00
Miodec
1205b5cfd4
moved key stats up,
...
moved hash check down
2023-04-03 14:52:34 +02:00
Miodec
9f99e1ee37
added todo
2023-04-03 14:51:51 +02:00
Miodec
13fff606d0
array type
2023-04-03 13:22:25 +02:00
Miodec
77092a508e
Merge branch 'master' into newads
2023-03-27 15:18:55 +02:00
Miodec
18f27c26db
added admin endpoints configuration
2023-03-27 15:12:33 +02:00
Miodec
f90a8f6e02
inverted property logic
2023-03-27 13:42:13 +02:00
Miodec
ecd97ebc51
Merge branch 'master' into newads
2023-03-24 14:15:20 +01:00
Jack
317f5b23ba
Admin auth ( #4101 )
...
* added admin auth
* always decoding token
2023-03-24 12:17:27 +01:00
Miodec
b1443a1170
Merge branch 'master' into newads
2023-03-21 15:40:44 +01:00
Miodec
ce4087d0bd
missing param
2023-03-21 15:40:32 +01:00