Commit graph

44 commits

Author SHA1 Message Date
Miodec
027a196c16 increased the limit on updating result tags 2021-11-23 00:51:12 +00:00
Jack
ecb11e0f9d increased limit on getting basic user data 2021-11-19 12:52:08 +00:00
Jack
cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00
Luke Weiler
80908c0b6b
Removed bot routes, mongo-todo, migrate; cleaned replay.js comments (#1823) by lukew3
* fix stop on word replay error

* Remove mongo-todo, migrate, and bot routes

* removed unecessary comments from replay.js
2021-09-08 22:48:36 +01:00
Jack
04680ad5f5 removed debug route 2021-09-07 20:17:52 +01:00
Jack
803025f80c not including banned users 2021-09-07 20:14:25 +01:00
Jack
3565b1f3a2 removed debug 2021-09-07 20:10:49 +01:00
Jack
e6f701c3cb added update lb memory function to user api 2021-09-07 16:36:06 +01:00
Jack
1b3c6d9b38 added function to update leaderboard 2021-09-07 15:06:34 +01:00
Jack
828e219e64 added getrank function 2021-09-06 17:35:37 +01:00
Jack
854971e760 removed the auth requirement from leaderboard endpoint 2021-09-06 14:16:52 +01:00
Jack
eccbcfb615 lost stash 2021-09-06 00:00:40 +01:00
Jack
97f328f88c d 2021-09-06 00:00:01 +01:00
Jack
54c68e68bc init leaderboards branch 2021-09-05 23:57:07 +01:00
Jack
1c8048c117 increased limit on checkname 2021-08-29 17:07:58 +01:00
Jack
e27ca6fcd6 added a psa system 2021-08-29 14:30:45 +01:00
Jack
423990ab3b added api rate limiting 2021-08-27 21:40:38 +01:00
Jack
0cf93a6f00 quote rating api 2021-08-27 20:10:00 +01:00
Miodec
40cce1e54c securing signup endpoint 2021-08-16 15:27:42 +01:00
lukew3
dbeb90c077 check leaderboard qualification and fix daily lb not limiting to today 2021-08-10 13:56:22 -04:00
lukew3
79da897ef4 leaderboard queries results 2021-08-09 21:31:19 -04:00
lukew3
7c6dc9405f updated documentation and fixed bot bug 2021-08-07 10:53:05 -04:00
Miodec
1ae537e288 added account deletion to the danger zone 2021-07-25 00:44:24 +01:00
Miodec
b5b619816b updated clear pb to new system 2021-07-12 23:34:55 +01:00
Miodec
674316784a converted email updating 2021-07-12 23:12:03 +01:00
Miodec
bec7f380ca converted discord linking to mongo 2021-07-09 22:17:19 +01:00
Miodec
9676e47ea0 updating result tags 2021-07-09 18:27:08 +01:00
Miodec
491be89653 converted presets to new system 2021-07-08 23:28:00 +01:00
Miodec
60fcfe7f6b started converting presets to new system 2021-07-08 22:34:36 +01:00
Miodec
3bd02d3292 converted tags to the new system 2021-07-08 16:03:52 +01:00
Miodec
689dab1c2e converted result saving 2021-07-07 14:05:18 +01:00
Miodec
fe38ca296a converted result getting 2021-07-06 15:22:05 +01:00
Miodec
845845d257 fixed route name 2021-07-06 14:52:08 +01:00
Miodec
844e67ac3e config support 2021-07-06 14:51:43 +01:00
Miodec
9d7427ed3d converted snap initialisation to new system 2021-06-16 20:56:12 +01:00
Miodec
32a2a73915 added delete user option, playing around with the return codes and formats 2021-06-16 20:20:16 +01:00
Miodec
c84f444e15 using require instead of imports, added check name endpoint 2021-06-16 00:46:07 +01:00
Miodec
f3d1887e83 renamed auth routes and controller to user 2021-06-12 13:48:28 +01:00
Jack
f2f9201acb renamed presets to preset 2021-06-08 18:27:51 +01:00
Miodec
218ccb3d53 rewrote config to the new standard 2021-06-08 16:02:44 +01:00
Miodec
c64ef993ff rewrote presets to the new standard 2021-06-08 14:09:35 +01:00
Dharmaraj
12362879b4 Added core route 2021-06-07 19:35:58 +05:30
Dharmaraj
892de13dbe Moved bot endpoints to separate file 2021-06-07 12:37:15 +05:30
Dharmaraj
4c560a437f Added Auth Router and DAO 2021-06-06 22:02:37 +05:30