Commit Graph

185 Commits

Author SHA1 Message Date
Deluan 0ea2bd79d9 Rename `domain` to `model` 2020-01-14 22:22:34 -05:00
Deluan 31dfab90bd Simplify StreamController 2020-01-14 15:34:18 -05:00
Deluan d68342bd97 Add a 410-Gone handler for endpoints that will not be implemented 2020-01-13 20:45:38 -05:00
Deluan 614f4afe28 Implement Artist search with SQL, removed old search/indexer code 2020-01-13 16:06:30 -05:00
Deluan bfac3e3c91 Refactor: NewResponse is more explicit 2020-01-11 17:18:20 -05:00
Deluan 23e080bc15 Remove stuttering 2020-01-11 17:08:10 -05:00
Deluan 52fc580a2b Expose mediafile.AbsolutePath to remove dependency of the persistence layer in the API layer 2020-01-11 15:27:32 -05:00
Deluan 48b465f2fb Simplify API routes mounting 2020-01-11 15:27:32 -05:00
Deluan 5acc9c7a22 Make DisableAuthentication a Dev flag 2020-01-11 15:27:32 -05:00
Deluan 30ebbc1fa1 Move API dependency injection to main package, opening the possibility to switch persistence without code changes 2020-01-11 15:27:32 -05:00
Deluan 52f682debf Remove state from SearchController 2020-01-11 15:27:32 -05:00
Deluan dc6b812587 Remove state from StreamController 2020-01-11 15:27:32 -05:00
Deluan cead8906d6 Implements NowPlayingRepository as an in-memory only struct 2020-01-11 15:27:32 -05:00
Deluan 4f151a7409 Storm PlaylistRepository complete. 2020-01-11 15:27:32 -05:00
Deluan 70d7793147 Moved MediaFolders Repository to persistence agnostic package 2020-01-11 15:27:32 -05:00
Deluan 11f4505925 Renamed persistence packages 2020-01-11 15:27:32 -05:00
Deluan dbeba1dea9 Storm MediaFileRepository complete. 2020-01-11 15:27:32 -05:00
Deluan c608e917db Storm AlbumRepository complete. 2020-01-11 15:27:32 -05:00
Deluan 0ca691b37f Storm ArtistRepository and PropertyRepository complete. 2020-01-11 15:27:32 -05:00
Deluan 40904b220e Renamed Id to ID, following GoLang convention 2020-01-11 15:27:32 -05:00
Deluan 018352463f Moved ledis implementation to a new package 2020-01-11 15:27:32 -05:00
Deluan d90c1cdc44 Removed commented out tests 2020-01-09 22:50:01 -05:00
Deluan ee5cda38fb Restore AlbumListController tests 2020-01-09 22:44:45 -05:00
Deluan b1e58352e9 Restore MediaRetrievalController tests 2020-01-09 22:44:45 -05:00
Deluan 0c3edc0279 Rewriting Response tests as snapshot tests 2020-01-09 22:44:45 -05:00
Deluan 6aa6c2d9a5 Add middleware tests 2020-01-09 22:44:45 -05:00
Deluan ff5b91da54 Renamed DisableValidation to DisableAuthentication 2020-01-09 22:44:45 -05:00
Deluan a706429a4a Don't disable required params check 2020-01-09 22:44:45 -05:00
Deluan 542bea6fcc Setting correct content-type for JSONP 2020-01-09 22:44:45 -05:00
Deluan 84d69a4f41 Replaced Beego logging 2020-01-09 22:44:45 -05:00
Deluan c9605862a1 Add support for endpoints without .view 2020-01-09 22:44:45 -05:00
Deluan 23e38ec82f Removed (almost) all remaining init() 2020-01-09 22:44:45 -05:00
Deluan e8a8313b43 Removed `inject` lib, only use `wire` for DI 2020-01-09 22:44:45 -05:00
Deluan 79701caca3 Removed Beego routing/controllers, converted to Chi.
Also introduced Wire for dependency injection
2020-01-09 22:44:45 -05:00
Deluan f7c182b1f8 Fixes context, and adds more info to it 2017-04-03 23:53:38 -04:00
Deluan 2861a97a89 Introduces context.Context in API controllers 2017-04-03 00:16:21 -04:00
Deluan 7202f618fe Upgrades to Beego v1.8.0 2017-04-01 10:59:31 -04:00
Deluan c417a00e62 Renamed project to CloudSonic 2017-04-01 09:47:14 -04:00
Deluan bbb3e26600 Fixed build 2016-10-03 23:04:08 -04:00
Deluan 4e6cd7e05d Refactoring to remove duplicated code 2016-10-03 22:30:25 -04:00
Deluan a7ccd76d54 Allowing album cover ids with prefix (al-) 2016-03-30 10:01:37 -04:00
Deluan 9fd530b78a Fixed message 2016-03-30 09:07:32 -04:00
Deluan c2b1f9782b New configuration system 2016-03-30 00:05:57 -04:00
Deluan 9049d97820 Moving code away from conf package.
This is necessary, as the conf package will hold only configuration, and cannot have dependencies on other packages
2016-03-29 18:27:14 -04:00
Deluan 768764bea7 getRandomSongs.view (partially) implemented 2016-03-29 00:01:27 -04:00
Deluan 1e17efc729 star/unstar.view now support albumId (for ID3 access) 2016-03-28 11:38:45 -04:00
Deluan 2319454997 search3.view implemented 2016-03-28 10:01:43 -04:00
Deluan a562bfd17e getStarred2.view implemented 2016-03-28 09:46:16 -04:00
Deluan 615dc862af getAlbum.view implemented 2016-03-28 09:23:44 -04:00
Deluan 82576223dc getAlbumList2.view done 2016-03-27 23:04:05 -04:00