Commit graph

382 commits

Author SHA1 Message Date
Miodec
d6babe0194 fixed incorrect definition 2023-08-08 14:12:42 +02:00
Miodec
bd93852762 added legacy config to remove 2023-08-08 12:17:07 +02:00
Miodec
f34e45d676 updated funbox difficulty 2023-08-07 18:17:21 +02:00
Miodec
4cbcf6a96b added code that will unset any legacy values that are still in the db config 2023-08-07 01:28:18 +02:00
Miodec
0960d32a1a removing user from auth if no data was found in the db 2023-08-06 22:19:54 +02:00
Christian Fehmer
1f4df9199d
Added configuration for typing speed unit, removed alwaysShowCPM (#4492) fehmer
* Added configuration for typing speed unit, removed alwaysShowCPM

* review comments

* fix live-burst, activityChart and results-pb label

* Added support for typing speed unit in account histogram chart

* trigger build

* Update account.ts

* Fix chart scaling and wpm/rawWpm hovers on result page
fix chart scaling and bucket size on account page

* refactor histogramChartData to support 0.5 steps

* Revert dynamic scaling on accounts/result graph

* Refactor histogramChartData to an int[]

* Fix cutoff in account history

* Fix labels on result page

* Limit result chart label to two decimals

* renamed show average wpm to show average speed

* fix scaling on accounts history graph (again),   not adding an easteregg 🤫

* hiding by default

* fix scaling on accounts history graph episode three

* move typingSpeedUnit related functions out of Misc

* updating account page if typing speed unit changes

* updating result page if changing units on the result page

* missing buton change

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-08-04 13:22:27 +02:00
Christian Fehmer
b50b473aba
Added crt mode to the funbox (#4465) fahmer
* Added crt mode to the funbox

* remove borders, move screen glow to body, remove lines animation

* removes white flash on test restart, keep crt mode on result page

* cleanup removal of funbox css

* fix white flash when disabling crt mode, fix background

* use actual color for text glow

* fix rendering issue with glow

* adds glow to input, buttons, logo and carets

* prefix new variables with -crt, update themes to fit crt mode

* adds glow to textarea, avatar and fix glow in focus mode

* fix typo in lavender theme

* move crt related stylesheets to separate file, add scanline div on demand

* add applyGlobalCss to keep the theme active on pages outsite the test page

* made sure crt works globally
added a clear global function
calling apply global and clear global when toggling funboxes
delaying globalcss apply because about page for some reason doesnt like funbox css files

* add glow to banner

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-31 16:32:33 +02:00
Miodec
50c96006c2 removed duplicate header 2023-07-25 17:47:17 +02:00
Miodec
59c34fc988 only allowing 100 submissions per language 2023-07-25 17:00:29 +02:00
Miodec
753d9649e8 updated response schema 2023-07-25 16:43:00 +02:00
Miodec
574532f280 added endpoint to check if quote submission is enabled 2023-07-25 16:40:29 +02:00
Miodec
2e8c58365f sending client version in headers
logging which client versions are getting errors
closes #4475
2023-07-25 15:46:46 +02:00
Miodec
ebcc212605 catching drop errors, should fix #4440 2023-07-21 13:04:18 +02:00
Miodec
685668a6b8 todo 2023-07-18 19:18:55 +02:00
Miodec
93c14d6728 stricter schemas 2023-07-17 14:39:59 +02:00
Miodec
6e1e2c6e8f stricter schema 2023-07-17 14:33:26 +02:00
Miodec
30a2b301eb checking if user is admin instead 2023-07-17 14:19:23 +02:00
Miodec
469bdfe32f validation 2023-07-17 13:59:27 +02:00
Miodec
1a8f0b8f18 stricter validation 2023-07-17 13:54:24 +02:00
joanna
6d88c4f4e3
added morse code to the funbox (#4451) epicjoanna
* added morse code mode to funbox

* actioned changes
2023-07-17 13:41:04 +02:00
Miodec
f1b79f0bd8 removed some words 2023-07-12 16:40:10 +02:00
Miodec
4c079f2516 flagging user for name change if their name is nullish 2023-07-01 11:18:28 +02:00
Miodec
afd2d3442e found the issue 2023-07-01 11:18:09 +02:00
Miodec
3a822f8b4f added todo 2023-07-01 11:04:52 +02:00
Miodec
6645dbc2f7 added log to try to catch an error 2023-07-01 11:04:07 +02:00
Miodec
da289b96b1 escaping character 2023-07-01 00:25:32 +02:00
Miodec
555318d0bc updated font family schema 2023-07-01 00:24:57 +02:00
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
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
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