Commit graph

17 commits

Author SHA1 Message Date
Roderick van Domburg
cd57f706f6
Clarify dependency ordering 2024-10-27 15:50:27 +01:00
Roderick van Domburg
09e4c3e12b
Prevent garbage toml-e files on macOS
Newer macOS versions output `uname` as "Darwin", while older
versions output "darwin".
2024-10-15 21:47:02 +02:00
Roderick van Domburg
c38a3be1b1
Fix publish script: core depends on oauth 2024-10-15 20:37:47 +02:00
Nick Steel
4f9151c642
Credentials with access token (oauth) (#1309)
* core: Create credentials from access token via OAuth2

* core: Credentials.username is optional: not required for token auth.

* core: store auth data within session. We might need this later if need to re-auth and original creds are no longer valid/available.

* bin: New --token arg for using Spotify access token. Specify 0 to manually enter the auth code (headless).

* bin: Added --enable-oauth / -j option. Using --password / -p option will error and exit.

* core: reconnect session if using token authentication

Token authenticated sessions cannot use keymaster. So reconnect using the reusable credentials we just obtained. Can perhaps remove this
workaround once keymaster is replaced with login5.

* examples: replace password login with token login
2024-09-13 07:35:55 +02:00
Roderick van Domburg
91c06efda3
Fix publish script on Linux 2022-07-29 22:01:22 +02:00
Roderick van Domburg
15aea747fd
Fix updating lockfile 2022-05-23 21:42:13 +02:00
Sasha Hilton
6a3377402a Update version numbers to 0.3.0 2021-10-13 15:10:18 +01:00
Sasha Hilton
7f705ed148 Merge branch 'master' into dev 2021-02-20 23:31:04 +00:00
Sasha Hilton
66566e0b26 remove errant live code in dry-run of publish.sh 2021-02-20 23:04:08 +00:00
Sasha Hilton
4e0f5e46a5 Add skip-merge and dry-run options to publish script. Update Cargo.lock. 2021-02-20 22:59:35 +00:00
Sasha Hilton
bf44c8c170 Update publish.sh to rebase dev after publish. 2020-07-29 16:44:48 +01:00
Sasha Hilton
1cd69ab028 Update Cargo.lock 2020-07-29 16:40:24 +01:00
Sasha Hilton
22ca944c77 Small tweak to console output during publishing. 2020-07-24 03:14:24 +01:00
Sasha Hilton
4de9c92a29 Update build.rs & publish.sh with minor fixes 2020-07-24 03:11:14 +01:00
Sasha Hilton
e1c33422a1 Update Cargo.lock & Add notes on todo in publish.sh 2020-07-22 17:10:30 +01:00
Sasha Hilton
8eae57bad0 Uncommented branch switch. 2019-11-09 15:21:12 +01:00
Sasha Hilton
af715f9e8c Add publish.sh script for creating new version, update PUBLISHING.md 2019-11-09 15:19:30 +01:00