2437 Commits

Author SHA1 Message Date
Joseph Nuthalapati
8df5b09d0a
privoxy: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:58 -04:00
Joseph Nuthalapati
4b3a3483a9
mumble: Implement backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:56 -04:00
Joseph Nuthalapati
eb490e6faa
cockpit: Add clients and backup manifests
- Clients information allows us to show launch web interface button consistently
  like other applications instead of showing it in the description.

- Empty backup information allows for the application to be installed when a
  backup is restored.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:54 -04:00
Joseph Nuthalapati
0be12affba
backups: Minor styling fixes
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:52 -04:00
Joseph Nuthalapati
8d7ede728e
backups: List apps that don't require backup too
- This serves two purposes. First is to assure user in the interface that backup
  of the module is not required. Second is to make sure that if an application
  is installed during backup it is also reinstalled during restore process (this
  need to be implemented).

- Allow backup test to run independently. Initialize the cfg module so that
  load_modules() works.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:50 -04:00
Joseph Nuthalapati
26764b7370
backups: Rename test_backup to test_api
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:48 -04:00
Joseph Nuthalapati
852455b519
mediawiki: Backup/restore settings also
Closes #1392.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:45 -04:00
Joseph Nuthalapati
0ce97005b2
backups: Rename the backups API module
- Also other minor refactoring.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:43 -04:00
Joseph Nuthalapati
d48ab72cf0
backups: Remove empty keys in backup manifest data
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:41 -04:00
Joseph Nuthalapati
6b8b40cda6
backups: Relax schema for backup manifest data
Only check validity of keys if they are present. Allows writing simpler manifest
files without losing any information.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:37 -04:00
Federico Ceratto
898efe0826 Translated using Weblate (Italian)
Currently translated at 52.4% (525 of 1001 strings)
2018-10-04 01:16:08 +02:00
Pavel Borecki
a7b4039b63
Translated using Weblate (Czech)
Currently translated at 100.0% (1001 of 1001 strings)
2018-10-03 20:24:04 +02:00
Michael Pimmer
d8fc2057d4
Backup module: added some unittests; minor doc updates
- added unittests
- introduced function backups.get_location_path()
- minor docstring / comment and naming updates

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-01 07:01:03 -04:00
Michael Pimmer
7da361bbca
Backup module: Implemented uploading files
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-01 07:00:57 -04:00
Michael Pimmer
35446f2ca4
Backup module: Implement downloading archives
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-01 07:00:51 -04:00
James Valleroy
9b509e2610
home: Also display card title above icon
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-01 05:53:20 -04:00
Robert Martinez
40335b5951
Change card text style and position
This should close #1306 – changing text styles and position.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-01 05:39:49 -04:00
Joseph Nuthalapati
647139f17e
Don't disable installation when apt lists are empty
We are wrongly showing a warning message and disabling the install button on the
setup page on newly spun up AWS cloud images. This is a false positive since the
applications might be available in Debian but the apt caches are not updated.
Taking care of this issue as well.

The function returns None and not False to distinguish this as a case different
from returning a result about whether the package is unavailable or not.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-29 22:02:34 -04:00
Robert Martinez
df7774a24b
Translated using Weblate (German)
Currently translated at 99.6% (997 of 1001 strings)
2018-09-29 11:26:35 +02:00
David Maulat
570f737b58 Translated using Weblate (French)
Currently translated at 78.8% (789 of 1001 strings)
2018-09-28 01:43:55 +02:00
BO41
ed701565ea Translated using Weblate (German)
Currently translated at 99.5% (996 of 1001 strings)
2018-09-27 09:13:31 +02:00
Pavel Borecki
6f9b24af11 Translated using Weblate (Czech)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-27 09:13:31 +02:00
advocatux
8c5ea161c7 Translated using Weblate (Spanish)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-26 12:23:55 +02:00
Augusto Borin
86a962e258 Translated using Weblate (Portuguese)
Currently translated at 6.7% (68 of 1001 strings)
2018-09-26 12:23:55 +02:00
Allan Nordhøy
a8bd82bcfc
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-26 04:33:38 +02:00
James Valleroy
c7047a2bd3
Release v0.39.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 19:39:56 -04:00
James Valleroy
297b059638
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 18:49:10 -04:00
Joseph Nuthalapati
a307476634
udiskie: Merge into storage module
udiskie is now an essential module that will be installed along with storage.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 18:04:50 -04:00
Joseph Nuthalapati
f172925d9d
backups: Simplify getting included apps during restoring
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:54 +05:30
Joseph Nuthalapati
f2528c434d
backups: Minor refactoring in finding exported archive
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:47 +05:30
Joseph Nuthalapati
670f58019e
backups: Minor styling fixes
- More descriptive iteration variables
- Run yafp, isort

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:39 +05:30
Joseph Nuthalapati
dc781b03fa
backups: Make getting all apps method public
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:18 +05:30
Joseph Nuthalapati
a601be246a
backups: Reword the no-apps-installed message
Also fix indentation.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:07 +05:30
James Valleroy
b72d8fdc45
backups: Show disabled 'New backup' button when no apps installed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:45:10 +05:30
James Valleroy
a797a51135
backups: Rename 'Create archive' to 'New backup'
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:51 +05:30
James Valleroy
f500e3a027
ikiwiki: Add sites folder to backup data
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:07 +05:30
James Valleroy
94a1b37700
backups: Add more basic tests for backups API
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:53 +05:30
James Valleroy
4d8b3c145d
backups: Use backups API for restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:43 +05:30
James Valleroy
481a299250
backups: When restoring, only list apps included in backup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:36 +05:30
James Valleroy
2a9a220770
backups: Use valid filename for manifest
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:26 +05:30
James Valleroy
461fe21a19
backups: Add apps selection to restore form
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:17 +05:30
James Valleroy
50b4bc86ae
backups: Confirm that archive exists before restoring
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:09 +05:30
James Valleroy
5c90e9c68b
backups: Don't display time as separate column
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:43 +05:30
James Valleroy
55355726d5
backups: Use valid filename for export
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:32 +05:30
Joseph Nuthalapati
5633fccaa3
backups: Check if paths exist before passing them to borgbackup
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:24 +05:30
Joseph Nuthalapati
7997835c27
backups: Support multiple backups in one day
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:08 +05:30
James Valleroy
e815256b22
backups: Include app versions in manifest file
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:00 +05:30
James Valleroy
d76322a362
backups: Dump manifests file and include it in backup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:41 +05:30
James Valleroy
616af37407
backups: Disable create archive when no supported apps are installed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:34 +05:30
James Valleroy
3681985f40
backups: Patch actions for shutdown services test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:23 +05:30