Commit Graph

400 Commits

Author SHA1 Message Date
Julian Hofer f2fc343f50 Update flatpak manifest 2020-06-01 13:56:48 +02:00
Manu 09b697e395
Add error message when Borg binary is missing. Fixes #333 (#480)
* 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
2020-06-01 16:02:38 +08:00
Manu 6bad1bccf8 New setting to store previously selected profile. Fixes #241 2020-05-31 20:01:50 +08:00
vapaavetehinen eedd1184a5 Prevent duplicate repos from being added. Fixes #473
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.
2020-05-31 19:51:28 +08:00
Manu 79ef4717d7
Proper dark style support and removal of style hacks (#475)
* 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`.
2020-05-31 19:29:26 +08:00
Manu fa3235c5c2
Fix English language UI for tests. Fixes #414 (#476) 2020-05-30 19:49:21 +08:00
Manu edaed7b1cc Release script fix 2020-05-26 12:01:22 +08:00
Manu 0b44d00f47 Bump version 2020-05-26 11:30:06 +08:00
Manu 0d9d3c55ca Hotfix to only use darkmode fix in actual darkmode. 2020-05-26 11:27:37 +08:00
Manu 4c0c2450bd Bump version 2020-05-26 11:09:20 +08:00
Manu 4c50c99a4c
Avoid starting Borg thread at the end of test. (#465) 2020-05-22 20:49:04 +08:00
Manu a765c32681 Resolve new E741 linting error 2020-05-22 16:22:36 +08:00
Manu 361c5a1775
More reliable/gentle cancel (#412)
* Kill Borg with SIGINT instead SIGTERM
* Only send sigint to top-level process
2020-05-22 16:16:20 +08:00
Manu 426b849938
Ignore Wifis with missing network name on macOS. Fixes #429 (#440)
* Ignore Wifis with missing network name on macOS. Fixes #429
* Fix additional exception when Wifi list cant be parsed as reported by @kdambekalns.
2020-05-22 16:09:39 +08:00
Manu 08598cb45e
Temporary fix for dark style. Fixes #326
* Ignore Wifis with missing network name on macOS. Fixes #429
2020-05-22 16:02:37 +08:00
Samuel BENARD e82e35363f
Correct window size on hidpi screen (#460) 2020-05-22 15:56:40 +08:00
Yegor Timoshenko a4436d8f24 Set StartupWMClass= in com.borgbase.Vorta XDG desktop file 2020-04-17 22:10:03 +02:00
TheReal1604 787c36273e
Display "NaN" if size of borg repository is out of bounds (#433) 2020-04-07 11:16:23 +08:00
Brendan Van Hook 0c953a98d4 Add confirmation dialog when deleting a profile. Fixes #222 2020-03-23 14:37:21 +08:00
Will Thompson 9dd58c1eee
appdata: Add money-purchasing to OARS data (#418)
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.
2020-03-23 14:20:56 +08:00
Julian 3b6c5f2d3c
Rewrite of borg diff core (#373)
- 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.
2020-03-23 14:20:09 +08:00
Julian Hofer 4a8d6e8768 Make Vorta icon rectangular 2020-03-19 07:21:52 +01:00
Manu a19d651fcb
Remove executable bit from SVGs. (#411) 2020-03-09 11:11:39 +08:00
Manu facfbf29f4 Bump version to 0.6.24 2020-03-03 13:29:20 +08:00
Manu 82844a17b4
Add macOS notarization, use Github Workflows for testing (#407)
* Improve macOS packaging, add notarization.
* Properly use QApplication while testing, remove workarounds.
* Use Github Workflows instead of Travis.
* Remove outdated test workaround.
2020-03-03 13:19:36 +08:00
Manu f902f200a6 Add Czech and Finnish translations. Thanks to Pavel Borecki and Jiri Grönroos! 2020-02-27 21:03:57 +08:00
Manu 444f09ceec
Add CONTRIBUTORS file and copyright note. Fixes #403 (#404)
* Add CONTRIBUTORS file and copyright note. Fixes #403
* Add credits for Czech and Finnish translators.
* Minor Travis fix
2020-02-27 20:54:44 +08:00
Manuel Riel d0c138a0c2
Run in foreground by default (#380)
* Run in foreground by default
* Open main window on startup by default.
* Remove redundant comment
* PEP8 fixes
2020-01-03 22:23:06 +08:00
Julian Hofer 78a22de54e Update appdata.xml in order to include new website (#387) 2019-11-28 17:30:51 +08:00
Julian Hofer 95a9744d1e Improve flatpak setup (#370)
* 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
2019-11-04 15:31:21 +08:00
Julian Hofer bc9e311f48 Don't refresh after profile change anymore (#376) 2019-10-24 13:09:16 +08:00
Manu 2e21fff768 Bump version 2019-10-10 13:17:37 +08:00
Manuel Riel a991440b3d
Always mount with current user and read-only perms. (#363) 2019-10-10 11:59:37 +08:00
Philip Roche af7cc3dd2b Improve checks for +/- in diff line (#359)
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
2019-10-07 12:07:06 +08:00
Julian Hofer bf7185c5f2 Fix spelling mistake in variable (#360) 2019-10-07 10:32:42 +08:00
Aidan Pieper 47739b9663 Enable sorting of archive table columns (#349) (#361)
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
2019-10-02 12:05:40 +08:00
Philip Roche 6c69f3689e Bugfix for handling 0 byte modification in diff view (#356)
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
2019-09-04 10:03:42 +02:00
Hofer-Julian f103d78af1
Support permission change reports of borg diff 2019-08-26 21:39:47 +02:00
Julian Hofer d770763c96 Fix diff-bug with removed/added links
Fixes #350
2019-08-25 15:00:41 +02:00
Manuel Riel eb2b47b4b1
Move setting prune options to right place. Fixes #339 (#342) 2019-08-21 20:54:00 +08:00
Manu 0e24bc00c2 Bump version 2019-08-03 14:13:01 +08:00
Manuel Riel d86bbf1cbd
Remove redundant docs from repo and link to new website. (#334)
* Remove redundant docs from repo and link to new website.
* Reduce Matrix advertising a bit.
* Remove first website link.
2019-07-25 12:16:44 +08:00
Julian Hofer 1bb780897c Default opt-in for enable_notifications_success if system tray is not available 2019-07-20 18:47:24 +02:00
Julian Hofer dd9b97b1b8 Rename background-option to daemonize 2019-07-20 18:47:24 +02:00
Julian Hofer 815df602aa Implement close-question for DEs without system tray 2019-07-20 18:47:24 +02:00
Julian Hofer 3138cc955e Fix autostart icon 2019-07-20 18:47:24 +02:00
Julian Hofer 9e0968e66f Allow is_system_tray_available to be called with running event loop
Extend Flatpak permissions
2019-07-20 18:47:24 +02:00
Brendan Van Hook d6347b6caf Add option for starting Vorta in foreground. 2019-07-20 18:47:24 +02:00
Hofer-Julian b300ef042a
Adding options to get in touch (#325) 2019-07-20 18:30:19 +02:00
Julian Hofer 2e895ac2f3 Fix borg diff 2019-07-12 23:10:22 +02:00