Commit Graph

440 Commits

Author SHA1 Message Date
Deluan 56273dd4d9 SQL/Orm MediaFileRepository complete 2020-01-13 10:44:16 -05:00
Deluan d70af2c39d SQL/Orm ArtistRepository complete 2020-01-13 10:44:16 -05:00
Deluan 334e8384ce Update README 2020-01-11 22:32:32 -05:00
Deluan dd5945ad86 Make sure mock implementations implements their full interface 2020-01-11 21:52:39 -05:00
Deluan cb107f77f8 Make QueryOptions optional in PlaylistRepository.GetStarred 2020-01-11 21:38:02 -05:00
Deluan 4643628e28 Make QueryOptions optional in MediaFileRepository.GetStarred 2020-01-11 21:33:41 -05:00
Deluan b85898df93 Make QueryOptions optional in AlbumRepository.GetStarred 2020-01-11 21:30:24 -05:00
Deluan d4ed6a0569 Make QueryOptions optional in AlbumRepository.GetAll 2020-01-11 21:25:37 -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 8c1975b70f Remove unnecessary type casting 2020-01-11 16:56:08 -05:00
Deluan 6c05930444 Change tests' db path to a temp folder 2020-01-11 16:48:45 -05:00
Deluan 4b1c909a4d Make persistence provider pluggable at runtime 2020-01-11 15:27:32 -05:00
Deluan 93ab4132fe Move mapping functions to db_ledis, where it is used 2020-01-11 15:27:32 -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 28ee1f195c More logging in the Importer 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 408030eb6c Refactor App to use DI 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 ce1c5e1129 Remove compulsory reindex at startup 2020-01-11 15:27:32 -05:00
Deluan 0c4cbe11be Fix flake test (was dependent on map keys order) 2020-01-11 15:27:32 -05:00
Deluan 10221b5471 Force dbPath to be relative to main executable 2020-01-11 15:27:32 -05:00
Deluan c9742181ff Save Storm DB in the DbPath configured 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 c9be5f7201 Storm ChecksumsRepository complete. 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 a1d837cb9b Storm IndexRepository complete. 2020-01-11 15:27:32 -05:00
Deluan 9ccd9545e8 Refactored purgeInactive, better test suite setup 2020-01-11 15:27:32 -05:00
Deluan ef79f6342f Removed old runtime tagging code. Not used anymore 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 aebb960831 New storm artist repository, WIP 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 a4a8360a94 Add Dev flag to disable file presence verification 2020-01-11 15:27:32 -05:00
Deluan 57390fcda3 Add trace level to log 2020-01-10 13:11:24 -05:00
dependabot-preview[bot] 2384665cfb Bump github.com/go-chi/chi from 4.0.2+incompatible to 4.0.3+incompatible
Bumps [github.com/go-chi/chi](https://github.com/go-chi/chi) from 4.0.2+incompatible to 4.0.3+incompatible.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 08:49:18 -05:00
Deluan 2e6c1e225e Removed SubFire from README 2020-01-09 22:50:29 -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 3379af4328 Add Music Stash to README 2020-01-09 22:44:45 -05:00