Commit graph

911 commits

Author SHA1 Message Date
Ajay Ramachandran
8f2ea30da0 Fix rejecting downvotes 2021-03-19 18:19:45 -04:00
Ajay Ramachandran
a27adffec0
Update README.MD 2021-03-19 18:09:53 -04:00
Ajay Ramachandran
14489e3b4b
Merge pull request #214 from ajayyy/export
Send moderator rejected votes to discord anyway
2021-03-19 18:09:01 -04:00
Ajay Ramachandran
3503024fd7
Merge pull request #212 from MRuy/feat/postskipsegments-response-with-new-segments
Return new created segments on success
2021-03-19 18:08:43 -04:00
Ajay Ramachandran
1f01c004ae Send moderator rejected votes to discord anyway 2021-03-19 18:05:33 -04:00
Ajay Ramachandran
cfdb0f4466 Remove index creation from upgraders 2021-03-11 18:55:27 -05:00
Ajay Ramachandran
4168733825 Only count users when asked 2021-03-11 18:40:09 -05:00
Ajay Ramachandran
0c4e4af228 Support uppercase hashes 2021-03-11 18:18:55 -05:00
Ajay Ramachandran
f4cf646f80 Add checks for empty categories after filtering 2021-03-08 22:06:18 -05:00
Ajay Ramachandran
b641a0b0b3
Merge pull request #211 from ajayyy/redis
Postgres
2021-03-08 19:28:05 -05:00
Ajay Ramachandran
a4bbc9f2ba Add pg load file 2021-03-08 19:25:20 -05:00
Ajay Ramachandran
b0c7a6c537 Partially fix getTopUsers 2021-03-08 18:28:41 -05:00
Ajay Ramachandran
eacd9cb6e8 Secure docker containers to local network 2021-03-07 00:37:47 -05:00
Ajay Ramachandran
8729796e87 Make tests pass running with postgres 2021-03-07 00:21:56 -05:00
Ajay Ramachandran
3fe7501802 Support private db with postgres 2021-03-06 19:29:03 -05:00
Ajay Ramachandran
54e69b266d Fix tests 2021-03-06 00:25:18 -05:00
Ajay Ramachandran
44f10b9ff9 Removed some unused logs 2021-03-04 23:30:30 -05:00
Ajay Ramachandran
e9b7eac289 Finish up conversion to use case-sensitive column names 2021-03-04 23:29:01 -05:00
Ajay Ramachandran
2772a9dcc6 Switch to case sensitive and get submitting + getting working 2021-03-04 20:23:05 -05:00
Ajay Ramachandran
1a66be8665 Make schemas work with postgres 2021-03-04 19:44:54 -05:00
Ajay Ramachandran
2c211d4730 Fix preprocessor not being used for initial schema 2021-03-01 22:40:13 -05:00
Ajay Ramachandran
88855ab695 Support schema upgrading with postgres 2021-03-01 22:20:44 -05:00
Ajay Ramachandran
46b42da5bd Update tests to use promises 2021-03-01 21:37:35 -05:00
Nanobyte
da3a5fe787 Return new created segments on success 2021-03-02 02:44:51 +01:00
Ajay Ramachandran
ff4af3786e Switch to postgres + promises 2021-03-01 20:40:31 -05:00
Nanobyte
ac945254d6 Limit reward time for getSavedTimeForUser endpoint 2021-03-02 01:22:02 +01:00
Ajay Ramachandran
9a9038d5e0 Update gitignore 2021-03-01 19:21:59 -05:00
Ajay Ramachandran
fa759ae7b2 Add docker compose for deps 2021-03-01 19:21:27 -05:00
Ajay Ramachandran
f358605f70
Merge pull request #209 from MRuy/fix/valid-json-for-categories-param
Fix getSkipSegmentsByHash requires valid json
2021-02-25 21:56:30 -05:00
Nanobyte
d6ba5684e0 Limit reward time per segment 2021-02-26 01:57:45 +01:00
Nanobyte
09c9b25178 Fix getSkipSegmentsByHash requires valid json
The categories parameter has to be a valid array with strings in JSON format
2021-02-25 19:08:29 +01:00
Ajay Ramachandran
e86f442249
Add YouTube terms info 2021-02-21 21:28:29 -05:00
Ajay Ramachandran
e51ebdcad6
Merge pull request #208 from ajayyy/redis
Remove logging and fix voting error
2021-02-20 22:06:27 -05:00
Ajay Ramachandran
eeaa1614fa Remove logging and fix voting error 2021-02-20 22:06:00 -05:00
Ajay Ramachandran
ef79439557
Merge pull request #207 from ajayyy/redis
Only cache for all categories
2021-02-20 22:03:15 -05:00
Ajay Ramachandran
8c910b67b4 Only cache for all categories 2021-02-20 22:02:57 -05:00
Ajay Ramachandran
993f75d014
Merge pull request #206 from ajayyy/redis
Add redis caching for 404s
2021-02-20 21:18:33 -05:00
Ajay Ramachandran
01d318d902 Add redis caching for 404s 2021-02-20 21:13:46 -05:00
Ajay Ramachandran
157a7743a3
Merge pull request #205 from ajayyy/segment-locking
Unlock segment if VIP downvotes
2021-02-18 22:12:58 -05:00
Ajay Ramachandran
597dff7ac3 Unlock segment if VIP downvotes 2021-02-18 22:09:57 -05:00
Ajay Ramachandran
c4c596bbf4
Merge pull request #204 from ajayyy/segment-locking
Replace VIP starting with 1000 votes with locked submissions
2021-02-18 20:50:13 -05:00
Ajay Ramachandran
e21ebd18a6 Don't ratelimit VIPs 2021-02-18 20:47:26 -05:00
Ajay Ramachandran
57adcd3c65 Replace VIP starting with 1000 votes with locked submissions 2021-02-18 20:24:04 -05:00
Ajay Ramachandran
ae57bfeb89
Merge pull request #203 from ajayyy/segment-locking
Add segment locking
2021-02-18 19:54:29 -05:00
Ajay Ramachandran
ef21ceb332 Add segment locking 2021-02-18 19:48:36 -05:00
Ajay Ramachandran
53ae826186 Allow upvotes on locked videos and update message 2021-02-09 19:53:39 -05:00
Ajay Ramachandran
b040db24d4 Fix /news redirect 2021-01-30 11:35:03 -05:00
Ajay Ramachandran
f9f7870c0d Add /viewer redirect 2021-01-30 11:32:37 -05:00
Ajay Ramachandran
51a5e97e11 nginx config update 2021-01-28 19:34:35 -05:00
Ajay Ramachandran
69f95e6398 Fix vote rejection and update warning message 2021-01-26 20:44:32 -05:00