Commit graph

980 commits

Author SHA1 Message Date
Ajay Ramachandran
72121f98de Revert "Lower redis memory"
This reverts commit fe3420a512.
2021-04-22 23:12:44 -04:00
Ajay Ramachandran
0a66dcc0d6 Redirect to cdn 2021-04-23 04:59:36 +02:00
Ajay Ramachandran
a7605d5699 Don't crash for redis errors 2021-04-21 20:17:46 -04:00
Ajay Ramachandran
fe3420a512 Lower redis memory 2021-04-21 20:05:41 -04:00
Ajay Ramachandran
c7e78c21c9 Restart docker containers always 2021-04-21 19:43:32 -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
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