Miodec
0ff1d347a6
fixed ignore
2022-03-07 14:39:09 +01:00
Miodec
44c75552ad
renamed
2022-03-07 14:37:53 +01:00
Miodec
88d1529706
added worker to ignore
2022-03-07 14:36:55 +01:00
Miodec
8af10af599
added enpoints for getting personal bests
2022-03-06 18:33:36 +01:00
Miodec
83c1e8adf5
added rate limiting for ape key endpoints
2022-03-06 18:33:20 +01:00
Miodec
08d7ded235
changed error code
2022-03-06 18:13:58 +01:00
Miodec
16a982e71e
added decoded token types
2022-03-06 17:16:33 +01:00
Bruce Berrios
5ae8ff0759
Remove quote languages check ( #2645 )
2022-03-06 13:33:53 +01: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
6645c2d4bd
Fix ( #2641 )
2022-03-06 02:09:06 +01:00
Bruce Berrios
5aa6fd7621
Remove mongo types ( #2637 )
2022-03-04 19:20:40 -06:00
Bruce Berrios
f479e87c16
Remove artifact ( #2636 )
2022-03-04 19:10:46 -06:00
Bruce Berrios
1df8388e2d
Migrate utils pb to ts ( #2631 )
...
* Migrate utils pb to ts
* Fix
* Move to separate function
2022-03-04 23:24:10 +01: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
2f6a1eb586
Add summaries for api ( #2630 )
...
* Add summaries for api
* Add security definitions
* Add description
2022-03-04 11:50:45 -05: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
b473606309
fixed responses
2022-03-04 16:03:28 +01:00
Miodec
9b34728629
using swagger spec
2022-03-04 15:57:52 +01:00
Miodec
615f284983
added ape keys, leaderboards, results, quotes
2022-03-04 15:49:31 +01:00
Miodec
8809f5957a
added index, psas, configs, presets
2022-03-04 15:49:25 +01:00
Miodec
c27caa68af
missing message
2022-03-04 00:36:40 +01:00
Miodec
d4b7ab90ca
converted to ts
2022-03-04 00:29:06 +01: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
9962edd020
added result types
2022-03-04 00:10:35 +01:00
Miodec
9de4019b80
reducing nesting
2022-03-04 00:09:31 +01:00
Miodec
16bb753601
reduced user db calls
2022-03-03 23:25:30 +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
Miodec
2d4df4edf3
using collation for name checking
2022-03-03 20:41:03 +01:00
Miodec
042d9dd9a2
actually fixed name check
2022-03-03 19:24:09 +01:00
Miodec
6f235a2479
fixed name checking regex
2022-03-03 19:06:23 +01:00
Miodec
70d0639fc7
added regex escaping function
2022-03-03 19:06:06 +01: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
3017f8808d
Fix errors ( #2609 )
2022-03-01 17:21:06 +01: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
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
258fd433b5
added user routes
...
part of #2605
2022-02-28 21:17:37 +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
Jack
c91dd52f88
Partial config save ( #2604 )
...
* saving key by key instead to support partial config
* using new savefullconfig funciton
* moved default config to its own file
* using full config update function
* merging potentially partial config from the db with default config
* added partial saving
moved default config to another file
* refactored with lodash
* removed unnecessary json parse
* changed parameter types
2022-02-28 19:53:55 +01:00
Miodec
2c05a1ccc1
added basic swagger spec
...
part of #2605
2022-02-28 19:53:07 +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
Miodec
d958b2b48a
we good
2022-02-28 00:49:11 +01:00