Martijn van der Ven
|
c7fd603933
|
Respond Not Found when a prefix is empty
|
2020-05-23 21:25:38 +02:00 |
|
Martijn van der Ven
|
c2510d302a
|
Limit overlapping segments to just one through weighted randomness
|
2020-05-23 21:17:47 +02:00 |
|
Martijn van der Ven
|
d8203dce77
|
Make sure to always insert hashed video ID
|
2020-05-23 17:57:33 +02:00 |
|
Martijn van der Ven
|
803b1fa505
|
Add initial version of querying by hash prefix
|
2020-05-23 17:12:40 +02:00 |
|
Martijn van der Ven
|
ca46f4c9ac
|
Enable database upgrades to run
|
2020-05-23 17:12:30 +02:00 |
|
Ajay Ramachandran
|
51f760332b
|
Changed getIP to be all lowercase
|
2020-05-17 01:38:15 -04:00 |
|
Ajay Ramachandran
|
a2caa53664
|
Only sponsors must be longer than 1 second.
Also added proper error message when submission is too short.
|
2020-05-16 18:33:16 -04:00 |
|
Ajay Ramachandran
|
88a9628e7e
|
Disable IP ratelimiting
|
2020-05-16 16:54:51 -04:00 |
|
Ajay Ramachandran
|
34a33bbda1
|
Fixed voting on non existent submission status in wrong spot
|
2020-05-16 16:41:55 -04:00 |
|
Ajay Ramachandran
|
261432a7fd
|
Fix isUserTrustworthy missing from voting method
|
2020-05-16 16:40:18 -04:00 |
|
Ajay Ramachandran
|
06d1c082fb
|
Fix issues with userID getting in voting
|
2020-05-16 00:42:38 -04:00 |
|
Ajay Ramachandran
|
7f07794ce4
|
Removed null coalescence operator
|
2020-05-16 00:15:33 -04:00 |
|
Ajay Ramachandran
|
7b31c40676
|
Prevent userID errors
|
2020-05-16 00:12:31 -04:00 |
|
Ajay Ramachandran
|
0315aa67d7
|
make VIP submissions take priority.
|
2020-05-16 00:07:56 -04:00 |
|
Ajay Ramachandran
|
3e2ab9c30a
|
Merge pull request #80 from ajayyy/get-ip-fixes
Get IP options
|
2020-05-15 19:16:19 -04:00 |
|
Ajay Ramachandran
|
ad7d1a53d9
|
Added string check to getIP
|
2020-05-15 19:14:30 -04:00 |
|
Ajay Ramachandran
|
8e7595cd34
|
Fix adding VIPs
|
2020-05-12 21:07:09 -04:00 |
|
Ajay Ramachandran
|
0060b5e5af
|
Prevent crash when category-voting on invalid UUID
|
2020-05-11 18:07:57 -04:00 |
|
Ajay Ramachandran
|
b2705dfb2d
|
Prevented upvotes on "dead" submissions unless they are VIP.
|
2020-05-10 00:08:05 -04:00 |
|
Ajay Ramachandran
|
8638698d61
|
Added schema upgrades for both DBs
|
2020-05-03 13:25:45 -04:00 |
|
Ajay Ramachandran
|
d4328f4d54
|
Change the version code to be the last run upgrade file.
|
2020-05-03 12:08:07 -04:00 |
|
Ajay Ramachandran
|
8eecffd3d5
|
Changed from version table to a key-value config table.
|
2020-05-03 12:01:49 -04:00 |
|
Ajay Ramachandran
|
9a317a2c23
|
Added getIP options
|
2020-04-30 00:34:34 -04:00 |
|
Ajay Ramachandran
|
e303405ee0
|
Check before mkdir
|
2020-04-30 00:31:42 -04:00 |
|
Ajay Ramachandran
|
5c0062d9df
|
Make directories if needed for the databases
|
2020-04-29 22:21:15 -04:00 |
|
Ajay Ramachandran
|
6a17e4d141
|
Added test cases for voting and fixed code to support them.
|
2020-04-29 22:15:16 -04:00 |
|
Ajay Ramachandran
|
ad169fd6e7
|
Added VIP support to category vote
|
2020-04-29 21:30:07 -04:00 |
|
Ajay Ramachandran
|
f23ead56ad
|
Updated inserts to new database schema and removed null coalescing
|
2020-04-29 21:26:11 -04:00 |
|
Ajay Ramachandran
|
98f4d973e7
|
Added wrong category vote option.
|
2020-04-29 20:56:34 -04:00 |
|
Ajay Ramachandran
|
cb2b0aabf3
|
Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into new-vote-options
# Conflicts:
# src/routes/voteOnSponsorTime.js
|
2020-04-29 19:58:19 -04:00 |
|
Ajay Ramachandran
|
b5fcdea62f
|
Don't upgrade if read only
|
2020-04-29 19:40:17 -04:00 |
|
Ajay Ramachandran
|
0eec924c02
|
Made all updates required be performed at once.
|
2020-04-29 18:31:19 -04:00 |
|
Ajay Ramachandran
|
e27ef39dcf
|
Remove unused function
|
2020-04-29 18:26:05 -04:00 |
|
Joe-Dowd
|
d930853edf
|
review changes
|
2020-04-29 22:27:38 +01:00 |
|
Joe-Dowd
|
e9e525ec63
|
fixed formatting
|
2020-04-28 05:18:54 +01:00 |
|
Joe-Dowd
|
13aee13f18
|
Improved phrasing of error responses \n removed debug logs
|
2020-04-28 05:10:55 +01:00 |
|
Joe-Dowd
|
f6df7e5f6f
|
remove testing logs
|
2020-04-28 05:07:39 +01:00 |
|
Joe-Dowd
|
cfa80be4c7
|
add user history to discord notification on segment reporting
|
2020-04-28 05:04:51 +01:00 |
|
Ajay Ramachandran
|
cde51a3059
|
Only unhide submissions with normal vote
|
2020-04-27 23:02:29 -04:00 |
|
Ajay Ramachandran
|
d767f2ff6b
|
Added schema upgrade system and started on new vote type
|
2020-04-27 23:01:51 -04:00 |
|
Joe-Dowd
|
fd397de6b4
|
allow submission if duration is 0
|
2020-04-24 18:20:40 +01:00 |
|
Joe-Dowd
|
6cd672f9e6
|
allow submissions when duration is parsed as 0
|
2020-04-24 18:11:09 +01:00 |
|
Ajay Ramachandran
|
818c288ba0
|
Set production mode based on config
|
2020-04-19 19:47:17 -04:00 |
|
Ajay Ramachandran
|
ad2fe00af0
|
Fixed database endpoint and getDatsSavedFormatted
|
2020-04-19 19:39:40 -04:00 |
|
Ajay Ramachandran
|
f8340d770c
|
Fixed capitalization
|
2020-04-19 19:26:09 -04:00 |
|
Ajay Ramachandran
|
14e21a1009
|
Fixed wrong database being sent
|
2020-04-19 19:22:38 -04:00 |
|
Ajay Ramachandran
|
950b8ecb55
|
Update getDaysSavedFormatted.js
|
2020-04-19 19:18:24 -04:00 |
|
Ajay Ramachandran
|
6aa4737b6e
|
Fixed one category being empty causing a 404
|
2020-04-09 15:40:45 -04:00 |
|
Ajay Ramachandran
|
26b9659140
|
Switched GET skipSegments to use params instead of JSON.
Body is not supported for GET requests.
|
2020-04-09 01:19:51 -04:00 |
|
Ajay Ramachandran
|
0b4416d9eb
|
Renamed old get method
|
2020-04-07 02:04:37 -04:00 |
|