Commit Graph

112 Commits

Author SHA1 Message Date
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
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 1212af9a64 fix a unittest 2019-01-26 11:45:30 +01:00
Andreas Zweili a0fcf76075 remove unused import 2019-01-26 11:45:17 +01:00
Andreas Zweili 5e692032fe move the BorgQtTestCase into its own file 2019-01-26 11:44:51 +01:00
Andreas Zweili 258d978a02 move the first config read into a method 2019-01-26 11:25:26 +01:00
Andreas Zweili 41eb500132 Merge branch 'master' into exceptions 2019-01-26 10:41:38 +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
Andreas Zweili ccfbc843f1 move the window title after the loadUi method
otherwise the title get's overwritten again
Found here in the comments:
https://stackoverflow.com/a/32097504/7723859
2019-01-26 10:38:30 +01:00
Andreas Zweili 95fa81c13e change windows title to Borg-Qt 2019-01-26 10:29:04 +01:00
Andreas Zweili 8d7d5ead2d remove old comments 2019-01-24 21:38:37 +01:00
Andreas Zweili 7d11a3664f Add todos/targets list 2019-01-24 21:38:02 +01:00
Andreas Zweili 3e657a56ac remove unused import 2019-01-24 17:59:02 +01:00
Andreas Zweili c618146b28 correct a path in the build script 2019-01-23 21:34:38 +01:00
Andreas Zweili eabaffec26 Add GUI functionality for the config 2019-01-23 21:34:08 +01:00
Andreas Zweili 4a1f97a096 add a script to help with testing the application 2019-01-20 20:56:46 +01:00
Andreas Zweili b881616d3a add the 'make test' command 2019-01-20 20:56:19 +01:00
Andreas Zweili 625e5c98ee update development section in readme 2019-01-19 16:28:02 +01:00
Andreas Zweili c5d883e82d add a Config class 2019-01-19 16:24:59 +01:00
Andreas Zweili d7e05bb76b add a custom exception 2019-01-19 16:24:18 +01:00
Andreas Zweili 03a0e1cb2a extend the example configuration 2019-01-19 16:23:49 +01:00
Andreas Zweili 4135986745 add a context file for tests
With the context file on can import modules from the main package. This is very
helpful for tests.

Just do, import context in each test to activate it.
2019-01-18 16:48:16 +01:00