Commit graph

21 commits

Author SHA1 Message Date
Miodec
2fdf28fcf3 updated status code 2022-02-03 21:59:02 +01:00
Bruce Berrios
92a503df71
Refactor Quote Endpoints (#2388) by Bruception
* Refactor quotes route

* Add request validation

* removed unnecessary configuration check

* using const

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-01 19:47:41 +01:00
Bruce Berrios
101c227599
Add Dynamic Server Configuration (#2385) by Bruception
* Add no frontend script

* Define context middleware

* Define base configuration schema

* Define configuration DAO

* Setup context middleware and live configuration fetch

* Remove patch configuration method

* Rename files for consistency

* Use plain object check

* Use plain object

* modified base configuration

* renamed config property

* brought back 2 properties

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-31 22:47:58 +01:00
Bruce Berrios
974e50ec48
Add quote reporting feature (#2372) by Bruception
* Add initial quote reporting logic

* Remove report status

* Add initial frontend

* Add submit logic

* Add report quote button to rating popup

* Refactor quoteId argument

* Remove console log

* Add captcha to request validation schema

* Use captcha id for value and reset

* Update report data schema

* Hide report popup on complete

* quote search styling update

* updated report quote styling

* tofixed

* tofixed

* moved report button to the result screen
styling changes

* resetting captcha after hiding to avoid ugly animation

* select2 styling update

* lowercase

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-31 00:53:56 +01:00
Bruce Berrios
7ce9146c7d
Add initial report quote endpoint (#2367) by Bruception
* Add initial report quote endpoint

* Tune rate limiter for report quote

* Tune rate limiter

* Increase max comment size

* Add supported languages to schema validation

* Fix naming
2022-01-29 22:03:02 +01:00
Rizwan Mustafa
938d469388
Fixed typo (#2300) 2022-01-14 16:20:04 +01:00
Jack
0624fbbc87 fixed one typo 2021-11-30 00:52:47 +00:00
Cameron
e56d534f33
fix: endpoints share the same rate limit (#2136) by CameronCT
* fix: cleaned rate limiter

* chore: separated ratelimits per request

* fix: bug where leaderboards would crash
2021-11-30 00:49:05 +00:00
Jack
ecb11e0f9d increased limit on getting basic user data 2021-11-19 12:52:08 +00:00
Jack
dfe4590813 added dev mode to request auth 2021-09-07 15:04:50 +01:00
Jack
d95b9a6db1 increased rate limit on localhost 2021-08-29 17:33:51 +01:00
Jack
9c84b32a76 updated the key generator for rate limitng logic 2021-08-27 22:43:08 +01:00
Jack
423990ab3b added api rate limiting 2021-08-27 21:40:38 +01:00
Miodec
7106318b0d removed log 2021-08-18 01:41:42 +01:00
Miodec
367b104679 better errors 2021-08-18 01:41:29 +01:00
Miodec
4f96abd87d not using stack param 2021-08-18 01:17:13 +01:00
Miodec
1e6f90f60f changed error code 2021-08-18 01:05:58 +01:00
Miodec
d2648fff07 throwing instead of calling next - maybe it will fix double errors 2021-08-17 21:35:44 +01:00
Miodec
2c01c5f817 fixed tiny bug with token finding 2021-06-16 20:56:00 +01:00
Dharmaraj
216c0637c1 Added MonkeyError class 2021-06-06 22:56:12 +05:30
Dharmaraj
4c560a437f Added Auth Router and DAO 2021-06-06 22:02:37 +05:30