Write unit tests
-
Have a --test commandline flag to create a adminTest user (and remove it if found if not running in test mode) -
Disable gitlab integration for tests
Admin
-
Read config -
Trigger generation
Auth
-
Log in as admin -
Log in as user
Favorites
-
Add favorites -
Delete favorites -
Get full list of favorites -
Get normal list of favorites (for app)
Kara Import
-
Add new kara and test for JSON existence in import folder -
Edit existing kara and test for JSON existence
Karas
-
Test if lastUpdate returns something -
List karas -
With filter (Dragon Ball) -
With one tag -
With two tags -
By year -
Join a localKaras array to see if the server only returns songs not listed in the array -
List a specific kara -
Order by most recent
-
-
Read stats -
Get "raw" kara data (a karabundle file) -
Signal a problem -
List tags by type -
List all tags -
List medias -
List all years -
Suggest a song -
Get a specific tag
Shortener
-
Get your IP see if redirect to not found page -
Post an instance IP -
Get your IP
Stats
-
Add an instance -
List all instance stats -
Get most played songs -
Add one played song -
Get most favorited songs -
Get most requested songs
Users
-
List users -
Add user -
Delete user -
Get specific user -
Edit user -
Try to reset password - for test mode return the resetCode in the returned API message -
Effectively reset password -
Get your own user data -
Delete your own user data -
Edit your own user data
Edited by Leon