Commit Graph

69 Commits

Author SHA1 Message Date
Kavin bae104a03b
Enable sending consent cookie. 2023-12-17 04:50:47 +00:00
Kavin 68bbf3c0f8
Improvements to reqwest4j init, warm up extractor, init youtube country on new thread 2023-12-17 02:12:02 +00:00
Kavin 268e599421
Implement blake3 proxy query hash 2023-11-20 05:18:29 +00:00
Kavin 0cda3836d5
Update NPE. 2023-10-10 22:57:34 +01:00
Kavin 52229ed8c7
Use virtual threads. 2023-10-10 22:46:43 +01:00
Kavin e32ffb16a1
Run Liquibase migrations blocking before startup. 2023-08-14 10:59:42 +01:00
Kavin 71403e93af
Add liquibase to perform database migrations 2023-08-13 23:20:30 +01:00
Kavin ca6e7cec7f
Initialize Reqwest in Constants to prevent circular dependency 2023-07-28 11:42:21 +01:00
Kavin c027fbefe8
Handle PubSub better with a queue and actually waiting 2023-07-23 19:27:01 +01:00
Kavin 7b1dd45bf9
Add support for setting up a proxy for reqwest. 2023-07-04 19:14:37 +01:00
Kavin 427db7e443
Fix failing hard when the database fails to initialize. 2023-06-05 08:06:49 +01:00
Kavin cb6bfb30b1
Fix a subquery's selection type 2023-04-30 22:16:49 +01:00
Kavin 977ffa1286
Add shutdown thread to close session factory 2023-04-16 22:56:33 +01:00
Kavin 7c2014fc85
Cleanup list randomization code for pubsub. 2023-03-11 20:59:52 +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 b1b7dbb44a
Attempt to improve pubsub subscription handling. 2022-12-10 04:56:31 +00:00
Kavin fd6a6b3083
Start matrix sync thread asynchronously. 2022-11-15 01:41:15 +00:00
Kavin cd6e63130b
Implement federation of video data. 2022-11-13 00:27:13 +00:00
Kavin 08b61a1d20
Ignore ErrorResponse and implement tracing. 2022-10-30 22:26:20 +00:00
Kavin 8c55b85fc2
Allow using sentry to log errors. 2022-10-30 19:56:04 +00:00
Kavin 2afecb3f39
Refactor server code into multiple classes. 2022-10-29 22:00:55 +01: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
Kavin 81fa92361d
Fix and optimize pubsub timer query. 2022-08-05 00:03:47 +05:30
Kavin 9a45e33fdb
Fix bugs and implement more of unauthenticated subs. 2022-07-31 23:17:42 +05:30
Kavin c0f51c6fb6
Allow disabling server on a node. 2022-07-19 14:15:42 +05:30
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 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 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 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 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 160e6933d3
Allow disabling pubsub timer to lower cpu usage. (#289) 2022-06-25 10:19:06 +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 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
Kavin 43d6dc93c0
Use try with for sessions (#222) 2022-03-16 03:21:24 +00:00
Kavin 6e88cf3050
Log and clear throttling cache every hour. (#220) 2022-03-14 14:54:47 +00:00
Kavin a03ae434be
Replace native query with criteria api for PubSub subscriptions (#191) 2022-02-15 11:55:08 +00:00
Kavin 8880a884c3
Add feed retention configuration option. (#174) 2022-01-31 04:17:16 +00:00
FireMaskterK 6ec517e0ef
Add index and improve pubsub db query. 2021-11-18 23:32:19 +00:00
FireMasterK 15f7eef82c
Cleanup PubSub query. 2021-08-21 01:52:39 +05:30
FireMasterK cf9d1cd8cf
Print stacktraces on any errors. 2021-07-21 18:07:43 +05:30
FireMasterK e03f2661b4
Add null check for pubsub. 2021-07-21 02:57:28 +05:30