Commit Graph

179 Commits

Author SHA1 Message Date
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
kdeng00 b885e3d2c8 Ok 2019-08-27 20:33:00 -04:00
amazing-username d0d1008044 Fixed bug that caused a failure in retrieving records. Empty directories are deleted when deleting a song. If the song contains the stock cover art, the stock cover art will not be deleted 2019-08-27 20:13:18 +00:00
kdeng00 ed6f98eb5a Added song delete endpoint 2019-08-26 23:10:24 -04:00
kdeng00 48e97e7cd1 Added support for saving downloading song. It doesn't work outside of curl from the command line. The response body is empty, I'll look into it 2019-08-25 22:21:21 -04:00
kdeng00 fb03354189 Working on downloading the song 2019-08-25 16:47:52 -04:00
kdeng00 540d665a7e Can retrieve all song records 2019-08-25 15:26:47 -04:00
kdeng00 2145adb039 Some clean up for insert song records into the database 2019-08-25 14:54:09 -04:00
kdeng00 d54715ac25 Able to insert song records into the database. Left TODO for clean up 2019-08-25 01:30:13 -04:00
kdeng00 1db3eb2f8c Cover art record saved in the database. Next is to save the song record to the database and then try to download the song afterwards 2019-08-24 18:41:01 -04:00
kdeng00 9281293fad Working on interfacing with the database. Could do queryies via string/cstring but I'm going to try prepared statements 2019-08-23 23:16:42 -04:00
kdeng00 764185da7d Able to save song and cover art to the appropriate paths. Next is saving it to the database 2019-08-22 22:40:49 -04:00
kdeng00 592853695d Added paths.json file that contain paths 2019-08-22 19:49:17 -04:00
kdeng00 2a8290a929 Added script to create database 2019-08-21 07:09:39 -04:00
kdeng00 92f0d4702b Factoring 2019-08-20 22:45:25 -04:00
kdeng00 e42a551193 Now have to check to see if the token has the correct scope 2019-08-20 19:56:26 -04:00
kdeng00 3e94e0e22e Left some TODO's. Next thing is to check if the token is valid 2019-08-19 22:19:47 -04:00
kdeng00 4072526d35 Able to upload song. Left TODO on what's next 2019-08-18 22:58:04 -04:00
kdeng00 bbd8186114 Added songcontroller, work on uploading a song 2019-08-18 16:44:59 -04:00
kdeng00 e9aa5f799c Added database configuration file 2019-08-18 16:15:47 -04:00
kdeng00 10b546d8b8 removed mysqlconnector c++ submodule. Linking issues, using the C API instead 2019-08-18 16:13:14 -04:00
kdeng00 d26c16aa69 database stuff 2019-08-18 11:57:08 -04:00
kdeng00 5230e69832 more changes 2019-08-17 18:53:50 -04:00
kdeng00 9ae9b08520 changed path of jwt-cpp submodule 2019-08-17 16:17:43 -04:00
kdeng00 0fc16daf86 Tying something out 2019-08-17 16:04:54 -04:00
kdeng00 533a8d81a9 Finished up #55 2019-08-13 21:05:11 -04:00
amazing-username 4d59b311e6 Removed TagLib# and RestSharp dependencies. Updated README.md 2019-08-13 14:38:34 +00:00
amazing-username a561ab0642 Fixed bug where user was not being authenticated 2019-08-13 14:08:03 +00:00
kdeng00 f0a50ba70a Implemented TokenManager #57 2019-08-13 00:11:04 -04:00