Commit Graph

424 Commits

Author SHA1 Message Date
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
dependabot[bot]
860bd57b3d Bump docker/build-push-action from 2.9.0 to 2.10.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.9.0...v2.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 01:40:17 +00:00
Kavin
6e88cf3050
Log and clear throttling cache every hour. (#220) 2022-03-14 14:54:47 +00:00
dependabot[bot]
d284943c14 Bump activej-http from 5.1 to 5.1.1
Bumps activej-http from 5.1 to 5.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 22:31:09 +00:00
dependabot[bot]
972cc54bb4 Bump activej-specializer from 5.1 to 5.1.1
Bumps activej-specializer from 5.1 to 5.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 22:31:01 +00:00
dependabot[bot]
77c4f7d093 Bump activej-common from 5.1 to 5.1.1
Bumps activej-common from 5.1 to 5.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 22:30:29 +00:00
dependabot[bot]
a8df7a924e Bump activej-boot from 5.1 to 5.1.1
Bumps [activej-boot](https://github.com/activej/activej) from 5.1 to 5.1.1.
- [Release notes](https://github.com/activej/activej/releases)
- [Commits](https://github.com/activej/activej/compare/v5.1...v5.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 22:30:07 +00:00
dependabot[bot]
784aaa2f31 Bump activej-launchers-http from 5.1 to 5.1.1
Bumps activej-launchers-http from 5.1 to 5.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 22:29:58 +00:00
dependabot[bot]
70f6ef03e4 Bump jackson-annotations from 2.13.1 to 2.13.2
Bumps [jackson-annotations](https://github.com/FasterXML/jackson) from 2.13.1 to 2.13.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-annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 10:36:18 +00:00
dependabot[bot]
c44ec58929 Bump jackson-databind from 2.13.1 to 2.13.2
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.1 to 2.13.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-03-10 10:16:44 +00:00
dependabot[bot]
23cf90b94c Bump jackson-core from 2.13.1 to 2.13.2
Bumps [jackson-core](https://github.com/FasterXML/jackson-core) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.13.1...jackson-core-2.13.2)

---
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-03-10 10:16:38 +00:00
Kavin
8fb1871dce
Reduce response cache size. (#214) 2022-03-10 10:14:05 +00:00
Kavin
02ca78ee7a
Manually close okhttp responses. (#210)
Ensure response is closed properly.
2022-03-03 12:27:43 +00:00
Kavin
cec135933e
Update NPE and remove the caching of CommentsInfo instances. (#209) 2022-03-03 12:03:45 +00:00
Kavin
72666ecf83
Change no-cache to no-store. (#208) 2022-03-02 20:38:22 +00:00
dependabot[bot]
79b7cdddf1 Bump docker/login-action from 1.14.0 to 1.14.1
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:19:50 +00:00
dependabot[bot]
42550d3a3c Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:19:35 +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
df526016df
Re-enable yugabytedb. (#204) 2022-02-28 22:46:02 +00:00
dependabot[bot]
5532ed127a Bump docker/login-action from 1.13.0 to 1.14.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 14:07:09 +00:00
Kavin
b0b651f44d
Don't perform authentication checks in subscribed route. (#201)
If the sessionId is invalid, false should be returned for subscribed, we make it the client's responsibility to ensure the sessionId is valid.
2022-02-24 19:06:38 +00:00
Kavin
014c9533c8
Optimize subscriptions query, by using Criteria API. (#200) 2022-02-24 12:32:39 +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
dependabot[bot]
79b00f52e5 Bump spring-security-crypto from 5.6.1 to 5.6.2
Bumps [spring-security-crypto](https://github.com/spring-projects/spring-security) from 5.6.1 to 5.6.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.6.1...5.6.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-02-22 14:14:12 +00:00
Kavin
b1c61c1a7d
Add caching for hotspot builds too (#197) 2022-02-22 09:37:11 +00:00
Kavin
20a9426abb
Add support for BuildKit's caching feature. (#196) 2022-02-22 09:33:14 +00:00
Kavin
94f5fa37ac
Add route to display version information. (#195)
* Add version information route.

* Use build action for tests.

* Add version test to script.

* Add testing directory to dockerignore.

* Don't unnecessarily set permission for gradle wrapper script.
2022-02-22 09:16:45 +00:00
Kavin
bda8ccfc19
Update NPE (#194) 2022-02-22 06:45:21 +00:00