Commit Graph
100 Commits
Author SHA1 Message Date
sentriz 06ffa7d0d3 bump api to 1.15.0 2020-06-06 20:52:23 +01:00
sentriz 9246429cac return a "-1" id (like airsonic) for "nil" items 2020-06-06 20:52:11 +01:00
sentriz b1cd71b97f bump to v0.9.0
generated by `_do_bump_version` script in project root
2020-06-06 18:42:14 +01:00
sentriz 355be846a5 add some more specid test cases 2020-06-06 18:13:45 +01:00
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
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
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
sentriz 51f2e12a3c bump to v0.8.8
generated by `_do_bump_version` script in project root
2020-04-25 19:21:40 +01:00
sentriz 82fa77808f sort getMusicDirectory dir children by name
closes #61
2020-04-25 19:19:49 +01:00
sentriz 92573de436 bump to v0.8.7
generated by `_do_bump_version` script in project root
2020-04-25 18:00:04 +01:00
sentriz e90f581966 ctrlsubsonic: sort getindexes and getartists views with COLLATE NOCASE
(hopefully) closes #61
2020-04-25 17:56:20 +01:00
sentriz 8d1c80cdc0 bump to v0.8.6
generated by `_do_bump_version` script in project root
2020-04-25 03:29:25 +01:00
sentriz 6aab8b6804 fix handler test http start line 2020-04-25 03:29:17 +01:00
sentriz 295bf5677f make the "raw" handlers a bit more consistent
also, todo: think about deleting them
2020-04-25 03:17:50 +01:00
sentriz 56a39126ec add full scan button web ui 2020-04-25 03:07:41 +01:00
sentriz f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00
sentriz 13427e77d2 clean up jobs 2020-04-24 22:11:24 +01:00
sentriz e966fffc21 set journal WAL in connection string, not command 2020-04-24 20:18:29 +01:00
sentriz b95f98ffcf add "-full-scan" scan option to gonic scan
closes #20
2020-04-24 01:57:17 +01:00
sentriz 5bd57c42d5 add group_add to compose example 2020-04-20 15:53:29 +01:00
sentriz 60a906c6fc add author comments to encode and jukebox 2020-04-18 23:18:23 +01:00
sentriz 2ab18aaa06 jukebox: check info != nil before using ctrlStrmr 2020-04-18 23:13:04 +01:00
sentriz e0f194ec6c add jukebox-enabled flag 2020-04-18 22:04:53 +01:00
sentriz 488fd83f7d move jobs prints to funcExecute 2020-04-18 20:08:01 +01:00
sentriz 1ff5845a02 refactor server startup into jobs 2020-04-18 19:35:15 +01:00
sentriz f262c66c76 bump to v0.8.5
generated by `_do_bump_version` script in project root
2020-04-12 18:38:08 +01:00
sentriz 5b76ab4e4b add year and artist to getalbum response
closes #55
2020-04-12 18:27:50 +01:00
sentriz 0a9cfcb0b7 update scrots 2020-04-03 23:16:21 +01:00
sentriz 256143a025 move senan.xyz/g/ to go.senan.xyz 2020-04-02 16:46:04 +01:00
sentriz 1d4ec63de2 update font css 2020-04-02 16:42:17 +01:00
sentriz a127980f68 bump to v0.8.4
generated by `_do_bump_version` script in project root
2020-04-01 18:00:00 +01:00
sentriz 0b0f336be1 check for latest in _do_bump_version 2020-04-01 17:59:44 +01:00
sentriz 79dbd4d322 add secure cookie to nginx config
related #52
2020-04-01 16:09:38 +01:00
sentriz d5e410c379 mount go cache during docker build 2020-04-01 16:09:33 +01:00
sentriz 32e7ac14d1 add httponly, and samesite option to sessions
closes #52
2020-04-01 04:07:24 +01:00
sentriz e84470861d move inline js to external file
closes #51
2020-03-31 22:34:49 +01:00
sentriz d954a60ec0 update to go1.14 2020-03-31 22:34:48 +01:00
sentriz 1439955f5a predownload modules for faster docker builds 2020-03-31 22:34:48 +01:00
sentriz d5128f3c61 bump to v0.8.3
generated by `_do_bump_version` script in project root
2020-03-26 01:48:56 +00:00
sentriz 54f487d706 check for master in do_bump_version 2020-03-26 01:48:36 +00:00
sentriz 8133665318 update assets 2020-03-26 01:48:00 +00:00
sentriz 7231b9dee4 admin ui: use box-description for lastfm api key 2020-03-26 01:42:15 +00:00
sentriz b3a623ffe1 move cache path from base controller to subsonic controller 2020-03-26 01:42:15 +00:00
sentriz b63428344a clean up controllers 2020-03-26 01:42:15 +00:00
sentriz 59461552ae admin ui: kebab case form ids 2020-03-26 01:42:15 +00:00
Senan KellyandGitHub 9b3348a9ef Update README.md 2020-03-24 23:14:12 +00:00
Senan KellyandGitHub 9864327e58 Update README.md 2020-03-24 23:13:53 +00:00
Senan KellyandGitHub d4338ce294 Update README.md 2020-03-24 23:11:10 +00:00
Senan KellyandGitHub 15b2fcb74f Update README.md 2020-03-24 23:09:10 +00:00
sentriz eb3452c7d6 admin ui: set box descriptions 2020-03-24 21:04:26 +00:00
sentriz fee7149d94 prefix css classes 2020-03-24 19:49:45 +00:00
sentriz f906c18cb2 truncate long folder imports
closes #49

fiddles:
	as it was	https://jsfiddle.net/2cdfx47e/1/
	with change	https://jsfiddle.net/290Lgnqu/
2020-03-24 19:40:00 +00:00
sentriz 09a5636d9d use new assets dir for live run 2020-03-24 16:00:41 +00:00
sentriz be3cf9a04e transcode pref: use uniq user & client, not client & profile
closes #48
2020-03-24 16:00:32 +00:00
sentriz 52d2dbcce9 move assets to server package 2020-03-22 01:11:48 +00:00