Commit Graph
4549 Commits
Author SHA1 Message Date
Joseph Nuthalapati 382e23636a pagekite: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:11 -04:00
Joseph Nuthalapati 3ec55ddecd sharing: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:05 -04:00
Joseph Nuthalapati b18a80f0f2 backups: Implement disabling web configuration during backup
- Introduce a BackupApp class to store all information about application being
  backed up. This cleans up apps lists vs. manifest lists spread out in the
  code.

- Introduce ServiceHandler to abstract dealing with services and web
  configuration.

- Add enable and disable actions in apache action.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:28:54 -04:00
Joseph Nuthalapati 5ee0f71e62 shadowsocks: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:28:45 -04:00
Joseph Nuthalapati 5f15fdda45 quassel: Enable backup/restore
- All the configuration is in data folder, no custom configuration.

- SSL certificate is in the data folder.

- Users, logs etc. are in sqlite file in the data folder.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:28:26 -04:00
Joseph Nuthalapati 9305afea9c mediawiki: Run update script for 1.31 upgrade
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-10-08 11:01:29 +05:30
Johannes Keyser 6aef3979ea Translated using Weblate (German)
Currently translated at 100.0% (1001 of 1001 strings)
2018-10-06 16:27:03 +02:00
Joseph Nuthalapati e001a37449 transmission: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:17 -04:00
Joseph Nuthalapati 95664015ac coquelicot: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:09 -04:00
Joseph Nuthalapati 8a2e27e8e0 jsxc: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:05 -04:00
Joseph Nuthalapati 12620fe7c0 searx: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:03 -04:00
Joseph Nuthalapati 6cb37ac19e roundcube: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:01 -04:00
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