Deluan
130ab76c79
go mod tidy
2023-12-27 13:04:26 -05:00
Deluan
a186a795f6
Omit empty Genre attributes
2023-12-27 12:44:25 -05:00
Deluan
798b03eabd
Add "inspect" command to CLI
2023-12-27 12:41:28 -05:00
Deluan
ea7ba22699
Discard duplicated tags
2023-12-26 19:35:14 -05:00
Andrew Katsikas
b4815ecee5
Add TAK support ( #2745 )
...
* bug(consts/mime_types): tak-support - 2514
Add tak to mime_types audioFormats
Signed-off-by: apkatsikas <apkatsikas@gmail.com>
* bug(scanner): tak-support - 2514
Add tak test fixture file and add fixes for tag_scanner and walk_dir_tree tests
Signed-off-by: apkatsikas <apkatsikas@gmail.com>
* Remove comment
---------
Signed-off-by: apkatsikas <apkatsikas@gmail.com>
2023-12-26 18:39:15 -05:00
Deluan
51e07d4cb5
Add log.IsGreaterOrEqualTo, that take into consideration path-scoped log levels
2023-12-25 16:35:16 -05:00
Deluan
03119e5ccf
Add more trace log to TagLib Wrapper
2023-12-23 14:10:38 -05:00
Deluan Quintão
15e1394fa3
Implement originalReleaseDate
in OpenSubsonic responses. ( #2733 )
...
See https://github.com/opensubsonic/open-subsonic-api/pull/80
2023-12-22 21:03:55 -05:00
Deluan
3f349b1b58
Add todo as a reminder to replace min/max in Go 1.22
2023-12-21 19:19:46 -05:00
Deluan
dfcc189cff
Replace all utils.Param*
with req.Params
2023-12-21 17:41:09 -05:00
Deluan
00597e01e9
Add req.Params
to replace utils.Param*
2023-12-21 16:32:37 -05:00
Dany Marcoux
965fc9d9be
Remove beep and the files where it was imported ( #2731 )
...
Beep isn't needed anymore since we rely on MPV instead.
The changes to `go.mod` and `go.sum` were done with:
```
go get github.com/faiface/beep@none
go mod tidy
```
Signed-off-by: Dany Marcoux <git@dmarcoux.com>
2023-12-21 08:00:31 -05:00
Deluan Quintão
781ff40464
Bump Go version to 1.21.5 ( #2729 )
2023-12-20 20:02:40 -05:00
Deluan
a6ed0442f2
Name mapDates
return values
2023-12-20 16:29:39 -05:00
dependabot[bot]
515efe37f0
Bump @testing-library/user-event from 13.5.0 to 14.5.1 in /ui
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.5.0 to 14.5.1.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.5.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 13:18:13 -05:00
dependabot[bot]
6c28c111bb
Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /ui
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 12:34:13 -05:00
dependabot[bot]
92a88ad4d9
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 ( #2722 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 17:45:37 -05:00
dependabot[bot]
4ccc0a92bf
Bump jwt-decode from 3.1.2 to 4.0.0 in /ui ( #2714 )
...
* Bump jwt-decode from 3.1.2 to 4.0.0 in /ui
Bumps [jwt-decode](https://github.com/auth0/jwt-decode ) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases )
- [Changelog](https://github.com/auth0/jwt-decode/blob/main/CHANGELOG.md )
- [Commits](https://github.com/auth0/jwt-decode/compare/v3.1.2...v4.0.0 )
---
updated-dependencies:
- dependency-name: jwt-decode
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Make jwt-decode a named import.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caio Cotts <caio@cotts.com.br>
2023-12-18 17:28:42 -05:00
dependabot[bot]
df3de047ca
Bump clsx from 1.1.1 to 2.0.0 in /ui
...
Bumps [clsx](https://github.com/lukeed/clsx ) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v1.1.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: clsx
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 15:15:00 -05:00
Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
dependabot[bot]
735d670a5b
Bump prettier from 2.8.2 to 3.1.1 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.2 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.2...3.1.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 15:12:24 -05:00
dependabot[bot]
30179146c3
Bump deepmerge from 4.2.2 to 4.3.1 in /ui
...
Bumps [deepmerge](https://github.com/TehShrike/deepmerge ) from 4.2.2 to 4.3.1.
- [Changelog](https://github.com/TehShrike/deepmerge/blob/master/changelog.md )
- [Commits](https://github.com/TehShrike/deepmerge/compare/v4.2.2...v4.3.1 )
---
updated-dependencies:
- dependency-name: deepmerge
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 14:22:11 -05:00
dependabot[bot]
03a9f22ed9
Bump @material-ui/icons from 4.11.2 to 4.11.3 in /ui
...
Bumps [@material-ui/icons](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-icons ) from 4.11.2 to 4.11.3.
- [Release notes](https://github.com/mui-org/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v4.11.3/CHANGELOG.md )
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.3/packages/material-ui-icons )
---
updated-dependencies:
- dependency-name: "@material-ui/icons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 14:17:25 -05:00
dependabot[bot]
39e92a1918
Bump github.com/mattn/go-sqlite3 from 1.14.18 to 1.14.19
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.18 to 1.14.19.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.18...v1.14.19 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 14:07:07 -05:00
Deluan
421ce91a9e
Fix mpvipc dependency
2023-12-17 13:57:15 -05:00
Deluan
12aae5e951
Some cleanup in the jukebox code, specially log messages
2023-12-17 13:15:47 -05:00
Deluan
932152eb7e
Change required fields in Subsonic Jukebox endpoint
...
See discussion here: https://gitlab.com/ultrasonic/ultrasonic/-/issues/1266#note_1621953651
2023-12-17 13:15:47 -05:00
Deluan
0e3175ea17
Better workaround for Go 1.20 missing context.WithoutCancel
2023-12-16 13:33:03 -05:00
Deluan
d3f6b4692d
Temporary fix for scan context cancellation for Go 1.20
2023-12-15 07:59:34 -05:00
Deluan
70effa09e8
Don't cancel Scan on context cancellation
2023-12-14 22:52:48 -05:00
Deluan
7ccf685973
Fix PreferSortTags
2023-12-14 21:45:47 -05:00
Deluan
2aef227572
Add context to SQL queries, enabling cancellation
2023-12-14 17:13:09 -05:00
Deluan
d80e1a260b
Fix possible authentication bypass
2023-12-13 19:32:05 -05:00
dependabot[bot]
fd4605d7dc
Bump github.com/mattn/go-zglob from 0.0.3 to 0.0.4 ( #2015 )
...
Bumps [github.com/mattn/go-zglob](https://github.com/mattn/go-zglob ) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/mattn/go-zglob/releases )
- [Commits](https://github.com/mattn/go-zglob/compare/v0.0.3...v0.0.4 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-zglob
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 17:27:42 -05:00
Deluan
a6493c4c36
Bump github.com/google/uuid to v1.5.0
2023-12-13 16:47:05 -05:00
Kendall Garner
54597bd575
Allow reverse proxy auth for unix socket ( #2701 )
2023-12-12 06:06:27 -05:00
Deluan Quintão
ab53313273
Add new PrefSortTags option ( #2696 )
2023-12-11 20:37:11 -05:00
Deluan
d3669f46a9
go mod tidy
2023-12-11 19:03:27 -05:00
Deluan
d89de9060a
Bump Go dependencies
2023-12-11 17:25:14 -05:00
Deluan
ac3668a33e
Removed unused diodes
package
2023-12-11 17:22:10 -05:00
dependabot[bot]
6d924ad742
Bump github.com/go-chi/jwtauth/v5 from 5.2.0 to 5.3.0 ( #2699 )
...
Bumps [github.com/go-chi/jwtauth/v5](https://github.com/go-chi/jwtauth ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/go-chi/jwtauth/releases )
- [Commits](https://github.com/go-chi/jwtauth/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/jwtauth/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 13:41:03 -05:00
Deluan
78d557c185
Remove LastFM shared key
2023-12-10 21:11:40 -05:00
Deluan
546aa26a0a
Removed duplicated code
2023-12-09 14:11:07 -05:00
dependabot[bot]
fc677f7951
Bump github.com/lestrrat-go/jwx/v2 from 2.0.17 to 2.0.18 ( #2684 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.17 to 2.0.18.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.17...v2.0.18 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 14:04:56 -05:00
Deluan
aed0309161
Return AlbumID3
in search3
results
2023-12-09 14:01:22 -05:00
Deluan
465cc091b0
Convert internal disc number representation to int
2023-12-09 13:53:38 -05:00
Deluan
2c9035fdd0
Add discTitles to OpenSubsonic responses
2023-12-09 13:53:38 -05:00
Deluan
af7eead037
Add discs to album
2023-12-09 13:53:38 -05:00
Deluan Quintão
0ca0d5da22
Replace beego/orm with dbx ( #2693 )
...
* Start migration to dbx package
* Fix annotations and bookmarks bindings
* Fix tests
* Fix more tests
* Remove remaining references to beego/orm
* Add PostScanner/PostMapper interfaces
* Fix importing SmartPlaylists
* Renaming
* More renaming
* Fix artist DB mapping
* Fix playlist updates
* Remove bookmarks at the end of the test
* Remove remaining `orm` struct tags
* Fix user timestamps DB access
* Fix smart playlist evaluated_at DB access
* Fix search3
2023-12-09 13:52:17 -05:00
dependabot[bot]
7074455e0e
Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.1...v2.13.2 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 21:35:42 -05:00