Commit Graph
1713 Commits
Author SHA1 Message Date
Joseph Nuthalapati ad7f63ebfa first_setup: UX improvements for the first setup page
- Add the FreedomBox image which is shown in firstboot page to the first setup
  page as well.
- Login button is removed to avoid confusion.
- Remove the check for `setup_helper.current_operation` so that the first setup
  page seamlessly transitions into the firstboot page.

The user experience will as follows:
1. A user sees the first setup page with the warning message to wait till it is
done.
2. The page automatically refreshes and the user will notice that the warning
message is gone and will proceed to click the "Start Setup" button which just
appeared.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-30 11:24:50 +05:30
Sunil Mohan Adapa db2b796165 Update Github URLs with Salsa URLs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-01-30 11:06:13 +05:30
Joseph Nuthalapati 9dae13ada5 actions: test case for is-package-manager-busy command
comments, import optimization and YAPF formatting.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-01-30 10:57:58 +05:30
Vikas Singh 5c83dea442 actions: Allow not printing error when an action fails
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-01-30 10:57:48 +05:30
Joseph Nuthalapati 63e67b5688 YAPF formatting and optimization of imports
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-30 10:49:20 +05:30
Joseph Nuthalapati 4826f70343 firstboot: Fix caching issue in collecting first_boot steps
- Created a django singal to indicate that a setup happened

- Clearing the cached list of firstboot_steps each time the above signal is sent

Closes #1193.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-30 10:48:48 +05:30
Sunil Mohan Adapa de45c39979 Add locale for Ukrainian (uk)
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-29 13:56:07 +05:30
drashti kaushik eb9d98c9ba Translated using Weblate (Gujarati)
Currently translated at 16.6% (145 of 870 strings)
2018-01-28 13:37:22 +01:00
drashti kaushik 676cdf1f91 Translated using Weblate (Gujarati)
Currently translated at 15.2% (133 of 870 strings)
2018-01-26 08:37:42 +01:00
Joseph Nuthalapati 846b3791e5 Translated using Weblate (Telugu)
Currently translated at 55.9% (487 of 870 strings)
2018-01-25 15:41:28 +01:00
drashti kaushik 3ebbedd0be Translated using Weblate (Hindi)
Currently translated at 0.5% (5 of 870 strings)
2018-01-22 15:10:40 +01:00
drashti kaushik 61ad7a928d Translated using Weblate (Gujarati)
Currently translated at 12.9% (113 of 870 strings)
2018-01-22 15:10:39 +01:00
Igor 111b3f7d20 Translated using Weblate (Russian)
Currently translated at 91.2% (794 of 870 strings)
2018-01-22 06:29:03 +01:00
drashti kaushik 8e71642d25 Translated using Weblate (Gujarati)
Currently translated at 10.5% (92 of 870 strings)
2018-01-22 06:29:01 +01:00
ikmaak c0eb1de2eb Translated using Weblate (Dutch)
Currently translated at 92.1% (802 of 870 strings)
2018-01-22 06:28:58 +01:00
Pavel Borecki 790121c0db Translated using Weblate (Czech)
Currently translated at 100.0% (870 of 870 strings)
2018-01-22 06:28:46 +01:00
Pavel Borecki 8959295474 Translated using Weblate (Czech)
Currently translated at 100.0% (870 of 870 strings)
2018-01-18 19:43:09 +01:00
James Valleroy 74b012a7ce Release v0.21.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-15 15:07:23 -05:00
James Valleroy b5de052417 Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-15 14:38:10 -05:00
Sunil Mohan Adapa 8dcf570c76 syncthing: yapf indentation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-15 17:51:43 +05:30
Aakanksha Saini 5ec7f49c8b syncthing: Restrict administration to users in group syncthing
- Add syncthing group
- Add validation in syncthing-plinth configuration

* Tested on UI

Signed-off-by: Aakanksha Saini <aakanksa@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-15 17:51:30 +05:30
Johannes Keyser d41bb0ae76 help: Show menu on smaller screens also
- Fixes issue #1185.

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-15 15:21:44 +05:30
Sunil Mohan Adapa 1779ac8928 openvpn: yapf indentation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-14 20:40:21 -05:00
Sunil Mohan Adapa 71cc0e1fb0 openvpn: Upgrade to the new Debian way
Earlier only openvpn@.service file was available. Currently, Debian is using
openvpn-server@.service and openvpn-client@.service. Start using this and
upgrade our current users to this approach. This fixes the problem with
incorrect enabling/disabling of OpenVPN app in Plinth.

Tested primarily three cases:

- Install version 2 of the app directly. Make sure daemon runs,
  enabling/disabling the app works.

- Install version 1 of the app. Disable it. Upgrade to version 2 make sure
  everything is upgraded but disabled. Enabling make the app work properly.

- Install version 1 of the app. Enable it. Upgrade to version 2 make sure
  everything is upgraded, app is enabled and running.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-14 20:40:04 -05:00
Shubham Agarwal f11dd191c1 diagnostics: Enable button when enabled but not running
Signed-off-by: Shubham Agarwal <shubhama@thoughtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-12 15:58:07 +05:30
Allan Nordhøy 8cfe908022 Spelling: configuration, log in, wiki
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-01-12 15:39:55 +05:30
Sunil Mohan Adapa 0609f6a107 groups: Don't duplicate checking of group existence
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-12 14:42:56 +05:30
Aakanksha Saini 0dea420ffe groups: Consistent listing of groups
- Remove conditional registration of groups on module initialization.
- Create uninitialized groups on addition/update of groups for user.
- Remove group creation on setup/installation of a module.

Tested for:
- Multi registration of groups.
- Manual UI test to check visibility of groups irrespective of whether module is
  installed/enabled.

Signed-off-by: Aakanksha Saini <aakanksa@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-12 14:42:43 +05:30
Allan Nordhøy 834737d9dc Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.3% (810 of 868 strings)
2018-01-12 09:08:58 +01:00
Pavel Borecki fa3cf5ae02 Translated using Weblate (Czech)
Currently translated at 98.2% (853 of 868 strings)
2018-01-12 09:08:58 +01:00
Aakanksha Saini 52f7cd66ef storage: Removed beta warning for expanding partition
Signed-off-by: Aakanksha Saini <aakanksa@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-12 13:32:15 +05:30
Johannes Keyser ed984b64ee Translated using Weblate (German)
Currently translated at 100.0% (868 of 868 strings)
2018-01-05 08:37:02 +01:00
Pavel Borecki c516f39359 Translated using Weblate (Czech)
Currently translated at 98.0% (851 of 868 strings)
2018-01-05 08:37:02 +01:00
John Doe 926596c35a Translated using Weblate (Turkish)
Currently translated at 100.0% (868 of 868 strings)
2018-01-03 18:10:37 +01:00
pitchum 318da042bc Translated using Weblate (French)
Currently translated at 90.0% (782 of 868 strings)
2018-01-03 11:08:16 +01:00
Aakanksha Saini 18a476b034 navigation bar: change label 'Configuration' to 'System'
Signed-off-by: Aakanksha Saini <aakanksa@thoughtworks.com>
Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2018-01-03 11:01:59 +01:00
James Valleroy 2e7b2d41fd Release v0.20.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 15:04:26 -05:00
James Valleroy e6b303dd9b Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 13:37:52 -05:00
Joseph Nuthalpati 37138ee83b mediawiki: Add wiki application
Installs and configures MediaWiki. SSO integration is not included yet.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 13:20:37 -05:00
Sunil Mohan Adapa 407f5fb6ac storage: yapf formatting
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:49:55 -05:00
Sunil Mohan Adapa 67cb367838 storage: Make tests run on special filesystems
When the source code directory is on a special filesystem such as vbox shared
filesystem, loop back device setup does not seem to work properly. Fix this by
creating disk images in temporary directory instead of source code directory.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:49:39 -05:00
Viral Sachde 0c7d41f3f6 Translated using Weblate (Gujarati)
Currently translated at 7.7% (67 of 866 strings)
2018-01-01 15:45:12 +01:00
Sunil Mohan Adapa 0a3eec3510 bind: Add information about current utility
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:41:46 -05:00
Petter Reinholdtsen 239816a38d Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.3% (782 of 866 strings)
2017-12-31 14:13:07 +01:00
Sunil Mohan Adapa ec0a323cb6 bind: Minor i18n updates
- Use a proper i18n label for 'Forwarders' fields instead of auto-generated one.

- Reuse an already used success message for form submission so that a new
  message is not introduced for l10n.

- Minor styling fixes and a yapf run.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:22 +05:30
James Valleroy c7c9b200a8 bind: Remove option to enable forwarding
Forwarding is enabled by adding forwarders.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:12 +05:30
James Valleroy 7dcaee7b43 bind: Don't use forwarders by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:05 +05:30
James Valleroy 3e66e57c0f bind: Rework getting and changing config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:41:58 +05:30
James Valleroy 3cb95fcbbd bind: Add tests for config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:41:48 +05:30
Johannes Keyser a2102ff4ad Translated using Weblate (German)
Currently translated at 100.0% (866 of 866 strings)
2017-12-31 05:50:47 +01:00