Commit Graph

  • 99c28731d4 Authenticate Subsonic API calls using the DB Deluan 2020-01-20 13:35:59 -05:00
  • 50c7d3800a Bump @testing-library/user-event from 7.2.1 to 8.0.3 in /ui dependabot-preview[bot] 2020-01-20 15:28:38 +00:00
  • e717d99780 Authenticate UI Deluan 2020-01-20 09:54:29 -05:00
  • 6785d616d0 Remove unused PurgeInactive methods Deluan 2020-01-20 08:16:22 -05:00
  • c661ac8833 Add a login page (not been used yet) Deluan 2020-01-19 22:59:33 -05:00
  • 11f6acbb63 Revert default Makefile target Deluan 2020-01-19 22:48:36 -05:00
  • 2ef2377926 Add a proper title to the UserEdit view Deluan 2020-01-19 22:47:39 -05:00
  • 491bfb1f69 Create initial user if User table is empty. Also make model.QueryOptions compatible with rest.QueryOptions Deluan 2020-01-19 22:36:15 -05:00
  • 2ab0cecd48 Complete User CRUD Deluan 2020-01-19 21:39:37 -05:00
  • 1c04a19910 Add UserList in UI Deluan 2020-01-19 20:40:18 -05:00
  • 3a03284c59 Add routing for basic web ui Deluan 2020-01-19 19:34:54 -05:00
  • 5bc1551b09 Clean up Deluan 2020-01-19 18:28:23 -05:00
  • 7610b42f4b Moved package api to subsonic under server Deluan 2020-01-19 18:21:44 -05:00
  • 67eeb218c4 Big Refactor: - Create model.DataStore, with provision for transactions - Change all layers dependencies on repositories to use DataStore - Implemented persistence.SQLStore - Removed iTunes Bridge/Importer support Deluan 2020-01-19 15:37:41 -05:00
  • 40186f7e10 Don't say "iTunes Library" if not importing from iTunes Deluan 2020-01-18 22:57:20 -05:00
  • fffb2c38b3 Fix: Scrobber was not incrementing MediaFile's playCount Deluan 2020-01-18 22:11:07 -05:00
  • fe058aa4a1 Don't override media annotations when scanning/importing Deluan 2020-01-18 21:45:44 -05:00
  • 938a92eded Register PlayCount/Date in the DB, if DevUseFolderScanner is true Deluan 2020-01-18 20:59:20 -05:00
  • 3c66da0b17 NowPlaying is not a repo, now it is part of the main engine Deluan 2020-01-18 20:21:25 -05:00
  • 128e165aba Add Stars to the DB, including Artists! Only if DevUseFolderScanner is true Deluan 2020-01-18 20:03:52 -05:00
  • a4b75fd69d Test "Compilation" tag Deluan 2020-01-18 11:19:00 -05:00
  • 1cbfc05e37 Disable tests in Windows for now Deluan 2020-01-18 11:01:42 -05:00
  • 58a080eded Handle folder moves in Scanner Deluan 2020-01-18 11:00:20 -05:00
  • 8ae4fdd5b2 Fix Windows test Deluan 2020-01-18 01:56:17 -05:00
  • ccbdf688ea Reduced size of batches, to not break SQLite Deluan 2020-01-18 01:49:08 -05:00
  • 1929aaec1a Disabling tests that are not multi-platform, for now Deluan 2020-01-18 00:08:00 -05:00
  • 73597b22b4 Rewrite description of folder scan algorithm Deluan 2020-01-17 23:55:58 -05:00
  • 54d13d2022 Purge empty albums/artists Deluan 2020-01-17 23:28:11 -05:00
  • ea9ed4a287 Fix ChangeDetector to keep the dirMap from last scan Deluan 2020-01-17 22:41:10 -05:00
  • e55dfff485 Fix file descriptor leak Deluan 2020-01-17 21:23:26 -05:00
  • 5dbe71d675 Update search index when refreshing albums/artists Deluan 2020-01-17 21:16:23 -05:00
  • cef65b6ab0 Un-export model mappers Deluan 2020-01-17 21:03:54 -05:00
  • c0beaa6377 Integrate ArtistIndex logic into Artist Deluan 2020-01-17 20:46:19 -05:00
  • 035fdaeb96 Remove old tags from models Deluan 2020-01-17 19:36:50 -05:00
  • 123f543a94 New Folder Scanner - WIP Deluan 2020-01-16 16:53:48 -05:00
  • 7a16d41abe Add MediaFile.FindByPath Deluan 2020-01-16 15:56:24 -05:00
  • ed631edc08 Bump @testing-library/jest-dom from 4.2.4 to 5.0.0 in /ui dependabot-preview[bot] 2020-01-17 07:28:56 +00:00
  • ca04a919ad Remove Alpha from QueryOptions. Also add Filter, not implemented yet Deluan 2020-01-15 23:49:20 -05:00
  • 0a56fd8752 Add Makefile target to start ginkgo in watch mode Deluan 2020-01-15 23:40:22 -05:00
  • 3a27a2d2d2 Fix test suite name Deluan 2020-01-15 21:52:50 -05:00
  • 814db3f033 Add extension to snapshots files (make it easier to format them for visualization) Deluan 2020-01-15 18:03:22 -05:00
  • a659c3b7c4 Simplify persistence injection Deluan 2020-01-15 17:51:17 -05:00
  • 36d93774bc Add GetGenre endpoint Deluan 2020-01-15 17:49:09 -05:00
  • ca2c897340 Add flag to disable startup banner Deluan 2020-01-15 17:48:46 -05:00
  • be377846a8 Remove Portuguese word, to avoid misspell errors Deluan Quintão 2020-01-15 15:35:04 -05:00
  • df151d88a4 Add JS tests/build to pipeline. Removed invalid test Deluan 2020-01-15 11:29:26 -05:00
  • bc33ace6d6 Merged helper and initialization functions in one file Deluan 2020-01-15 11:11:33 -05:00
  • 5240d83fcf Replace fmt.Print with log.Error Deluan 2020-01-15 11:02:27 -05:00
  • e1b0d80f60 Bump github.com/lib/pq from 1.1.1 to 1.3.0 dependabot-preview[bot] 2020-01-15 07:24:48 +00:00
  • 16c550a9d1 Change semantics of ChecksumRepository Deluan 2020-01-15 08:54:00 -05:00
  • c404252b7f Remove sort.Interface from models (not used anymore) Deluan 2020-01-15 08:36:25 -05:00
  • 19765b0ad8 Removed composition from model, makes it more readable Deluan 2020-01-15 08:21:32 -05:00
  • 0ea2bd79d9 Rename domain to model Deluan 2020-01-14 22:22:34 -05:00
  • 25686c1742 Preparing for new scanner Deluan 2020-01-14 21:51:35 -05:00
  • 02d642814b Upgrade github.com/dhowden/tag Deluan 2020-01-14 20:25:25 -05:00
  • 9922ba5994 Added initial support for PostgreSQL Deluan 2020-01-14 19:20:47 -05:00
  • a167669717 Change default db path Deluan 2020-01-14 18:55:12 -05:00
  • a99c3a8af3 Another big refactor: Back to a single folder for persistence implementation Deluan 2020-01-14 18:23:29 -05:00
  • 08e096c569 Formatted by Prettier Deluan 2020-01-14 18:06:40 -05:00
  • 14fe357387 Add User model Deluan 2020-01-14 16:11:27 -05:00
  • 127f70f841 Add prettier dependency Deluan 2020-01-14 16:11:12 -05:00
  • ea86238901 Add ui subfolder, bootstrapped a "hello-world" React-Admin app, changed Makefile to start both apps in dev mode Deluan 2020-01-13 22:53:23 -05:00
  • 31dfab90bd Simplify StreamController Deluan 2020-01-14 15:34:18 -05:00
  • d68342bd97 Add a 410-Gone handler for endpoints that will not be implemented Deluan 2020-01-13 20:45:38 -05:00
  • 3d76144f82 Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug Deluan 2020-01-13 18:47:35 -05:00
  • c995766c45 Add startup banner Deluan 2020-01-13 18:24:42 -05:00
  • 0673371a71 Update README.md Deluan Quintão 2020-01-13 17:31:12 -05:00
  • 04ef2edeca Move App to server package Deluan 2020-01-13 17:06:47 -05:00
  • a5b2e3c31f Remove dependency on goleveldb Deluan 2020-01-13 16:40:51 -05:00
  • 536244bc44 Removed LedisDB persistence layer. May reimplement in the future (not likely thou) Deluan 2020-01-13 16:37:24 -05:00
  • 614f4afe28 Implement Artist search with SQL, removed old search/indexer code Deluan 2020-01-13 16:02:49 -05:00
  • 3a9559a860 Implement Album search with SQL Deluan 2020-01-13 15:41:14 -05:00
  • c2448d3880 Using squirrel to generalize SQL search Deluan 2020-01-13 15:28:55 -05:00
  • d3af7e689d Implementing SearchSong using simple SELECTs. The performance hit is not relevant, makes things simpler Deluan 2020-01-13 10:44:35 -05:00
  • 0629be5800 Removed Storm persistence. Too slow and SQL implementation is actually more versatile Deluan 2020-01-13 10:49:36 -05:00
  • 66e9377795 Fix delete all from checksum hanging Deluan 2020-01-13 10:24:44 -05:00
  • 4b08df0725 Run SQL tests in memory Deluan 2020-01-13 09:06:11 -05:00
  • 87ca885b5e Optimize Checksums saving Deluan 2020-01-13 08:35:12 -05:00
  • b07642a8d1 Add a TODO Deluan 2020-01-13 00:52:48 -05:00
  • fddd0dc353 Fix some performance/volume issues Deluan 2020-01-13 00:04:11 -05:00
  • 973f8869eb SQL/Orm PlaylistRepository complete Deluan 2020-01-12 21:59:06 -05:00
  • 5d519dcecf SQL/Orm PropertyRepository complete Deluan 2020-01-12 21:46:40 -05:00
  • 3d706e3e98 SQL/Orm ArtistIndexRepository complete Deluan 2020-01-12 21:28:47 -05:00
  • 78fd567285 SQL/Orm CheckSumRepository complete Deluan 2020-01-12 19:46:45 -05:00
  • b9815fc653 SQL/Orm AlbumRepository complete Deluan 2020-01-12 18:55:55 -05:00
  • 56273dd4d9 SQL/Orm MediaFileRepository complete Deluan 2020-01-12 18:36:19 -05:00
  • d70af2c39d SQL/Orm ArtistRepository complete Deluan 2020-01-12 17:32:06 -05:00
  • 334e8384ce Update README Deluan 2020-01-11 22:32:32 -05:00
  • dd5945ad86 Make sure mock implementations implements their full interface Deluan 2020-01-11 21:52:39 -05:00
  • cb107f77f8 Make QueryOptions optional in PlaylistRepository.GetStarred Deluan 2020-01-11 21:38:02 -05:00
  • 4643628e28 Make QueryOptions optional in MediaFileRepository.GetStarred Deluan 2020-01-11 21:33:41 -05:00
  • b85898df93 Make QueryOptions optional in AlbumRepository.GetStarred Deluan 2020-01-11 21:30:24 -05:00
  • d4ed6a0569 Make QueryOptions optional in AlbumRepository.GetAll Deluan 2020-01-11 21:25:37 -05:00
  • bfac3e3c91 Refactor: NewResponse is more explicit Deluan 2020-01-11 17:18:20 -05:00
  • 23e080bc15 Remove stuttering Deluan 2020-01-11 17:08:10 -05:00
  • 8c1975b70f Remove unnecessary type casting Deluan 2020-01-11 16:56:08 -05:00
  • 6c05930444 Change tests' db path to a temp folder Deluan 2020-01-11 16:47:26 -05:00
  • 4b1c909a4d Make persistence provider pluggable at runtime Deluan 2020-01-11 14:58:46 -05:00
  • 93ab4132fe Move mapping functions to db_ledis, where it is used Deluan 2020-01-11 14:34:33 -05:00
  • 52fc580a2b Expose mediafile.AbsolutePath to remove dependency of the persistence layer in the API layer Deluan 2020-01-11 14:08:53 -05:00