Commit Graph

86 Commits

Author SHA1 Message Date
Andreas Zweili 5d80c72384 migrate from unittest to pytest 2019-04-21 22:27:25 +02:00
Andreas Zweili 1e7b87bc01 extend the excludes in the config example
Borg-Qt doesn't have the permission to read the .dbus directory therefore it
should get ignored.
2019-04-20 14:19:03 +02:00
Andreas Zweili cecccec255 clean up the todo table 2019-04-16 20:54:49 +02:00
Andreas Zweili 0bc90981c7 change the targets table to the markdown format 2019-04-16 20:48:14 +02:00
Andreas Zweili 5cb22c49f4 change the README from org to markdown
org is a format specific to the org-mode plugin for Emacs. Markdown should make
it easier for other contributors to provide changes.
2019-04-16 20:38:47 +02:00
Andreas Zweili 86399b242a fix the window size of the help window 2019-03-31 19:55:21 +02:00
Andreas Zweili 4399217400 set the main window to a fixed size 2019-03-31 19:47:32 +02:00
Andreas Zweili 276d12a835 fix: create the systemd folder if it doesn't already exist 2019-02-23 14:24:15 +01:00
Andreas Zweili d3b94ac49d resize the help checkbox widget 2019-02-18 16:32:19 +01:00
Andreas Zweili 5fb21b0f76 add a help dialog 2019-02-18 16:26:38 +01:00
Andreas Zweili e834f350b7 reorder the example config 2019-02-18 16:26:22 +01:00
Andreas Zweili f44d4ab0d4 extend the example configuration 2019-02-18 13:07:43 +01:00
Andreas Zweili 38a3a6bfc7 Add background functionality 2019-02-18 13:00:11 +01:00
Andreas Zweili 0fa077989d add a debug function to work with pdb 2019-02-16 11:34:59 +01:00
Andreas Zweili 3d222e3236 reimplement the run method on the backup class
For some reason the BorgExceptions from the backup thread don't get caught in
the main_window. Therefore I'm implementing the error handling directly in the
class for the moment. This will have the side effect that the error dialog will
pop up when there is a problem during a background backup.

However that is anyway something I thought about implementing. This way it's
just not properly implemented yet.
2019-02-16 11:29:30 +01:00
Andreas Zweili 143f01d1e8 Revert "fix the displaying of the error dialogs"
This reverts commit 37985fbb24.
2019-02-16 11:23:44 +01:00
Andreas Zweili 37985fbb24 fix the displaying of the error dialogs
Exceptions which get raised in threads don't bubble up into the main code on
their own. So we either communicate them to the main loop or we handle them
directly in the thread. I'm going for the later for the moment because the
other way seems to be quite complex.
2019-02-16 10:17:13 +01:00
Andreas Zweili 1d7f6363d9 change pass to return in the error processing method
Passing lets the function to continue however we want to stop it early
therefore we return.
2019-02-16 10:16:07 +01:00
Andreas Zweili 26b171fb34 fix the remove venv command in the make file 2019-02-16 10:14:52 +01:00
Andreas Zweili 8f4a08e418 fix the shebang in the main script 2019-02-16 10:14:25 +01:00
Andreas Zweili 29780723f6 empty the mount_paths property after unmounting the archives 2019-02-16 10:12:38 +01:00
Andreas Zweili d283c58a2f add dialog to unmount all archives before creating a new one 2019-02-15 21:27:00 +01:00
Andreas Zweili a2936ba1e9 unify dialog texts 2019-02-14 22:55:16 +01:00
Andreas Zweili d3534d2cbb make the include and exclude UI clearer to read 2019-02-14 22:49:33 +01:00
Andreas Zweili ab26d952ed add/update and extend various comments 2019-02-10 17:21:41 +01:00
Andreas Zweili 4c3fb85fcf fix a typo 2019-02-10 17:19:00 +01:00
Andreas Zweili cb65baf8e5 remove unnecessary code 2019-02-10 16:17:26 +01:00
Andreas Zweili 48e5f28cf3 add a path is writeable check to the restore function 2019-02-09 14:09:32 +01:00
Andreas Zweili 52d7215094 extend the delete function with a yes/no dialog 2019-02-09 10:14:48 +01:00
Andreas Zweili 8c9f7bc329 rework the borg interface 2019-02-07 21:35:14 +01:00
Andreas Zweili 6ad26c4f3e fix the backup funcionality
Wrapping the excludes in "" was a stupid idea. Since it's already a string it's
totally unnecessary.
2019-02-04 16:24:12 +01:00
Andreas Zweili d8e2129b47 make sure that the mount path only gets appended if the mount worked 2019-02-04 16:23:48 +01:00
Andreas Zweili 1a1aa5dee8 improve the excludes in the example config 2019-02-04 15:48:40 +01:00
Andreas Zweili 23dd1ae1a8 remove the static info label 2019-02-04 15:11:48 +01:00
Andreas Zweili cf55232fc5 hide the password 2019-02-04 10:19:04 +01:00
Andreas Zweili bbc94b5f5c move the description labels closer together 2019-02-04 10:18:40 +01:00
Andreas Zweili 2c8b852f09 fix the server path 2019-02-03 21:50:50 +01:00
Andreas Zweili 2c33a06d9b extend error messages 2019-02-03 21:36:47 +01:00
Andreas Zweili e4848911d7 remove unused imports 2019-02-03 21:36:37 +01:00
Andreas Zweili 8ddf7dbae6 make sure the restore tests cleans up after itself 2019-02-03 21:36:24 +01:00
Andreas Zweili f5c052c2ee refactor code to use the create_path and remove_path functions 2019-02-03 21:35:53 +01:00
Andreas Zweili 1ae842f81e add mount functionality 2019-02-03 21:34:36 +01:00
Andreas Zweili df95a80b37 extend test_write_config to check every value in the config 2019-02-03 19:38:20 +01:00
Andreas Zweili 598fca281e remove an unused import 2019-02-03 19:38:04 +01:00
Andreas Zweili 2e67c1200a add delete functionality 2019-02-02 16:37:38 +01:00
Andreas Zweili b42ddcc0e0 add restore functionality 2019-02-02 14:54:37 +01:00
Andreas Zweili 4c97722ca6 update the readme 2019-02-02 14:52:38 +01:00
Andreas Zweili d82f2da824 add backup functionality 2019-02-02 11:27:38 +01:00
Andreas Zweili a37125ec87 use _return_single_option whenever there is a option lookup needed 2019-01-28 11:14:43 +01:00
Andreas Zweili 91eb47a536 make tests for absent and empty options more robust 2019-01-28 11:14:13 +01:00