Commit graph

220 commits

Author SHA1 Message Date
Ajay Ramachandran
a23ec160c0 Make reputation take into account more recent segments 2021-07-12 11:05:12 -04:00
Michael C
2d38ef921e
use deepStringEqual instead of deepAssert 2021-07-08 00:59:15 -04:00
Michael C
9f05595cd6
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testAssert 2021-07-08 00:51:56 -04:00
Michael C
178ed1e5af
replace if tests with assert 2021-07-08 00:39:57 -04:00
Ajay Ramachandran
2105cdf10b Fix segment id test 2021-07-07 18:24:16 -04:00
Haidang666
feba2af9ed Fix any type 2021-07-06 13:42:08 +07:00
Haidang666
6fcfeb2889 Fix deep equal fail 2021-07-06 13:36:56 +07:00
Haidang666
14f55c9ee5 Add lock category reason 2021-07-06 13:31:44 +07:00
Ajay Ramachandran
4272f9de99
Merge pull request #305 from ajayyy/userid-limit
Minimum userID size
2021-07-06 01:00:44 -04:00
Ajay Ramachandran
8e0e66d662
Merge pull request #298 from ajayyy/mute-skip
Silent skip type
2021-07-06 01:00:22 -04:00
Ajay Ramachandran
48349070b3 Combine action type segments when sorting overlapping 2021-07-06 00:57:57 -04:00
Ajay Ramachandran
2379899f02 Add a minimum size to userID when submitting 2021-07-06 00:49:07 -04:00
Ajay Ramachandran
35e1cf5733 Add test for submitting 2021-07-06 00:22:01 -04:00
Ajay Ramachandran
139dff97ef Add tests for normal get segments 2021-07-06 00:19:16 -04:00
Ajay Ramachandran
be006403ed Add tests for getting segment by hash 2021-07-06 00:11:04 -04:00
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