Commit Graph

18 Commits

Author SHA1 Message Date
Andreas Zweili 874a0bfafb Merge branch 'master' into package 2019-05-12 21:02:40 +02:00
Andreas Zweili ef189be7cf add a prune function 2019-04-28 20:01:17 +02:00
Andreas Zweili 01bb72e14c start migrating the project to a package 2019-04-22 10:28:50 +02: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 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 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 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