Commit graph

19 commits

Author SHA1 Message Date
Kavin
bfe0fd2b0f
Make clippy happy. 2022-11-03 23:26:56 +00:00
Kavin
491c5d3f58
Minor unrelated improvements. 2022-10-30 18:00:13 +00:00
Kavin
53936cb9f9
Add index for videoID. 2022-10-30 17:59:17 +00:00
Adam Novak
29d1d12dab Actually use the videoID regex 2022-10-30 13:23:03 -04:00
Adam Novak
fd50200fce Merge remote-tracking branch 'upstream/main' into revanced-compat 2022-10-30 13:13:46 -04:00
Adam Novak
8a5e06fe91 Remove trailing whitespace 2022-10-30 13:07:46 -04:00
Adam Novak
c1ef37ad77 Unwrap the segments for the video ID endpoint 2022-10-30 13:06:44 -04:00
Kavin
6608a9993a
Rollback on transaction failure, and run postgres as root. 2022-10-30 16:06:31 +00:00
Adam Novak
a9683b08a0 Add video ID based query and ReVanced stubs
This adds the endpoints ReVanced queries when opening the settings or watching
videos. The version of skipSegments it uses is actually implrmrnted, and the
others are stubbed out.

I still haven't managed to get ReVanced to actually *work* with this, but it at
least isn't getting any server errors sent to it now.

I've also added my learnings to the README.
2022-10-29 22:42:59 -04:00
Kavin
fe6f74d205
Sort all segments by start time. 2022-10-25 23:10:56 +01:00
Kavin
525cded71e
Improve segment overlap checking for chapters. 2022-10-25 13:13:06 +01:00
Kavin
cccc095de8
Add cors for official instance. 2022-10-25 10:13:34 +01:00
Kavin
e00d754521
Add support to remove overlaps. 2022-10-25 09:31:12 +01:00
Kavin
3618088cf8
Fix database VACCUMing. 2022-10-24 12:57:11 +01:00
Kavin
8f4ab70581
Fix transaction for import. 2022-10-23 21:17:11 +01:00
Kavin
c45118145e
Vaccum database after import. 2022-10-23 20:19:43 +01:00
Kavin
37f677e1dc
Fix struct serialization names. 2022-10-23 19:03:39 +01:00
Kavin
a4a0b79817
Add support for non-blocking updates. 2022-10-22 21:06:48 +01:00
Kavin
e1a1db2160
Initial commit. 2022-10-22 13:28:40 +01:00