Commit Graph
27 Commits
Author SHA1 Message Date
Sunil Mohan Adapa ec68eb3d89 setup: Make additional info available for force upgrading
This includes list of packages for which conffile prompts will be shown. For
each package current version of the package, new version of the package and list
of configuration files that were modified.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:48:51 -05:00
Sunil Mohan Adapa d51a2b6865 bind: Handle conffile prompt during upgrade
- Simply keep the old configuration as the configuration format for bind is
  unlikely to change due to its stability. Future versions may consider checking
  for version of package being upgraded to.

- Don't start service if not already running.

- Don't perform firewall changes.

- No need to rerun setup as old configuration is being kept.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:22 -05:00
Prachi Srivastava 5d68f6bf52 Replace glyphicons with forkawesome icons
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-14 17:37:58 -08:00
Joseph Nuthalapati 03e19b0bdc bind: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:22 -04:00
Sunil Mohan Adapa 8f0e2d6381 Rename Plinth to FreedomBox in module doc strings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-16 20:10:25 -05:00
Sunil Mohan Adapa dea4af17fb Rename Plinth to FreedomBox in license headers
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-16 20:10:09 -05: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
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
Prachi c8eb714562 Separate out the short description and app name
Signed-off-by: Prachi <prachi@swecha.net>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-08-21 11:17:08 +05:30
Sunil Mohan Adapa ee7cc98fee apps, system: Remove modules and merge into main
- Remove apps and system modules and merge their views into main views.

- Move main_menu from cfg into menu.py.

- Remove dependencies of other modules on apps and system modules.

- Update tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-05 22:31:45 -04:00
James Valleroy 24943ebe15 bind: Use django's form validation 2017-01-06 19:03:53 -05:00
James Valleroy 8f8d0e8901 bind: Minor fixes and style updates 2017-01-06 18:44:44 -05:00
mridulnagpal d4b0809db0 bind: Replace config in setup 2017-01-06 18:17:29 -05:00
mridulnagpal e0abdbd0e9 bind: Add validator 2017-01-06 18:17:27 -05:00
mridulnagpal 0312c41415 bind: Added DNS servers setting 2017-01-06 18:17:25 -05:00
mridulnagpal d986d58250 bind: Add enable DNSSEC 2017-01-06 18:17:22 -05:00
mridulnagpal 8c0d8e9db2 bind: forwarding works fine now 2017-01-06 18:17:19 -05:00
mridulnagpal 95265426a9 bind: Move setup to action script 2017-01-06 18:17:17 -05:00
mridulnagpal aded0f6be0 bind: Remove icon 2017-01-06 18:17:14 -05:00
mridulnagpal 4a73cbcf3c bind: Run setup 2017-01-06 18:17:11 -05:00
mridulnagpal 17ed3f92c7 bind: Add config form 2017-01-06 18:17:09 -05:00
mridulnagpal da408d3381 bind: Add basic config 2017-01-06 18:17:06 -05:00
mridulnagpal 8552f43154 Add bind module 2017-01-06 18:16:38 -05:00