Commit Graph

58 Commits

Author SHA1 Message Date
Andreas Zweili a5b6871b4c move the startpoint into its own function 2019-05-31 10:41:17 +02:00
Andreas Zweili 874a0bfafb Merge branch 'master' into package 2019-05-12 21:02:40 +02:00
Andreas Zweili 2700a36537 add the mount check to the delete method 2019-04-28 20:34:35 +02:00
Andreas Zweili bf8d132620 move the mount check to it's own method 2019-04-28 20:34:17 +02:00
Andreas Zweili 582fe2914b correct dialog text 2019-04-28 20:33:32 +02:00
Andreas Zweili ef189be7cf add a prune function 2019-04-28 20:01:17 +02:00
Andreas Zweili d87b1c953b Make the archive label clearer 2019-04-28 18:39:05 +02:00
Andreas Zweili 01bb72e14c start migrating the project to a package 2019-04-22 10:28:50 +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 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 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 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 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 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 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 729c92ed41 fix a key lookup in the Config class 2019-01-27 21:42:48 +01:00
Andreas Zweili 0ae781745e add various comments 2019-01-27 14:49:31 +01:00
Andreas Zweili ece12ba03c remove an unused file 2019-01-27 14:29:47 +01:00
Andreas Zweili 258d978a02 move the first config read into a method 2019-01-26 11:25:26 +01:00
Andreas Zweili 24f4648bd9 show error dialog when config file is missing 2019-01-26 10:41:12 +01:00
Andreas Zweili 6c9e64f9dc add a function to display an error dialog 2019-01-26 10:40:51 +01:00