Commit graph

850 commits

Author SHA1 Message Date
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
Ajay Ramachandran
10fa36ccf0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-01-24 12:45:20 -05:00
Ajay Ramachandran
3b24dfd4c5 Fix unwarn not working 2021-01-24 12:45:13 -05:00
Ajay Ramachandran
21673c1ee9 fix broken invidious proxy 2021-01-23 12:58:11 -05:00
Ajay Ramachandran
8d15166931
Fix invidious 2021-01-23 12:52:54 -05:00
Ajay Ramachandran
ebc580ea76 Add nignx config file 2021-01-23 12:48:22 -05:00
Ajay Ramachandran
4561148ab2 Fix headers when using node-fetch 2021-01-17 21:18:22 -05:00
Ajay Ramachandran
acc9537bb7
Merge pull request #201 from MRuy/remove-dependency-request
#177 Replace request with node-fetch
2021-01-17 21:05:10 -05:00
Ajay Ramachandran
0bb4ff8417
Merge pull request #200 from ajayyy/improve-types
Improve Types
2021-01-17 15:15:37 -05:00
Nanobyte
314a7b9c56 Remove dependency request 2021-01-06 01:43:52 +01:00
Nanobyte
797e0b4641 Fix test cases 2021-01-06 01:43:28 +01:00
Nanobyte
87d2827f0f Fix errors 2021-01-05 01:22:02 +01:00