425 Commits

Author SHA1 Message Date
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
Deluan
c9605862a1 Add support for endpoints without .view 2020-01-09 22:44:45 -05:00
Deluan
907c310c01 Download Jamstash in make setup 2020-01-09 22:44:45 -05:00
Deluan
23e38ec82f Removed (almost) all remaining init() 2020-01-09 22:44:45 -05:00
Deluan
5d2a7b1db1 Removed MainController 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
3af9972b41 Remove Beego tasks, make Importer available through 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