Commit Graph

  • 0060b5e5af Prevent crash when category-voting on invalid UUID Ajay Ramachandran 2020-05-11 18:07:57 -04:00
  • ada64d97a6 Merge pull request #78 from ajayyy/new-vote-options Ajay Ramachandran 2020-05-10 20:21:50 -04:00
  • 14c0aa1ec1 Make key in config unique Ajay Ramachandran 2020-05-10 20:19:04 -04:00
  • b2705dfb2d Prevented upvotes on "dead" submissions unless they are VIP. Ajay Ramachandran 2020-05-10 00:08:05 -04:00
  • 8638698d61 Added schema upgrades for both DBs Ajay Ramachandran 2020-05-03 13:25:45 -04:00
  • d4328f4d54 Change the version code to be the last run upgrade file. Ajay Ramachandran 2020-05-03 12:08:07 -04:00
  • 8eecffd3d5 Changed from version table to a key-value config table. Ajay Ramachandran 2020-05-03 12:01:49 -04:00
  • bf2646978a Removed NB URL from example config Ajay Ramachandran 2020-05-03 11:49:04 -04:00
  • f5eb522e39 Removed default NB server Ajay Ramachandran 2020-05-03 11:46:16 -04:00
  • e449b5a436 Merge branch 'nb-mod-fetch' of https://github.com/andrewzlee/SponsorBlockServer into nb-mod-fetch Ajay Ramachandran 2020-04-30 23:42:14 -04:00
  • 318d816a37 Change test case to check 7s Ajay Ramachandran 2020-04-30 23:41:38 -04:00
  • 684000074e Fix overlap percentage wrong Ajay Ramachandran 2020-04-30 23:40:04 -04:00
  • 5e252ed4af Added extra message to auto moderator Ajay Ramachandran 2020-04-30 21:19:37 -04:00
  • eb936d579c Don't moderate if VIP. Ajay Ramachandran 2020-04-30 19:17:52 -04:00
  • a278036f1d Added neural block mock Ajay Ramachandran 2020-04-30 19:13:42 -04:00
  • 0cf84612e9 Merge branch 'get-ip-fixes' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch Ajay Ramachandran 2020-04-30 19:04:23 -04:00
  • c2b17ea7a8 Made auto-moderate only call API once Ajay Ramachandran 2020-04-30 19:00:26 -04:00
  • f4ce5618bf Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch Ajay Ramachandran 2020-04-30 18:44:49 -04:00
  • 8290c9e1f4 Added new NB overlapping code Ajay Ramachandran 2020-04-30 18:39:03 -04:00
  • abee010291 Renamed variables and added spacing. Ajay Ramachandran 2020-04-30 18:15:17 -04:00
  • 004f714924 Use response.ok Ajay Ramachandran 2020-04-30 18:10:27 -04:00
  • 9fcd23d63a Let NB mod fail on any internal server error Andrew Lee 2020-04-30 14:16:19 -07:00
  • 9a317a2c23 Added getIP options Ajay Ramachandran 2020-04-30 00:34:34 -04:00
  • e303405ee0 Check before mkdir Ajay Ramachandran 2020-04-30 00:31:42 -04:00
  • 5c0062d9df Make directories if needed for the databases Ajay Ramachandran 2020-04-29 22:21:15 -04:00
  • bd9a411106 Updated packages Ajay Ramachandran 2020-04-29 22:15:31 -04:00
  • 6a17e4d141 Added test cases for voting and fixed code to support them. Ajay Ramachandran 2020-04-29 22:15:16 -04:00
  • ad169fd6e7 Added VIP support to category vote Ajay Ramachandran 2020-04-29 21:30:07 -04:00
  • f23ead56ad Updated inserts to new database schema and removed null coalescing Ajay Ramachandran 2020-04-29 21:26:11 -04:00
  • 98f4d973e7 Added wrong category vote option. Ajay Ramachandran 2020-04-29 20:56:34 -04:00
  • cb2b0aabf3 Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into new-vote-options Ajay Ramachandran 2020-04-29 19:58:19 -04:00
  • b5fcdea62f Don't upgrade if read only Ajay Ramachandran 2020-04-29 19:40:17 -04:00
  • 0eec924c02 Made all updates required be performed at once. Ajay Ramachandran 2020-04-29 18:31:19 -04:00
  • e27ef39dcf Remove unused function Ajay Ramachandran 2020-04-29 18:26:05 -04:00
  • 37587fd12a Merge pull request #79 from Joe-Dowd/mod-report-submission Ajay Ramachandran 2020-04-29 17:45:56 -04:00
  • d930853edf review changes Joe-Dowd 2020-04-29 22:27:38 +01:00
  • e9e525ec63 fixed formatting Joe-Dowd 2020-04-28 05:18:54 +01:00
  • 13aee13f18 Improved phrasing of error responses \n removed debug logs Joe-Dowd 2020-04-28 05:10:55 +01:00
  • f6df7e5f6f remove testing logs Joe-Dowd 2020-04-28 05:07:39 +01:00
  • cfa80be4c7 add user history to discord notification on segment reporting Joe-Dowd 2020-04-28 05:04:51 +01:00
  • cde51a3059 Only unhide submissions with normal vote Ajay Ramachandran 2020-04-27 23:02:29 -04:00
  • d767f2ff6b Added schema upgrade system and started on new vote type Ajay Ramachandran 2020-04-27 23:01:51 -04:00
  • 074e9fc0eb Merge branch 'nb-mod-fetch' of https://github.com/andrewzlee/SponsorBlockServer into nb-mod-fetch Andrew Lee 2020-04-25 17:45:47 -04:00
  • ee75eea939 Changed interval check Andrew Lee 2020-04-25 17:38:21 -04:00
  • 1026f65280 Changed interval check Andrew Lee 2020-04-25 17:38:21 -04:00
  • b101831a1b Extended timeout to test cases where necessary Andrew Lee 2020-04-25 17:15:19 -04:00
  • ba555c0a7c Syntax fixes to pass tests. Andrew Lee 2020-04-25 17:11:44 -04:00
  • 74169e6caf Merge pull request #77 from ajayyy/testing Ajay Ramachandran 2020-04-24 13:53:17 -04:00
  • 70ca58f98e Merge pull request #76 from Joe-Dowd/bugfix-0durationautomod Ajay Ramachandran 2020-04-24 13:50:58 -04:00
  • fd397de6b4 allow submission if duration is 0 Joe-Dowd 2020-04-24 18:20:40 +01:00
  • 6cd672f9e6 allow submissions when duration is parsed as 0 Joe-Dowd 2020-04-24 18:11:09 +01:00
  • 097e9e446e Merge pull request #75 from ajayyy/experimental Ajay Ramachandran 2020-04-23 13:33:32 -04:00
  • 546ded3bdd Fixed mocks not responding properly Ajay Ramachandran 2020-04-23 12:48:02 -04:00
  • c60d7ed75e Merge pull request #74 from ajayyy/experimental Ajay Ramachandran 2020-04-23 12:03:08 -04:00
  • a3b01e4eae Fix test process not dying Ajay Ramachandran 2020-04-23 11:58:36 -04:00
  • 818c288ba0 Set production mode based on config Ajay Ramachandran 2020-04-19 19:47:17 -04:00
  • ad2fe00af0 Fixed database endpoint and getDatsSavedFormatted Ajay Ramachandran 2020-04-19 19:39:40 -04:00
  • f8340d770c Fixed capitalization Ajay Ramachandran 2020-04-19 19:26:09 -04:00
  • 14e21a1009 Fixed wrong database being sent Ajay Ramachandran 2020-04-19 19:22:38 -04:00
  • 950b8ecb55 Update getDaysSavedFormatted.js Ajay Ramachandran 2020-04-19 19:18:24 -04:00
  • 5525462f11 Merge pull request #67 from ajayyy/testing Ajay Ramachandran 2020-04-19 18:59:00 -04:00
  • 35fa384a5b Added automod check with NB Andrew Lee 2020-04-19 12:10:39 -04:00
  • fee0c92280 Ignore .DS_Store Andrew Lee 2020-04-18 13:07:38 -04:00
  • 7481b42499 Update README.MD Ajay Ramachandran 2020-04-16 20:14:13 -04:00
  • 7001fd2ef1 Merge pull request #73 from ajayyy/categories Ajay Ramachandran 2020-04-09 15:45:27 -04:00
  • 6aa4737b6e Fixed one category being empty causing a 404 Ajay Ramachandran 2020-04-09 15:40:45 -04:00
  • 5eca6016fa Fixed getSkipSegments tests due to removal of JSON body as input Ajay Ramachandran 2020-04-09 15:40:27 -04:00
  • 585f2a2483 Merge pull request #72 from ajayyy/categories Ajay Ramachandran 2020-04-09 15:33:28 -04:00
  • 26b9659140 Switched GET skipSegments to use params instead of JSON. Ajay Ramachandran 2020-04-09 01:19:51 -04:00
  • b2147d42a8 Merge pull request #71 from ajayyy/categories Ajay Ramachandran 2020-04-07 14:50:48 -04:00
  • 08a76dc420 Added back example config comment Ajay Ramachandran 2020-04-07 14:45:47 -04:00
  • f9ec4e37e9 Added another test case for get Ajay Ramachandran 2020-04-07 02:41:20 -04:00
  • d331ece0be Added JSON get test cases Ajay Ramachandran 2020-04-07 02:39:29 -04:00
  • 57cc4f698f Added get sponsor test cases Ajay Ramachandran 2020-04-07 02:24:58 -04:00
  • 0b4416d9eb Renamed old get method Ajay Ramachandran 2020-04-07 02:04:37 -04:00
  • 4c9aa11b9a Made old get function use new function Ajay Ramachandran 2020-04-07 02:03:02 -04:00
  • 3c9380c2a2 Added new segment getting endpoint Ajay Ramachandran 2020-04-07 01:54:19 -04:00
  • ca8f571978 Removed extra logging Ajay Ramachandran 2020-04-06 20:30:27 -04:00
  • 70a39eeea4 Fixed duplicate check code Ajay Ramachandran 2020-04-06 20:29:58 -04:00
  • 329abfa617 Only delete test db if it exists Ajay Ramachandran 2020-04-06 20:26:01 -04:00
  • 739b59c65d Clear database before running tests Ajay Ramachandran 2020-04-06 20:17:49 -04:00
  • 06de0d61fa Fixed crashes from multiple submissions. Ajay Ramachandran 2020-04-06 20:14:50 -04:00
  • 557c6ad05a Fixed discord tests Ajay Ramachandran 2020-04-06 20:12:12 -04:00
  • 9807d3e9c7 Merge Ajay Ramachandran 2020-04-06 20:05:26 -04:00
  • 761fb7dafe Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into categories Ajay Ramachandran 2020-04-06 20:05:09 -04:00
  • 5b577eb148 Merge pull request #70 from Joe-Dowd/auto-mod Ajay Ramachandran 2020-04-06 17:34:19 -04:00
  • f1a7524acf Fixed getIP module import Ajay Ramachandran 2020-04-06 17:29:52 -04:00
  • 8eca458e38 Added DB checks to tests and fixed getIP using the wrong config Ajay Ramachandran 2020-04-06 17:25:20 -04:00
  • 67c608e76f Added github actions logging Ajay Ramachandran 2020-04-06 16:59:57 -04:00
  • 3a203d249e Added Github actions Ajay Ramachandran 2020-04-06 16:46:19 -04:00
  • bd2f00d5f7 Added new submission method Ajay Ramachandran 2020-04-06 16:43:47 -04:00
  • b74ca3962b Updated table to include category Ajay Ramachandran 2020-04-06 14:05:42 -04:00
  • 77f9618e0c Merge pull request #69 from Joe-Dowd/refactor Ajay Ramachandran 2020-04-04 23:40:44 -04:00
  • e5cd72657e added checks using the youtube api on segment submission Joe-Dowd 2020-04-04 21:37:17 +01:00
  • 98d754f605 && in npm run dev Joe-Dowd 2020-04-04 18:41:18 +01:00
  • c2ba3d0ab3 Merge pull request #68 from Joe-Dowd/refactor Ajay Ramachandran 2020-04-04 11:51:52 -04:00
  • d682898828 Removed quotes from echo Ajay Ramachandran 2020-04-04 11:41:38 -04:00
  • d94c81ed23 Fixed npm run dev to work on Windows Ajay Ramachandran 2020-04-04 11:33:22 -04:00
  • 73599be5b8 Improved sentence structure Ajay Ramachandran 2020-04-04 11:18:06 -04:00
  • 82ee4cca0f changed npm run dev to work in cmd Joe-Dowd 2020-04-04 01:15:04 +01:00