Commit graph

1070 commits

Author SHA1 Message Date
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
d56121fdec
Merge pull request #210 from MRuy/feat/limit-reward-time-per-segment
Limit reward time per segment
2021-04-18 15:53:34 -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
b6660d656f Add cdn redirect 2021-04-18 21:10:43 +02:00
Ajay Ramachandran
2814ce7b7f Change dump deletion logic 2021-04-18 12:28:47 -04:00
Ajay Ramachandran
911ebddd69 Fix example config 2021-04-17 23:09:21 -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
d8e7bf130f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-04-18 04:50:30 +02:00
Ajay Ramachandran
058c05a1f7 Fix permission issues 2021-04-18 04:49:05 +02: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
77a4c2fe34 Update nginx config 2021-04-13 03:04:02 +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
bf2d033ac3
Merge pull request #223 from ajayyy/export
Improvements
2021-04-02 16:43:40 -04:00
Ajay Ramachandran
bc688a3d8d FIx duration issue 2021-04-02 16:40:51 -04:00
Ajay Ramachandran
5bcfe9f192
Merge pull request #222 from ajayyy/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-04-02 12:25:14 -04:00
Ajay Ramachandran
cfbf8a47d7 Fix hashing function 2021-04-02 12:03:21 -04:00
dependabot[bot]
1eca55d96c
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 21:52:03 +00:00
Ajay Ramachandran
93d7242021 Add preview category 2021-03-30 22:50:09 -04:00
Ajay Ramachandran
612463165a
Merge pull request #220 from ajayyy/export
Unlock videos and hide segments if duration changed
2021-03-30 18:28:44 -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
e5e63efffe
Merge pull request #218 from ajayyy/export
Apply indexes after upgrades
2021-03-26 21:28:26 -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
Ajay Ramachandran
5c827baa1a
Update db link 2021-03-25 18:48:44 -04:00
Ajay Ramachandran
27c2562a7f Add more indexes 2021-03-23 23:46:46 -04:00
Nanobyte
2c3dde0d2e Timestamp based dump filenames and garbage collection 2021-03-22 22:18:23 +01:00
Nanobyte
8219b0398e Fix invalid json in example config 2021-03-22 01:35:45 +01:00
Ajay Ramachandran
11b4f642a6 Apply indexes after upgrades 2021-03-21 19:16:56 -04:00
Nanobyte
514ea03655 Add TS for dumpDatabase config 2021-03-21 22:59:16 +01:00
Nanobyte
84b86bb6a1 Make dumpDatabase configurable 2021-03-21 22:40:57 +01:00
Ajay Ramachandran
fcd7be632c
Merge pull request #215 from ajayyy/export
Add new "Service" option
2021-03-20 12:26:08 -04:00