661 Commits

Author SHA1 Message Date
Epic
2dc5dea10b Merge pull request #2 from Joe-Dowd/testing-custom-webhooks
added failed webhook call to tests
2020-08-24 23:14:45 +02:00
Joe Dowd
3066a077c7 added failed webhook call to tests 2020-08-24 22:10:49 +01:00
Epic
72b317352f Merge pull request #1 from Joe-Dowd/testing-custom-webhooks
make tests hit webhook code
2020-08-24 23:06:55 +02:00
Joe Dowd
75a62a5729 make tests hit webhook code 2020-08-24 22:04:18 +01:00
TAG-Epic
3085b0e30c Remove random s 2020-08-24 22:45:47 +02:00
TAG-Epic
5c9aa8c9ca Cleaned up function names 2020-08-24 13:59:13 +02:00
TAG-Epic
2c70f87b93 Add webhooks to postSkipSegments 2020-08-24 13:14:04 +02:00
TAG-Epic
aca4318351 Move dispatchEvent to webhookUtils 2020-08-24 09:06:47 +02:00
TAG-Epic
16777c30ca Change .size to .length 2020-08-23 22:35:35 +02:00
TAG-Epic
a897c313fb Remove broken and unnecessary check 2020-08-23 22:33:06 +02:00
TAG-Epic
9eddc330c5 Move getVoteAuthor to webhookUtils and move user status (api) to webhookUtils 2020-08-23 22:30:35 +02:00
TAG-Epic
20d813d2ea Fix missing semicolon 2020-08-23 22:13:00 +02:00
TAG-Epic
14a990f7ea Remove duplicate isOwnSubmission 2020-08-23 22:09:02 +02:00
TAG-Epic
2597a57f3a Update user status to include self remove 2020-08-23 22:02:34 +02:00
TAG-Epic
7ae97e4c69 Change submission id to UUID 2020-08-23 21:45:39 +02:00
TAG-Epic
e5aa631da0 Refactor custom webhooks 2020-08-23 21:44:50 +02:00
TAG-Epic
a268f9a892 Update example & test config 2020-08-23 20:54:18 +02:00
TAG-Epic
77d08d2340 Use logger instead of console.log 2020-08-23 20:05:11 +02:00
TAG-Epic
2ffed72977 Fix merge conflicts 2020-08-23 20:02:18 +02:00
TAG-Epic
81cb93d03e Merge remote-tracking branch 'origin/master' into master 2020-08-23 20:00:59 +02:00
TAG-Epic
f7d162b955 Add custom webhooks for votes 2020-08-23 19:42:52 +02:00
Ajay Ramachandran
342a661606 Merge pull request #117 from ajayyy/experimental
Logging improvements
2020-08-23 12:48:15 -04:00
Ajay Ramachandran
ece475076e Added log colors and method name 2020-08-23 12:35:57 -04:00
Ajay Ramachandran
8474b74cbf Merge pull request #116 from ajayyy/experimental
Add author name to discord notification
2020-08-23 11:37:22 -04:00
Ajay Ramachandran
9cebb8769f Add author name to discord notification 2020-08-23 11:34:07 -04:00
Ajay Ramachandran
0289b71497 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2020-08-23 11:21:28 -04:00
Ajay Ramachandran
dc33a3a383 Merge pull request #115 from ajayyy/testing
Testing
2020-08-23 11:12:29 -04:00
Ajay Ramachandran
b59b0f5387 Merge pull request #113 from Joe-Dowd/remove-own-submission
Remove own submission with a downvote
2020-08-22 16:07:05 -04:00
Ajay Ramachandran
dc6c6fc5e9 Merge pull request #112 from Joe-Dowd/logging-change
Logging change
2020-08-22 16:05:48 -04:00
Joe Dowd
17649157c1 changed dockler default config to use sqlite 2020-08-22 20:53:32 +01:00
Joe Dowd
fba25fea0f Update src/routes/voteOnSponsorTime.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2020-08-22 20:45:31 +01:00
Joe Dowd
a5cf59d854 improved error handling 2020-08-22 20:39:13 +01:00
Joe Dowd
a971072cb8 reject submissions that have meen marked as invalid by a vip 2020-08-22 04:23:28 +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
db3de8ce6f changed copy/pasted comment 2020-08-22 03:21:10 +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
Joe Dowd
c1d4ba3c80 Merge pull request #2 from Joe-Dowd/logging-change
Added logger util and used in place of console log
2020-08-21 21:06:22 +01:00
Joe Dowd
226197a827 Added logger util and used in place of console log 2020-08-21 15:27:41 +01:00
Ajay Ramachandran
2516634856 Don't allow 0 ms submissions 2020-08-02 12:08:44 -04:00
Ajay Ramachandran
d5a720fa0c Check that start time is not less than zero 2020-08-02 11:58:11 -04:00
Joe Dowd
5ac5c30fd6 import config 2020-07-28 04:32:12 +01:00
Joe Dowd
f4db30e988 Merge branch 'testing' of github.com:Joe-Dowd/SponsorBlockServer into testing 2020-07-28 04:04:56 +01:00
Ajay Ramachandran
5fc839513e Merge pull request #105 from Joe-Dowd/proxy-submission
Proxy submission
2020-07-27 21:09:32 -04:00
Ajay Ramachandran
7878336866 Don't return after proxying 2020-07-27 20:53:15 -04:00
Ajay Ramachandran
cadf2640fe Add spacing 2020-07-27 19:54:38 -04:00
Ajay Ramachandran
98b79b042b Return when proxying 2020-07-27 19:54:08 -04:00
Ajay Ramachandran
51fe7d5599 Changed to if statement 2020-07-27 19:53:23 -04:00