Commit Graph

183 Commits

Author SHA1 Message Date
amazing-username a772627abc Did some preliminary streaming tests from an mobile app and the functionality works. it is a little rough but it can be smoothed out. Created manager classes to abstract functionality from the SongManager class. #7 2019-05-26 22:04:30 +00:00
amazing-username 05a33d4d9e Added functionality to stream a song. I just need to test it. #7 2019-05-26 00:59:32 +00:00
amazing-username 801a60e631 Song's id no longer changed when updating the song #48 2019-05-25 22:19:14 +00:00
amazing-username c8578ae8c8 Song Count for corresponding tables are calcuated when retrieved #47 2019-05-25 20:48:40 +00:00
amazing-username e1627b04b9 The SongCount field is not mapped during migrations. Working on changes to the StoreContext classes. These changes will calculate the song count for the album, artist, genre, and year records when querying data. The other change is to check to see if the record exist in the first place before querying using a left join. #47 2019-05-25 03:06:04 +00:00
amazing-username dd89b97997 Song and the corresponding tables will be deleted if there are not song related to the tables. #44 2019-05-25 00:50:30 +00:00
amazing-username f9e66f416d #7 2019-05-23 22:13:56 -04:00
amazing-username 90c28dc38a Created API Controller class to stream the song. I also moved the part in the code where it is stripping out the metadata from the song file to create a Song object t when uploading a song. It could have caused a conflict with reading the metadata which it was doing.This did not happen while developing on Linux but presented itself on Windows 10. #7 2019-05-23 22:13:37 -04:00
amazing-username 0cf1bf1c2d Added functionality to delete empty directorie after updating songs #45 2019-05-22 20:37:14 -04:00
amazing-username d4c3d94d1a Able to update the song's metadata and move the old song file to a new path and delete the old song path. Need to imlement functionality to revert changes incase something goes wrong. #37 2019-05-21 22:03:34 -04:00
amazing-username 346609b7bd Fixed bug where the album directory not being created when uploading a song. Working on moving the song to a new path when the artist or album has been changed. Running into issue with only one process is permitted to have access to the file. #43 and #37 2019-05-20 20:02:19 -04:00
amazing-username e30f80d7d5 Changes to the song's metadata reflect in the database. Now the location on the filesystem has to match the updated metadata. #37 2019-05-20 08:57:24 -04:00
amazing-username ada7939866 Resolved issue with Song record being deleted after updating the metadata records. #37 2019-05-20 00:56:51 -04:00
amazing-username c9e8e2c6da Continuing work on updating a song's record whenever attributes or metadata are updated. Running into an issue where the Song record is deleted during an update after the other records have been updated (artist record, album record, genre record, etc.). I believe I have narrowed it down to the Genre id and Year Id of the song not being updated. #37 2019-05-19 21:48:03 -04:00
amazing-username 991d2e0d6a Continuing with #37 2019-05-19 02:33:57 -04:00
amazing-username 41398461be Finished API functionality for Genre and Year endpoints. #41 and #42. Working on refining the updating song api route that's part of the clean up issue. #37 2019-05-18 02:09:59 -04:00
amazing-username 30abf31877 Continuing work on the Genre and Year API functionality. It is now working, just need to add it to the api #41 #42 2019-05-17 22:31:57 -04:00
amazing-username a471d40cb6 Continuing work on issue #41 and #42. Added functionality to delete album and artist records 2019-05-16 21:47:19 -04:00
amazing-username 8f6364922b Continuing working on the Genre and Year API functionalty. #41 and #42 2019-05-15 20:54:52 -04:00
amazing-username 2a69392d98 Continuing to provide functionality to the GenreStoreContext class #41 2019-05-14 23:33:29 -04:00
amazing-username cd2da929eb Added Genre and Year models, Genre and Year Context, Genre and Year Stores, Genre and Year skeleton APIControllers #41 and #42 2019-05-13 21:19:15 -04:00
amazing-username d75d2924a7 Working on some code cleanup, I thought I was nearing the end. Eventually leading to working on how to stream songs from the server but more work has to be done. I know I have integrated Auth0 but if this project is to be useful to others without having to configure Auth0 then I would like for it to be usable with a couple commands after cloning the repository. More work has to be done but I am close to the releasing the first version. Will update to the project on Github soon. #37 2019-05-12 21:42:25 -04:00
amazing-username dcc6ce6c83 HTTP endpoints secured #39 2019-05-11 22:22:53 -04:00
amazing-username 9bfb43e46a Addressed the unsecure login HTTP endpoint and user the Performers property instead of the deprecated Artists property from the TagLib library. #38 2019-05-11 16:42:29 -04:00
amazing-username c0ac3cdd30 Changed the LastLogin property of the User model to allow null values, explcitly change the Entity User context to create a User table, and resolved bug that caused build issues in the SongController API class. The bug was caused by forgetting to change the type of the method after switching it from ActionResult to IActionResult. #40 2019-05-11 12:43:54 -04:00
amazing-username a3c74b50bc Implemented Artist HTTP endpoint functionality. #21 and #26 2019-05-10 22:21:30 -04:00
amazing-username 0c4a1612b1 Updated Song model to include ArtistId, Updated Artist Model, and partially implemented Artist API endpoint functionality. I left TODO's on where to pick up. #19, #21, #26 2019-05-09 21:51:29 -04:00
amazing-username 287719db42 Completed Album API functionality #22, #25 2019-05-09 20:40:58 -04:00
amazing-username f7d6580253 Completed all TODO tasks, what's left is to go over the code and do some cleanup regarding the album API functonality. #22, #25 2019-05-08 22:06:19 -04:00
amazing-username 677646bb62 Continuing work on providing functionality for the Album HTTP Endpoints. Added TODO's to picket up where I left off #22, #25 2019-05-07 21:58:17 -04:00
amazing-username 66f9a05341 Modified Song model, added more functionality to the Album context and store, and need to work on how album records are handled when uploading songs. I left TODO's on where to pick up. #22, #25, #29 2019-05-06 20:32:34 -04:00
amazing-username 6b4b762207 Created artist and album contexts, created artist and album store contexts, and implemented logging to other regions of the codebase beside the APIControllers #16, #21, #22, #25, #26 2019-05-05 21:33:00 -04:00
amazing-username 4a385af3b5 Implemented logging. To complete the logging implementation I have to log the flow to the log file #16 2019-05-05 12:09:19 -04:00
amazing-username 649d2c75a3 Can now dynamically update song metadata, discovered and fixed a bug that would update all Song records when updating a single song's metadata #36 2019-05-05 00:15:28 -04:00
amazing-username 226e95248c Created Http endpoints for album and artists. Added Album and Artist models. #25, #26, #19, #20 2019-05-04 01:08:52 -04:00
amazing-username b0265ebc97 Partially implemented updating song metadata. Need to make it more dynamic, meaning only update attributes that have values sent with the request. #36 2019-05-02 22:48:50 -04:00
amazing-username c0d2891d86 Switched to the TagLib library for stripping metadata. Included TODO for updating a song's metadata for both the database and the tag of the MP3 file #36 2019-04-30 01:49:43 +00:00
amazing-username 4d1013950a Added more verbosity in the song uploading process 2019-04-28 23:54:13 +00:00
amazing-username d652ca9b2d Added compressed song download functionality to require authorization 2019-04-28 22:53:04 +00:00
amazing-username 065abeecbc Implemented Tokens, Login Functionality, and download authorization #15, #27, #31, #34 2019-04-28 22:29:15 +00:00
amazing-username 6cc0b32563 Added client id and client secret to the appsetting files #27 2019-04-28 18:41:21 +00:00
amazing-username 0f918d6562 Added functionality to the Login Controller. Added TODO's for implementing Tokens #27 #31 2019-04-28 02:05:23 +00:00
amazing-username 8a38417a51 Added EmailVerified to the User model and implmeneted Registration functionality #33 2019-04-28 01:22:51 +00:00
amazing-username 105ac85a66 Updated User model, Updated Password encryption to use a BCrypt implementation, Updated UserStoreContext #23, #24, #33 2019-04-27 03:31:23 +00:00
Kun Deng 4f12875ed5 Update README.md 2019-04-21 21:36:31 -04:00
amazing-username a161d2277a Implemented Auth0 functionality to handler authentication. Not complete, will add to it some more. #15 2019-04-21 21:07:13 -04:00
amazing-username 4ba342b625 Added User Context #24 2019-04-21 17:54:18 -04:00
Kun Deng 664b8234c2 Update README.md 2019-04-16 21:15:52 -04:00
amazing-username d0f6f400c0 Added User model #23 2019-04-15 20:29:05 -04:00
amazing-username cb6e737bff Implemented EF Core Migrations #13 2019-04-14 23:12:18 +00:00