Commit Graph
5099 Commits
Author SHA1 Message Date
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 7248f0eaa6 coquelicot: Fix upload file functional test
When the application state is disabled to start with, the test would fail.
Ensure that application is enabled at the start of the test.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:19 -04: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 eea5d6b754 transmission: Implement upload torrent functional test
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:15 -04:00
Joseph Nuthalapati a214e64175 tests: Reduce time for polling in functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:13 -04:00
Joseph Nuthalapati c83a3cd22e coquelicot: Implement functional tests with uploading file
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:11 -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 968f2a19ed backups: Allow restoring backups with no files
This still makes sense because restoration might restore settings and state of
application being installed (to be implemented).

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:59 -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
James Valleroy aef837c9d6 functional_tests: Check ejabberd contact list more robustly
Retry jsxc login if it gets disconnected.

Fixes #1393.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 18:59:51 -04:00
James Valleroy 6bf2b88874 functional_tests: Make coquelicot password entry more robust
Ensure the password form is scrolled into view.

Fixes #1386.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 18:57:09 -04: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
Robert Martinez 684cd7f6a1 Change maximum cards per row #1308
This should fix #1308 by setting .container and .card-list to a
max-width of 1000px

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-30 07:20:20 -04:00
Robert Martinez 4b0d48839e Add tint effect on card icons under "Apps"
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-29 22:35:44 -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
James Valleroy a71f3e7a66 debian: Add Portuguese translation for debconf messages
Closes: #909745

Thanks to "Traduz" - Portuguese Translation Team for the patch.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-27 19:22:52 -04: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
James Valleroy d37ba6217e upgrades: Keep config file when disabling
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-27 12:42:26 +05:30
James Valleroy 5df13f7147 upgrades: Don't change origins pattern list
unattended-upgrades installs upgrades from ${distro_codename},
label=Debian by default.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-27 12:42:11 +05:30
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
James Valleroy 71d8f1f923 ci: Prevent installing fuse
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-26 15:53:15 +05:30
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>
v0.39.0
2018-09-24 19:39:56 -04:00
James Valleroy 32727e23d5 Cleanup udiskie module
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 19:39:19 -04:00