Commit graph

402 commits

Author SHA1 Message Date
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
dependabot[bot]
26ad4be893 Bump activej-http from 5.1.1 to 5.2
Bumps activej-http from 5.1.1 to 5.2.

---
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-04-24 18:06:42 +01:00
dependabot[bot]
1ea4b88165 Bump jackson-databind from 2.13.2 to 2.13.2.2
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.2 to 2.13.2.2.
- [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-04-24 18:05:51 +01:00
dependabot[bot]
684fb0b49c Bump activej-common from 5.1.1 to 5.2
Bumps activej-common from 5.1.1 to 5.2.

---
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-04-24 18:02:15 +01:00
dependabot[bot]
518c0fe38b Bump activej-specializer from 5.1.1 to 5.2
Bumps activej-specializer from 5.1.1 to 5.2.

---
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-04-24 18:01:49 +01:00
Kavin
11b53e8c00
Update NewPipeExtractor. (#249) 2022-04-24 18:01:00 +01:00
dependabot[bot]
bbd552fc71 Bump spring-security-crypto from 5.6.2 to 5.6.3
Bumps [spring-security-crypto](https://github.com/spring-projects/spring-security) from 5.6.2 to 5.6.3.
- [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.2...5.6.3)

---
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-04-19 14:39:02 +01:00
dependabot[bot]
a90c07751e Bump postgresql from 42.3.3 to 42.3.4
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.3 to 42.3.4.
- [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.3...REL42.3.4)

---
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-04-18 15:22:56 +01:00
dependabot[bot]
01023f388e Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 22:48:51 +01:00
Kavin
9c1c165fb2
Significantly speed up import process. (#242) 2022-04-11 00:02:25 +01:00
Kavin
ce50b7523f
Handle lbryId timeout gracefully. (#241) 2022-04-09 23:22:16 +01:00
Kavin
561a4f44e1
Add index for playlist owner. (#240) 2022-04-09 22:04:16 +01:00
Kavin
f08c6c4ebf
Merge pull request #239 from TeamPiped/json-data
Handle JSON data better
2022-04-07 18:42:06 +01:00
Kavin
cef4b1dcb7
Handle JSON data better. 2022-04-07 18:40:34 +01:00
Kavin
edf9ae5b8f
Merge pull request #136 from TeamPiped/playlists
Add custom playlists
2022-04-07 03:50:07 +01:00
Kavin
dc0e4c1bbb
Cache based on playlistId length. 2022-04-07 02:43:01 +01:00
Kavin
ad89de49a0
Change table declaration so unique unique constraints aren't generated. 2022-04-06 17:34:20 +01:00
Kavin
46d9dd1a2e
Add videos size to custom playlist response. 2022-04-06 16:29:30 +01:00
Kavin
76c5fe9273
Fix rss for empty playlist. 2022-04-06 16:27:04 +01:00
Kavin
9e320c914e
Set playlist thumbnail when adding first thumbnail. 2022-04-06 16:15:44 +01:00
Kavin
f7a5f5051a
Add route to delete playlist. 2022-04-06 16:11:28 +01:00
Kavin
1135e20c3d
Add support for Piped playlists in RSS. 2022-04-06 15:05:18 +01:00
Kavin
3d6aefdd0e
Add route to remove from playlist. 2022-04-06 14:31:16 +01:00
Kavin
00e32dc992
Add route to add video to playlist. 2022-04-06 13:07:50 +01:00
Kavin
797a621b51
Add tests for playlist. 2022-04-06 04:23:31 +01:00
Kavin
b049848e79
Add playlist creation route. 2022-04-06 03:46:40 +01:00
FireMaskterK
056d61f2d2
Add playlist object. 2022-04-05 21:59:56 +01:00
Kavin
11845f26fc
Fix ClassCastException. (#235) 2022-03-30 17:47:05 +01:00
Kavin
0cea0a50f5
Change future code and add uploaderSubscriberCount. (#234) 2022-03-30 17:23:56 +01:00
dependabot[bot]
236a285c0c Bump hibernate-hikaricp from 5.6.6.Final to 5.6.7.Final
Bumps [hibernate-hikaricp](https://github.com/hibernate/hibernate-orm) from 5.6.6.Final to 5.6.7.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/5.6.7/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/5.6.6...5.6.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 09:55:17 +01:00
dependabot[bot]
f34f15573d Bump hibernate-core from 5.6.6.Final to 5.6.7.Final
Bumps [hibernate-core](https://github.com/hibernate/hibernate-orm) from 5.6.6.Final to 5.6.7.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/5.6.7/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/5.6.6...5.6.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 09:53:20 +01:00
Kavin
5b6dc2b097
Add check for database session in healthcheck. (#232)
* Add check for database session in healthcheck.

* Add curl test for healthcheck.
2022-03-29 09:49:42 +01:00
dependabot[bot]
6376401d98 Bump caffeine from 3.0.5 to 3.0.6
Bumps [caffeine](https://github.com/ben-manes/caffeine) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](https://github.com/ben-manes/caffeine/compare/v3.0.5...v3.0.6)

---
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-03-21 16:24:29 +00:00
Kavin
b1e875bcf5
Fix subscription imports and improve session handling. (#228) 2022-03-19 18:57:00 +00:00
dependabot[bot]
d1789ace9f Bump hibernate-core from 5.6.5.Final to 5.6.6.Final
Bumps [hibernate-core](https://github.com/hibernate/hibernate-orm) from 5.6.5.Final to 5.6.6.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/5.6.6/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/5.6.5...5.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 15:15:14 +00:00
dependabot[bot]
06b539427f Bump hibernate-hikaricp from 5.6.5.Final to 5.6.6.Final
Bumps [hibernate-hikaricp](https://github.com/hibernate/hibernate-orm) from 5.6.5.Final to 5.6.6.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/5.6.6/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/5.6.5...5.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 15:08:36 +00:00
Kavin
a4b6e1f804
Check if username and password is empty during registration. (#225) 2022-03-16 15:08:18 +00:00
Kavin
43d6dc93c0
Use try with for sessions (#222) 2022-03-16 03:21:24 +00:00