Commit graph

852 commits

Author SHA1 Message Date
Ajay Ramachandran
9d19c59d44 Add caching for raw videoID fetching 2021-05-23 12:03:05 -04:00
Ajay Ramachandran
96ccbbe4a2 Removed unnecessary conditionals 2021-05-23 11:35:02 -04:00
Ajay Ramachandran
c7b7732092 Update lodash 2021-05-23 11:27:18 -04:00
Ajay Ramachandran
77da67ce98
Merge pull request #230 from ajayyy/dependabot/npm_and_yarn/redis-3.1.1
Bump redis from 3.0.2 to 3.1.1
2021-05-23 11:26:21 -04:00
Ajay Ramachandran
38360f379f
Merge pull request #224 from ajayyy/export
Add highlight category
2021-05-23 11:22:02 -04:00
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
b0a4b6ebed Update indexes file table name 2021-05-06 15:53:31 -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
dependabot[bot]
a47906cac9
Bump redis from 3.0.2 to 3.1.1
Bumps [redis](https://github.com/NodeRedis/node-redis) from 3.0.2 to 3.1.1.
- [Release notes](https://github.com/NodeRedis/node-redis/releases)
- [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NodeRedis/node-redis/compare/v3.0.2...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 22:27:42 +00:00
Ajay Ramachandran
423ea9cbc6
Merge pull request #231 from MRuy/fix/run-tests-in-memory-db
Use in memory database for tests
2021-04-29 18:26:15 -04:00
Nanobyte
35714d4f2d Use in memory database for tests 2021-04-29 21:49:25 +02:00
Ajay Ramachandran
129cf8d02d
Merge pull request #229 from MRuy/fix/rename-no-segments
Rename noSegments to lockCategories
2021-04-23 21:34:04 -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
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