Commit graph

159 commits

Author SHA1 Message Date
Philipp Wolfer
a59a542967
moved OAuth2Authenticator to auth package 2023-12-10 14:19:23 +01:00
Philipp Wolfer
dd501df5c5
use go:embed to simplify testdata loading 2023-12-10 14:11:54 +01:00
Philipp Wolfer
c4193f42a1
Code cleanup and missing error checks 2023-12-10 13:51:38 +01:00
Philipp Wolfer
6eaef18188
subsonic: only set tags if genre is non-empty 2023-12-10 01:33:14 +01:00
Philipp Wolfer
acb0e9cb11
scrobblerlog: configuring should show append mode as enabled by default 2023-12-10 00:25:29 +01:00
Philipp Wolfer
4d07a39b64
jspf: implement append mode 2023-12-10 00:24:39 +01:00
Philipp Wolfer
a751b7182c
Bump version to 0.3.1 2023-12-09 23:20:12 +01:00
Philipp Wolfer
3d52f8779a
Update translations 2023-12-09 23:19:23 +01:00
Philipp Wolfer
ab0e50f7aa
Prompt user for auth after service requireing auth added 2023-12-09 23:17:43 +01:00
Philipp Wolfer
9449a29fb1
service auth, edit and delete now all support --service flag
If a service name is given, this will be used. If not the user is
prompted to select one.
2023-12-09 23:16:33 +01:00
Philipp Wolfer
c21715d36b
Fixed last timestamp for beam loves not getting loaded 2023-12-09 22:42:04 +01:00
Philipp Wolfer
5755ccef01
Do not apply locale formatting to Unix timestamps 2023-12-09 22:39:08 +01:00
Philipp Wolfer
1698568d0e
Fixed crash with invalid target config name in beam commands 2023-12-09 22:29:15 +01:00
Philipp Wolfer
76fd7cfeb4
Allow default value for boolean select
Default for both service delete conformation and disabling Maloja
autofix is now "no".
2023-12-09 22:15:40 +01:00
Philipp Wolfer
6c1cf2101d
Bump version to 0.3.0 2023-12-09 21:59:54 +01:00
Philipp Wolfer
e7d596b4e0
Allow specifying --timestamp 0 2023-12-09 18:56:23 +01:00
Philipp Wolfer
2307e6247b
Even on error the last import timestamp should be set to the previous timestamp 2023-12-09 18:41:53 +01:00
Philipp Wolfer
b07c393a22
Fixed import error handling 2023-12-09 18:37:52 +01:00
Philipp Wolfer
3e9ebfb9af
Fixed Deezer listen export count 2023-12-09 18:10:34 +01:00
Philipp Wolfer
08514e5eac
Fixed file extension for config file in paramter documentation 2023-12-09 17:42:03 +01:00
Philipp Wolfer
0b1806367f
Documented general configuration and usage 2023-12-09 17:41:38 +01:00
Philipp Wolfer
d6ca8d33f7
Mark user interface strings
For now exclude command help, as cobra itself is not localizable yet.
2023-12-09 16:43:14 +01:00
Philipp Wolfer
511b71b909
Documented translation and set translation license to CC0 2023-12-09 15:57:20 +01:00
Philipp Wolfer
7df08bfaaa
Trigger weblate update on CI build 2023-12-09 12:11:57 +01:00
Philipp Wolfer
2006725311 Translated using Weblate (German)
Currently translated at 100.0% (10 of 10 strings)

Translation: Scotty/app
Translate-URL: https://translate.uploadedlobster.com/projects/scotty/app/de/
2023-12-09 11:03:18 +00:00
Philipp Wolfer
1f3247c3ff
Translate progress bar 2023-12-09 12:01:04 +01:00
Philipp Wolfer
a41318d822
Basic i18n setup 2023-12-09 11:46:32 +01:00
Philipp Wolfer
20f1732858
Use positional arguments for source and target in beam commands 2023-12-08 17:59:37 +01:00
Philipp Wolfer
3ab0ce1cc6
Restructured cmd files 2023-12-08 17:38:20 +01:00
Philipp Wolfer
543a9c666d
Implemented service delete command 2023-12-08 17:27:32 +01:00
Philipp Wolfer
7f2db58462
Implemented service list command 2023-12-08 08:56:10 +01:00
Philipp Wolfer
58a47a43e7
Implemented service edit command 2023-12-08 08:38:17 +01:00
Philipp Wolfer
c6c0723e27
Renamed config command to service, make auth a subcommand 2023-12-07 23:55:20 +01:00
Philipp Wolfer
9c363cc06d
Use config.ServiceConfig across API 2023-12-07 23:55:20 +01:00
Philipp Wolfer
091b3c2f49
Prevent adding duplicate services 2023-12-07 23:09:16 +01:00
Philipp Wolfer
8743a9d81c
Moved prompt helpers into cli package 2023-12-07 22:32:08 +01:00
Philipp Wolfer
c9fa21be73
Dynamic per-backend configuration options 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ae5f1c5f26
Basic TUI to add new service configuration 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ce5cdceb1f
Initialize config if it does not exist, set database relative to config dir 2023-12-07 22:20:27 +01:00
Philipp Wolfer
c101749faa
Link to SourceHut project page 2023-12-07 22:19:11 +01:00
Philipp Wolfer
ed4c0aa1f8
jspf: add MB playlist extension, public field must be boolean 2023-12-07 13:13:16 +01:00
Philipp Wolfer
7a2fcc091e
spotify: fixed loves export count 2023-12-05 09:10:25 +01:00
Philipp Wolfer
28ed1183e4
Use fmt.Errorf, error strings should start lowercase 2023-12-05 08:24:43 +01:00
Philipp Wolfer
a9e07915ce
Transfer command refactoring
Make transfer command processing even more modular
2023-12-05 08:24:42 +01:00
Philipp Wolfer
7c85ba05ab
refactor: generic common cmd processing 2023-12-04 08:08:30 +01:00
Philipp Wolfer
a87686af57
Reduced code redundancy in import processing 2023-12-03 17:10:50 +01:00
Philipp Wolfer
ca3b8492b0
Unified export result types 2023-12-03 16:56:12 +01:00
Philipp Wolfer
a4a05ea047
subsonic: fixed filtering songs based on timestamp 2023-12-01 11:48:23 +01:00
Philipp Wolfer
8a1cd8ded7
Combine all build artifacts in single archive 2023-11-28 18:13:41 +01:00
Philipp Wolfer
b169dd2cc4
auth: generate oauth2 state randomly 2023-11-28 18:13:40 +01:00