Commit Graph

11 Commits

Author SHA1 Message Date
Henrik Friedrichsen
d6db7a54d6 Remove plain-text credential store
librespot stores a more secure token that is valid for a while, rely on this
instead.

On the flip side this requires users to re-enter their login data when their
token has expired.

If the token validity is too short we will have to come up with another
approach, e.g. OS keyrings.

fixes #447
2021-03-05 23:47:12 +01:00
Henrik Friedrichsen
ce5b11dac4 update to cursive 0.15.0 2020-06-02 23:19:21 +02:00
Henrik Friedrichsen
d2915316da various non-functional code cleanups 2020-02-21 23:33:08 +01:00
Henrik Friedrichsen
8924b85390 fix deprecation warnings that occured due to cursive 0.14.0 upgrade 2020-02-02 20:10:21 +01:00
Henrik Friedrichsen
e697b97d8c major dependency cleanup
- depend on specific librespot crates to remove clutter
- update versions

this should also help building on openbsd, as the unused librespot-connect
depended on the nix crate, which does not build on openbsd.
2019-11-24 16:38:15 +01:00
Henrik Friedrichsen
18c2f6466a fix most of the clippy linter warnings 2019-04-23 22:28:05 +02:00
Henrik Friedrichsen
82e1e3d1c2 update bindings, indicate that saving a queue can overwrite playlist
closes #60
2019-04-20 14:53:25 +02:00
Henrik Friedrichsen
1c26c7bcee cargo fmt/clippy all the things + make them mandatory in CI 2019-04-03 14:13:40 +02:00
Henrik Friedrichsen
c649adebdf minor wording changes, mainly to make the dialog smaller in width 2019-03-30 22:40:42 +01:00
Henrik Friedrichsen
d500466e2e use webbrowser crate which is already a dependency in rspotify 2019-03-30 22:40:42 +01:00
Michael Edwards
d78e71871a Credentials helper if config not present or unparseable
Fixes #1
2019-03-30 22:40:42 +01:00