Commit graph

3756 commits

Author SHA1 Message Date
Deluan
536244bc44 Removed LedisDB persistence layer. May reimplement in the future (not likely thou) 2020-01-13 16:37:24 -05:00
Deluan
614f4afe28 Implement Artist search with SQL, removed old search/indexer code 2020-01-13 16:06:30 -05:00
Deluan
3a9559a860 Implement Album search with SQL 2020-01-13 16:06:30 -05:00
Deluan
c2448d3880 Using squirrel to generalize SQL search 2020-01-13 16:06:30 -05:00
Deluan
d3af7e689d Implementing SearchSong using simple SELECTs. The performance hit is not relevant, makes things simpler 2020-01-13 16:06:30 -05:00
Deluan
0629be5800 Removed Storm persistence. Too slow and SQL implementation is actually more versatile 2020-01-13 10:49:36 -05:00
Deluan
66e9377795 Fix delete all from checksum hanging 2020-01-13 10:44:16 -05:00
Deluan
4b08df0725 Run SQL tests in memory 2020-01-13 10:44:16 -05:00
Deluan
87ca885b5e Optimize Checksums saving 2020-01-13 10:44:16 -05:00
Deluan
b07642a8d1 Add a TODO 2020-01-13 10:44:16 -05:00
Deluan
fddd0dc353 Fix some performance/volume issues 2020-01-13 10:44:16 -05:00
Deluan
973f8869eb SQL/Orm PlaylistRepository complete 2020-01-13 10:44:16 -05:00
Deluan
5d519dcecf SQL/Orm PropertyRepository complete 2020-01-13 10:44:16 -05:00
Deluan
3d706e3e98 SQL/Orm ArtistIndexRepository complete 2020-01-13 10:44:16 -05:00
Deluan
78fd567285 SQL/Orm CheckSumRepository complete 2020-01-13 10:44:16 -05:00
Deluan
b9815fc653 SQL/Orm AlbumRepository complete 2020-01-13 10:44:16 -05:00
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