Commit Graph

  • 41ae06e19a Fixed bug when song upload HTTP endpoint returns a response of the uploading song with errors kdeng00 2019-11-12 22:51:07 -05:00
  • 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 kdeng00 2019-11-04 22:26:03 -05:00
  • c7bbdfe581 Code clean up kdeng00 2019-11-03 13:03:32 -05:00
  • 01faa60699 Update README.md v0.1.3 Kun Deng 2019-10-26 10:31:46 -04:00
  • 8714d76a2a Changes to response returns when song does not exist. The cause of a segmentation fault amazing-username 2019-10-26 14:23:42 +00:00
  • e764bc45de When song is uploaded the response returned is info about the song and a response kdeng00 2019-10-22 20:30:43 -04:00
  • 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 kdeng00 2019-10-21 21:54:50 -04:00
  • 024134b801 some changes v0.1.2 kdeng00 2019-10-13 11:29:40 -04:00
  • 32ed611112 Authorized endpoints and updated README kdeng00 2019-09-25 23:03:38 -04:00
  • 698ccf9099 slight change in README.md kdeng00 2019-09-24 22:31:23 -04:00
  • 1b8c28e67b added user authentication and updated README.md kdeng00 2019-09-24 22:29:09 -04:00
  • e936c2da17 Solved issue where I couldn't retirever a user record from the database. Didn't correctly set the MYSql type to string. kdeng00 2019-09-23 21:38:33 -04:00
  • 4bd794c288 Working on User authentication kdeng00 2019-09-22 23:57:14 -04:00
  • 89ed9f9252 Updated README.md and completed verification process kdeng00 2019-09-20 20:56:24 -04:00
  • 8ee39e13c0 Confirmed database connectivity kdeng00 2019-09-19 22:03:23 -04:00
  • 6a5ebc0078 path configuration file is verified at the start of execution kdeng00 2019-09-17 20:47:53 -04:00
  • bb783c61ad started working on function to verify the configuration settings kdeng00 2019-09-16 22:26:17 -04:00
  • 6e570cd495 finished updating song functionality kdeng00 2019-09-15 20:57:41 -04:00
  • 9a894487ad Almost done with updating metadata of song, just need to handle records that have no related records associated with them kdeng00 2019-09-15 00:23:08 -04:00
  • a82e66ff83 Working on updating a song's metadata kdeng00 2019-09-13 23:12:09 -04:00
  • 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 kdeng00 2019-09-12 21:59:29 -04:00
  • 0a97f695e3 Working on updating a song's metadata kdeng00 2019-09-11 22:12:41 -04:00
  • a00a70029e Implemented deletion functionality, and lingering records are removed fixes #49 kdeng00 2019-09-10 22:27:28 -04:00
  • 8c1c2340b2 Working on HTTP endpoint to delete songs. Finished with album. Need to work on the Artist, Genre, and Year aspects kdeng00 2019-09-09 21:57:04 -04:00
  • 19ddb9be0b Added song streamingh endpoint and removed redundant making oatpp::String shared when it already is a shared object #61 kdeng00 2019-09-08 18:48:14 -04:00
  • 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 kdeng00 2019-09-07 18:30:03 -04:00
  • fd3a84fbea Working on streaming the song, running into issues trying to figure this out. Wanted to at least commit the work kdeng00 2019-09-07 15:41:38 -04:00
  • 7ec88397c0 Able to retrieve single and multiple records (Album, Artist, Genre, Year) kdeng00 2019-09-07 12:00:12 -04:00
  • e9241cf6a5 Need to work on the ability to fetch records for Artist, Genre, and Year kdeng00 2019-09-06 22:38:14 -04:00
  • de838da040 Can fetch cover art records and download a single cover art kdeng00 2019-09-06 22:13:52 -04:00
  • 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 kdeng00 2019-09-05 20:57:13 -04:00
  • 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 kdeng00 2019-09-04 23:48:37 -04:00
  • d4e9b8c71f Tidied up code, going to put up the coding convention later on amazing-username 2019-09-04 15:41:43 +00:00
  • dd995269df Merge pull request #60 from kdeng00/experiment Kun Deng 2019-09-03 16:17:19 -04:00
  • 12a53ed2b1 Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories kdeng00 2019-09-03 16:15:37 -04:00
  • c55d8261a2 Added TODO in the albumRepository.cpp on where to pick up from. Short story: duplicate related records kdeng00 2019-09-02 20:16:30 -04:00
  • 4306c174b3 Able to save and retrieve records (Artist, Album, Genre, etc.) kdeng00 2019-09-02 13:59:49 -04:00
  • 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 kdeng00 2019-09-01 18:46:02 -04:00
  • ab3000c2a0 Moved controllers to include directory kdeng00 2019-09-01 17:13:31 -04:00
  • c0fba2c9d8 Move Dto's to Dto in include directory and created Dto namespace kdeng00 2019-09-01 17:08:00 -04:00
  • dfd4906371 Added Utility and Type namespaces kdeng00 2019-09-01 16:56:52 -04:00
  • 1ec3511bc5 Added Controller namespace kdeng00 2019-09-01 16:16:06 -04:00
  • f75ebe14a7 Added manager classes for song metadata kdeng00 2019-09-01 15:10:46 -04:00
  • d16b8dc3c9 Added Manager namespace kdeng00 2019-09-01 14:14:46 -04:00
  • d44a5bb1bc Added Model namespace kdeng00 2019-09-01 13:54:16 -04:00
  • 1255aa0ff7 track and disc numbers are now part of the song's metadata and saved to the database kdeng00 2019-08-28 22:16:33 -04:00
  • b885e3d2c8 Ok kdeng00 2019-08-27 20:33:00 -04:00
  • 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 amazing-username 2019-08-27 20:13:18 +00:00
  • ed6f98eb5a Added song delete endpoint kdeng00 2019-08-26 23:10:24 -04:00
  • 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 kdeng00 2019-08-25 22:21:21 -04:00
  • fb03354189 Working on downloading the song kdeng00 2019-08-25 16:47:52 -04:00
  • 540d665a7e Can retrieve all song records kdeng00 2019-08-25 15:26:47 -04:00
  • 2145adb039 Some clean up for insert song records into the database kdeng00 2019-08-25 14:54:09 -04:00
  • d54715ac25 Able to insert song records into the database. Left TODO for clean up kdeng00 2019-08-25 01:30:13 -04:00
  • 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 kdeng00 2019-08-24 18:41:01 -04:00
  • 9281293fad Working on interfacing with the database. Could do queryies via string/cstring but I'm going to try prepared statements kdeng00 2019-08-23 23:16:42 -04:00
  • 764185da7d Able to save song and cover art to the appropriate paths. Next is saving it to the database kdeng00 2019-08-22 22:40:49 -04:00
  • 592853695d Added paths.json file that contain paths kdeng00 2019-08-22 19:49:17 -04:00
  • 2a8290a929 Added script to create database kdeng00 2019-08-21 07:09:39 -04:00
  • 92f0d4702b Factoring kdeng00 2019-08-20 22:45:25 -04:00
  • e42a551193 Now have to check to see if the token has the correct scope kdeng00 2019-08-20 19:56:26 -04:00
  • 3e94e0e22e Left some TODO's. Next thing is to check if the token is valid kdeng00 2019-08-19 22:19:47 -04:00
  • 4072526d35 Able to upload song. Left TODO on what's next kdeng00 2019-08-18 22:58:04 -04:00
  • bbd8186114 Added songcontroller, work on uploading a song kdeng00 2019-08-18 16:44:59 -04:00
  • e9aa5f799c Added database configuration file kdeng00 2019-08-18 16:15:47 -04:00
  • 10b546d8b8 removed mysqlconnector c++ submodule. Linking issues, using the C API instead kdeng00 2019-08-18 16:13:14 -04:00
  • d26c16aa69 database stuff kdeng00 2019-08-18 11:57:08 -04:00
  • 5230e69832 more changes kdeng00 2019-08-17 18:53:50 -04:00
  • 9ae9b08520 changed path of jwt-cpp submodule kdeng00 2019-08-17 16:17:43 -04:00
  • 0fc16daf86 Tying something out kdeng00 2019-08-17 16:04:54 -04:00
  • 533a8d81a9 Finished up #55 kdeng00 2019-08-13 21:05:11 -04:00
  • 4d59b311e6 Removed TagLib# and RestSharp dependencies. Updated README.md amazing-username 2019-08-13 14:38:34 +00:00
  • a561ab0642 Fixed bug where user was not being authenticated amazing-username 2019-08-13 14:08:03 +00:00
  • f0a50ba70a Implemented TokenManager #57 kdeng00 2019-08-13 00:11:04 -04:00
  • da8d4a9002 Implemented #56 kdeng00 2019-08-11 23:24:23 -04:00
  • 51d40f270d Tricky implementing taglib's APIC extracting/saving feature, but I got it. Left some TODO's on where to pick up #56 kdeng00 2019-08-11 17:51:42 -04:00
  • 023c467a9d Fixed issue where stock cover art was not correctly being copied kdeng00 2019-08-11 16:10:18 -04:00
  • ea25480ad1 #56 kdeng00 2019-08-10 12:40:26 -04:00
  • 5b19cdaa46 Working on #56 kdeng00 2019-08-10 01:03:52 -04:00
  • 16f0c1aed0 Minor changes to metadata reading kdeng00 2019-08-08 21:31:13 -04:00
  • ead71da802 Working on migrating metadata over to c++ kdeng00 2019-08-08 18:40:15 -04:00
  • 47723c7d94 Starting to switch Metadata portion to c++. Switching from TagLibSharp to Taglib (c++) kdeng00 2019-08-06 22:51:20 -04:00
  • 02bc671883 Code cleanup, removed some unused dependencies, adding more to C++ lib. #54 and #55 kdeng00 2019-08-05 23:47:43 -04:00
  • 1531cad134 Handling song being moved on the c++ side #55 kdeng00 2019-08-04 17:08:49 -04:00
  • 610d4fb08d Contining work on #55 kdeng00 2019-08-04 14:25:45 -04:00
  • 15948c4783 Directories are created using C++ when a song is uploaded amazing-username 2019-08-04 14:04:40 +00:00
  • 2d984813ec Updated Entity Framework to 2.2.6, Removed PrintCredentials() Method call on login, working on #55 kdeng00 2019-08-03 14:26:18 -04:00
  • d80842e517 Changed song streaming to use only FileStream instead of FileStream and MemoryStream kdeng00 2019-07-29 20:59:22 -04:00
  • 2c3152a9a5 Added functionality to retrieve cover art records in json format amazing-username 2019-07-29 01:07:16 +00:00
  • 3948e25fc3 Incorrect method call for logging fixed v0.1.1 amazing-username 2019-07-20 01:47:16 +00:00
  • a39c232c34 Added logging for cover art functionality amazing-username 2019-07-17 20:15:07 -04:00
  • 8ec7092272 Implemented Cover Art functionality #50 #52 amazing-username 2019-07-16 20:44:53 -04:00
  • 84615472ef Cover art image gets deleted when the song has been deleted #50 amazing-username 2019-07-15 22:12:49 -04:00
  • e4be56101a Added functionality to save the stock cover art to a song if the song does not contain a cover art #50 amazing-username 2019-07-14 22:40:49 -04:00
  • 59895af3b4 Can download a cover art via the cover art's id. Just need to have a stock cover art for songs without any and update the documentation. #50 amazing-username 2019-07-13 16:04:39 -04:00
  • 1004f6c93d Can successfully save the coverart record, now need to work on downloading the cover art #50 amazing-username 2019-07-13 10:13:15 -04:00
  • 026a528a81 Cover art functionality added. Left TODO's on where to continue on. #50 amazing-username 2019-07-12 23:13:32 -04:00
  • 226ca44206 Mover Cover Art work. #50 amazing-username 2019-07-11 23:15:45 -04:00
  • 4940768d22 All the necessary functionality for the Cover Art repo added #51 amazing-username 2019-07-10 17:54:17 -04:00
  • f7963237fd Added TODO's for checking if Cover art already exists. Added functionality in DirectoryManager to switch to the CoverArt path when explicitly request, otherwise defaults to the music root path. Added skeleton function for CoverArtRepository in the CoverArtRepository and SongManager amazing-username 2019-07-09 21:03:52 -04:00