1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 13:45:49 +00:00
Commit graph

76 commits

Author SHA1 Message Date
Manu
4c3e97a76c
Refactor: Split up vorta/models.py (#1112) 2021-11-17 13:14:11 +04:00
Manu
0c77fdde97
Address DB Locking issues (#1109) 2021-11-16 10:32:40 +04:00
Manu
b38e986683
Use native threading module in job_manager. (#1096) 2021-11-12 11:05:31 +04:00
Manu
c7a1077fec
Remove APScheduler dependency, Python 3.10 support (#1086) 2021-10-27 08:37:28 +04:00
Bastien
54d8bbe6b1
Implement multiple queues. By @bastiencyr (#1045)
Scheduler now has the ability to run jobs on multiple repositories concurrently and run multiple jobs on one repo (by queuing them).

For each repository, there is one queue. I have represented a queue by a 'site'. Between sites (ie repository), tasks run concurrently. On one site, tasks run one by one. The user also run tasks by adding them to the queue but he can't run multiple backups because start backup button is disabled when a job is running.
2021-10-04 15:31:41 +04:00
Philipp Hossner
ff010b3bc4
Handle malformed .vorta-init.json on import. Fixes #1053. By @phihos (#1054)
Show error dialog when .vorta-init.json is malformed.
2021-08-12 08:32:08 +04:00
bastiencyr
5700f096bb
Fix for diff command (#1019)
Fixes #1016
2021-06-20 14:15:19 +04:00
Philipp Hossner
5192bd132c
Import/export settings (or bootstrap with default config). By @phihos (#955) 2021-06-05 15:15:38 +04:00
bastiencyr
292066f8b7
Put folders first in diff/extract. Fixes #915. By @bastiencyr (#999) 2021-05-30 19:21:27 +04:00
Robert Blenis
61326e1814
Fix issue #940 - KeyError in get_dict_from_list. By @rblenis (#947)
* fix issue #940 - KeyError in get_dict_from_list
- cause of error : defaultdict added more defaultdict while attempting to traverse the tree, but once a 'potential leaf' node was added, it was added as a dict, not a defaultdict.
- two possible solutions:
    - 1 - change everywhere that adds a 'potential' leaf node to add a defaultdict (ie nested_dict()) - this occurs in several places, but not many.
    - 2 - change get_dict_from_list to add a default dict (not defaultdict) when traversing the tree, for the case where a multi-level node is added on top of an existing node. This requires only changing a single location, and means that the dictionaries returned by accessing the tree will behave like normal dict (ie, won't by default add missing keys).
* Add test case for issues #940 and #925
2021-04-12 22:54:32 +08:00
Robert Blenis
0f5335ed7f
Add support for 'diff --json-lines'. By @rblenis (#909)
* add support for 'diff --json-lines' available in borg 1.1.16.
* fixes issue #901 (diff not handling CR/LF in filenames)
* improve `pretty_bytes()` formatting function
2021-03-30 07:47:27 +08:00
Robert Blenis
c66b1026c7
Use json mode to list archive files. By @rblenis (#885) 2021-03-01 16:49:49 +08:00
Manu
6d8ad901fb
Allow to fully disable using the system keychain. (#898)
- Add option to avoid using system keychain.
- Prioritize keychains first. Then try to start them.
- Maintenance: Possible fixes for hung tests and segfault on exit on some setups.
2021-03-01 15:25:31 +08:00
Manu
7949e80381
More test fixes, avoid segfault when quitting (#877) 2021-02-22 09:45:43 +08:00
samuel-w
95d964c40f
Add mount option override checkbox. By @samuel-w (#682)
* Tests: avoid clicking other window
2021-02-18 15:01:32 +08:00
Manu
3cf2ac0c41
Add rename action. By @samuel-w and @m3nu (#864)
- Add rename action for archives
- Move archive actions to submenu
- Improve tests: remove window manager dependency
2021-02-18 09:44:10 +08:00
Manu
52233a9844
Fix flaky tests (#788)
* New DB for each test, hopefully takes care of race condition when using new DB.
* Centralize timeout setting
2021-02-17 10:14:58 +08:00
Manu
848bcc57ba
Give option to break repository lock. By @samuel-w (#863) 2021-02-17 09:58:42 +08:00
samuel-w
031a5f64ce
Allow pasting files/folders from file manager, set model defaults (#759) 2021-01-19 14:02:58 -06:00
samuel-w
7d7b7a2742
Improved password handling and transparency. By @samuel-w (#550) 2021-01-18 15:52:07 +08:00
samuel-w
3112a111f7
Cleanup database at exit, use write-ahead logging. By @samuel-w (#696) 2020-12-16 11:27:49 +08:00
Samuel
529b1da5b1
CI: Add python 3.9, labels, disable macOS mount test. By @samuel-w (#734) 2020-12-01 12:12:40 +08:00
Samuel
0b6961213f
Refactoring: remove last exec_, add tests, retain archive deletion message. By @samuel-w (#722) 2020-11-20 08:46:09 +08:00
Samuel
39b7f58483
Refactor add and rename to not use exec_. By @samuel-w (#721)
exec_ not recommended per documentation https://doc.qt.io/qt-5/qdialog.html#exec.
Now the tests run on the actual client
2020-11-19 15:44:07 +08:00
Samuel
849b980ef6
Improve autostart test. By @samuel-w (#720) 2020-11-19 07:42:21 +08:00
XXXBold
461ea05210
Display number of files and sizes in source tab. By @XXXBold (#617) 2020-10-30 16:30:52 +08:00
Samuel
47df3eccc9
Add profile add/edit test cases (#695) 2020-10-30 12:15:38 +08:00
Manu
364d401b39
Reuse existing window when bringing to front. (#674) 2020-10-03 14:27:31 +08:00
Samuel Woon
9568a1b410
Get keyring at runtime. By @samuel-w (#635) 2020-09-27 15:19:39 +08:00
Manu
a86683e2b8
Cancel Borg thread at end of test. (#648)
Maybe fixes #632
2020-09-13 12:55:10 +08:00
Tomasz Kontusz
262c91a180
Handle DBusException in NetworkManagerMonitor (#636)
* Catch DBus permission errors
* Better DBusException handling in NetworkManagerMonitor
2020-09-09 08:32:26 +08:00
Manu
1d65d0cba5
Use naked en locale instead of en_US. Fixes #623 (#626) 2020-09-08 08:22:26 +08:00
Manu
02625ba4f0
Improved progress updates. By @SergioRAgostinho 2020-09-05 22:08:36 +08:00
Tomasz Kontusz
a0e7d50318
Prevent running backups on metered network. By @ktosiek 2020-08-30 14:28:48 +08:00
Samuel Woon
3d7d97fc40
Refactor Linux autostart (#568) 2020-08-10 20:39:51 +02:00
Manu
2f68b2795c
Fix tests for PyQt 5.15 on Linux. By @samuel-w (#573) 2020-08-10 15:57:13 +08:00
Tomasz Kontusz
85eb725059
Parse owner changes in borg diff results (#553)
* Parse owner changes in borg diff results

* Report owner-only changes as "modified" in diff
2020-07-24 19:26:52 +02:00
Tomasz Kontusz
c16a7509bd
Fix parsing "changed link" lines (#510)
* Fix parsing "changed link" lines

* Move borg diff parser test to test_archives.py
2020-06-16 18:21:24 +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
fa3235c5c2
Fix English language UI for tests. Fixes #414 (#476) 2020-05-30 19:49:21 +08:00
Manu
4c50c99a4c
Avoid starting Borg thread at the end of test. (#465) 2020-05-22 20:49:04 +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
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
Julian Hofer
815df602aa Implement close-question for DEs without system tray 2019-07-20 18:47:24 +02:00
Hofer-Julian
d48bdba593 Wording change from 'password' to 'borg passphrase' (#311)
Fixes #309. Avoid confusion with SSH private key password.
2019-06-22 09:35:53 +08:00
Manuel Riel
15aebc6ceb
Get borg version and path on startup. Link to log folder. (#247)
* Get borg version and path on startup. Link to log folder. Fixes #205, #230, #120
2019-04-07 22:36:31 +08:00
Manuel Riel
b115aef19b
Reduce memory usage by removing main window from memory when closed. Fixes #207 (#208) 2019-03-04 22:49:20 +08:00
TW
e15675599e i18n infrastructure and policy (#134)
- Adds support for translating Python strings and .UI files with Qt's `QTranslator` class.
- Integrates the Transifex cloud translation service for managing translations.
- Adds translation policy and guidelines to `CONTRIBUTING.md`
2019-01-20 11:50:10 +08:00
Benjamin Pereto
c5494f455c Add Background notifications for Linux (#114)
- Add DBus-based notifications for Linux and BSD desktops (@bpereto)
- Add module name to logging output (@bpereto)
2019-01-13 09:51:35 +08:00
Manuel Riel
b64b446add
V0.6.2 – Restructure README (#97)
* Dont open main window on startup unless --foreground is given. Fixes #91
* Clean up README. #93
* Make sentry reporting a setting.
2018-12-18 19:23:34 +08:00