Commit Graph

  • de94fe3ef2 Should not break on empty database Deluan 2016-03-02 17:44:33 -05:00
  • 4ee840a394 Rename Deluan 2016-03-02 17:35:37 -05:00
  • dde130e84e Small fixes to response marshaling, introduced tests for response formats Deluan 2016-03-02 17:23:26 -05:00
  • b9fb5eb7ca removed unused method Deluan 2016-03-02 13:23:58 -05:00
  • 4843ccb46c go fmt Deluan 2016-03-02 13:18:39 -05:00
  • 9d41f5a39f Supporting json output (except for errors) Deluan 2016-03-02 13:04:55 -05:00
  • 7c82af75f5 For omitempty to work properly, nested structs have to be pointers Deluan 2016-03-02 12:06:57 -05:00
  • 01c68d6802 Refactored responses Deluan 2016-03-02 11:11:46 -05:00
  • 77e3aa7620 More DI Deluan 2016-03-02 10:48:30 -05:00
  • 300ed0d9a4 Introduced interfaces for all repositories, completely isolating the persistence layer from the repositories usage and specification Deluan 2016-03-02 09:33:49 -05:00
  • 272a499c7e Refactoring to a cleaner architecture Deluan 2016-03-02 09:07:24 -05:00
  • 74478ce6f9 Sorting Artist Index on save Deluan 2016-03-01 20:51:30 -05:00
  • 02a5fec6b6 Show Query params for invalid URL's Deluan 2016-03-01 20:42:20 -05:00
  • 25a9320bce Sorting artist index Deluan 2016-03-01 19:50:20 -05:00
  • 6092076fad No need to expose implementations Deluan 2016-03-01 19:17:30 -05:00
  • 78805ac465 Adding info for retrieving artwork from iTunes library Deluan 2016-03-01 18:59:12 -05:00
  • 5b65f85578 Fixed ampersand unescaping error Deluan 2016-03-01 18:19:57 -05:00
  • 95f73d75bc TODO Deluan 2016-03-01 18:01:12 -05:00
  • 26355bf0d7 TODO Deluan 2016-03-01 18:00:59 -05:00
  • cff829fb75 Removed debug prints Deluan 2016-03-01 17:57:03 -05:00
  • c64a0f8242 Implemented proper index grouping Deluan 2016-03-01 17:50:05 -05:00
  • 9d6eb40f6f Method for parsing Index Groups Deluan 2016-03-01 17:07:13 -05:00
  • b8948c417e Checking ifModifiedSince param Deluan 2016-03-01 16:05:49 -05:00
  • 841d8f457f Implemented ProperyRepository. Now the Scanner stores the LastScan timestamp Deluan 2016-03-01 14:40:26 -05:00
  • 1ceefda6ca TODO Deluan 2016-03-01 13:31:52 -05:00
  • 11caa7f9b9 Returned order was wrong Deluan 2016-03-01 13:17:57 -05:00
  • 8e482bc494 getIndexes returning list of artists and ignoredArticles Deluan 2016-03-01 13:15:23 -05:00
  • e0f214d356 Missing inject lib on CI Deluan 2016-03-01 12:47:13 -05:00
  • 54460d5860 Empty tests should be skipped Deluan 2016-03-01 12:43:55 -05:00
  • 2bb4c74ba6 Started implementing getIndex, now with TDD (brought to you by DI)! Deluan 2016-03-01 12:35:30 -05:00
  • b2cdf8cadb Clearer way to create definitions Deluan 2016-03-01 10:18:02 -05:00
  • 4df6c43be8 Basic DI (dependency injection) working! Yay!! Deluan 2016-03-01 09:38:43 -05:00
  • 4efb8ab031 Moved router to conf package Deluan 2016-03-01 09:23:40 -05:00
  • 375fd30045 Fixed AlbumId generation. Some code cleanup Deluan 2016-03-01 09:17:28 -05:00
  • 20650ed3fd Removed unnecessary 2nd value Deluan 2016-02-29 23:03:09 -05:00
  • 7a2063544f Don't break on ledis download Deluan 2016-02-29 22:51:30 -05:00
  • 26e49f582b Why gopm does not work in travis?! Deluan 2016-02-29 22:46:41 -05:00
  • b869843986 Fixed an allocation bug, and tests Deluan 2016-02-29 22:39:36 -05:00
  • f4c893d6f3 more tests Deluan 2016-02-29 22:22:50 -05:00
  • 64b9b3f13a More tests, more refactoring, more reflection (ugh) Deluan 2016-02-29 22:17:54 -05:00
  • 3f72466e24 Trying to disable gopm registry usage Deluan 2016-02-29 15:06:40 -05:00
  • aad9afa1bb README Deluan 2016-02-29 14:16:51 -05:00
  • 1a4f783669 Some refactoring Deluan 2016-02-29 13:56:09 -05:00
  • 1c47b7b8ef Added empty tests in each package, to get the more precise coverage percentage Deluan 2016-02-29 13:38:41 -05:00
  • f760f89269 DSub only works with POSTs... Deluan 2016-02-29 11:49:27 -05:00
  • 6f60d02acb Merging BaseRepository test files into one Deluan 2016-02-29 10:33:05 -05:00
  • b0bd0a63a7 Retrofitting with tests Deluan 2016-02-29 10:04:30 -05:00
  • ec9398f2bd New Get methods for ArtistIndex Deluan 2016-02-29 08:34:57 -05:00
  • 49b512fc9c Big LedisDB refactoring Deluan 2016-02-28 22:56:24 -05:00
  • 515279606a Basic scanning working. Time to retrofit some tests.... Deluan 2016-02-28 15:46:53 -05:00
  • 14e52576a7 Scanning artists and albums too Deluan 2016-02-28 13:50:05 -05:00
  • bccfeec2d3 Added TODO Deluan 2016-02-28 09:44:32 -05:00
  • 280068373f Introduced CountAll for repositories Deluan 2016-02-28 02:56:41 -05:00
  • 08f035d99b reduced overhead of mapping models to ledis, I don't think we will need nested structs Deluan 2016-02-28 02:07:52 -05:00
  • ae5206612c fixing the build Deluan 2016-02-28 01:27:28 -05:00
  • c659b70cd0 removed tiedot, introduced ledisdb Deluan 2016-02-28 00:55:36 -05:00
  • 8ffa93780d Better test messaging Deluan 2016-02-27 19:28:29 -05:00
  • 1a20a1217b Removed example code, introduced tests for controllers Deluan 2016-02-27 19:08:04 -05:00
  • ce240cfeff Better tests organization Deluan 2016-02-27 18:42:08 -05:00
  • ecc0df9e7c More experimenting with tiedot Deluan 2016-02-27 03:35:01 -05:00
  • 4f9054b738 README Deluan 2016-02-26 16:56:05 -05:00
  • 6717adebba Trying to fix dependency issues on travis Deluan 2016-02-26 14:09:45 -05:00
  • 7f5270a9c1 Looks like gopm is not working with some tags Deluan 2016-02-26 11:49:51 -05:00
  • 625332692f Fixing build again Deluan 2016-02-26 11:39:14 -05:00
  • b36b151732 Adding missing dependency to gopmfile Deluan 2016-02-26 11:13:26 -05:00
  • 6d954d074e Fixing build Deluan 2016-02-26 11:03:04 -05:00
  • 99a09b39fb README Deluan 2016-02-26 10:56:57 -05:00
  • cf8b1bc58f Adding our build to travis ci Deluan 2016-02-26 10:52:43 -05:00
  • fa9103b923 README Deluan 2016-02-26 01:45:04 -05:00
  • 85ddd19c3d Implemented first repository using tiedot Deluan 2016-02-26 01:32:31 -05:00
  • e760952263 go fmt Deluan 2016-02-25 18:52:07 -05:00
  • a1829d432a Renamed receiver names Deluan 2016-02-25 18:47:25 -05:00
  • 39757f884a Moved Rest controllers to 'api' package. Also removed annotation routes Deluan 2016-02-25 16:31:06 -05:00
  • 543e195744 Adding Apache 2.0 license Deluan 2016-02-25 16:24:13 -05:00
  • 1e842ccfdf Added a MainController Deluan 2016-02-25 15:44:53 -05:00
  • a4e7d63377 README Deluan 2016-02-25 13:51:20 -05:00
  • f04ec42fdf Controller tests are in fact API tests Deluan 2016-02-25 12:41:34 -05:00
  • 30be51517e Adding autogenerated router file Deluan 2016-02-25 12:35:21 -05:00
  • 77e01f8e7c Fixed packages in tests Deluan 2016-02-25 11:14:16 -05:00
  • d3542c48e4 Updating dependencies on .gopmfile Deluan 2016-02-25 10:27:20 -05:00
  • ee04b72db1 Implemented request validation in a filter Deluan 2016-02-24 20:21:51 -05:00
  • 93f115d8e4 Default mediaFolder should have Id = 0 Deluan 2016-02-24 19:35:58 -05:00
  • 33c6535da9 Repositories must return error value Deluan 2016-02-24 19:32:10 -05:00
  • 784a8c1413 Simplifying code Deluan 2016-02-24 19:29:53 -05:00
  • 9984ad7f22 Polish Deluan 2016-02-24 19:23:04 -05:00
  • a25c09111b Removed doc code. For the API documentation see Subsonic site Deluan 2016-02-24 19:22:01 -05:00
  • afefd244eb Some TODOs Deluan 2016-02-24 19:16:42 -05:00
  • 2f3c9a7603 Implemented getMediaFolders Deluan 2016-02-24 19:14:48 -05:00
  • 59b541e45d Polishing Deluan 2016-02-24 18:33:13 -05:00
  • b429d9f58f Better readme Deluan 2016-02-24 18:28:23 -05:00
  • 086d8e1578 Tests refactored Deluan 2016-02-24 18:24:06 -05:00
  • 975327a6cb Handling request validation/authentication Deluan 2016-02-24 18:06:49 -05:00
  • 9a55fa1c64 Experiments with bleve, repositories and parsing itunes Deluan 2016-02-24 15:30:28 -05:00
  • c8b7695b09 Moved responses package and started getMusicFolders endpoint Deluan 2016-02-24 15:29:19 -05:00
  • c6dfea51ff Refactored responses again Deluan 2016-02-24 12:00:55 -05:00
  • 1a3f370ea6 Refactored responses, implemented getLicense Deluan 2016-02-24 11:29:26 -05:00
  • ed1a132d8e Better Ping implementation Deluan 2016-02-24 00:29:27 -05:00
  • b9e9d38a9a First endpoint: Ping Deluan 2016-02-24 00:07:57 -05:00
  • 5d6fd4ee6b Initial project skeleton Deluan 2016-02-23 18:41:35 -05:00