Commit Graph

531 Commits

Author SHA1 Message Date
sentriz
46b51ea1d0 update handler test files 2020-06-06 18:13:45 +01:00
sentriz
da8c4ac020 clean up ctrl_test 2020-06-06 18:13:45 +01:00
sentriz
9bcad9284a fix playlist updating 2020-06-06 18:13:45 +01:00
sentriz
9ed336242d tidy mod 2020-06-06 18:13:45 +01:00
sentriz
b8ed413ed3 parse incoming ids in handlers 2020-06-06 18:13:45 +01:00
sentriz
8a1a9bfcad support xml mashalling of specid.ID 2020-06-06 18:13:45 +01:00
sentriz
950656af4f use pointers to specid.ID in spec responses
a bit shit but this way we can have a nil value of ID so that the json
emitempty tag will do the thing
2020-06-06 18:13:45 +01:00
sentriz
31b8b758ed remove globals 2020-06-06 18:13:45 +01:00
sentriz
1ef2d43d39 move the id type into spec 2020-06-06 18:13:45 +01:00
sentriz
26457aae6c add const 2020-06-06 18:13:45 +01:00
sentriz
f4a1c3fb0c ctrlsubsonic: move to new param package 2020-06-06 18:13:45 +01:00
sentriz
bf78ccfdfd add "FirstOr" param parser 2020-06-06 18:13:45 +01:00
sentriz
75fbe779d3 add bool param type 2020-06-06 18:13:45 +01:00
sentriz
4f519d71ed add param parsing methods
related: #41
2020-06-06 18:13:45 +01:00
sentriz
07e1c53d69 fix primary_ket in genre model
should write a migration next
2020-06-06 14:58:03 +01:00
Sumner Evans
c64346635e Update README formatting and made the issues and pull request badges actually go somewhere 2020-06-04 09:28:55 +01:00
sentriz
b1a875c53f check for an unfound track during playlist construction 2020-05-26 21:06:22 +01:00
sentriz
930fdef306 add ARM docker image to readme 2020-05-24 14:48:20 +01:00
sentriz
b145ae39ed omit less fields in album response 2020-05-20 20:21:15 +01:00
sentriz
fd96bfe6a8 periodically clean sessions 2020-05-19 19:19:47 +01:00
sentriz
79ad61eeb1 update deps 2020-05-19 19:19:28 +01:00
Aaron Bieber
b84ec1e16d bump deps to allow building on OpenBSD 2020-05-19 13:55:30 +01:00
sentriz
2ee1b4d978 abstract away some of the encode internals 2020-05-08 18:42:45 +01:00
sentriz
c65606ba1f add some go-critic suggestions 2020-05-07 04:31:47 +01:00
sentriz
803a5babff add gochecknoglobals and gochecknoinits 2020-05-07 03:24:50 +01:00
sentriz
ee9335f71e remove globals 2020-05-07 03:24:50 +01:00
sentriz
9bf80f4b18 move from test init()s to TestMain 2020-05-07 01:43:47 +01:00
sentriz
9e4d924fd5 simplify ctrl tests 2020-05-07 01:43:47 +01:00
sentriz
c12d252795 run each migration in its own transaction 2020-05-07 01:31:07 +01:00
sentriz
debdfd13ad scanner: ormise clean artists 2020-05-02 23:07:34 +01:00
sentriz
e7c95383be scanner: log errors when writing 2020-05-02 14:32:03 +01:00
sentriz
15a5bba7b1 server: use godirwalk ErrorCallback 2020-05-02 04:42:09 +01:00
sentriz
d1cf964029 fix css for dark mode 2020-05-02 04:41:33 +01:00
sentriz
b02ade3415 update golangci lint linter list 2020-05-02 04:22:26 +01:00
sentriz
fc6f39bbfe remake assets 2020-05-02 04:20:48 +01:00
sentriz
1bb25cf6c2 rename _gen to .gen, make some more linters ignore it 2020-05-02 04:20:01 +01:00
sentriz
b93db0bff2 make _do_gen_assets posix 2020-05-02 04:19:47 +01:00
sentriz
a4bbcb8f89 invert golangci rules 2020-05-02 04:19:17 +01:00
sentriz
3f9f050a7d gonicembed: fix lint errors and refactor 2020-05-02 04:18:46 +01:00
sentriz
31b2b65ea6 move from pkg/errors to go1.13 errors 2020-05-01 21:35:24 +01:00
sentriz
d583c2fbd8 db: use Opaque for db conn url 2020-05-01 21:35:24 +01:00
sentriz
824048796e scanner: add more err checks 2020-05-01 21:12:01 +01:00
sentriz
f35a589bfd scanner: add item unchanged 2020-05-01 17:51:45 +01:00
sentriz
a541f97cd8 lastfm: rename scrobbleopts scrobbleoptions 2020-05-01 17:51:45 +01:00
sentriz
24212af42e scanner: add scanoptions struct 2020-05-01 17:51:45 +01:00
sentriz
08e775c9dd scanner: refactor cleaning 2020-05-01 02:59:28 +01:00
sentriz
5686517737 db: add indexes to album.tag_artist_id 2020-05-01 02:59:07 +01:00
sentriz
708198bcd5 log migrations as the run 2020-05-01 02:04:49 +01:00
sentriz
07a222d8df update gorm 2020-05-01 02:04:49 +01:00
sentriz
080189e977 remove jukebox's dependency on ctrlsubsonic 2020-04-26 18:15:22 +01:00