Commit Graph

11 Commits

Author SHA1 Message Date
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