32 Commits

Author SHA1 Message Date
Kavin
1d2ef196be
Fix channel save new video handling. 2023-08-30 13:23:43 +01:00
Kavin
e48919d08b
Update NewPipeExtractor 2023-08-03 23:53:34 +01:00
Kavin
0dd97c67ca
Fix for channels with too large name length. 2023-06-05 07:57:18 +01:00
Kavin
234adf1255
Fixes for the new new channel tab handler. 2023-05-22 21:10:16 +01:00
Kavin
7f117f572f
Faster checks for video exists. 2023-04-29 20:05:21 +01:00
Kavin
aa36c6f68b
Filter invalid channel IDs. 2022-12-14 20:38:19 +00: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
b065ea8668
Fix query type error. 2022-11-17 16:54:42 +00:00
Kavin
ec89d042e3
CriteriaUpdate for video updates. 2022-11-17 15:55:43 +00:00
Kavin
2afecb3f39
Refactor server code into multiple classes. 2022-10-29 22:00:55 +01:00
Kavin
3c00bfae89
Query all videos at once and batch update. 2022-10-06 11:05:42 +01:00
Kavin
adbd2b347f
Small Java 17 improvements. (#337) 2022-08-18 08:43:40 +05:30
Kavin
17b9a974de
Attempt to use stateless sessions in read-only operations. (#301) 2022-07-04 06:42:01 +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
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
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
9c1c165fb2
Significantly speed up import process. (#242) 2022-04-11 00:02:25 +01:00
Kavin
f7a5f5051a
Add route to delete playlist. 2022-04-06 16:11:28 +01:00
Kavin
00e32dc992
Add route to add video to playlist. 2022-04-06 13:07:50 +01:00
Kavin
b1e875bcf5
Fix subscription imports and improve session handling. (#228) 2022-03-19 18:57:00 +00:00
Kavin
3d8d592768
Fix for bug where subscriptions can't be fetched on fresh accounts. (#205) 2022-03-01 21:02:35 +00:00
Kavin
597e861159
Replace in to equals. (#203) 2022-02-28 22:46:15 +00:00
Kavin
78082742ad
Replace left joins with inner joins (#199)
* Replace left joins with inner joins.

* Temporarily disable YugabyteDB CI
2022-02-24 12:27:23 +00:00
FireMasterK
a15ad70817
Remove unnecessary methods. 2021-08-21 01:55:45 +05:30
FireMasterK
f66e77330e
Add route to see subscriptions. 2021-07-23 01:34:21 +05:30
FireMasterK
dfca88952a
Use Hibernate as a database (#32)
* Basic hibernate structure.

* Commit stash.

* Improve a lot of things.

* Implement Feed, PubSub, query optimizations.

* Update video views on channel visits.

* Allow mass importing subscriptions.

* Allow configuring database in config.properties.

* Major multi-threading and pubsub improvements.

* PubSub query improvements and fix for postgres.

* Revert docker-compose change.

* Disable showing sql statements.
2021-07-17 04:10:46 +05:30