Commit graph

245 commits

Author SHA1 Message Date
Miodec
ff5e0ccb59 updated message 2022-03-07 22:20:27 +01:00
Rizwan Mustafa
a47f108a33 Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-03-07 12:58:12 +05:00
Miodec
8af10af599 added enpoints for getting personal bests 2022-03-06 18:33:36 +01:00
Miodec
08d7ded235 changed error code 2022-03-06 18:13:58 +01:00
Bruce Berrios
5ae8ff0759
Remove quote languages check (#2645) 2022-03-06 13:33:53 +01:00
Rizwan Mustafa
1c63694877 Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-03-06 13:21:30 +05:00
Bruce Berrios
7d19f54828
Add last used on logic (#2643)
* Add last used on logic

* Remove lodash
2022-03-05 21:25:30 -05:00
Bruce Berrios
f479e87c16
Remove artifact (#2636) 2022-03-04 19:10:46 -06:00
Bruce Berrios
3566992e45
Migrate some DAO to ts (#2633)
* Migrate some DAO to ts

* Oops

* Added constant name
2022-03-04 22:50:15 +01:00
Bruce Berrios
7ef0c424d6
Migrate some utils to TS (#2625)
* Migrate some utils to TS

* Add argument type

* Fix logic

* Refactor math functions

* Rename function
2022-03-04 16:25:24 +01:00
Miodec
9b34728629 using swagger spec 2022-03-04 15:57:52 +01:00
Rizwan Mustafa
f08e0b36ca Added return type on function 2022-03-04 13:46:25 +05:00
Rizwan Mustafa
74627e65e6 Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-03-04 13:45:39 +05:00
Miodec
5b0f170b10 converted to ts 2022-03-04 00:20:29 +01:00
Miodec
6370f6a624 moved is test too short check to validation 2022-03-04 00:10:49 +01:00
Miodec
9de4019b80 reducing nesting 2022-03-04 00:09:31 +01:00
Miodec
6752b6086a optimising promises, reduced await use 2022-03-03 23:24:19 +01:00
Bruce Berrios
374a2089c3
Rename handlers to utils (#2620) 2022-03-03 16:31:57 -05:00
Bruce Berrios
0429c560ee
Migrate users controller (#2618)
* Migrate users controller + other things

* Undo import rename

* Fix return type

* Change status code

* Fix spacing
2022-03-03 14:50:06 -05:00
Rizwan Mustafa
daf8edeb1b Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-03-02 16:15:29 +05:00
Rizwan Mustafa
9951ce03b0 Added customTheme field back 2022-03-02 13:17:00 +05:00
Jack
226de70e36
Added monkey status codes (#2613)
* test code

* added some monkey status codes

* adding status message to response

* added more codes

* using all new codes
2022-03-02 02:14:32 +01:00
Bruce Berrios
d792844473
Add ape key authentication (#2610)
* Add ape key authentication

* Move ape key config to server config

* Remove full stops

* Fix
2022-03-01 17:43:22 -05:00
Bruce Berrios
2f70d1ab8a
Add ApeKeys CRUD (#2606)
* Add ApeKeys CRUD

* Fix

* Omit ape key data

* Encode id + key
2022-03-01 11:11:01 -05:00
Rizwan Mustafa
5986b96090 Changed put to patch 2022-03-01 17:34:04 +05:00
Rizwan Mustafa
553be7421d Added custom option for random theme 2022-03-01 13:02:18 +05:00
Rizwan Mustafa
64f4f1eae7 Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-03-01 11:32:26 +05:00
Miodec
5adb03a360 updated result schema once more 2022-03-01 00:33:32 +01:00
Miodec
55f60d0788 updated result custom text schema 2022-03-01 00:30:27 +01:00
Miodec
c448769401 temporary/initial solution to seeing response message in swagger stats 2022-02-28 22:58:28 +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
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
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
Rizwan Mustafa
e3a5bfa342 Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-02-28 07:30:22 +05:00
Miodec
d958b2b48a we good 2022-02-28 00:49:11 +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
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
Rizwan Mustafa
fa3398d944 Added required to themeColors schema 2022-02-27 15:42:48 +05:00
Rizwan Mustafa
93c17be227 Commenced shift from customThemeIndex to customThemeId 2022-02-27 09:29:04 +05: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
Rizwan Mustafa
f80e94c244 Renamed themeId to themeID for consistency 2022-02-26 07:00:08 +05:00
Rizwan Mustafa
714219bb16 Moved validation scheme to a variables at the top of file 2022-02-26 06:36:51 +05:00
Rizwan Mustafa
874d194b31 Improved code quality in User DAO 2022-02-26 06:30:28 +05:00
Rizwan Mustafa
5e47b0004b Merge remote-tracking branch 'upstream/master' into store_custom_themes 2022-02-26 06:13:09 +05:00
Bruce Berrios
6b1e9efe73
Fix quote ratings (#2586) by Bruception
* Fix quote ratings

* Reorder logic

* Update message

* Fix consistency
2022-02-25 19:22:44 +01:00