Michael C
|
ede02eaa8c
|
add hashedVideoID to lockCategories
|
2021-07-05 20:01:10 -04:00 |
|
Ajay Ramachandran
|
c2d4f2578c
|
Merge pull request #300 from mchangrh/appease-eslint
Appease eslint
|
2021-07-05 13:29:18 -04:00 |
|
Michael C
|
d5204e9813
|
lint & fix tests
|
2021-07-05 03:14:05 -04:00 |
|
Michael C
|
9a4cd431e8
|
rewrite getLockCategores to new spec
|
2021-07-05 02:33:32 -04:00 |
|
Michael C
|
cef6d5f365
|
fix eslint errors
|
2021-07-04 23:36:47 -04:00 |
|
Michael C
|
1c116eda3b
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockCategories
|
2021-07-04 23:33:21 -04:00 |
|
Michael C
|
a860e96d35
|
getLockCategoresByHash
|
2021-07-04 23:33:12 -04:00 |
|
Michael C
|
719a0956ac
|
add getLockCategories
|
2021-07-04 17:03:28 -04:00 |
|
Michael C
|
3c197ec3d9
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fix-eslint
|
2021-07-04 15:23:00 -04:00 |
|
Ajay Ramachandran
|
0a60ca6468
|
Add repeating category for fetching by hash
Fixes #235
|
2021-07-04 14:20:54 -04:00 |
|
Ajay Ramachandran
|
990572ff31
|
Add parameter to fetch specific segments
|
2021-07-04 14:15:17 -04:00 |
|
Michael C
|
d89b26b77d
|
fix eslint-errors
|
2021-07-04 01:36:03 -04:00 |
|
Ajay Ramachandran
|
be277d0218
|
Merge pull request #284 from HaiDang666/283_show-lastest-warning
Show lastest warning when post segment
|
2021-07-03 22:46:26 -04:00 |
|
Ajay Ramachandran
|
a7315eaee0
|
Add case for default warning message
|
2021-07-03 22:45:13 -04:00 |
|
Ajay Ramachandran
|
cf592554f1
|
Merge branch 'master' into unhide-vote
|
2021-07-03 22:37:23 -04:00 |
|
Michael C
|
931b3fdc68
|
disallow vote types 10/11
|
2021-07-02 23:07:17 -04:00 |
|
Michael C
|
36a5b4e1d3
|
VIP upvotes unhide segments
also added test for undo-vote
|
2021-07-02 22:54:54 -04:00 |
|
Haidang666
|
09e50d432e
|
Update postSegment test with reason
|
2021-07-01 11:31:35 +07:00 |
|
Ajay Ramachandran
|
7a877a9653
|
Merge pull request #282 from HaiDang666/276_warn-reason
User warning reason
|
2021-06-30 13:43:08 -04:00 |
|
Ajay Ramachandran
|
ce59d3f95f
|
Don't fail if row is undefined
|
2021-06-30 00:01:40 -04:00 |
|
Haidang666
|
081f2d14b7
|
Add test, Fix sql syntax
|
2021-06-30 08:59:20 +07:00 |
|
Ajay Ramachandran
|
8b54e965a2
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2021-06-28 13:24:04 -04:00 |
|
Ajay Ramachandran
|
0ddde452e3
|
Auto-lock username when admin changes it
https://github.com/ajayyy/SponsorBlockServer/issues/168
|
2021-06-28 13:20:57 -04:00 |
|
Ajay Ramachandran
|
7dbd4a3150
|
Merge pull request #275 from HaiDang666/193_log-username-change
Add log when update username
|
2021-06-27 18:13:21 -04:00 |
|
Ajay Ramachandran
|
98b5fa7bce
|
Merge pull request #274 from mchangrh/getUserID
GET api/userID
|
2021-06-27 18:10:35 -04:00 |
|
Haidang666
|
41ba37c04e
|
Fix boolean comparison, Add log table to schema visual
|
2021-06-27 11:57:39 +07:00 |
|
Haidang666
|
f5bb221ecd
|
Add log when update username
|
2021-06-27 11:45:42 +07:00 |
|
Michael C
|
2f50d80a75
|
add explit param
|
2021-06-26 23:02:52 -04:00 |
|
Michael C
|
b06a6fbb51
|
redos prevention
|
2021-06-25 15:57:41 -04:00 |
|
Michael C
|
f2490beea2
|
put in limits and escapes
|
2021-06-25 14:35:51 -04:00 |
|
Michael C
|
09ab1dabdf
|
set limit of 64 characters for lookup
|
2021-06-25 11:57:27 -04:00 |
|
Michael C
|
f29bafe89a
|
fiix tests
|
2021-06-25 03:37:27 -04:00 |
|
Michael C
|
d4695f0192
|
add getUserID and tests
|
2021-06-25 03:33:41 -04:00 |
|
Michael C
|
2ab782f4b6
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-tests
|
2021-06-25 00:54:38 -04:00 |
|
Ajay Ramachandran
|
3c3c963fd3
|
Fixed captialization error
|
2021-06-24 02:16:26 -04:00 |
|
Michael C
|
ae8a25e481
|
more edge cast test cases
- check for null instead of 0 #267
- check that parameter specifying multiple overrides repeating parameters
|
2021-06-24 01:37:51 -04:00 |
|
Ajay Ramachandran
|
0bbb2aa60d
|
Add one more check in tests
|
2021-06-24 01:36:54 -04:00 |
|
Haidang666
|
9b43ce0ab7
|
Add purge all segments of VideoId
|
2021-06-24 12:29:02 +07:00 |
|
Ajay Ramachandran
|
0fbfee8dc8
|
Use logger instead of console.log
|
2021-06-24 00:08:19 -04:00 |
|
Michael C
|
da92f2082d
|
set up postgres CI route
uses env flag TEST_POSTGRES since the sqlite test also runs with env flag CI true
|
2021-06-23 15:35:08 -04:00 |
|
Nanobyte
|
7b9e06a471
|
Merge branch 'master' into fix/prepare-statements
|
2021-06-22 01:05:48 +02:00 |
|
Nanobyte
|
a005a961f9
|
Fix test cases
|
2021-06-22 00:59:56 +02:00 |
|
Nanobyte
|
4b1f5b4a44
|
Remove console log from test case
|
2021-06-22 00:56:00 +02:00 |
|
Ajay Ramachandran
|
0b24871415
|
Fix comment in reputation test
|
2021-06-21 18:42:54 -04:00 |
|
Ajay Ramachandran
|
a7cb0959e2
|
Merge pull request #262 from mchangrh/repeated-param
parse repeated parameters
|
2021-06-21 14:21:17 -04:00 |
|
Nanobyte
|
11e6c93932
|
Merge remote-tracking branch 'upstream/master' into fix/prepare-statements
|
2021-06-21 18:19:50 +02:00 |
|
Michael C
|
dd74dd3b1b
|
parse repeated parameters
|
2021-06-21 00:33:48 -04:00 |
|
Ajay Ramachandran
|
48d88614fb
|
Move shadow ban list to public db
Warning: Migration is not automatic
|
2021-06-20 13:41:35 -04:00 |
|
Ajay Ramachandran
|
96015d402b
|
Make reputation take into account self downvotes
|
2021-06-20 12:57:32 -04:00 |
|
Ajay Ramachandran
|
1770608525
|
Merge pull request #257 from mchangrh/vip-cache-clear
VIP endpoint for clearing cache of video
|
2021-06-18 19:01:08 -04:00 |
|
Michael C
|
c13bc6cfbd
|
added tests and route
|
2021-06-18 17:46:18 -04:00 |
|
Michael C
|
c92e44bb1d
|
made 400/404 behaviour consistent with API docs
|
2021-06-18 14:43:59 -04:00 |
|
Ajay Ramachandran
|
1dcb63f2cc
|
Fix typo in test
|
2021-06-17 19:09:24 -04:00 |
|
Ajay Ramachandran
|
0b967b9f45
|
Merge pull request #252 from mchangrh/segmentInfo
Implementation of segmentInfo and new userInfo properties
|
2021-06-16 13:24:39 -04:00 |
|
Ajay Ramachandran
|
5fe6ce6656
|
Merge pull request #250 from mchangrh/fix-getskipsegment-test
Fix Test Suite
|
2021-06-16 00:47:55 -04:00 |
|
Michael C
|
8dcc1a4a53
|
add getSegmentInfo with tests
|
2021-06-16 00:33:51 -04:00 |
|
Michael C
|
0a8f7aa39d
|
skipSegments return 400 if bad categories
|
2021-06-15 23:01:26 -04:00 |
|
Michael C
|
31071ddb17
|
new test cases
|
2021-06-15 21:56:20 -04:00 |
|
Michael C
|
a003733e51
|
fix test suite
|
2021-06-15 21:29:36 -04:00 |
|
Michael C
|
3b16cdb920
|
add last lastSegmentID
|
2021-06-15 17:08:17 -04:00 |
|
Michael C
|
607b7cbb0a
|
add ignored counts
|
2021-06-15 15:50:41 -04:00 |
|
Ajay Ramachandran
|
eb2b41bc8a
|
Merge pull request #243 from MRuy/feature/lock-username
Add lock username
|
2021-06-15 01:04:20 -04:00 |
|
Nanobyte
|
34fd78961b
|
Add username lock
|
2021-06-15 00:09:37 +02:00 |
|
Ajay Ramachandran
|
e06eb96fa7
|
Add ability to ban specific category
|
2021-06-14 16:23:39 -04:00 |
|
Ajay Ramachandran
|
4225d9b3b3
|
Silently reject votes
|
2021-06-08 20:20:05 -04:00 |
|
Ajay Ramachandran
|
0904036009
|
Use newleaf instead of YouTube API
|
2021-06-02 22:34:38 -04:00 |
|
Ajay Ramachandran
|
ec51ff835a
|
Consider locked segments when calculating reputation
|
2021-05-29 20:48:41 -04:00 |
|
Ajay Ramachandran
|
6a58a08781
|
Rename user info endpoint
|
2021-05-24 16:05:18 -04:00 |
|
Ajay Ramachandran
|
3f682d467d
|
Fix reputation unit tests
|
2021-05-24 16:00:45 -04:00 |
|
Ajay Ramachandran
|
676fc8ea08
|
Add reputation to user info
|
2021-05-24 15:56:03 -04:00 |
|
Ajay Ramachandran
|
eb2ffff780
|
Add tests for reputation
|
2021-05-23 18:51:23 -04:00 |
|
Ajay Ramachandran
|
590ed037dd
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into export
|
2021-05-23 11:17:10 -04:00 |
|
Nanobyte
|
78a7f8a207
|
Fix test case prepare statements
|
2021-05-07 01:51:11 +02:00 |
|
Nanobyte
|
f561388a1f
|
Rename noSegments to lockCategories
|
2021-04-24 01:54:42 +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 |
|
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
|
c9a8dc21b1
|
Unlock videos and hide segments if duration changed
|
2021-03-29 19:16:18 -04:00 |
|
Ajay Ramachandran
|
5152d7e649
|
Fixed tests
|
2021-03-26 19:13:52 -04:00 |
|
Ajay Ramachandran
|
3c89e9c015
|
Send back duration in getSkipSegments request
|
2021-03-19 22:52:23 -04:00 |
|
Ajay Ramachandran
|
5544491728
|
Add duration option when submitting and save duration in DB
|
2021-03-19 22:45:30 -04:00 |
|
Ajay Ramachandran
|
29d2c9c25e
|
Add new "Service" option
|
2021-03-19 21:31:16 -04:00 |
|
Ajay Ramachandran
|
8729796e87
|
Make tests pass running with postgres
|
2021-03-07 00:21:56 -05:00 |
|
Ajay Ramachandran
|
54e69b266d
|
Fix tests
|
2021-03-06 00:25:18 -05:00 |
|
Ajay Ramachandran
|
46b42da5bd
|
Update tests to use promises
|
2021-03-01 21:37:35 -05:00 |
|
Ajay Ramachandran
|
ff4af3786e
|
Switch to postgres + promises
|
2021-03-01 20:40:31 -05:00 |
|
Nanobyte
|
09c9b25178
|
Fix getSkipSegmentsByHash requires valid json
The categories parameter has to be a valid array with strings in JSON format
|
2021-02-25 19:08:29 +01:00 |
|
Ajay Ramachandran
|
597dff7ac3
|
Unlock segment if VIP downvotes
|
2021-02-18 22:09:57 -05:00 |
|
Ajay Ramachandran
|
57adcd3c65
|
Replace VIP starting with 1000 votes with locked submissions
|
2021-02-18 20:24:04 -05:00 |
|
Ajay Ramachandran
|
ef21ceb332
|
Add segment locking
|
2021-02-18 19:48:36 -05:00 |
|
Ajay Ramachandran
|
3b24dfd4c5
|
Fix unwarn not working
|
2021-01-24 12:45:13 -05:00 |
|
Nanobyte
|
797e0b4641
|
Fix test cases
|
2021-01-06 01:43:28 +01:00 |
|
Ajay Ramachandran
|
432cc42cba
|
Don't allow duplicate warnings
|
2020-12-29 13:31:15 -05:00 |
|
Ajay Ramachandran
|
78ef129634
|
Add remove feature to warnUser
|
2020-12-29 00:18:50 -05:00 |
|
Ajay Ramachandran
|
71aa7ec0ef
|
Remove extra js test
|
2020-12-24 21:29:45 -05:00 |
|
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
|
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
|
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 |
|
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 |
|
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
|
08d27265fc
|
migrate to typescript
|
2020-10-26 19:13:30 +02: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
|
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
|
e4045952c8
|
Merge branch 'master' into feature/getuserinfo
|
2020-10-14 18:34:27 -04:00 |
|
Ajay Ramachandran
|
678e4187c5
|
Merge pull request #154 from MRuy/feature-segmentshift
Added segmentShift
|
2020-10-14 18:27:09 -04:00 |
|
Joe Dowd
|
830ef7e0dc
|
made youtube api cache have conatcnt part value
|
2020-10-14 20:52:01 +01:00 |
|
Joe Dowd
|
2426b51512
|
added delete nosegment endpoint
|
2020-10-14 20:18:31 +01:00 |
|
James Robinson
|
2825cb63fb
|
ignore segments with less than -1 votes
|
2020-10-14 00:33:00 -05:00 |
|
James Robinson
|
85dd187cb0
|
reject submissions if total length is more than 80 precent of the video
|
2020-10-14 00:25:05 -05:00 |
|
Ajay Ramachandran
|
62a047337c
|
Merge pull request #161 from ajayyy/testing
Testing
|
2020-10-11 13:36:41 -04:00 |
|
Joe Dowd
|
b244b1e1ad
|
reverted test to 404
|
2020-10-06 23:25:16 +01:00 |
|
Nanobyte
|
cce20319ad
|
Submission UUID generation moved to function
See issue #139
|
2020-10-06 15:59:32 +02:00 |
|
Nanobyte
|
8e33fdf49f
|
Added segmentShift
See #151
|
2020-10-04 21:37:35 +02:00 |
|
Joe Dowd
|
fe91d13ff3
|
removed old functionality comments
|
2020-10-01 00:53:13 +01:00 |
|
Joe Dowd
|
4cea3c2a3b
|
Added [] return rather than 404 for no segments with matching hash
|
2020-10-01 00:51:58 +01:00 |
|
Nanobyte
|
36f654f41c
|
Blocking users with too many active warnings from submitting votes and submissions
|
2020-09-16 22:40:11 +02:00 |
|
Ajay Ramachandran
|
3c79c0f7a8
|
Remove extra test case
|
2020-09-16 13:48:54 -04:00 |
|
Joe Dowd
|
075cb9d5f2
|
added warning system
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-09-16 00:56:10 +02:00 |
|
Nanobyte
|
b52a862f4f
|
Merge branch 'master' into feature/getuserinfo
|
2020-09-15 19:08:56 +02:00 |
|
Ajay Ramachandran
|
d3463bbef2
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testing
# Conflicts:
# src/routes/postSkipSegments.js
# test/cases/voteOnSponsorTime.js
|
2020-09-15 11:56:14 -04:00 |
|
Nanobyte
|
43db13ab3f
|
Added getUserInfo endpoint
This endpoint provides the following data about the user:
* userID
* userName
* minutesSaved
* segmentCount
* viewCount
|
2020-09-14 09:17:35 +02:00 |
|
Ajay Ramachandran
|
7a83e7901a
|
Merge pull request #131 from ajayyy/query-by-hash-prefix
Hash prefix fixes
|
2020-09-11 17:45:58 -04:00 |
|
Ajay Ramachandran
|
0c14560eaa
|
Merge branch 'master' into nb-mod-fetch
|
2020-09-11 17:32:14 -04:00 |
|
Joe Dowd
|
a068e194e9
|
added test for change category
|
2020-09-09 21:57:59 +01:00 |
|
Joe Dowd
|
9d94067cd0
|
Added youtube api cache (optional)
|
2020-09-08 17:37:29 +01:00 |
|
Andrew Lee
|
66c3109037
|
Add Discord webhook for videos that fail NB check
|
2020-09-05 18:07:43 -04:00 |
|
Andrew Lee
|
e8116de4bb
|
Update configs for NB discord URLs
|
2020-09-05 17:03:52 -04:00 |
|
Ajay Ramachandran
|
8de7801662
|
Removed extra test case
|
2020-09-04 12:34:05 -04:00 |
|
Joe Dowd
|
75de91ae1c
|
Merge pull request #4 from Joe-Dowd/query-by-hash-prefix
Query by hash prefix
|
2020-09-03 22:26:46 +01:00 |
|
Joe Dowd
|
e33062feeb
|
updated endpoints
|
2020-09-01 21:37:54 +01:00 |
|
Joe Dowd
|
2c32460a6e
|
more tests
|
2020-08-31 04:17:50 +01:00 |
|
Joe Dowd
|
2067599843
|
added test for hash prefix length
|
2020-08-31 03:27:12 +01:00 |
|
Joe Dowd
|
00534d91d4
|
added underscore to category format check
|
2020-08-31 03:09:47 +01:00 |
|
Joe Dowd
|
88e6c6f93c
|
added db upgrade tests
|
2020-08-31 02:52:12 +01:00 |
|
Joe Dowd
|
82d59e159f
|
added post and get test to hash prefix
|
2020-08-31 02:42:25 +01:00 |
|
Joe Dowd
|
aa878482d3
|
removed status from no segment responses
|
2020-08-31 01:55:38 +01:00 |
|
Joe Dowd
|
754d3762df
|
fixed test category name
|
2020-08-31 01:50:36 +01:00 |
|
Joe Dowd
|
1e643c1c07
|
categorys -> categories
|
2020-08-31 01:48:41 +01:00 |
|
Joe Dowd
|
28bd24022b
|
removed schema comments and removed test log
|
2020-08-31 01:08:18 +01:00 |
|
Joe Dowd
|
84c8eeccc6
|
added hash prefix test for missing categories
|
2020-08-31 01:06:50 +01:00 |
|
Joe Dowd
|
1a06502806
|
added get segments by hash prefix
|
2020-08-31 00:45:06 +01:00 |
|
Joe Dowd
|
26c72b006c
|
mreged no-segments
|
2020-08-30 22:33:56 +01:00 |
|
Joe Dowd
|
b8d7eef536
|
origin testing merge
|
2020-08-30 22:24:37 +01:00 |
|
Joe Dowd
|
5f23fdd590
|
Added tests and finished no-segments interface.
|
2020-08-30 21:47:02 +01:00 |
|
Joe Dowd
|
84533b544a
|
Merge testing & bufgix on logging proxy submissions
|
2020-08-30 20:37:24 +01:00 |
|
Ajay Ramachandran
|
ba68969943
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch
# Conflicts:
# src/routes/postSkipSegments.js
# test/mocks.js
|
2020-08-29 21:03:13 -04:00 |
|
Andrew Lee
|
72ce7fcb56
|
Update test cases with new automod api
|
2020-08-29 20:41:07 -04:00 |
|
Andrew Lee
|
f1c520fbe8
|
Merge branch 'master' into nb-mod-fetch
|
2020-08-29 16:37:20 -04:00 |
|
Joe Dowd
|
75a62a5729
|
make tests hit webhook code
|
2020-08-24 22:04:18 +01:00 |
|
Joe Dowd
|
a5cf59d854
|
improved error handling
|
2020-08-22 20:39:13 +01:00 |
|
Joe Dowd
|
c946d2309e
|
add is VIP endpoint
|
2020-08-22 03:58:27 +01:00 |
|
Joe Dowd
|
6bde59c14a
|
added extra sql test
|
2020-08-22 03:29:16 +01:00 |
|
Joe Dowd
|
f53c541538
|
added ability for vips to submit segments not in a video
|
2020-08-22 03:05:51 +01:00 |
|
Joe Dowd
|
44ea0c418a
|
fixed db update, started no segments
|
2020-08-22 02:14:19 +01:00 |
|
Joe Dowd
|
16c68dd51d
|
allow removing own segments with a downvote
|
2020-08-21 22:32:34 +01:00 |
|
Ajay Ramachandran
|
4bfa5e7de8
|
Banned users can't vote
|
2020-07-26 11:13:36 -04:00 |
|
Ajay Ramachandran
|
15fb572b80
|
Added IP test and potentially improved performance
|
2020-07-25 21:40:49 -04:00 |
|
Ajay Ramachandran
|
e71680c8e3
|
Block voting without submitting and on the same IP
|
2020-07-25 21:35:43 -04:00 |
|
Joe-Dowd
|
13e4adf18f
|
PR comments resolved
|
2020-07-10 01:46:09 +01:00 |
|
Joe-Dowd
|
46dd16caf9
|
added ability to query mysql database
|
2020-07-05 04:14:15 +01:00 |
|
Martijn van der Ven
|
d8203dce77
|
Make sure to always insert hashed video ID
|
2020-05-23 17:57:33 +02:00 |
|
Ajay Ramachandran
|
a2caa53664
|
Only sponsors must be longer than 1 second.
Also added proper error message when submission is too short.
|
2020-05-16 18:33:16 -04:00 |
|
Ajay Ramachandran
|
0060b5e5af
|
Prevent crash when category-voting on invalid UUID
|
2020-05-11 18:07:57 -04:00 |
|
Ajay Ramachandran
|
b2705dfb2d
|
Prevented upvotes on "dead" submissions unless they are VIP.
|
2020-05-10 00:08:05 -04:00 |
|
Ajay Ramachandran
|
318d816a37
|
Change test case to check 7s
|
2020-04-30 23:41:38 -04:00 |
|
Ajay Ramachandran
|
a278036f1d
|
Added neural block mock
|
2020-04-30 19:13:42 -04:00 |
|
Ajay Ramachandran
|
0cf84612e9
|
Merge branch 'get-ip-fixes' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch
# Conflicts:
# src/routes/postSkipSegments.js
|
2020-04-30 19:04:23 -04:00 |
|
Ajay Ramachandran
|
f4ce5618bf
|
Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch
# Conflicts:
# src/routes/postSkipSegments.js
# test/cases/postSkipSegments.js
|
2020-04-30 18:44:49 -04:00 |
|
Ajay Ramachandran
|
8290c9e1f4
|
Added new NB overlapping code
|
2020-04-30 18:39:03 -04:00 |
|
Ajay Ramachandran
|
6a17e4d141
|
Added test cases for voting and fixed code to support them.
|
2020-04-29 22:15:16 -04:00 |
|
Ajay Ramachandran
|
f23ead56ad
|
Updated inserts to new database schema and removed null coalescing
|
2020-04-29 21:26:11 -04:00 |
|
Ajay Ramachandran
|
d767f2ff6b
|
Added schema upgrade system and started on new vote type
|
2020-04-27 23:01:51 -04:00 |
|
Andrew Lee
|
b101831a1b
|
Extended timeout to test cases where necessary
|
2020-04-25 17:15:19 -04:00 |
|
Ajay Ramachandran
|
70ca58f98e
|
Merge pull request #76 from Joe-Dowd/bugfix-0durationautomod
Bugfix 0durationautomod
|
2020-04-24 13:50:58 -04:00 |
|
Joe-Dowd
|
fd397de6b4
|
allow submission if duration is 0
|
2020-04-24 18:20:40 +01:00 |
|
Ajay Ramachandran
|
546ded3bdd
|
Fixed mocks not responding properly
|
2020-04-23 12:48:02 -04:00 |
|
Andrew Lee
|
35fa384a5b
|
Added automod check with NB
|
2020-04-19 12:10:39 -04:00 |
|
Ajay Ramachandran
|
5eca6016fa
|
Fixed getSkipSegments tests due to removal of JSON body as input
|
2020-04-09 15:40:27 -04:00 |
|
Ajay Ramachandran
|
f9ec4e37e9
|
Added another test case for get
|
2020-04-07 02:41:20 -04:00 |
|
Ajay Ramachandran
|
d331ece0be
|
Added JSON get test cases
|
2020-04-07 02:39:29 -04:00 |
|
Ajay Ramachandran
|
57cc4f698f
|
Added get sponsor test cases
|
2020-04-07 02:24:58 -04:00 |
|
Ajay Ramachandran
|
0b4416d9eb
|
Renamed old get method
|
2020-04-07 02:04:37 -04:00 |
|
Ajay Ramachandran
|
557c6ad05a
|
Fixed discord tests
|
2020-04-06 20:12:12 -04:00 |
|
Ajay Ramachandran
|
9807d3e9c7
|
Merge
|
2020-04-06 20:05:26 -04:00 |
|
Ajay Ramachandran
|
8eca458e38
|
Added DB checks to tests and fixed getIP using the wrong config
|
2020-04-06 17:25:20 -04:00 |
|
Ajay Ramachandran
|
bd2f00d5f7
|
Added new submission method
|
2020-04-06 16:43:47 -04:00 |
|
Joe-Dowd
|
cc0bfef0ad
|
added more tests (categories prep)
|
2020-04-03 21:45:06 +01:00 |
|
Joe-Dowd
|
819f338c68
|
Ensured anything in master is implemented
|
2020-04-02 18:53:02 +01:00 |
|
Joe-Dowd
|
393c131104
|
remove duplicate videoID in test cases
|
2020-04-01 23:42:58 +01:00 |
|
Joe-Dowd
|
af149b09a9
|
added getSavedTimeForUser test
|
2020-04-01 23:39:56 +01:00 |
|