Commit Graph

38 Commits

Author SHA1 Message Date
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
amazing-username d4e9b8c71f Tidied up code, going to put up the coding convention later on 2019-09-04 15:41:43 +00: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
kdeng00 ed6f98eb5a Added song delete endpoint 2019-08-26 23:10:24 -04:00
kdeng00 fb03354189 Working on downloading the song 2019-08-25 16:47:52 -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 92f0d4702b Factoring 2019-08-20 22:45:25 -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 e9aa5f799c Added database configuration file 2019-08-18 16:15:47 -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 0fc16daf86 Tying something out 2019-08-17 16:04:54 -04:00