Commit Graph

36 Commits

Author SHA1 Message Date
Kavin 0ae0b5b24f
Fix missing newline. 2023-10-26 16:30:09 +01:00
Andrea Spacca 2982ec9201 add back testing for hsqldb 2023-10-07 14:30:51 +09:00
Kavin 261fba8238
Drop hsqldb support. 2023-08-14 11:05:05 +01:00
Kavin 3f4d431f7b
Set max time to 60 seconds. 2023-08-14 07:00:45 +01:00
Bnyro adacbfe285 feat: support for meta info of videos 2023-08-03 15:40:46 +02:00
Kavin 12e25c9c13
Attempt to add proper support for channel handles. 2023-04-27 13:22:04 +01:00
Kavin 7470554973
Add test for subscriptions. 2023-04-27 08:08:55 +01:00
Kavin 4a533e9513
Attempt to migrate to Java 19. 2023-03-09 23:19:14 +00:00
Kavin 22cd6d07c4
Fix all shell check + tests. 2023-01-30 17:31:54 +00:00
Bnyro 1f025fb639 Attempt to fix the tests linter 2023-01-30 16:23:25 +01:00
Bnyro e85a26c483 Add test for importing subscriptions 2023-01-30 16:16:07 +01:00
Bnyro 3e973854fb Add tests for unauthenticated POST feed requests 2023-01-30 16:05:31 +01:00
Kavin f0da580245
Merge pull request #499 from frajibe/wip/tests/typo
fix the 'rename playlist' endpoint from api-test.sh
2023-01-08 15:06:46 +00:00
frajibe a7ce6f7d23 fix the 'rename playlist' endpoint from api-test.sh 2023-01-07 15:32:00 +01:00
frajibe 67681d5036 add 'playlists/clear' into api-test.sh 2023-01-07 15:22:12 +01:00
Kavin 5586483c9c
Use latest cockroachdb image. 2022-11-23 09:30:54 +00:00
Kavin ea67f60689
Update piped.kavin.rocks to piped.video 2022-11-11 19:52:51 +00:00
Kavin 00a6d7da93
Implement support for channel tabs. 2022-10-27 11:59:10 +01:00
Bnyro f660424c90 add test 2022-08-28 12:06:32 +02:00
Kavin 48efbe66ca
Unauthenticated channel info endpoint. 2022-08-01 17:39:40 +05:30
Kavin 0d0dd1a42f
Add api tests for unauthenticated subscriptions. 2022-07-31 23:22:22 +05:30
Kavin 12c4890587
Implement logging out of session. 2022-07-20 20:16:48 +05:30
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
Kavin 58759a3944
Add delay to yugabytedb piped command. 2022-06-02 13:12:55 +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 f7a5f5051a
Add route to delete playlist. 2022-04-06 16:11:28 +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 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
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
FireMasterK a538028c51
Add test for Clips. 2022-02-10 15:00:03 +00:00
Kavin 42b3e6dab5
Add YugabyteDB CI testing. (#141) 2021-12-11 20:46:17 +00:00
Kavin bf58a22fe9
Add CockroachDB CI testing (#140) 2021-12-11 20:20:59 +00:00
Andrea Spacca 26814db8d9
Add dependecies for hsqldb (#132)
* add dependecies for h2 db

* Attempt to test h2 with docker-compose.

* bump h2 to 2.0.202

* add dependecies for h2 db

* use pgsql mode

* switch to hsqldb

* fix hibernate dialect

Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-12-11 19:47:40 +00:00