Commit graph

683 commits

Author SHA1 Message Date
Ajay Ramachandran
8129a488a9 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into feat/faster-segments
# Conflicts:
#	src/routes/getSkipSegments.ts
#	src/routes/getSkipSegmentsByHash.ts
#	test/cases/getSegmentsByHash.js
2020-12-24 21:27:08 -05:00
Ajay Ramachandran
5c4980ed2f
Merge pull request #197 from ajayyy/work
Don't hide submissions from locked videos when banning
2020-12-23 00:24:35 -05:00
Ajay Ramachandran
229da1f62d Don't hide submissions from locked videos when banning 2020-12-23 00:22:52 -05:00
Ajay Ramachandran
cb0906a52d Remove minimum sponsor duration for VIP 2020-12-20 13:52:22 -05:00
Ajay Ramachandran
5f4cb63324
Merge pull request #196 from ajayyy/testing
Fix redis type issues
2020-12-17 00:38:21 -05:00
Ajay Ramachandran
8cf3caa77e Only pass error if it exists 2020-12-17 00:28:31 -05:00
Ajay Ramachandran
475c8c594a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testing 2020-12-17 00:25:55 -05:00
Ajay Ramachandran
c8d5cec338 Fix redis type issues 2020-12-17 00:25:33 -05:00
Ajay Ramachandran
f5bd1c1eb9
Merge pull request #195 from ajayyy/no-segments-fix
Voting fixes
2020-12-17 00:02:32 -05:00
Ajay Ramachandran
a7f04ad732 Update category test + fix double voting issue
Fix #190
2020-12-16 23:47:47 -05:00
Ajay Ramachandran
5deda4603e Allow submitter to change category immediately 2020-12-16 23:00:11 -05:00
Ajay Ramachandran
cd373f4bca Don't allow votes on locked videos 2020-12-16 22:53:49 -05:00
Ajay Ramachandran
9797d7450c Fix issues caused by YouTube API upgrade 2020-12-16 22:53:25 -05:00
Ajay Ramachandran
f8be719dc1
Merge pull request #194 from ajayyy/dependabot/npm_and_yarn/ini-1.3.7
Bump ini from 1.3.5 to 1.3.7
2020-12-14 01:00:57 -05:00
dependabot[bot]
122efc00fc
Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 15:59:18 +00:00
Ajay Ramachandran
1f699ac1d1
Merge pull request #174 from Dainius14/master
migrate to typescript
2020-12-07 17:41:14 -05:00
Ajay Ramachandran
2cd78d5d2f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into Dainius14/master
# Conflicts:
#	src/routes/shadowBanUser.js
#	src/routes/voteOnSponsorTime.ts
#	test/cases/getSkipSegments.js
#	test/cases/voteOnSponsorTime.js
2020-12-07 17:35:15 -05:00
opl-
0bac7e8d90 Improve performance of segment querying endpoints 2020-12-02 15:20:42 +01:00
Ajay Ramachandran
0002a7549d
Merge pull request #185 from LoganDark/patch-1
Correct indentation in _private.db.sql
2020-11-24 13:21:11 -05:00
LoganDark
b4b7b55ce1
Correct indentation in _private.db.sql 2020-11-24 05:15:13 -08:00
Ajay Ramachandran
5c753db661
Merge pull request #184 from ajayyy/dependabot/npm_and_yarn/dot-prop-4.2.1
Bump dot-prop from 4.2.0 to 4.2.1
2020-11-23 12:40:19 -05:00
dependabot[bot]
d6977b7be0
Bump dot-prop from 4.2.0 to 4.2.1
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 17:30:35 +00:00
Ajay Ramachandran
97bb7b534a
Increase max segments from 8 to 32 2020-11-23 12:29:57 -05:00
Dainius Dauksevicius
7da9de9991 fix nodemon to watch .ts files 2020-11-01 17:29:57 +02:00
Ajay Ramachandran
69e7b35abb
Merge pull request #182 from Joe-Dowd/bugfix/no-revive-nosegments-unban
Don't revive segments marked with nosegments on unbanning a user
2020-10-28 23:13:46 -04:00
Ajay Ramachandran
b3123f4d4a
Merge pull request #181 from Joe-Dowd/test-update-with-comments
(WIP) Tests needed: Should be updated to reflect new voting limit.
2020-10-28 23:11:45 -04:00
Joe Dowd
9d293b2cb4 Don't revive segments for videos marked with noSegment when un-banning a user 2020-10-29 01:03:07 +00:00
Joe Dowd
bb47181daa removed tests no longer needed - should be updated to reflect new changes 2020-10-28 11:44:11 +00:00
Ajay Ramachandran
009a489d3a
Fix typo 2020-10-27 19:07:48 -04:00
Ajay Ramachandran
06fa6eb874
Raise category change requirement 2020-10-27 18:58:21 -04:00
Dainius Dauksevicius
12729b36fb fix docker build, add proper mocks to tests, remove YouTubeAPI dependency on youtube test mock, move index.ts and test.ts to /src ant /test folders 2020-10-26 19:13:30 +02:00
Dainius Daukševičius
62b008e693 remove TODO comments 2020-10-26 19:13:30 +02:00
Dainius Daukševičius
08d27265fc migrate to typescript 2020-10-26 19:13:30 +02:00
Ajay Ramachandran
c462323dd5
Merge pull request #178 from FoseFx/fosefx-errorh
Improve missing fields checks (POST skipSegment)
2020-10-21 10:57:43 -04:00
Max Baumann
967715ab3b
add new missing field checks 2020-10-21 16:31:13 +02:00
Ajay Ramachandran
7b818154dd
Merge pull request #176 from ajayyy/experimental
Don't fail when the YouTube API errors
2020-10-18 01:09:13 -04:00
Ajay Ramachandran
4f6ff4d177 Don't fail when the YouTube API errors 2020-10-18 01:08:52 -04:00
Ajay Ramachandran
0968394c84
Merge pull request #170 from ajayyy/experimental
Attach private db for read only
2020-10-15 14:27:17 -04:00
Ajay Ramachandran
809b09a1c2 Attach private db for read only 2020-10-15 14:25:34 -04:00
Ajay Ramachandran
b5f93edc7e
Merge pull request #169 from ajayyy/experimental
Increase max username size
2020-10-15 11:37:31 -04:00
Ajay Ramachandran
0a72a64489 Don't cache when cacheTimeMs is NaN 2020-10-15 11:33:47 -04:00
Ajay Ramachandran
d6ca579495 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2020-10-15 11:32:25 -04:00
Ajay Ramachandran
34b8119a21 Increase max username size 2020-10-14 23:12:04 -04:00
Ajay Ramachandran
ad74c2c710
Merge pull request #163 from thignus/reject-80percent-total-submissions
reject submissions if total length is more than 80 precent of the video
2020-10-14 19:43:16 -04:00
James Robinson
064d3ad5d5 fix test imports 2020-10-14 18:40:55 -05:00
Ajay Ramachandran
1f584984f4
Merge pull request #156 from MRuy/147-add-cache-for-gettopusers
Add cache for getTopUsers
2020-10-14 18:48:47 -04:00
Ajay Ramachandran
779b79c54b
Merge pull request #165 from ajayyy/testing
Testing
2020-10-14 18:47:55 -04:00
Ajay Ramachandran
4c222ce2cc
Merge branch 'master' into reject-80percent-total-submissions 2020-10-14 18:41:55 -04:00
Ajay Ramachandran
a7a9c0cdf6
Merge pull request #164 from Joe-Dowd/delete-nosegment
added delete nosegment endpoint
2020-10-14 18:40:22 -04:00
Ajay Ramachandran
e979cbba4e
Merge branch 'master' into 147-add-cache-for-gettopusers 2020-10-14 18:35:15 -04:00