Commit graph

409 commits

Author SHA1 Message Date
Ajay Ramachandran
5a60dfa988 Uncomment webhook 2021-05-23 11:19:40 -04:00
Ajay Ramachandran
590ed037dd Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into export 2021-05-23 11:17:10 -04:00
Ajay Ramachandran
e71399f5af
Add banned user 2021-05-13 21:24:53 -04:00
Ajay Ramachandran
34aadda47a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-05-13 14:59:14 -04:00
Ajay Ramachandran
0c64f4b006 Check for array in non hash prefix method 2021-05-13 14:59:12 -04:00
Ajay Ramachandran
72aff3a695
Block username change 2021-05-12 18:57:36 -04:00
Ajay Ramachandran
60a118f391 Add object src to csp 2021-05-06 16:14:11 -04:00
Ajay Ramachandran
cd66399049 Add csp for API 2021-05-06 16:03:26 -04:00
Ajay Ramachandran
99a4ed9e84 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-05-05 17:02:05 -04:00
Ajay Ramachandran
e93c08f33a disable database by default 2021-05-05 17:01:52 -04:00
Nanobyte
f561388a1f Rename noSegments to lockCategories 2021-04-24 01:54:42 +02:00
Ajay Ramachandran
a587247c0d Don't hold connections open in getTopUsers 2021-04-23 18:21:08 -04:00
Ajay Ramachandran
a7605d5699 Don't crash for redis errors 2021-04-21 20:17:46 -04:00
Ajay Ramachandran
228a9a8807 Don't update lastUpdate until the update is complete 2021-04-21 18:49:00 -04:00
Ajay Ramachandran
61b64fa904 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-04-21 18:25:44 -04:00
Ajay Ramachandran
6bcd6e2d80 Don't update multiple times 2021-04-21 18:25:38 -04:00
Ajay Ramachandran
d60e079e50
Merge pull request #227 from MRuy/fix/filter-usernames
Remove unicode control characters from username
2021-04-19 21:06:26 -04:00
Ajay Ramachandran
ecfd9da7a1 Update dump when using redirect urls 2021-04-19 21:03:58 -04:00
Ajay Ramachandran
697f1f47dd Use .csv in dump urls 2021-04-19 20:59:01 -04:00
Ajay Ramachandran
19058d3760 Add redirects 2021-04-19 20:54:52 -04:00
Nanobyte
3a60b6fff7 Remove unicode control characters from username 2021-04-19 03:14:31 +02:00
Ajay Ramachandran
dad4fbca75
Merge pull request #226 from MRuy/fix/getUserInfo
Fix/get user info
2021-04-18 15:55:18 -04:00
Ajay Ramachandran
a3db0a005a Formatting plus count(*)
https://www.citusdata.com/blog/2016/10/12/count-performance/
2021-04-18 15:53:19 -04:00
Ajay Ramachandran
ddf1fdc89c
Merge branch 'master' into feat/limit-reward-time-per-segment 2021-04-18 15:47:42 -04:00
Ajay Ramachandran
e70ae12f2a Fix quote issues 2021-04-18 15:46:46 -04:00
Ajay Ramachandran
2814ce7b7f Change dump deletion logic 2021-04-18 12:28:47 -04:00
Ajay Ramachandran
5eacfff7ae
Merge pull request #217 from MRuy/feature/configurable-database-dump 2021-04-17 23:07:08 -04:00
Ajay Ramachandran
a06ab724ad Fix file locations + formatting 2021-04-17 23:06:39 -04:00
Ajay Ramachandran
9d06bda4f8 Don't allow downvoting dead submissions 2021-04-17 16:37:39 -04:00
Ajay Ramachandran
346485da8c Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
# Conflicts:
#	src/routes/voteOnSponsorTime.ts
2021-04-17 16:25:10 -04:00
Ajay Ramachandran
5b2f05741e Fix no segments votes being allowed 2021-04-17 16:23:45 -04:00
Nanobyte
cb4ecea830 Add vip info to getUserInfo 2021-04-15 23:05:18 +02:00
Nanobyte
112b232f9e Fix UserID types 2021-04-15 23:03:50 +02:00
Nanobyte
9b0ba9031e Optimize code 2021-04-15 01:22:25 +02:00
Nanobyte
389885893c Only get enabled warnings 2021-04-15 01:22:01 +02:00
Ajay Ramachandran
f6f5570d0c Improve auto mod reject message 2021-04-11 13:15:42 -04:00
Ajay Ramachandran
6a9b218e22 Don't always use YouTube API cache 2021-04-08 20:37:19 -04:00
Ajay Ramachandran
8088f37632 Only return one segment for highlight category 2021-04-05 23:48:51 -04:00
Ajay Ramachandran
7bf09906d3 Prevent voting for highlight category 2021-04-05 22:33:28 -04:00
Ajay Ramachandran
6554e142cc Add highlight category 2021-04-04 23:12:26 -04:00
Ajay Ramachandran
bc688a3d8d FIx duration issue 2021-04-02 16:40:51 -04:00
Ajay Ramachandran
cfbf8a47d7 Fix hashing function 2021-04-02 12:03:21 -04:00
Ajay Ramachandran
93d7242021 Add preview category 2021-03-30 22:50:09 -04:00
Ajay Ramachandran
c9a8dc21b1 Unlock videos and hide segments if duration changed 2021-03-29 19:16:18 -04:00
Ajay Ramachandran
c17f0b1e6e Add invite link 2021-03-29 18:39:55 -04:00
Ajay Ramachandran
5152d7e649 Fixed tests 2021-03-26 19:13:52 -04:00
Ajay Ramachandran
37a07ace72 Cache data for getting hash-prefix segments 2021-03-26 19:03:30 -04:00
Ajay Ramachandran
46524e4298 Fix indexes 2021-03-26 19:02:32 -04:00
Ajay Ramachandran
c7eb5fed35 Fix video duration precision and use submitted one when possible 2021-03-26 18:35:25 -04:00
Nanobyte
2c3dde0d2e Timestamp based dump filenames and garbage collection 2021-03-22 22:18:23 +01:00