Deluan
40f7170930
Add descriptions to included fields
2023-06-07 10:49:56 -04:00
Deluan
4a8f176f0d
Add includes for /albums
2023-06-07 10:49:56 -04:00
Deluan
4507895d58
Add includes for /tracks
2023-06-07 10:49:56 -04:00
Deluan
90c2d7d1cf
Add Albums endpoints
2023-06-07 10:49:56 -04:00
Deluan
fd1e06049f
Use redocly/cli to bundle/lint OpenAPI spec
2023-06-07 10:49:55 -04:00
Deluan
8e03d7d013
Add authorization to new API
2023-06-07 10:49:55 -04:00
Deluan
2650e4c27c
Finish splitting openapi into multiple files
2023-06-07 10:49:55 -04:00
Deluan
3c0f23e3f2
Fix spec paths
2023-06-07 10:49:55 -04:00
Deluan
250b6dbb33
Start breaking OpenAPI spec
2023-06-07 10:49:55 -04:00
Deluan
9308127342
Add more tracks attributes
2023-06-07 10:49:55 -04:00
Deluan
20a1e3160b
Add Album and relationships
2023-06-07 10:49:55 -04:00
Deluan
dcb5725642
Add OpenAPI spec for new API, and wire up a new API handler
...
Based on Aura and JSONAPI
2023-06-07 10:49:55 -04:00
Deluan
7610b42f4b
Moved package api
to subsonic
under server
2020-01-19 18:23:09 -05:00
Deluan
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
2020-01-19 16:28:09 -05:00
Deluan
128e165aba
Add Stars to the DB, including Artists! Only if DevUseFolderScanner is true
2020-01-18 20:03:52 -05:00
Deluan
c0beaa6377
Integrate ArtistIndex logic into Artist
2020-01-17 20:54:28 -05:00
Deluan
814db3f033
Add extension to snapshots files (make it easier to format them for visualization)
2020-01-15 18:03:22 -05:00
Deluan
36d93774bc
Add GetGenre endpoint
2020-01-15 17:56:02 -05:00
Deluan
0ea2bd79d9
Rename domain
to model
2020-01-14 22:22:34 -05:00
Deluan
31dfab90bd
Simplify StreamController
2020-01-14 15:34:18 -05:00
Deluan
d68342bd97
Add a 410-Gone handler for endpoints that will not be implemented
2020-01-13 20:45:38 -05:00
Deluan
614f4afe28
Implement Artist search with SQL, removed old search/indexer code
2020-01-13 16:06:30 -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
52fc580a2b
Expose mediafile.AbsolutePath to remove dependency of the persistence layer in the API layer
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
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
cead8906d6
Implements NowPlayingRepository as an in-memory only struct
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
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
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
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
ff5b91da54
Renamed DisableValidation to DisableAuthentication
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
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
c9605862a1
Add support for endpoints without .view
2020-01-09 22:44:45 -05:00
Deluan
23e38ec82f
Removed (almost) all remaining init()
2020-01-09 22:44:45 -05:00