Hello, this is the first written release in the YourSpotify repository to keep track of the implemented features and how they work.
Login with Spotify (#67)
I switched the login functionality from the old username / password form to Spotify OAuth. I needed to run migration in order to do that, they do the following:
- If there is more than one account with the same Spotify account (same Spotify ID), only the oldest is kept, the other are removed.
- People login and register using the same
Login with Spotify
button. When registrations are disabled, the login button cannot create an account.
Admin capabilities
I added the admin feature so that there are admins in the app and not everyone is allowed to do everything. After updating, all accounts already existing will be admin. You can set or unset admin capabilities in the settings menu if you are an admin.
If there is no data in the database, the first account created is always admin. If all accounts are removed, the next created one will be admin.
Deleting users
You can now, as an admin, delete existing users. Deleting a user will remove every data belonging to it. Note that every orphan track will be removed, and subsequently any album that has no track and artist that has no album wiill be removed.
Miscellaneous
- You can now change your username in the settings menu
- Improved looper stability
Notes:
- Please do not remove all the accounts with the registrations disabled for now
- Please do not unset admin on all the accounts