Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change conf path XDG_CACHE_HOME to XDG_STATE_HOME #9755

Merged

Commits on Aug 18, 2023

  1. Change conf path XDG_CACHE_HOME to XDG_STATE_HOME

    Keepassxc saves application state at XDG_CACHE_HOME which can be cleared on some systems periodicly.
    This is not desireable as app state like window size is not consistent when openning the app.
    To avoid this this commit is switching the path to XDG_STATE_HOME which is more fitting based on the freedesktop basedir spec (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), this will allow to prevent state file deletion as well.
    
    Solves keepassxreboot#9738
    jNullj committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    31c7159 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    134c56d View commit details
    Browse the repository at this point in the history
  3. fix format

    jNullj committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    b8bcf23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5ca0bb View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. remove unnecessary condition

    jNullj committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    2eecf98 View commit details
    Browse the repository at this point in the history
  2. Improve code readability

    jNullj committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    0cd5ce4 View commit details
    Browse the repository at this point in the history
  3. Improve performance

    Only generate oldLocalConfigPath if the local config is missing and the old config path should be checked.
    Before this commit oldLocalConfigPath would always get generated, while it won't be needed most of the time.
    jNullj committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    d77ef9d View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. Improve code readability

    jNullj committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    85a2b74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74c0f3d View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Configuration menu
    Copy the full SHA
    bb9700d View commit details
    Browse the repository at this point in the history