Deluan
7d96167abc
Upgrade to go-chi 5
2021-05-11 17:21:18 -04:00
Deluan
fb5840705e
Bump github.com/golangci/golangci-lint from 1.39.0 to 1.40.0
2021-05-11 12:30:11 -04:00
Dnouv
089d4abab1
Replace Feature Policy with Permissions Policy ( #1112 )
...
* Add Permissions Policy
* Remove Display capture option
2021-05-11 11:29:55 -04:00
Paul TREHIOU
62ccbaad8b
Improve systemd unit security ( #677 )
...
Applied suggestions from `systemd-analyze` and also using StateDirectory to ensure /var/lib/navidrome exists and is writeable
2021-05-09 11:59:08 -04:00
Deluan
8419a2a5d1
Schedule periodic scan before starting initial scan
2021-05-08 19:19:31 -04:00
Aniket Biswas
71c2ed9922
Restart Current Song on previous ( #1104 )
...
* fixed on previous song behaviour
* rebased with master
2021-05-08 14:27:33 -04:00
Deluan
72ec808a2c
Bump react-jinke-music-player from 4.21.2 to 4.24.0 in /ui
2021-05-08 13:15:39 -04:00
Deluan
702a65059f
Fix redaction for query parameters. Fix #1103
2021-05-07 21:42:35 -04:00
Deluan
3e8d3e78c2
Fix Bookmarks Subsonic support ( #1099 )
...
JSON responses were incorrect
2021-05-07 09:47:13 -04:00
Deluan
47f4e0a4de
Refactor to remove some nesting
2021-05-06 20:49:26 -04:00
Deluan
1f8949929d
Fix(?) possible TypeError
2021-05-06 20:46:01 -04:00
Deluan
c92a24b3e2
Bump github.com/onsi/gomega from 1.11.0 to 1.12.0
2021-05-06 18:54:45 -04:00
dependabot[bot]
cbe0d9763b
Bump github.com/robfig/cron/v3 from 3.0.0 to 3.0.1 ( #1098 )
...
Bumps [github.com/robfig/cron/v3](https://github.com/robfig/cron ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/robfig/cron/releases )
- [Commits](https://github.com/robfig/cron/compare/v3.0.0...v3.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:46:12 -04:00
dependabot[bot]
44dd414d25
Bump github.com/microcosm-cc/bluemonday from 1.0.8 to 1.0.9 ( #1056 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.8...v1.0.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:45:10 -04:00
Samarjeet
d85db8ffff
Fix Spotify-ish playlist title is cut off ( #1094 )
2021-05-06 18:33:54 -04:00
dependabot[bot]
c7378c0fa5
Bump @testing-library/user-event from 13.1.5 to 13.1.8 in /ui ( #1082 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.5 to 13.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.1.5...v13.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:27:02 -04:00
plr20
18696c5517
Update Czech translation ( #1095 )
...
* Update Czech translation
* Adjust translations
2021-05-06 18:22:47 -04:00
dependabot[bot]
5a5d763c19
Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2 ( #1096 )
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.16.1 to 1.16.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/v1.16.1...v1.16.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:19:40 -04:00
Deluan
f8dbc41b6d
Breaking change: Add ScanSchedule
, allows interval and cron based configurations.
...
See https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format for expression syntax.
`ScanInterval` will still work for the time being. The only situation it does not work is when you want to disable periodic scanning by setting `ScanInterval=0`. If you want to disable it, please set `ScanSchedule=""`
Closes #1085
2021-05-06 17:56:10 -04:00
Deluan
1d6aa70033
Fix possible TypeError
2021-05-06 09:49:25 -04:00
Brian Schrameck
30bb3f7b43
BPM metadata enhancement ( #1087 )
...
* BPM metadata enhancement
Related to #1036 .
Adds BPM to the stored metadata about MediaFiles.
Displays BPM in the following locations:
- Listing songs in the song list (desktop, sortable)
- Listing songs in playlists (desktop, sortable)
- Listing songs in albums (desktop)
- Expanding song details
When listing, shows a blank field if no BPM is present. When showing song details, shows a question mark.
Updates test MP3 file to have BPM tag. Updated test to ensure tag is read correctly.
Updated localization files. Most languages just use "BPM" as discovered during research on Wikipedia. However, a couple use some different nomenclature. Spanish uses PPM and Japanese uses M.M.
* Enhances support for BPM metadata extraction
- Supports reading floating point BPM (still storing it as an integer) and FFmpeg as the extractor
- Replaces existing .ogg test file with one that shouldn't fail randomly
- Adds supporting tests for both FFmpeg and TagLib
* Addresses various issues with PR #1087 .
- Adds index for BPM. Removes drop column as it's not supported by SQLite (duh).
- Removes localizations for BPM as those will be done in POEditor.
- Moves BPM before Comment in Song Details and removes BPM altogether if it's empty.
- Omits empty BPM in JSON responses, eliminating need for FunctionField.
- Fixes copy/paste error in ffmpeg_test.
2021-05-05 21:35:01 -04:00
Deluan
fb33aa4496
Fix possible TypeError
2021-05-05 21:14:36 -04:00
Deluan
9e559311ad
Fix Album Grid flickering
2021-05-05 16:18:08 -04:00
Deluan
a5fc5f0ff6
Revert "Better way to invoke make single
"
...
This reverts commit 73efbd90
2021-05-04 17:05:41 -04:00
Deluan
73efbd90ab
Better way to invoke make single
2021-05-04 16:47:47 -04:00
Deluan
cbc4cb483d
Fix QuickFilter by favourites in Album/All view
2021-05-04 16:28:19 -04:00
Deluan
986473393f
Fix missing translation error in console. Closes #1038
2021-05-04 16:01:26 -04:00
Deluan
66b31644fa
Upgrade React-Admin to 3.15.0
2021-05-03 22:32:30 -04:00
Deluan
b478b0af02
FIx ffmpeg output regex too rigid
2021-05-03 21:26:44 -04:00
Deluan
c3316e201e
Fix cover art detection with ffmpeg 4.4
2021-05-03 20:25:31 -04:00
Deluan
874b17b8f6
Require user to provide current password to be able to change it
...
Admins can change other users' password without providing the current one, but not when changing their own
2021-05-03 15:03:34 -04:00
Deluan
5808b9fb71
Fix Transcodings menu
2021-05-03 13:54:08 -04:00
Deluan
c33ebabde8
Fix warning about promise being ignored
2021-05-03 13:38:34 -04:00
Deluan
7feda4bea4
Add EnableUserEditing
, to control whether a regular user can change their own details (default true
)
2021-05-02 17:11:12 -04:00
Deluan
2ff1c79b64
Fix EnableLogRedacting
case
2021-05-02 16:49:20 -04:00
Deluan
cfbc39fb7f
Add log redacting, controlled by the new EnableLogRedacting
config option (default true
)
...
Imported redacting code from https://github.com/whuang8/redactrus (thanks William Huang)
Didn't use it as a dependency as it was too small and we want to keep dependencies at a minimum
2021-05-02 16:45:16 -04:00
Deluan
2372f1d12b
Change visibility of helper function
2021-05-02 15:23:51 -04:00
Deluan
490a7fcf52
Add test to Login function
2021-05-02 15:19:21 -04:00
Deluan
ad153f5f63
Fix User delete button not showing
2021-05-02 15:03:15 -04:00
Deluan
b8138ebad6
Fix create first login
2021-05-02 14:13:17 -04:00
Deluan
e3fe8399c8
Fix DevAutoCreateAdminPassword
2021-05-01 18:40:02 -04:00
Deluan
88105d5c30
Clean-up Makefile, add help
2021-05-01 11:14:24 -04:00
Deluan
b180386d23
Simplify build targets
2021-05-01 09:16:45 -04:00
Deluan
70e7bf6b5b
Clean up some make
targets
2021-05-01 08:51:29 -04:00
Samarjeet
d41137ad8e
[Spotify-ish] Login consistent with other themes ( #1073 )
2021-05-01 08:48:12 -04:00
Deluan
88f2fc35cd
Fix regular users not able to edit their info before logging in again
2021-04-30 17:53:17 -04:00
Deluan
bc62efb059
More auth tests
2021-04-30 10:00:03 -04:00
Deluan
eaf40efdf4
Never send passwords to the UI
2021-04-29 20:04:01 -04:00
Deluan
71dc0dddaf
Show Person icon for non admin users
2021-04-29 18:26:53 -04:00
Deluan
bcda53f115
Less waiting for cache to be ready
2021-04-29 13:58:01 -04:00