* Add error message when Borg binary is missing. Fixes#333
* Test failures. Stick with PyQt 5.14 for now.
* Clarify exclude file placeholder text. Fixes#314
The change to repo_add_dialog.py adds a check in the database
to see if the repo already exists, and blocks the ui with an
error message if so.
The change to repo_tab.py refactors the selector population logic
so that the selector stays in sync with the database and doesn't
leave the entry in the UI that triggers the crash.
* Remove qtdarkstyle and custom fusion style.
* Support instant changes from light to dark style
* Adjust SVG icon colors on-the-fly, adjust to dark theme in real time (macOS)
* Add OS-independent dark mode detection. Fix QToolbox style after theme changes.
* Remove some unnecessary style options, like `uses_light_icon` and `use_dark_style`.
The first tab of the app contains:
> For simple and secure backup hosting, try [BorgBase]
which links to https://borgbase.com/, which advertises hosting for Borg
repositories, starting at $2/month. This nudge towards spending real
money should be reflected in the OARS data.
The “mild” level of money-purchasing is defined as:
> Mild: Users are encouraged to donate real money, e.g. using Patreon
The “intense” level is:
> Intense: Ability to spend real money in-app, e.g. buying new content or new levels
The spending of money is not in-app here, but there is some mild
encouragement.
- It now heavily relies on regex. This was done in order to make the code more stable and easier to maintain.
- Share common code for file tree view between extract and diff.
* Improve flatpak workflow
Move from yaml to json in order to be supported by GNOME Builder
Update dependencies
* Simplify Flatpak install process
Reduce the amount of commands to install the resources
by using a single svg instead of pngs
and using install instead of mdkir&cp
* Remove unused flatpak dependencies
* Update Flatpak dependencies
There could exist a scenario when a +/- would be not at the start of the string.
Current code would fail in this case.
Instead we should check that the first character of the string is +/-.
This following on from PR # 356 https://github.com/borgbase/vorta/pull/356
This enables column sorting for the table on the archive list page.
However, all columns are sorted by lexical string order. For example,
this means that archives with "52 MB" are ranked greater than "332 MB".
Completes: https://github.com/borgbase/vorta/issues/349
An exception was thrown when diff of two archives were requested.
The exception was
'''
vorta/views/diff_result.py", line 52, in parse_line
size = int(size)
ValueError: invalid literal for int() with base 10: ''
'''
which was caused by diff line:
'''
0 B -2.6 kB home/philroche/.config/google-chrome/Profile 1/QuotaManager-journal
'''
This commit fixes the issue by only stripping +/- from string if they exist.
* Remove trailing whitespace causing flake8 failures