Commit Graph

207 Commits

Author SHA1 Message Date
kdeng00 979dd66842 Made it easier to build the bcrypt library v0.1.4 2019-11-17 13:55:01 -05:00
kdeng00 69f5a37eb3 Code cleanup 2019-11-17 13:33:58 -05:00
kdeng00 ca1fcb801d Added functionality to check if the song already exists when uploading 2019-11-13 20:22:29 -05:00
kdeng00 3b0f199dca forgout about one file 2019-11-12 23:03:42 -05:00
kdeng00 41ae06e19a Fixed bug when song upload HTTP endpoint returns a response of the uploading song with errors 2019-11-12 22:51:07 -05:00
kdeng00 9b4a0db67a Added albumArtist field memeber to Song model. Automatically apply disc value 1 for song's metadata that have an empty disc field. Switched from TagLib::FileRef to TagLib::MPEG::File 2019-11-04 22:26:03 -05:00
kdeng00 c7bbdfe581 Code clean up 2019-11-03 13:03:32 -05:00
Kun Deng 01faa60699 Update README.md v0.1.3 2019-10-26 10:31:46 -04:00
amazing-username 8714d76a2a Changes to response returns when song does not exist. The cause of a segmentation fault 2019-10-26 14:23:42 +00:00
kdeng00 e764bc45de When song is uploaded the response returned is info about the song and a response 2019-10-22 20:30:43 -04:00
kdeng00 5fefc451d5 Adding coverart id field to Song dto object to return the coverart id that the song is associated with so it is easier to get the cover art 2019-10-21 21:54:50 -04:00
kdeng00 024134b801 some changes v0.1.2 2019-10-13 11:29:40 -04:00
kdeng00 32ed611112 Authorized endpoints and updated README 2019-09-25 23:03:38 -04:00
kdeng00 698ccf9099 slight change in README.md 2019-09-24 22:31:23 -04:00
kdeng00 1b8c28e67b added user authentication and updated README.md 2019-09-24 22:29:09 -04:00
kdeng00 e936c2da17 Solved issue where I couldn't retirever a user record from the database. Didn't correctly set the MYSql type to string. 2019-09-23 21:38:33 -04:00
kdeng00 4bd794c288 Working on User authentication 2019-09-22 23:57:14 -04:00
kdeng00 89ed9f9252 Updated README.md and completed verification process 2019-09-20 20:56:24 -04:00
kdeng00 8ee39e13c0 Confirmed database connectivity 2019-09-19 22:03:23 -04:00
kdeng00 6a5ebc0078 path configuration file is verified at the start of execution 2019-09-17 20:47:53 -04:00
kdeng00 bb783c61ad started working on function to verify the configuration settings 2019-09-16 22:26:17 -04:00
kdeng00 6e570cd495 finished updating song functionality 2019-09-15 20:57:41 -04:00
kdeng00 9a894487ad Almost done with updating metadata of song, just need to handle records that have no related records associated with them 2019-09-15 00:23:08 -04:00
kdeng00 a82e66ff83 Working on updating a song's metadata 2019-09-13 23:12:09 -04:00
kdeng00 2fdc86e0b3 Figured out how to check if Int32 values from the ObjectWrapper have any values. Just get the pointer of it and see if it is a nullptr 2019-09-12 21:59:29 -04:00
kdeng00 0a97f695e3 Working on updating a song's metadata 2019-09-11 22:12:41 -04:00
kdeng00 a00a70029e Implemented deletion functionality, and lingering records are removed fixes #49 2019-09-10 22:27:28 -04:00
kdeng00 8c1c2340b2 Working on HTTP endpoint to delete songs. Finished with album. Need to work on the Artist, Genre, and Year aspects 2019-09-09 21:57:04 -04:00
kdeng00 19ddb9be0b Added song streamingh endpoint and removed redundant making oatpp::String shared when it already is a shared object #61 2019-09-08 18:48:14 -04:00
kdeng00 949abf8244 stream does not contain the whole song, also when the stream is terminated on the client's side, the service crashed on the server side 2019-09-07 18:30:03 -04:00
kdeng00 fd3a84fbea Working on streaming the song, running into issues trying to figure this out. Wanted to at least commit the work 2019-09-07 15:41:38 -04:00
kdeng00 7ec88397c0 Able to retrieve single and multiple records (Album, Artist, Genre, Year) 2019-09-07 12:00:12 -04:00
kdeng00 e9241cf6a5 Need to work on the ability to fetch records for Artist, Genre, and Year 2019-09-06 22:38:14 -04:00
kdeng00 de838da040 Can fetch cover art records and download a single cover art 2019-09-06 22:13:52 -04:00
kdeng00 ada50b3d5c Still in the process of switching to prepared statements. Left TODO for removing the make_shared_ptr for the raw song data. Added feature to retrieve a sing cover art record in json format 2019-09-05 20:57:13 -04:00
kdeng00 5b9f2a0505 fix for duplicate records being saved. I'm going to continually monitor it, some minor changes might need to be made. The changes are changing to prepared statements for queries 2019-09-04 23:48:37 -04:00
amazing-username d4e9b8c71f Tidied up code, going to put up the coding convention later on 2019-09-04 15:41:43 +00:00
Kun Deng dd995269df Merge pull request #60 from kdeng00/experiment
Switching to C++
2019-09-03 16:17:19 -04:00
kdeng00 12a53ed2b1 Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories 2019-09-03 16:15:37 -04:00
kdeng00 c55d8261a2 Added TODO in the albumRepository.cpp on where to pick up from. Short story: duplicate related records 2019-09-02 20:16:30 -04:00
kdeng00 4306c174b3 Able to save and retrieve records (Artist, Album, Genre, etc.) 2019-09-02 13:59:49 -04:00
kdeng00 fafb39326b Left off at adding album record to the database and retrieving the album record to assign the album id to the song record's album id foreign key 2019-09-01 18:46:02 -04:00
kdeng00 ab3000c2a0 Moved controllers to include directory 2019-09-01 17:13:31 -04:00
kdeng00 c0fba2c9d8 Move Dto's to Dto in include directory and created Dto namespace 2019-09-01 17:08:00 -04:00
kdeng00 dfd4906371 Added Utility and Type namespaces 2019-09-01 16:56:52 -04:00
kdeng00 1ec3511bc5 Added Controller namespace 2019-09-01 16:16:06 -04:00
kdeng00 f75ebe14a7 Added manager classes for song metadata 2019-09-01 15:10:46 -04:00
kdeng00 d16b8dc3c9 Added Manager namespace 2019-09-01 14:14:46 -04:00
kdeng00 d44a5bb1bc Added Model namespace 2019-09-01 13:54:16 -04:00
kdeng00 1255aa0ff7 track and disc numbers are now part of the song's metadata and saved to the database 2019-08-28 22:16:33 -04:00