Commit graph

439 commits

Author SHA1 Message Date
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
b361e7ede6
Merge pull request #291 from TeamPiped/username-length
Username length check
2022-06-26 03:05:55 +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
dependabot[bot]
d4898b8e6c Bump spring-security-crypto from 5.7.1 to 5.7.2
Bumps [spring-security-crypto](https://github.com/spring-projects/spring-security) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/5.7.1...5.7.2)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-crypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 02:22:28 +01:00
dependabot[bot]
59554b8f67 Bump activej-boot from 5.2 to 5.3
Bumps [activej-boot](https://github.com/activej/activej) from 5.2 to 5.3.
- [Release notes](https://github.com/activej/activej/releases)
- [Commits](https://github.com/activej/activej/compare/v5.2...v5.3)

---
updated-dependencies:
- dependency-name: io.activej:activej-boot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:35:35 +01:00
dependabot[bot]
c8e738e6fb Bump activej-common from 5.2 to 5.3
Bumps activej-common from 5.2 to 5.3.

---
updated-dependencies:
- dependency-name: io.activej:activej-common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:27:39 +01:00
dependabot[bot]
aa8b380762 Bump activej-specializer from 5.2 to 5.3
Bumps activej-specializer from 5.2 to 5.3.

---
updated-dependencies:
- dependency-name: io.activej:activej-specializer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:27:03 +01:00
dependabot[bot]
fd2bf32770 Bump activej-launchers-http from 5.2 to 5.3
Bumps activej-launchers-http from 5.2 to 5.3.

---
updated-dependencies:
- dependency-name: io.activej:activej-launchers-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:24:23 +01:00
dependabot[bot]
34614aed68 Bump activej-http from 5.2 to 5.3
Bumps activej-http from 5.2 to 5.3.

---
updated-dependencies:
- dependency-name: io.activej:activej-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:24:13 +01:00
Kavin
18211a3eed
Add route to import playlist from YouTube. (#282) 2022-06-18 19:10:26 +01:00
Kavin
457a68fa40
Merge pull request #238 from TeamPiped/hibernate-update
Update to Hibernate 6
2022-06-17 17:06:38 +01:00
Kavin
c23805288f
Update to Hibernate 6. 2022-06-17 17:05:59 +01:00
dependabot[bot]
047fd18f21 Bump okhttp-bom from 4.9.3 to 4.10.0
Bumps [okhttp-bom](https://github.com/square/okhttp) from 4.9.3 to 4.10.0.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.3...parent-4.10.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:21:54 +01:00
dependabot[bot]
6546dcda64 Bump postgresql from 42.3.6 to 42.4.0
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.6 to 42.4.0.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.6...REL42.4.0)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 15:53:24 +01:00
Kavin
35a9aa8f56
Merge pull request #277 from TeamPiped/graalvm
Add support for GraalVM's JVM
2022-06-02 13:23:27 +01:00
Kavin
e58d9a6367
Build and publish graalvm images. 2022-06-02 13:22:11 +01:00
Kavin
58759a3944
Add delay to yugabytedb piped command. 2022-06-02 13:12:55 +01:00
Kavin
cfd4df723c
Complete graalvm dockerfile. 2022-06-02 12:55:12 +01:00
Kavin
7a6c5fdf96
Run only on PRs / master branch. 2022-06-02 12:52:23 +01:00
Kavin
e84070234a
Collect docker services logs. 2022-06-02 12:48:40 +01:00
Kavin
1c454b4fdf
Add testing support for GraalVM's and OpenJ9 JVM. 2022-06-02 12:33:07 +01:00
dependabot[bot]
ad736729a1 Bump caffeine from 3.1.0 to 3.1.1
Bumps [caffeine](https://github.com/ben-manes/caffeine) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](https://github.com/ben-manes/caffeine/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: com.github.ben-manes.caffeine:caffeine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 15:24:40 +01:00
dependabot[bot]
5caf42615d Bump postgresql from 42.3.5 to 42.3.6
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.5 to 42.3.6.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.5...REL42.3.6)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 14:21:21 +01:00
dependabot[bot]
fea88be43e Bump spring-security-crypto from 5.7.0 to 5.7.1
Bumps [spring-security-crypto](https://github.com/spring-projects/spring-security) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/5.7.0...5.7.1)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-crypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 16:10:34 +01:00
dependabot[bot]
133a68f454 Bump spring-security-crypto from 5.6.3 to 5.7.0
Bumps [spring-security-crypto](https://github.com/spring-projects/spring-security) from 5.6.3 to 5.7.0.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/5.6.3...5.7.0)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-18 16:52:32 +01:00
dependabot[bot]
f0e5af428a Bump jackson-core from 2.13.2 to 2.13.3
Bumps [jackson-core](https://github.com/FasterXML/jackson-core) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.13.2...jackson-core-2.13.3)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 16:07:31 +01:00
dependabot[bot]
394fd992bb Bump jackson-annotations from 2.13.2 to 2.13.3
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 15:27:04 +01:00
dependabot[bot]
8c2e3a8a17 Bump jackson-databind from 2.13.2.2 to 2.13.3
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.2.2 to 2.13.3.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 14:13:39 +01:00
dependabot[bot]
f48381abf7 Bump jsoup from 1.14.3 to 1.15.1
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.3...jsoup-1.15.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 14:13:28 +01:00
Kavin
d70b632133
Update NewPipeExtractor. (#265) 2022-05-12 20:23:21 +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
dependabot[bot]
ae9bd3b7be Bump docker/setup-qemu-action from 1.2.0 to 2.0.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.2.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 17:55:52 +01:00
dependabot[bot]
bb89b39e9c Bump docker/setup-buildx-action from 1.7.0 to 2.0.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 17:55:48 +01:00
dependabot[bot]
8376cd3f61 Bump docker/build-push-action from 2.10.0 to 3.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 17:55:44 +01:00
dependabot[bot]
5348f1bd06 Bump docker/login-action from 1.14.1 to 2.0.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.1 to 2.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.14.1...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 17:55:32 +01:00
dependabot[bot]
ff8b14246f Bump activej-launchers-http from 5.1.1 to 5.2
Bumps activej-launchers-http from 5.1.1 to 5.2.

---
updated-dependencies:
- dependency-name: io.activej:activej-launchers-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 19:52:41 +01:00
dependabot[bot]
c4a0c579a5 Bump caffeine from 3.0.6 to 3.1.0
Bumps [caffeine](https://github.com/ben-manes/caffeine) from 3.0.6 to 3.1.0.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](https://github.com/ben-manes/caffeine/compare/v3.0.6...v3.1.0)

---
updated-dependencies:
- dependency-name: com.github.ben-manes.caffeine:caffeine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 19:52:22 +01:00
dependabot[bot]
641aef7ac1 Bump postgresql from 42.3.4 to 42.3.5
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.4 to 42.3.5.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.4...REL42.3.5)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 19:52:13 +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
dependabot[bot]
1bf566b1c7 Bump docker/setup-buildx-action from 1.6.0 to 1.7.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 01:41:13 +01:00
Kavin
a5296d6e5a
Add support for a different address for proxying images. (#252) 2022-04-25 07:42:59 +01:00
dependabot[bot]
1adbdeabe6 Bump activej-boot from 5.1.1 to 5.2
Bumps [activej-boot](https://github.com/activej/activej) from 5.1.1 to 5.2.
- [Release notes](https://github.com/activej/activej/releases)
- [Commits](https://github.com/activej/activej/compare/v5.1.1...v5.2)

---
updated-dependencies:
- dependency-name: io.activej:activej-boot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-24 19:22:25 +01:00