Commit graph

30 commits

Author SHA1 Message Date
Philipp Wolfer
16245e495d
Handle wait group for progress bar centrally
This does not need to be exposed and caller only
needs to wait for the Progress instance.
2025-05-02 09:28:30 +02:00
Philipp Wolfer
c305b6c7e3
Simplify timestamp comparisons 2025-05-01 12:27:24 +02:00
Philipp Wolfer
a5442b477e
Sync translations with new strings 2025-04-29 16:06:13 +02:00
Philipp Wolfer
d51c97c648
Code style: All uppercase acronyms URL, ISRC, ID, HTTP 2025-04-29 13:23:41 +02:00
Philipp Wolfer
c69097434c
Update dependencies 2024-01-15 08:41:50 +01:00
Philipp Wolfer
84443d0e69
Close export progress in export goroutine
Fixes crash in case of importer exiting prematurely
2024-01-15 08:21:38 +01:00
Philipp Wolfer
8a2ddb7772
Replaced ImportResult.ImportErrors with ImportResult.ImportLog 2024-01-15 08:00:17 +01:00
Philipp Wolfer
01380bd730
listenbrainz: localize duplicate listen message 2024-01-14 22:09:12 +01:00
Philipp Wolfer
97e93553a1
Support integer config values 2024-01-13 14:11:58 +01:00
Philipp Wolfer
be1cfdac9e
allow datetime string as --timestamp parameter 2023-12-10 16:15:09 +01:00
Philipp Wolfer
c4587b80af
Introduce models.Entity type 2023-12-10 14:24:06 +01:00
Philipp Wolfer
a59a542967
moved OAuth2Authenticator to auth package 2023-12-10 14:19:23 +01:00
Philipp Wolfer
c4193f42a1
Code cleanup and missing error checks 2023-12-10 13:51:38 +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
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
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
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
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
543a9c666d
Implemented service delete command 2023-12-08 17:27:32 +01:00
Philipp Wolfer
58a47a43e7
Implemented service edit command 2023-12-08 08:38:17 +01:00
Philipp Wolfer
9c363cc06d
Use config.ServiceConfig across API 2023-12-07 23:55:20 +01:00
Philipp Wolfer
8743a9d81c
Moved prompt helpers into cli package 2023-12-07 22:32:08 +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
a9e07915ce
Transfer command refactoring
Make transfer command processing even more modular
2023-12-05 08:24:42 +01:00