1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-23 15:37:47 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Ivan Habunek
5343319333
Improve config dir location
On Windows store config in roaming appdata.
2019-09-08 15:06:35 +02:00
Ivan Habunek
130ef9a608 Remove legacy configuration file handling 2019-09-08 14:36:37 +02:00
Ivan Habunek
73ba70eb83
Create config file with 0600 permissions
It contains secrets and should not be readable by others.

fixes #109
2019-08-27 13:20:22 +02:00
Ivan Habunek
05a06acf8e
Create config folder if it does not exist
fixes #40
2018-01-15 23:14:20 +01:00
Ivan Habunek
455e531194
Respect XDG_CONFIG_HOME env variable
to locate configuration home directory.

fixes #12
2018-01-14 15:29:34 +01:00
Ivan Habunek
6a3c877270
Reimplement configuration to allow multiple logins
The configuration is now stored in a single json encoded file instead of
separate files.
2018-01-02 12:24:32 +01:00
Ivan Habunek
3f44d560c8
Store access tokens for multiple instances
This makes it so an app is created only once for each instance, instead
of being re-created on each login. Prevents accumulations of authroized
apps in https://mastodon.social/oauth/authorized_applications
2017-04-18 16:16:24 +02:00
Ivan Habunek
d21e45899c
Add coding directive 2017-04-15 14:53:08 +02:00
Ivan Habunek
26be88aed6
Fixes for py3 2017-04-12 17:12:47 +02:00
Ivan Habunek
40a0739227
Initial commit 2017-04-12 16:43:30 +02:00