1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00
Commit graph

23 commits

Author SHA1 Message Date
ratchek
2cb9afd4d5
Add a dev mode that allows for local storing of config files and logs (#1682)
Allows vorta to be called with the command-line flag `--development` or `-D` that will make it use a directory in the project tree to store all the settings, logs, and cache. This default directory will be called `.dev_config` and placed in the projects root.
Also allows for a custom directory path allowing for multiple "configuration" folders at once.
This can be used to prevent the vorta instance that a developer is working on from accessing the configuration files that they have set up for their personal backups.

* .gitignore : Add `.dev_config`.

* src/vorta/utils.py (parse_args): Add `--development` flag. The default will be `DEFAULT_DIR_FLAG`.

* src/vorta/utils.py : Add `DEFAULT_DIR_FLAG`.

* src/vorta/config.py : Add methods for populating the config directories exposed by this module.

* src/vorta/__main__.py (main): Handle `--development` flag and update config directories if its specified.

* Access config constants through the `config` module instead of importing them directly with `from .config import`.

---------
Co-authored-by: yfprojects <62463991+real-yfprojects@users.noreply.github.com>
2023-05-30 10:43:20 +00:00
yfprojects
35d9a3b438
Adjust dev files for borgbase/vorta.borgbase.com#32 (#1585)
* Add `pre-commit` to developer requirements.

* Add virtual python environments to `.gitignore`.

* Update pull request template.

---------

Co-authored-by: real-yfprojects <real-yfprojects@users.noreply.github.com>
2023-02-14 07:38:27 +00: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
2d85641d55
Update translations, ensure new store module is included (#1139) 2021-12-17 19:56:37 +04:00
Manu
9b88c15a22
macOS packaging on Github Actions, update translations (#768) 2021-01-19 15:17:10 +08:00
Manu
1d65d0cba5
Use naked en locale instead of en_US. Fixes #623 (#626) 2020-09-08 08:22:26 +08:00
Julian Hofer
e3eac62c75 Include Flatpak in Repository 2019-05-05 16:26:28 +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
a1d41612b1
Remove keyring dependency. Fixes #190. By @Hofer-Julian
* Implement secretstorage backend for DBus connection
* Use newer Ubuntu version for Travis CI testing
2019-03-06 09:37:12 +08:00
Manuel Riel
6e0904647b
Translation-related improvements and German translation (#146)
* Add translations with a minimum of 90% completion.
* Adjust packaging to include compiled .qm files. Fixes #135
* Improve repo tab layout. Avoid overflowing lines. #139
2019-01-20 22:46:01 +08:00
TW
e15675599e i18n infrastructure and policy (#134)
- Adds support for translating Python strings and .UI files with Qt's `QTranslator` class.
- Integrates the Transifex cloud translation service for managing translations.
- Adds translation policy and guidelines to `CONTRIBUTING.md`
2019-01-20 11:50:10 +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
Manu
175a00726f Add Makefile to enable building macOS app package. 2018-11-21 16:22:33 +08:00
Manu
7fe2ab2f01 Package macOS app as DMG. Add Sparkle Framework. 2018-11-21 16:17:27 +08:00
Manu
1886635962 Add Vagrantfile 2018-11-13 14:49:42 +08:00
Manu
0578df4019 Update README. Clean up setup.cfg. Debug pytest segfault. 2018-11-05 18:30:59 +08:00
Manu
3a5eafd061 Replace peewee_migrate with native solution. Fix window activation. 2018-11-02 00:53:41 +08:00
Manu
6e4fcb9583 Improve packaging 2018-11-01 13:11:37 +08:00
Manu
4c375f9547 Fix bug related to empty excludes, add version and app icon. 2018-10-28 23:40:38 +08:00
Manu
8cede50bd1 Implement adding ssh keys. Start adding mounting. 2018-10-27 15:00:56 +08:00
Manu
443b61a60c Finish packaging. 2018-10-27 00:01:59 +08:00
Manu
a967d0d455 test elements. 2018-10-25 20:20:25 +08:00
Manu
2b4599772c initial commit 2018-10-25 18:25:48 +08:00