632 Commits

Author SHA1 Message Date
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
Deluan
85f7fdd285 Added CORS middleware 2020-01-09 22:44:45 -05:00
Deluan
ff5b91da54 Renamed DisableValidation to DisableAuthentication 2020-01-09 22:44:45 -05:00
Deluan
0388d67817 Clean up Makefile 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
24cbf766a3 Removed dependency on engine from persistence 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
6eda38a951 Add response body compression middleware 2020-01-09 22:44:45 -05:00