Commit graph

904 commits

Author SHA1 Message Date
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
Miodec
bd84f341fc Merge branch 'master' into newads 2023-03-21 15:02:55 +01:00
Miodec
fd0120d075 added duplicate result log 2023-03-21 15:02:25 +01:00
Miodec
e8d7182f66 Merge branch 'master' into newads 2023-03-20 14:21:18 +01:00
Evan
642e99331e
Require === and !== in Backend (#4086) Ferotiq
* eqeqeq in backend

* simplify
2023-03-20 12:11:21 +01:00
Miodec
b20643b411 small bug 2023-03-16 14:55:12 +01:00
Miodec
0102dc1806 optional for a while 2023-03-16 14:46:49 +01:00
Miodec
24af35b7aa optional for a while 2023-03-16 14:46:34 +01:00
Miodec
3fb761d3ee loggign ad provider to prometheus 2023-03-16 14:43:54 +01:00
Albert
7ed088a13e
Account graph (#4049) albertying
* Create graph with ao10, ao100, and pb

* Display best ao10 and 100

* Fix ts errors

* Remove old graph

* Remove smoothing slider and toggle chart style button

* Clean up code

* Populate graph if chartData > 0

* Fix filter not displaying data correctly

* Fix wpm cpm labels

* Update colors using theme colors

* brought back accuracy averages

* different colors

* Add toggle ao10 and ao100

* Change opacity based on toggles

* Persist on refresh

* Fix accountActivity chart point color not updating when changing theme in the command line

* Refactor

* Keep pb color consistent

* removed dot

* smaller buttons, in one row, media queries

* hiding bottom scale

* connected the config properties into 1

* Refactor

* Combine into one loop

* cleanup
removed unused functions
reduced repeating code
removed comments
removed console logs

* removed highest avg 10 and 100 stats

* sweep

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-16 12:57:47 +01:00
Rob Sassack
239c43f240
Added plus three funbox (#4076) robsassack 2023-03-16 12:55:36 +01:00
Miodec
85606bcb6c added strong types to later queue
closes #3966
2023-03-06 15:40:53 +01:00
Miodec
5c93fa7edf added better error to try to identify an issue 2023-03-03 12:10:43 +01:00
Jack
56d8c7c9ae
Added ability to opt out of leaderboards (#4016)
* added button to opt out of leaderboards

* also not allowing daily leaderboards

* also not allowing weekly lb

* added lb opt out notice on the leaderboards

* updated message

* resetting lboptout state on account reset
2023-02-25 23:26:06 +01:00
Miodec
6dab8323a5 updated schema 2023-02-23 21:05:09 +01:00
Miodec
4400ebe538 added duplicate result check 2023-02-21 14:03:56 +01:00
Miodec
6ed5a9422d added zipf funbox 2023-02-21 13:14:36 +01:00