Commit Graph

28 Commits

Author SHA1 Message Date
Romain Le Jeune ee4da8a89c GODT-2291: Change gluon store default location from Cache to Data. 2023-01-24 13:35:45 +00:00
James Houlahan a00e2acb5c Other: Don't clean settings path on teardown 2023-01-18 08:24:31 +00:00
James Houlahan 03c8c323bc GODT-2251: Store gluon cache in user cache rather than user data 2023-01-16 16:27:41 +01:00
Jakub 715efaa087 Revert "GODT-2229: Allow changing cache folder to a non-empty folder."
This reverts commit b19e16e4b8.
2023-01-11 10:19:38 +01:00
Romain Le Jeune b19e16e4b8 GODT-2229: Allow changing cache folder to a non-empty folder. 2023-01-10 16:40:52 +00:00
Leander Beernaert 6d0a128111 Other: Update copyright year 2023-01-02 11:09:11 +01:00
James Houlahan e601245f01 Other(chore): Bump major version to v3 2022-11-23 16:08:27 +01:00
James Houlahan 3a08c1cdb6 Other: Update docstrings for locations 2022-11-18 17:32:15 +01:00
James Houlahan d093488522 GODT-1978: Auto-updates 2022-11-16 13:48:30 +01:00
James Houlahan 2fbecc4675 GODT-1916: Use XDG_DATA_HOME to store persistent data on linux
This change ensures persistent data is stored in XDG_DATA_HOME
instead of XDG_CACHE_HOME on linux.

It adds the UserData() method on locations.Provider to return a path
suitable for storing persistent data. On linux, this returns
$XDG_DATA_HOME/protonmail (likely ~/.local/share/protonmail), and on
non-linux this returns os.UserConfigDir() because that is assumed
to be a more persistent location than os.UserCacheDir().

locations.Locations has been modified to use this new data directory;
gluon and logs are now stored here.
2022-11-16 13:48:30 +01:00
Leander Beernaert d47b5b99c5 GODT-1813: Cleanup old go-imap cache files 2022-11-16 12:26:09 +01:00
James Houlahan 2a97939807 Other: Clean locations on teardown 2022-11-16 12:26:09 +01:00
James Houlahan 593d86f3a7 Other: Single instance 2022-11-16 12:26:09 +01:00
James Houlahan 39433fe707 GODT-1779: Remove go-imap 2022-11-16 12:26:08 +01:00
Romain LE JEUNE 22a8aab151 GODT-1671: Implement Quit & Restart mechanism 2022-09-01 13:23:12 +02:00
Romain LE JEUNE bdb35f1c1d GODT-1799: fix dependency link [skip-ci] 2022-08-29 16:09:17 +02:00
James Houlahan 4edf2eb92c Other: Add v2 to module name 2022-05-31 15:54:39 +02:00
Jakub f3c69faf8b GODT-1260: Renaming
* Renaming GUI, CLI, no-impact config.
* License header and documentation rebranding.
* Rename app title and vendor. Impact: manual install
* Migrating mac keychain and launch on startup.
* Fix linter and linter renaming
2022-05-18 11:23:38 +02:00
Jakub d6d7ea592e GODT-1560: Dependecy licenses update and link. 2022-05-18 10:54:16 +02:00
Jakub d356f306d9 Other: Change copyright year 2022-01-04 11:04:30 +01:00
James Houlahan f5624c9932 GODT-1051: Add factory reset to bridge object
- remove deleted test no_internet.feature
- clean up old remnants of import export
- FactoryReset docstring
2021-11-30 10:12:36 +01:00
Jakub 2d95f21567 Other: add straightforward linters 2021-04-08 16:09:40 +02:00
Jakub 1f18d9d917 GODT-1117 Do not change updates location for Bridge now 2021-03-24 10:45:55 +01:00
Michal Horejsek 904166c01c GODT-247 Cache and update files moved from user's cache to config 2021-03-01 14:06:58 +00:00
Michal Horejsek 7468ed7dc0 GODT-976 Exclude updates from clearing cache and clear cache, including updates, while switching early access off 2021-02-10 12:34:37 +00:00
James Houlahan b9ee4a152a refactor: remove go-appdir dependency 2021-01-25 13:40:24 +00:00
James Houlahan 07d9bc0831 Happy New Year (silent updates) 2021-01-15 13:22:56 +00:00
James Houlahan dc3f61acee Launcher, app/base, sentry, update service 2021-01-15 13:22:55 +00:00