Commit Graph

223 Commits

Author SHA1 Message Date
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
Kavin d29d9c415d
Attempt to optimize session handling. (#307) 2022-07-05 14:18:33 +01:00
Kavin e6c0f7c0f4
Cleanup transaction code. (#306) 2022-07-04 18:44:16 +01:00
Kavin 7c087d82b3
Fetch user table as left join. (#304) 2022-07-04 08:37:52 +01:00
Kavin c812ace4f6
Fix errors being logged due to invalid requests. (#303) 2022-07-04 07:09:29 +01:00
Kavin 606cbf5ca6
Use Criteria API for deleting old videos. (#302) 2022-07-04 07:09:20 +01:00
Kavin 17b9a974de
Attempt to use stateless sessions in read-only operations. (#301) 2022-07-04 06:42:01 +01:00
Kavin cdd8a962d7
Avoid duplicate video errors. (#300) 2022-07-04 06:02:06 +01:00
Kavin c8628dcf05
Simplify session handling for new videos. (#299) 2022-07-02 21:30:19 +01:00
Kavin 0158744506
Hold pubsub session for lesser time. (#298) 2022-07-02 18:13:58 +01:00
Kavin 3a009407ad
Run server on new thread. (#297) 2022-07-02 13:32:20 +01:00
Kavin 943e4a3de8
Add some parameter checking to search and feed routes. (#294) 2022-06-28 18:13:29 +01:00
Kavin 374d067a95
Implement RYD-Proxy API implementation. (#293) 2022-06-27 17:11:22 +01:00
Kavin b7a91036f9
Cleanup Transactions. (#275)
- use hibernate 6 methods
- Don't use session.getTransaction()
- regex to validate channelId for saving channels
2022-06-26 10:03:02 +01:00
Kavin e8e055a676
Case insensitive sort for subscriptions. (#292) 2022-06-26 03:44:07 +01:00
Kavin f5e881e0e4
Add length check for username. 2022-06-26 03:01:19 +01:00
Kavin c558572953
Import mapper statically. 2022-06-26 03:00:45 +01:00
Kavin e085d4c8a3
Allow having a different url for pubsub. (#290)
This would be useful for onion instances.
2022-06-25 10:22:45 +01:00
Kavin 160e6933d3
Allow disabling pubsub timer to lower cpu usage. (#289) 2022-06-25 10:19:06 +01:00
Kavin 18211a3eed
Add route to import playlist from YouTube. (#282) 2022-06-18 19:10:26 +01:00
Kavin c23805288f
Update to Hibernate 6. 2022-06-17 17:05:59 +01:00
Kavin 87917f0da2
Use parallel streams for some operations. (#264) 2022-05-12 11:54:28 +01:00
Kavin ce70bd037b
Limit RSS feed size to 100 entries (#263) 2022-05-10 09:40:26 +01:00
the_4n0nym0u53 d3d1ee420b
Feature: Implement account deletion (#248)
* Add backend code for user deletion

* Add endpoint and delete user test

* Delete all user content from db

* Delete from playlist_videos table on user deletion

* Avoid raw SQL in unsubscribeResponse()

* Fix unsubscribeResponse()

* Don't delete PlaylistVideos from other users' playlists

* Fix pruneUnusedPlaylistVideos()

* Remove unused commented-out code

* Fix oopsie

* Proper type declaration due to false error-reporting by VSCode

* Use delete query for better performance

* Cleanup and add OneToMany relationship.

* Revert unsubscribe logic.

Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
2022-05-05 19:51:51 +01:00
Kavin a5296d6e5a
Add support for a different address for proxying images. (#252) 2022-04-25 07:42:59 +01:00
Kavin 11b53e8c00
Update NewPipeExtractor. (#249) 2022-04-24 18:01:00 +01:00
Kavin 9c1c165fb2
Significantly speed up import process. (#242) 2022-04-11 00:02:25 +01:00