Commit Graph

449 Commits

Author SHA1 Message Date
Kavin
b0a97faf4f
Add users_subscribed table. 2023-08-14 08:34:10 +01:00
Kavin
8c52d0eb28
Implement videos table. 2023-08-14 08:24:53 +01:00
Kavin
8258468f7b
Implement channels table. 2023-08-14 08:20:40 +01:00
Kavin
30d7c0323d
Add yugabytedb support. 2023-08-14 06:29:18 +01:00
Kavin
8f6a954cca
Fix datatypes and drop unused duplicate index. 2023-08-13 23:54:42 +01:00
Kavin
d81bb969c7
Register postgres driver. 2023-08-13 23:31:42 +01:00
Kavin
71403e93af
Add liquibase to perform database migrations 2023-08-13 23:20:30 +01:00
Kavin
7b1f7dfb20
Use native SQL queries for removing from playlist. 2023-08-07 23:33:44 +01:00
Kavin
0753e30ea5
Add no args constructor to fix matrix deserialization issues. 2023-08-04 15:56:37 +01:00
Kavin
582a5f4596
Merge pull request #663 from TeamPiped/npe-update
Update NewPipeExtractor
2023-08-03 23:59:37 +01:00
Kavin
e48919d08b
Update NewPipeExtractor 2023-08-03 23:53:34 +01:00
Kavin
30806effc9
Minor formatting changes. 2023-08-03 23:50:46 +01:00
Bnyro
adacbfe285 feat: support for meta info of videos 2023-08-03 15:40:46 +02:00
Bnyro
36edf34793 add visibility, license and tags to streams info 2023-07-29 11:20:01 +02:00
Kavin
75883f6588
Merge pull request #660 from TeamPiped/excluded-update
Use excluded in DO UPDATE SET
2023-07-28 11:51:05 +01:00
Kavin
37b2fca2fd
Fix type mismatch error. 2023-07-28 11:50:21 +01:00
Kavin
8aefd7023d
Use excluded in DO UPDATE SET 2023-07-28 11:46:34 +01:00
Kavin
ca6e7cec7f
Initialize Reqwest in Constants to prevent circular dependency 2023-07-28 11:42:21 +01:00
Kavin
88e38bd8a1
Fix video update on conflict insert 2023-07-28 11:15:03 +01:00
Kavin
f4040772a2
Suppress video insert errors on conflict 2023-07-28 11:11:28 +01:00
Kavin
1aac9fed1a
Implement randomTime for videos that don't exist in dearrow. 2023-07-25 03:04:28 +01:00
Kavin
c027fbefe8
Handle PubSub better with a queue and actually waiting 2023-07-23 19:27:01 +01:00
Kavin
fa588aaf83
Optimize threading when batch fetching DeArrow parallelly 2023-07-22 05:39:22 +01:00
Kavin
fcc3c9daaf
Only add url to non-original thumnails. 2023-07-19 01:00:11 +01:00
Kavin
369569d0f0
Implement batched fetching of dearrow content. 2023-07-19 00:47:06 +01:00
Yanick
edf8e7f8e5
add DISABLE_REGISTRATION to frontendProperties 2023-07-13 14:53:00 +02:00
Kavin
f9289a05d1
Use a limited threadpool for handling pubsub requests. 2023-07-06 14:56:28 +01:00
Kavin
1dbda14335
Use an upsert statement for handling pubsub. 2023-07-06 14:54:45 +01:00
Kavin
7b1dd45bf9
Add support for setting up a proxy for reqwest. 2023-07-04 19:14:37 +01:00
Kavin
d707beb85a
Add exception handler to pubsub 2023-06-30 14:46:01 +01:00
Kavin
990388f0d4
reqwest4j is now async first 2023-06-30 14:42:10 +01:00
Bnyro
1cace30971 Add support for extracting the comment count 2023-06-26 12:05:16 +02:00
Kavin
9fd20dd7b1
Add itags to the streams api. 2023-06-10 22:31:57 +01:00
Kavin
5c4864dba7
Fix short content type extraction. 2023-06-10 22:07:21 +01:00
Kavin
53b03761d5
Fix extractor URL for YouTube. 2023-06-08 05:30:00 +01:00
Kavin
710f62f8e5
Use stream extractor directly to fix no streams found error. 2023-06-06 02:32:27 +01:00
Kavin
b9f8fc99f5
Add sentry videoId information to pubsub webhook. 2023-06-05 23:44:20 +01:00
Kavin
427db7e443
Fix failing hard when the database fails to initialize. 2023-06-05 08:06:49 +01:00
Kavin
60b690366c
Fix another potential mismatch where the channel name can update from. 2023-06-05 08:01:07 +01:00
Kavin
0dd97c67ca
Fix for channels with too large name length. 2023-06-05 07:57:18 +01:00
Kavin
bb3bb3889a
Fix for fetching channels without a videos tab. 2023-06-01 19:12:54 +01:00
Kavin
67d13a4b20
Allows all methods in CORS.
See https://github.com/TeamPiped/Piped/pull/2471
2023-05-31 04:10:38 +01:00
Bnyro
71b13d59c4 Simplify PlaylistHelper#getUserPlaylist 2023-05-29 21:35:56 +02:00
Bnyro
86152a457a Add route to change playlist description and add PlaylistsHelper 2023-05-29 19:03:45 +02:00
Kavin
61bfd478aa
Add content length property. 2023-05-26 19:55:01 +01:00
Kavin
fc7d3dd2a5
Filter out video tab from tabs. 2023-05-22 21:10:16 +01:00
Kavin
234adf1255
Fixes for the new new channel tab handler. 2023-05-22 21:10:16 +01:00
Kavin
f6639511aa
Implement support for extracting playlist description. 2023-05-22 21:10:16 +01:00
Kavin
32db19956b
Add audio track locale info. 2023-05-05 21:30:13 +01:00
Kavin
c7fab90f66
Add audio track type field. 2023-05-04 20:38:29 +01:00
Kavin
5676881ec1
Fix missing transaction when trying to insert new videos in a playlist 2023-05-01 00:58:57 +01:00
Kavin
cb6bfb30b1
Fix a subquery's selection type 2023-04-30 22:16:49 +01:00
Kavin
7f117f572f
Faster checks for video exists. 2023-04-29 20:05:21 +01:00
Kavin
12e25c9c13
Attempt to add proper support for channel handles. 2023-04-27 13:22:04 +01:00
Kavin
f19f2b4c9a
Fix for subscriptions not working after hibernate update. 2023-04-27 08:08:45 +01:00
Kavin
73fa1edf25
Merge pull request #560 from TeamPiped/renovate/hibernate-core
Update hibernate core to v6.2.1.Final
2023-04-26 12:03:31 +01:00
Kavin
f42a006d81
Fix existing code for new hibernate sanity checks. 2023-04-26 12:00:51 +01:00
Kavin
977ffa1286
Add shutdown thread to close session factory 2023-04-16 22:56:33 +01:00
Kavin
a89a117534
Fix for channel updates not triggering. 2023-03-23 20:01:21 +00:00
Kavin
7b2ac41879
Revert to using a regular cached executor. 2023-03-18 18:52:04 +00:00
Kavin
69814ddc30
Cleanup SponsorBlock utils to fix issues. 2023-03-18 18:16:39 +00:00
Kavin
7c2014fc85
Cleanup list randomization code for pubsub. 2023-03-11 20:59:52 +00:00
Kavin
4a533e9513
Attempt to migrate to Java 19. 2023-03-09 23:19:14 +00:00
Kavin
c5981d8aaf
Update max channel length 2023-03-06 01:14:46 +00:00
Kavin
89a8737bcd
Fix for non-utf-8 URLs from LBRY. 2023-03-04 20:46:39 +00:00
Kavin
cb598371b0
Add check for query length. 2023-03-04 03:03:06 +00:00
Kavin
ed04f8b6c9
Remove okhttp for reqwest. 2023-03-01 02:19:49 +00:00
Kavin
d74d683615
Fetch LBRY HLS stream. 2023-02-27 11:41:06 +00:00
Alin
618b59d1af change order 2023-02-16 17:36:41 +00:00
Alin
8d0012cb8a add category 2023-02-16 16:12:29 +00:00
Kavin
705a52cb7d
Handle S3 disabled better. 2023-02-02 15:52:51 +00:00
Kavin
37b2a41903
Add route to get file content. 2023-02-02 15:12:31 +00:00
Kavin
0e04526217
Implement persistent client-data storage with S3. 2023-02-02 13:03:11 +00:00
Kavin
34231631c9
Fix right pubsub url for subscription. 2023-01-31 20:06:57 +00:00
Kavin
7878693bab
Merge pull request #512 from Bnyro/unauthenticated-subs
Allow POST requests for unauthenticated subscriptions
2023-01-30 17:35:48 +00:00
Kavin
0965fc5007
Cleanup unnecessary hash function. 2023-01-30 16:57:48 +00:00
Kavin
36af3af096
Use reqwest4j instead of okhttp. 2023-01-30 03:11:56 +00:00
Bnyro
448659ea8a Allow POST requests for unauthenticated subscriptions 2023-01-29 20:07:06 +01:00
Kavin
e8b0f197a9
Drop IPFS publish code. 2023-01-14 14:42:42 +00:00
Kavin
c2a93d5354
Don't escape entire HTML, just the URL. 2023-01-14 14:36:43 +00:00
Kavin
2a0ae093ea
Fix escaping URL content that contains special characters. 2023-01-14 00:29:30 +00:00
Bnyro
85c7774637 Show the video thumbnail as RSS content 2023-01-09 19:08:10 +01:00
Bnyro
e19bfaad91 Show all available info as feed content 2023-01-09 18:58:48 +01:00
Bnyro
a9ab1ca895 Use the channel avatar as icon & image in channel RSS feeds 2023-01-09 18:26:16 +01:00
Bnyro
0099b5092e Use channel name for RSS channel feeds 2023-01-09 18:15:28 +01:00
Kavin
6c12f58ffb
Try removing join and replacing array altogether. 2023-01-08 14:44:33 +00:00
frajibe
27d14f7141 minor (put line breaks) 2023-01-07 15:24:06 +01:00
frajibe
a145ad4e77 introduce a dedicated method to clear a playlist 2023-01-07 13:01:27 +01:00
frajibe
fef6022104 feat: ability to clear a playlist from its videos (#1952) 2023-01-07 11:07:14 +01:00
Kavin
48ee0bba85
Clean code and throw error if no video was added. 2023-01-02 20:59:57 +00:00
Bnyro
e5556f38e5 Don't error out when a video of many is private when adding to playlist 2023-01-01 20:18:50 +01:00
Kavin
3b4f5274e6 Update NPE. 2022-12-19 21:02:15 +00:00
Kavin
bb8ec601f1 Update NPE. 2022-12-19 17:51:48 +00:00
Kavin
57173dc426
Rewrite images to proxy in preview frames. 2022-12-15 17:55:15 +00:00
Kavin
757ef1722c
Fix typo to actually add to array. 2022-12-15 17:47:35 +00:00
Kavin
c7533ecc91
Add support to extract preview frames. 2022-12-15 17:31:35 +00:00
Kavin
aa36c6f68b
Filter invalid channel IDs. 2022-12-14 20:38:19 +00:00
Kavin
2467946471
Remove debug print code. 2022-12-14 14:45:28 +00:00
Kavin
522fd2cd66
Add missing pubsub channels. 2022-12-14 13:44:50 +00:00
Kavin
3be67c18ff
Detect shorts content properly in feed. 2022-12-11 02:45:18 +00:00