Commit Graph

1823 Commits

Author SHA1 Message Date
Ajay Ramachandran
4b5a0fb59d Merge pull request #120 from ajayyy/experimental
New vote weight
2020-08-24 20:56:55 -04:00
Ajay Ramachandran
19363c86f9 New vote weight 2020-08-24 20:51:04 -04:00
Ajay Ramachandran
c7daa72b4e Merge pull request #119 from ajayyy/experimental
Added decimals to formatted time
2020-08-24 20:23:17 -04:00
Ajay Ramachandran
f7bde024cb Allow self-upvotes on dead submissions 2020-08-24 20:21:39 -04:00
Ajay Ramachandran
f4b36867ff Fixed duplicate variable 2020-08-24 20:15:46 -04:00
Ajay Ramachandran
2f2273b8a8 Added decimals to formatted time 2020-08-24 20:12:57 -04:00
Epic
f7ea7061d6 Merge pull request #4 from Joe-Dowd/testing-custom-webhooks
Fixed undesolved test error
2020-08-24 23:52:00 +02:00
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
Epic
ec1a294ef0 Merge pull request #3 from Joe-Dowd/testing-custom-webhooks
add unresolvable host test - introduces tets faiulure
2020-08-24 23:32:40 +02:00
Joe Dowd
eb9282c60a add unresolvable host test - introduces tets faiulure 2020-08-24 22:22:02 +01:00
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