Commit graph

17 commits

Author SHA1 Message Date
Philipp Wolfer
857661ebf9
Restructured code, moved all modules into internal
For now all modules are considered internal. This might change later
2023-11-24 01:24:54 +01:00
Philipp Wolfer
f447a259d4
OAuth2Strategy interface to abstract the details of the login flow
This allows implementing clients the deviate from the standard OAuth2 flow
2023-11-23 14:41:31 +01:00
Philipp Wolfer
e29d8e2a63
Custom OAuth2 TokenSource to persist refreshed tokens in database 2023-11-22 17:24:30 +01:00
Philipp Wolfer
d0739aad0f
Use config from OAuth2Authenticator for auth command 2023-11-22 08:41:18 +01:00
Philipp Wolfer
117014a977
Change project license to GPLv3
Individual files, mainly the models and the HTTP clients stay under MIT
2023-11-22 08:05:23 +01:00
Philipp Wolfer
fa7732c538
Autenticate OAuth backends 2023-11-21 17:51:13 +01:00
Philipp Wolfer
94704f9cd0
WIP: Authenticate 2023-11-21 16:43:40 +01:00
Philipp Wolfer
3d3685d8bc
Initial implementation for Spotify listens export 2023-11-21 16:42:59 +01:00
Philipp Wolfer
c13c9175e3
Renamed ImportBackend methods to StartImport / FinishImport 2023-11-20 07:43:54 +01:00
Philipp Wolfer
6e330daf06
Implemented progressbar for export/import 2023-11-19 13:56:06 +01:00
Philipp Wolfer
729a3d0ed0
Add ImportResult.UpdateTimestamp method 2023-11-17 07:41:47 +01:00
Philipp Wolfer
298697dcfc
Run exporter in goroutine
Use channel to pass data from exporter to importer
2023-11-17 07:41:46 +01:00
Philipp Wolfer
3a76ec7988
Added basic documentation of backend interfaces 2023-11-15 10:06:35 +01:00
Philipp Wolfer
aa453e4dc2
ListenBrainz: Fix love import and rate limit check 2023-11-13 11:42:09 +01:00
Philipp Wolfer
ead323eaed
Import result can report total and processed items 2023-11-12 18:41:29 +01:00
Philipp Wolfer
516de905bd
Renamed interfaces ListenImport|Export to ListensImport|Export 2023-11-12 18:40:00 +01:00
Philipp Wolfer
48c8843f91
Moved specifc backends into separate packages 2023-11-12 01:14:53 +01:00