Commit Graph

40 Commits

Author SHA1 Message Date
real-yfprojects 24e1dd5c56
Run pre-commit (with newly added ruff) on code base.
Includes all changes by `pre-commit --all-files` including the changes introduced by ruff.
2023-05-01 10:28:11 +02:00
i1sm3ky 7535f92ac8
PyQt6 Upgrade (#1685)
This puts Vorta on PyQt6 and starts a new main branch 0.9.

---------

Co-authored-by: real-yfprojects <real-yfprojects@users.noreply.github.com>
Co-authored-by: Manu <3916435+m3nu@users.noreply.github.com>
Co-authored-by: yfprojects <62463991+real-yfprojects@users.noreply.github.com>
2023-04-17 11:17:01 +01:00
real-yfprojects ca497f8815 Run hooks on the code base.
This adds trailing lines to files,
removes trailing white space in all the other lines and unifies line endings.
Additionally it formats the test code with `black`.
2022-08-16 18:20:34 +02:00
Manu b6a24debb7 Apply automatic formatting 2022-08-15 15:23:55 +02:00
yfprojects 182d3fbe0d
Only schedule backup after a manual run, improve labels. @real-yfprojects (#1302) 2022-05-21 15:06:10 +04:00
yfprojects 4bbd091c59
Rewrite scheduler logic. By @real-yfprojects (#1204)
The scheduler now will react to a new fixed time also if 24h haven't passed yet.
All in all the code is supposed to be cleaner and easier understandable.
The logging was slightly modified.
2022-02-20 10:04:12 +04:00
Manu 0390a666e7
Minor/test fixes (#1150)
* Reorder asserts in test_ssh_dialog
* Prevent borg-check from running during tests
2021-12-24 14:26:21 +04:00
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 5192bd132c
Import/export settings (or bootstrap with default config). By @phihos (#955) 2021-06-05 15:15:38 +04: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
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 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 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
XXXBold 461ea05210
Display number of files and sizes in source tab. By @XXXBold (#617) 2020-10-30 16:30:52 +08:00
Manu 364d401b39
Reuse existing window when bringing to front. (#674) 2020-10-03 14:27:31 +08:00
Manu a86683e2b8
Cancel Borg thread at end of test. (#648)
Maybe fixes #632
2020-09-13 12:55:10 +08:00
Manu 1d65d0cba5
Use naked en locale instead of en_US. Fixes #623 (#626) 2020-09-08 08:22:26 +08:00
Tomasz Kontusz a0e7d50318
Prevent running backups on metered network. By @ktosiek 2020-08-30 14:28:48 +08:00
Manu fa3235c5c2
Fix English language UI for tests. Fixes #414 (#476) 2020-05-30 19:49:21 +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
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
Manuel Riel 3c519e4928
v0.5.3 (#80)
* Apply selection status to children in restore-dialog. Fixes #69

* Backup triggered from system tray wont use correct profile. Fixes #78

* Use the term FILE if both FILE or FOLDER is meant. Fixes #55

* Implement update check on/off setting for macOS

* Implement autostart setting for macOS. Fixes #56
2018-12-05 17:05:47 +08:00
Manuel Riel 30c6549f0f
v0.5.2 Bugfixes and new Misc Settings Tab (#71)
* Fix uneven vspace. Fixes #67

* Add Python 3.7 to Travis. Use tox to test multiple Python versions. Fixes #72

* Add command line option to avoid forking and open main window while debugging. Fixes #73

* Use slug of profile name as archive prefix. Fixes #46

* Add settings tab. Add light system tray icon option. Fixes #56 and #74

* Incorporate review by @ThomasWaldmann
2018-12-04 10:58:12 +08:00
Manuel Riel b55c32517c
v0.5.1 (#63)
* Simplify non-blocking BorgThread.run.
* Fix issue with displaying nested folders in extract-dialog.
* Fix error text expansion.
* Add many new tests. Dont open main window on startup.
2018-11-30 08:40:18 +08:00
Manuel Riel 7b881953a1
Extract cmd (#61)
* Add extract feature (#26), fix stdout/err blocking (#21)
* Other small fixes.
2018-11-27 19:33:16 +08:00
Thomas Waldmann 79936a59a5 fix a lot of trivial issues discovered by flake8 2018-11-22 01:43:37 +01:00
Manu 00de9c189b Fix tests. 2018-11-17 18:12:00 +08:00
Manu 64b391fae1 Add more tests and sample borg output. 2018-11-06 14:47:04 +08:00
Manu 0578df4019 Update README. Clean up setup.cfg. Debug pytest segfault. 2018-11-05 18:30:59 +08:00
Manu aff7816201 Implement prune and list commands. Refactor BorgThread package. 2018-11-04 16:23:17 +08:00
Renamed from tests/fixtures.py (Browse further)