Commit Graph

148 Commits

Author SHA1 Message Date
Deluan 692663680b Uses GoLang 1.16.3
Also add a target to build snapshots for a single platform
2021-04-26 17:21:59 -04:00
Deluan d8a1773d50 Increase golangci-lint timeout. Fix #1001 2021-04-08 10:19:58 -04:00
Deluan d5434d4169 Add `'lint` to pre-push git hook 2021-03-24 12:21:20 -04:00
Deluan fa479f0a9a Show `go mod download` commands 2021-03-17 10:33:40 -04:00
Ketan Gupta 8b6e32588c improved makefile message to developer 2021-03-17 10:27:55 -04:00
Deluan 03afb4ff0e Call `go mod tidy` after `go mod download` to undo any changes to `go.sum` 2021-03-16 12:49:20 -04:00
Deluan 0049d8d311 Bump GoLang to 1.16.2 for releases 2021-03-12 15:14:12 -05:00
Deluan Quintão 2d528bbc87
Remove dependency of go-bindata (#818)
* Use new embed functionality for serving UI assets

* Use new embed functionality for serving resources. Remove dependency on go-bindata

* Remove Go 1.15
2021-03-12 11:06:51 -05:00
Nelyah 43f2d82956 Accept more recent node and Go versions when building dev or server
This will allow developers to experiment with different versions of Go.
2021-03-11 23:02:13 -05:00
Deluan 54a3394559 Upgrade to GoLang 1.16.0 2021-02-19 21:00:38 -05:00
Deluan 6ee45a9ccc Move project to Navidrome GitHub organization 2021-02-06 21:46:35 -05:00
Deluan 1f3bc4d202 Use tools.go commands without installing 2021-02-01 16:16:30 -05:00
Deluan dc8051ed53 Bump github.com/golangci/golangci-lint from 1.33.0 to 1.36.0 2021-01-31 17:43:03 -05:00
Deluan 2073871fa1 Use netgo (instead of C bindings). Fix #700 2020-12-23 15:29:18 -05:00
Deluan 350f1dc951 Docker run does not need to be interactive for building snapshots 2020-12-07 13:37:22 -05:00
Deluan 48a6ba2956 Bump GoLang to 1.15.5 2020-11-20 21:55:03 -05:00
Deluan b6a6422fac Upgrade GoLang to 1.15.3 2020-10-26 13:04:14 -04:00
Deluan c0ec0b28b9 Add better process lifecycle management 2020-10-24 22:43:59 -04:00
Deluan ae817da223 Upgrade golangci-lint
- Fix a SQL string concatenation
- Install golangci-lint using `tools.go`
2020-10-12 12:21:01 -04:00
Jay R. Wren fd6edf967f
Add size to album details (#561)
* add size to album details

for #534

* addressing review comments:

* create index album(size)
* remove unneeded Size field from refresh struct
* add whitespace to album details
* add size to album list view

* prettier
2020-10-12 11:10:07 -04:00
Deluan bbd4503ac8 Move tools installation to tools.go 2020-10-03 11:14:19 -04:00
Deluan 943f35f7a5 Update to GoLang 1.15 2020-10-01 08:41:11 -04:00
Deluan 4a4a8aff34 Build ARM with armel instead of armhf. Fixes #525 2020-09-26 13:08:45 -04:00
Deluan a99924ea20 Converted pre-push hook into a make target, avoid calling tests twice when releasing 2020-09-24 17:24:31 -04:00
Deluan 669f293f1f Fix ci-goreleaser 2020-09-10 17:49:25 -04:00
Deluan 532833ac7c Fix ci-goreleaser 2020-09-10 17:02:52 -04:00
Deluan 59f1d7e88a Use new ci-goreleaser, to fix generating Linux binaries for old kernels 2020-09-10 16:24:39 -04:00
Deluan 58a0c44600 Embed audiotags lib, to make it static compilable 2020-09-08 13:33:07 -04:00
Deluan 6a6d4c3f87 Use new ci-releaser image, that contains static `taglib` library 2020-09-08 13:33:07 -04:00
Deluan b5567090ed Remove `-e` option from grep, make the command more portable 2020-08-19 15:40:31 -04:00
Deluan 608129963f Fix `migration` target 2020-08-19 11:18:30 -04:00
Deluan 15a06fcd27 Removed support for Jamstash in dev mode. Not needed anymore :) 2020-08-15 23:11:31 -04:00
Deluan 4ef12f91e0 Support Linux 32 bits releases 2020-08-07 13:36:00 -04:00
Deluan 3c2b14d362 Rename make target for creating a new migration 2020-07-31 11:38:56 -04:00
Deluan 037f6b606e Replace lefthook with shell script 2020-07-16 18:14:02 -04:00
Deluan dc50f672b8 Fix Makefile target name 2020-07-16 16:57:19 -04:00
Deluan b96ff9c210 Use ci-goreleaser 1.14.4-2
This should generate binaries compatible with OpenVZ (kernel 2.6.32)
2020-07-12 09:43:18 -04:00
Deluan 94d88395e7 Add referential integrity to player and playlist tables 2020-06-10 18:07:10 -04:00
Deluan f8a7ef1e19 Fix typo 2020-06-04 20:13:25 -04:00
Deluan a3ba05b2cc Use latest ci-goreleaser: Go 1.14.3 and Goreleaser 1.35.0 2020-05-21 14:56:56 -04:00
Deluan 274eb805f9 Upgrade golangci-lint 2020-05-18 12:43:03 -04:00
Deluan 377c9e6be6 Revert "Upgrade golangci-lint"
This reverts commit b8ae5ccb02.
2020-05-13 23:26:54 -04:00
Deluan b8ae5ccb02 Upgrade golangci-lint 2020-05-13 16:50:13 -04:00
Deluan 1ed6d130b1 Fix `getMusicFolders` and `getIndexes` API compliance. Fix #286 2020-05-09 21:02:38 -04:00
Deluan 3a6639f820 Fix golangci-lint installation 2020-05-09 15:02:23 -04:00
Deluan 5c9fdb064d Use official golangci-lint GH action 2020-05-08 17:13:57 -04:00
Deluan 9a854f6cc4 Add golangci-lint to git pre-push hook 2020-05-07 11:57:07 -04:00
Deluan Quintão 8f66e87099
Install `reflex` in `setup-dev` target 2020-05-04 17:07:01 -04:00
Deluan 1a9663d432 Move `static` to `resources`. Embed them at build time 2020-05-02 14:19:01 -04:00
stncrn bdbee7f541 Add setup step: download node dependencies 2020-04-30 09:54:15 -04:00
Deluan 5990a4285f Replace `goreman` with `node-foreman` 2020-04-28 23:24:57 -04:00
Deluan 4441ae1f0b Break up `setup` target, to avoid installing tools not required for building only 2020-04-26 16:10:40 -04:00
Deluan 61e3fe21ff Add 'SNAPSHOT' to version when building locally, as this is not an "official" build 2020-04-25 09:27:22 -04:00
Deluan 2ec5e47328 Set version correctly when building locally 2020-04-20 09:47:44 -04:00
Deluan dae938de6f Don't try to install Jamstash as part of initial setup 2020-04-17 22:11:58 -04:00
Deluan b8b09820b1 Use deluan/ci-goreleaser 2020-04-16 17:44:12 -04:00
Deluan 6d1221164b Download and install latest Jamstash when calling `make Jamstash-master` 2020-04-06 00:40:51 -04:00
Deluan 1bc68c20fc Create and configure image cache 2020-04-05 22:02:06 -04:00
Deluan 13be8d297c Converted last GoConvey tests to Ginkgo
Removed GoConvey dependency
2020-04-04 18:54:12 -04:00
Deluan 660f9c205b Rename `dist` target to `snapshot` 2020-04-04 14:36:23 -04:00
Deluan b8eb22d162 Add git hooks on check_env 2020-04-03 16:00:17 -04:00
Deluan 63bf49b3c4 Add lefthook for handling git hooks 2020-04-03 14:48:14 -04:00
Deluan 3977575563 build: add a simple build as `default` target, trying to make LGTM work 2020-03-20 12:21:41 -04:00
Deluan 9ae14015a1 build: get Go and Node versions from go.mod and .nvmrc respectively 2020-03-06 11:50:39 -05:00
Deluan 0b131e91c1 chore: upgrade to NodeJS 13.10 2020-03-06 10:57:00 -05:00
Deluan 9044aa8740 chore: upgrade NodeJS to 13.9.0 2020-02-26 09:52:25 -05:00
Deluan 07ac14f810 chore: upgrade Go to 1.14 2020-02-26 09:37:48 -05:00
Deluan 4dffcb7b46 fix: removed invalid `make` rule 2020-02-04 15:02:43 -05:00
Deluan 41fd5862b8 chore: try to make goreleaser add all changes to changelog 2020-02-03 20:13:32 -05:00
Deluan 40ad6a7bef fix: always build everything when calling `buildall` target 2020-02-03 08:42:15 -05:00
Deluan 0c5bf18d80 build: add `release` and `dist` targets 2020-01-30 16:33:27 -05:00
Deluan 9b7d1757e7 build: add `goose` to setup target, add `dist` target 2020-01-30 16:08:39 -05:00
Deluan 90a1e6d213 feat: add server name and version to all responses
This is inline with other Subsonic compatible servers, like funkwhale, madsonic, ampache...
2020-01-30 14:43:24 -05:00
Deluan 476c695cf1 ci: create versions with goreleaser 2020-01-26 20:09:25 -05:00
Deluan cc58642185 fix: remove check for GOPATH 2020-01-26 15:32:55 -05:00
Deluan 8756f55650 Add git info to version 2020-01-25 11:06:04 -05:00
Thor77 9ed35cbb02 Fix dependency installation using Makefile
which failed because a 'go get' command was given as an argument to
'go get'
2020-01-25 09:37:27 -05:00
Deluan 49f59fe9f4 Embed static files used by Subsonic API 2020-01-24 21:35:19 -05:00
Deluan 9d144ad740 Fix buildall target 2020-01-23 18:31:32 -05:00
Deluan 50d89760e2 Use bindata to embed UI assets 2020-01-22 18:38:54 -05:00
Deluan 43b0a9dadd Changing default Makefile target to start the UI, now that it is functional 2020-01-20 13:43:51 -05:00
Deluan 11f6acbb63 Revert default Makefile target 2020-01-19 22:48:36 -05:00
Deluan 2ab0cecd48 Complete User CRUD 2020-01-19 21:46:36 -05:00
Deluan 3a03284c59 Add routing for basic web ui 2020-01-19 19:35:03 -05:00
Deluan 035fdaeb96 Remove old tags from models 2020-01-17 20:54:28 -05:00
Deluan 123f543a94 New Folder Scanner - WIP 2020-01-17 20:54:28 -05:00
Deluan 0a56fd8752 Add Makefile target to start ginkgo in watch mode 2020-01-15 23:40:22 -05:00
Deluan a167669717 Change default db path 2020-01-14 18:55:12 -05:00
Deluan ea86238901 Add ui subfolder, bootstrapped a "hello-world" React-Admin app, changed Makefile to start both apps in dev mode 2020-01-14 15:34:59 -05:00
Deluan 85f7fdd285 Added CORS middleware 2020-01-09 22:44:45 -05:00
Deluan 0388d67817 Clean up Makefile 2020-01-09 22:44:45 -05:00
Deluan 907c310c01 Download Jamstash in `make setup` 2020-01-09 22:44:45 -05:00
Deluan 79701caca3 Removed Beego routing/controllers, converted to Chi.
Also introduced Wire for dependency injection
2020-01-09 22:44:45 -05:00
Deluan 1f4dfcb853 Small fixes to the Makefile 2020-01-06 15:19:14 -05:00
Deluan 3eaf80de99 Simplify Makefile build target 2020-01-06 13:47:48 -05:00
Deluan 0fe523b526 Clean-up dependencies, Makefile. Replaced `bee` with `reflex` 2020-01-04 21:13:54 -05:00
Deluan 2861a97a89 Introduces context.Context in API controllers 2017-04-03 00:16:21 -04:00
Deluan 12e7100325 Adding a Makefile 2016-10-10 20:27:09 -04:00