Commit Graph

71 Commits

Author SHA1 Message Date
kdeng00 43b2bf27be #93: Uploading wav songs works. Moving on to flac support 2024-07-22 19:50:03 -04:00
kdeng00 45c2bd9572 #93: Making some changes to how the file extension is determined 2024-07-18 15:26:59 -04:00
Kun Deng 4b3fa78336 #95: Id changes to models (#99)
* #95: Updated Id of the CoverArt model

* Model and migration changes
2024-06-21 20:30:23 -04:00
Kun Deng 71656aa940 #94: Saving the file type of cover art, but there is still some work to do (#100)
* #94: Saving the file type of cover art, but there is still some work to do

The filename of cover art is hard coded to have the png extension. Need to correct this

* #94: Added a TODO

* #94: Corrected file extension being saved in the db

* Cleanup

* Saving databasescripts
2024-06-21 20:26:44 -04:00
Kun Deng 562bc87822 #74: Add UserID to the Song model (#98)
* #74: Add UserID to the Song model

* #74: Added functionality to retrieve user id from the token

* #74: Songs will now contain the User Id when uploading

* Updated Readme and script to add migrations

* #74: Some cleanup
2024-06-19 15:41:55 -04:00
Kun Deng ebb15b7cdb #79: Added query parameter to randomize filename when downloading songs (#96)
* #79: Added query parameter to randomize filename when downloading songs

Right now only the  endpoint has this parameter added

* #79: Added functionality to the comressed song endpoint

* Added functionality to the download cover art
2024-06-16 19:04:10 -04:00
Kun Deng 270b7d059c #90: Adding functionality to download cover art (#97)
* Added endpoint to download cover art

* Code cleanup

* More cleanup
2024-06-16 18:28:08 -04:00
Kun Deng 23c50de468 Net8 (#89)
* .NET 8 migration

* Fixed bugs with song management

* More cleanup and making some constants

* Updated yml

* Clean up

Removing comments, some cleanup, and moving the startup code into Program.cs

* Removing comments

* Fixed song deletion issue

* Added functionality to delete song directories

* Updated README
2024-06-15 12:17:12 -04:00
kdeng00 c17c9cd329 Migrating to modern c# namespace
Using the short namesapce declaration for conciseness
2023-04-09 12:34:06 -04:00
Kun Deng 665407aac5 Code cleanup 2022-08-27 20:35:34 -04:00
Kun Deng e5bea187f4 Token validation 2022-08-27 20:16:01 -04:00
Kun Deng fd0f487615 Runtime fixes
Fixed issues preventing endpoints from successfully completing
2022-08-26 23:09:48 -04:00
Kun Deng d48716a54f Endpoint authorization
Tokens are validated for some of the endpoints. Need to add other measures to rule out bogus tokens.
2022-08-26 18:01:29 -04:00
Kun Deng 2cc13ac9bb Code changes
Did not run code. Had a spur of the moment to try something out.
2022-08-25 20:56:12 -04:00
Kun Deng 467a9d7e0f Saving changes
Using asymmetric validation
2022-08-13 18:23:03 -04:00
kdeng00 27ee3d6ba5 Updated User model 2022-01-09 17:21:26 -05:00
kdeng00 3a6e0f64bc New endpoint
New endpoint to upload song with metadata and cover art as separate entities
2021-12-29 14:06:52 -05:00
kdeng00 aa0a1ab5fe Refactoring 2021-12-26 22:17:14 -05:00
kdeng00 b529731c95 Song uploads
Uploading songs is functional and does not use the song metadata for the filename or directory creation
2021-12-25 21:36:42 -05:00
kdeng00 023298c6f8 Refactoring 2021-12-24 20:51:15 -05:00
kdeng00 f8d9c8e4a7 Authorization functioning 2021-12-24 16:45:40 -05:00
kdeng00 edaea68296 Functional 2021-12-23 21:10:13 -05:00
kdeng00 8600d9b6bc Updates 2021-12-22 21:33:12 -05:00
kdeng00 16839b9bf8 Saving changes 2021-12-22 20:18:27 -05:00
amazing-username 2c3152a9a5 Added functionality to retrieve cover art records in json format 2019-07-29 01:07:16 +00:00
amazing-username 0932be2f2b Added but did not complete the repository for cover art, updated migration script to create migration for CoverArt, and prepping for the cover art api 2019-07-07 15:02:38 -04:00
amazing-username b5501e323f Added a cover art model. Better to do it now and not wait til later 2019-07-06 22:26:55 -04:00
amazing-username ada8fa79d3 Cleaning up code convention inconsistencies 2019-07-04 15:57:43 -04:00
amazing-username 42facee883 Added versioning to the API, created namespace for the Reposiorites, Changed the StoreContexts to Repositories, moved the Contexts class to another namespace. #37 2019-05-28 23:36:56 +00:00
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 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 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 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