Commit Graph

449 Commits

Author SHA1 Message Date
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
Kavin
b1b7dbb44a
Attempt to improve pubsub subscription handling. 2022-12-10 04:56:31 +00:00
Kavin
f2a7497d32
Add one more content unavailable message for georestricted check 2022-11-28 01:18:05 +00:00
Kavin
cda5a3f5d3
Add better error messages on room join fail 2022-11-28 01:05:02 +00:00
Kavin
ffe0778c23
Check if geo restricted on unavailable videos. 2022-11-28 00:45:38 +00:00
Kavin
f140f8fe5a
Localize image URLs to current instance. 2022-11-27 16:44:42 +00:00
Kavin
1b7d6a1472
Don't fail on unknown properties. 2022-11-27 00:31:47 +00:00
Kavin
12c41980dd
Implement geo restrictions bypass. 2022-11-27 00:29:26 +00:00
Kavin
d0fd4e0da6
Optimize playlist adding queries. 2022-11-26 19:45:31 +00:00
Bnyro
d5054a9fbb
allow adding multiple videos to a playlist at the same time 2022-11-26 19:25:11 +00:00
Kavin
6c4b771a80
Merge pull request #472 from TeamPiped/countries-frontend
Add supported countries to frontend properties.
2022-11-26 19:24:39 +00:00
Kavin
ec4e058652
Add supported countries to frontend properies. 2022-11-26 19:14:02 +00:00
Kavin
cdbb3a10eb
Migrate to new default method for Argon2 Constructor. 2022-11-26 19:06:45 +00:00
Kavin
abd19aa94d
Better event send handling. 2022-11-23 21:52:12 +00:00
Kavin
bf269aec5e
Fix syncrunner extracting Streams unnecessarily. 2022-11-23 21:24:30 +00:00
Kavin
4c83e916cd
Remove downloader caching. 2022-11-22 10:33:23 +00:00
Kavin
a76a924c6a
Only provide image proxy configuration. 2022-11-20 20:53:53 +00:00
Kavin
0ea7aca20c
Remove newline. 2022-11-20 20:52:47 +00:00
Bnyro
bbc84a222d add proxyUrl to config 2022-11-20 21:42:41 +01:00
Kavin
030bf0aa30
Fix for playlist video ordering. 2022-11-19 00:17:34 +00:00
Kavin
5b296eb488
Handle playlist video querying correctly. 2022-11-19 00:06:01 +00:00
Kavin
8d23459406
Simplify and optimize playlist query. 2022-11-18 21:49:05 +00:00
Kavin
f9b89663be
Simplify transaction for video updates. 2022-11-18 21:08:37 +00:00
Kavin
adfc0850ed
Speed up playlists and fix adding videos on empty playlists. 2022-11-18 17:27:42 +00:00
Kavin
616c42ee2f
Fix for LBRY domain change. 2022-11-17 17:16:29 +00:00
Kavin
b065ea8668
Fix query type error. 2022-11-17 16:54:42 +00:00
Kavin
a15444645a
Don't query full video anywhere. 2022-11-17 16:24:47 +00:00
Kavin
ec89d042e3
CriteriaUpdate for video updates. 2022-11-17 15:55:43 +00:00
Kavin
28104cc7e4
Right join when querying table to avoid full scan. 2022-11-17 04:38:24 +00:00
Kavin
e4c7ff1333
Don't join users table when adding / removing videos from playlist. 2022-11-17 01:53:48 +00:00
Kavin
dfd7580374
Use right join on channels. 2022-11-17 01:09:12 +00:00
Kavin
0fd90ab1c9
Implement better playlist querying. 2022-11-17 00:03:41 +00:00
Kavin
005bbfd1e5
Implement channel data federation. 2022-11-16 23:04:45 +00:00
Kavin
92cee87822
Merge pull request #439 from TeamPiped/stream-timeout
Add timeout for streams response.
2022-11-16 19:45:28 +00:00
Kavin
f757c439af
Add timeout for streams response. 2022-11-16 19:44:53 +00:00
Kavin
32f30e42f4
Fix NPE check for channel uploader. 2022-11-16 19:32:39 +00:00
Kavin
98628aff98
Implement support for audio track info. 2022-11-15 19:24:52 +00:00
Kavin
6ad27aea2a
Update NPE. 2022-11-15 19:21:36 +00:00
Kavin
f85b9d095d
Attempt to warm classes. 2022-11-15 09:54:13 +00:00
Kavin
fd6a6b3083
Start matrix sync thread asynchronously. 2022-11-15 01:41:15 +00:00
Kavin
79621ac562
Federate new video content. 2022-11-13 01:00:26 +00:00
Kavin
9d8117239f
Fix incorrect field. 2022-11-13 00:48:12 +00:00
Kavin
cd6e63130b
Implement federation of video data. 2022-11-13 00:27:13 +00:00
Kavin
ea67f60689
Update piped.kavin.rocks to piped.video 2022-11-11 19:52:51 +00:00
Kavin
22dcf7a88e
When parameter is not provided, throw an ErrorResponse. 2022-11-04 19:42:05 +00:00
Kavin
d5585738da
Throw 400 response for invalid parameters messages from extractor. 2022-10-31 12:00:37 +00:00
Kavin
afd213b4c8
Handle potential bad responses for RYD. 2022-10-31 11:49:22 +00:00
Kavin
fe87d2cf4d
Don't log error response. 2022-10-31 11:09:57 +00:00
Kavin
a1170677b4
Add more parameter validation. 2022-10-31 10:44:19 +00:00
Kavin
322769b0e4
Use streaming api directly from query. 2022-10-31 10:44:00 +00:00
Kavin
d4d9c71279
Remove org.json and fix occasional json exception. 2022-10-31 10:43:34 +00:00
Kavin
405e0d3bb3
Add some sentry extra data.
And fix potential NPE in RydHelper.
2022-10-31 01:15:46 +00:00
Kavin
f4cb18d102
Add videoId scope and fix sentry transaction trace. 2022-10-30 23:53:41 +00:00
Kavin
08b61a1d20
Ignore ErrorResponse and implement tracing. 2022-10-30 22:26:20 +00:00
Kavin
4a8fb80411
Implement status code error errors. 2022-10-30 21:41:02 +00:00
Kavin
5e531e19d3
Add better validation for some parameters. 2022-10-30 20:29:57 +00:00
Kavin
8c55b85fc2
Allow using sentry to log errors. 2022-10-30 19:56:04 +00:00
Kavin
3b6f983fdc
Change max length to 200 characters. 2022-10-30 14:11:14 +00:00
Kavin
1c73f852b9
Implement support for uploaderUrl and uploaderVerified for playlists. 2022-10-29 23:30:47 +01:00
Kavin
2afecb3f39
Refactor server code into multiple classes. 2022-10-29 22:00:55 +01:00
Kavin
2c79ddb299
Extract item collectors to a new class. 2022-10-29 21:29:09 +01:00
Kavin
82ac80df97
Add channel name updates when loading. 2022-10-29 21:16:52 +01:00
Kavin
aacafb8ab4
Fix channel tab nextpage. 2022-10-27 12:14:53 +01:00
Kavin
00a6d7da93
Implement support for channel tabs. 2022-10-27 11:59:10 +01:00
Kavin
2b8039ff87
Add isShort field to StreamInfo. 2022-10-27 10:24:36 +01:00
Kavin
b15f90bbd3
Add support to configure sponsorblock servers. 2022-10-23 19:17:04 +01:00
Kavin
4d745b8a84
Add support for reply count and bump deps. 2022-10-17 14:36:43 +01:00
Kavin
c10ff6e3c5
Add video count to playlists response. 2022-10-11 01:34:58 +01:00
Kavin
3c00bfae89
Query all videos at once and batch update. 2022-10-06 11:05:42 +01:00
Ellie
4e155fc70a
Get PubSub Hub url from constants 2022-10-04 07:46:19 +00:00
Ellie
a10d2f6edf
Add PUBSUB_HUB_URL constant 2022-10-04 07:44:53 +00:00
Kavin
202df96442
Merge pull request #374 from Bnyro/config
add config for the frontend
2022-10-02 14:53:51 +01:00
Kavin
51185f2558
Some small changes. 2022-09-25 22:33:29 +01:00
Kavin
dcc4b6e807
Use and query for where clause. 2022-09-25 22:19:37 +01:00
Kavin
9edfd133f9
Fix unauthenticated subscriptions where clause. 2022-09-25 21:49:12 +01:00
Bnyro
52370036e3 add config for the frontend 2022-09-18 15:15:58 +02:00
Kavin
383c017f5c
Optimize pubsub subscription query. 2022-09-17 20:29:26 +05:30
Kavin
ab0540392f
Let NewPipeExtractor use same executor. 2022-09-11 01:35:10 +05:30
Kavin
13710d24d8
Update NPE fork and parallelize StreamExtraction requests. 2022-09-07 12:59:11 +05:30
Bnyro
178dbefb52 route for renaming playlists 2022-08-27 19:09:21 +02:00
Kavin
adbd2b347f
Small Java 17 improvements. (#337) 2022-08-18 08:43:40 +05:30
Kavin
42d8951863
Remove debug code. 2022-08-12 20:04:01 +05:30
Kavin
48c780ed90
Use AsyncLoadingCache for Downloader requests. 2022-08-12 19:50:53 +05:30
Kavin
eae003e422
Fix authenticated RSS feeds. 2022-08-06 15:25:41 +05:30
Kavin
81fa92361d
Fix and optimize pubsub timer query. 2022-08-05 00:03:47 +05:30
Kavin
30a7b43c5e
Fix cloning of playlist with duplicate videos. 2022-08-03 21:13:21 +05:30
Kavin
d93f2f360b
Optimize feed query by reducing join on users. 2022-08-03 21:01:49 +05:30
Kavin
48efbe66ca
Unauthenticated channel info endpoint. 2022-08-01 17:39:40 +05:30
Kavin
9a45e33fdb
Fix bugs and implement more of unauthenticated subs. 2022-07-31 23:17:42 +05:30
Kavin
02067518b0
Implement part of unauthenticated subscription api. 2022-07-31 20:50:01 +05:30
Kavin
6c6c8c021f
Add option to disable LBRY. 2022-07-22 09:22:48 +05:30
Kavin
a36279cf79
Allow increasing the RYD proxy timeout. 2022-07-21 09:40:13 +05:30
Kavin
12c4890587
Implement logging out of session. 2022-07-20 20:16:48 +05:30
Kavin
4283c3fee0
Make the api url redirect to the instance's frontend. 2022-07-19 22:07:07 +05:30
Kavin
c0f51c6fb6
Allow disabling server on a node. 2022-07-19 14:15:42 +05:30
Kavin
0e8b17698d
Fix imports and make database schema more strict. 2022-07-18 21:22:53 +05:30
Kavin
f37682cf4e Revert "Revert distinct from criteria. (#308)"
This reverts commit bcb0d32daa.
2022-07-17 19:44:56 +05:30
Kavin
c7a0535039
Attempt to log import errors. (#312) 2022-07-08 10:41:49 +01:00
Kavin
c85cbf6034
Use a timer task instead for deleting playlist videos not in any playlists. (#311) 2022-07-08 00:06:39 +01:00
Kavin
78b52d70f5
Set statement timeout to 20s for feed. (#309) 2022-07-07 20:05:34 +01:00
Kavin
bcb0d32daa
Revert distinct from criteria. (#308) 2022-07-07 18:43:47 +01:00