Commit graph

739 commits

Author SHA1 Message Date
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
Ajay Ramachandran
ff4af3786e Switch to postgres + promises 2021-03-01 20:40:31 -05: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
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
Nanobyte
aabeb5f493 Replace request with node-fetch 2021-01-05 01:18:34 +01:00
Ajay Ramachandran
7f0a35c88a Fix type issues 2020-12-29 15:12:18 -05:00
Ajay Ramachandran
29ef770759 Add type safety to getSkipSegments 2020-12-29 14:16:11 -05:00
Ajay Ramachandran
5927a24f16
Merge pull request #199 from ajayyy/delete-warnings
Warning fixes
2020-12-29 13:54:32 -05:00
Ajay Ramachandran
432cc42cba Don't allow duplicate warnings 2020-12-29 13:31:15 -05:00
Ajay Ramachandran
baa4e73ba5 Don't remove all warnings 2020-12-29 13:27:54 -05:00
Ajay Ramachandran
eac6856c1d
Merge pull request #198 from ajayyy/delete-warnings
Add remove feature to warnUser
2020-12-29 00:33:14 -05:00
Ajay Ramachandran
78ef129634 Add remove feature to warnUser 2020-12-29 00:18:50 -05:00
Ajay Ramachandran
2769acecc0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2020-12-28 23:40:51 -05:00
Ajay Ramachandran
7beb521d68
Warning should not hash the reported userID 2020-12-28 19:01:23 -05:00
Ajay Ramachandran
30823b752d Add shadowHidden type 2020-12-28 18:57:57 -05:00