Commit Graph

427 Commits

Author SHA1 Message Date
Joe Dowd
83ec23220c added wrong port test 2020-08-24 22:50:27 +01:00
Joe Dowd
dc7dadd9a1 tidy undesolved fix 2020-08-24 22:43:36 +01:00
Joe Dowd
3563924c6f Fixed undesolved test error 2020-08-24 22:40:02 +01:00
Joe Dowd
eb9282c60a add unresolvable host test - introduces tets faiulure 2020-08-24 22:22:02 +01:00
Joe Dowd
3066a077c7 added failed webhook call to tests 2020-08-24 22:10:49 +01: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
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
Joe Dowd
99c8d5d238 removed log and fixed log typo 2020-07-27 05:56:23 +01:00
Joe Dowd
0e34423dd6 added option to example config 2020-07-27 05:53:16 +01:00
Joe Dowd
18f5d656de Aded option to proxy submisissions to another server to persist. 2020-07-27 05:51:49 +01:00
Ajay Ramachandran
22fc90713a Merge pull request #104 from ajayyy/experimental
Fix shadow hidden endpoint
2020-07-26 11:45:20 -04:00
Ajay Ramachandran
fe444560fd Fix shadow hidden endpoint 2020-07-26 11:44:15 -04:00