6417 Commits

Author SHA1 Message Date
James Valleroy
1c0d04ebbf freedombox Debian release 21.2
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmAef4IWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICHjgD/sFFEsReyeIU/jqI/CTzwFejCoz
 +EaWlSG7LU3U/mvTOE7cqdVEF1I3jawoCxBoH9GC1s/79NOqjoSN/t3TBMh48/xt
 8UVlHY7FfXUWYXmTyx6QCMC9BnI9GxQf1R/Aw+uKnfqFelQc+v8C3rIOIJNLEAmK
 BaoiPtna0R7VAILIAS+4JUTOnYB3Y6DgLI3JfdgZ4G6rxX+6V1wQ5323QTw/Cx7Z
 tGinskPEk9VVZegqRJtVuZrCeSz1pBwmRx7MzPJj5pVNnl1v14aLa+dPP9YFYA3e
 L9qeV4Ra7tH/cJPwRJMyzl3ZQFi6JVdjiLKteHpNcRHFcPrGjZXdxhBBRkbqG5Mm
 GHy1muCW2tY74ZtujIq/UbfoUQ7RidcQ5VirEcFaOFE5K991vfBMHUTdWYgeK3CE
 NWMg+vf8E2zU+wFy2mdK9RUsbYcLHe7G+tpF8TvzR1I31G1JrQ1eG66X/XgvIOlN
 39sinWmmDmz9wLYKhmUeVJT97K6ES3iuIoCg2jKBVLaOuFfaanCTfU8QG1Zdu63J
 S9Rmv2pnyk81qkAYuuguzpesiWMXk1S+bp8dfBa1OX56S7O+/bhjbSUn+AYl1w8e
 si0Iyk9u7scMQHZGzcMAyjUI+PJC6X0yC+VPyN5haPzoZUNIgdh07N0/catiYfre
 sqxAfWcDu2HOaQxO5Q==
 =jOna
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmAhY5cWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICJhnD/wJFuQvMLogKlNnJ0pwml3BzshE
 0s09rrCrGF+FaBvMEjnvu53SX0NYD9C4+vWeMxb2r6RG2hwtEn4rM3hdHO6EsjOj
 P4WctOJtYPsCCEMfuiKA0PfWw2DJjBY/Szkeya7c/vx65fOK9SLHjViFE8zXHZvQ
 Wm02F0Am1dUhj8nkK17BdDB4KUs6xmQiiatmC4/fyYz0EqzQ0icJ43yr/J9UjmSs
 GDRfO71ilaqvFn7qmXd1CO/utZZA968iRJqVVNj3WB916MVs8nmsMelHM+qBB5B9
 4UB/RvquyOmVLexdQB19p38tYUuFHiBO2WUfiKmoMME47uXjKOvww9V/H++psI2Y
 eZinr0hPm88UYAvxxadIwLdJvtwVn0v6kAfZh1nEH7Zp6Isx6PwcImTGg8mf9LPM
 h4nfLBZqYdhMGiQNAO22DknGz2tUvzDyZMXlqqdAeGZEcOI5SfC8UjZ7+sUAeh6E
 xQJHEP98KGCjDYclOgWRZ/kXT8fj7iw+2B8d5at3BC8P7n9GPeWa/INZ/79SzDFs
 1GvgbbJ/uYKFVfmquLVFP1Os9QnXQkqFQhfnVN4hWdJyPOI3V3ACgyVr5YtUdE+Q
 TvT8h3WVmAjfz1v9F12SQW7weoxnHOUGwR3XfhVc+ZrsywAdfCUDTsVxQdmHY2bV
 XN8m8b/+/oPuR99vaQ==
 =wxLy
 -----END PGP SIGNATURE-----

Merge tag 'v21.2' into debian/buster-backports

freedombox Debian release 21.2

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-08 11:15:16 -05:00
James Valleroy
6baa6e7698
Release v21.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.2
2021-02-06 00:40:26 -05:00
James Valleroy
7e70e11b61
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-06 00:40:02 -05:00
James Valleroy
1770a2688f
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-05 23:09:01 -05:00
Coucouf
b02b183850
Translated using Weblate (French)
Currently translated at 100.0% (1437 of 1437 strings)
2021-02-06 04:51:22 +01:00
nautilusx
11ca1dffd4
Translated using Weblate (German)
Currently translated at 100.0% (1437 of 1437 strings)
2021-02-06 04:51:21 +01:00
James Valleroy
975dfca7ad
roundcube: Allow upgrade to 1.4.*
Hold roundcube during dist upgrade.

Closes: #2035.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-02-04 17:41:31 -08:00
Veiko Aasa
34f74a285f
plinth: Show running spinner when app installation is in progress
Add running spinner before every app installation step text, this
makes the fact that installation is in progress visually more noticeable.

Tested when installing the mediawiki app, the running spinner is shown
on every installation step.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Horizontally align the text and spinner by the spinner inline]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-02-04 17:35:31 -08:00
Joseph Nuthalapati
c773be3c19
mediawiki: Set default logo to mediawiki.png
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-02-04 16:47:56 -08:00
Joseph Nuthalapati
765914a12f
upgrades: Increment version for MatrixSynapse 1.26
Matrix Synapse 1.26 needs a new dependency python3-psycopg2. apt
preferences have to be updated to be able to install this package from
buster-backports.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2021-02-05 00:39:32 +05:30
Joseph Nuthalapati
15f6fb1f61
matrix-synapse: python3-psycopg2 from backports
matrix-synapse 1.26 fails to start on FreedomBox stable if it doesn't
find the right version of python3-psycopg2. Version 2.8 of this library
is currently not available in Debian stable and has to be installed from
the buster-backports repository.

Tested the upgrade on a FreedomBox stable virtual machine.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-02-04 09:51:20 -08:00
James Valleroy
c714833d7e
tests: Update functional tests default config
- Set default SSH and Samba port for testing a container.
- Set default URL for running functional tests from within container.
- Update instructions.

Closes: #2015.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
2021-02-04 14:13:11 +01:00
Fioddor Superconcentrado
df2587e254
Translated using Weblate (Spanish)
Currently translated at 99.7% (1434 of 1437 strings)
2021-02-03 17:41:59 +01:00
Sunil Mohan Adapa
ec9c33a0aa
jsxc: Fix issues with jQuery >= 3.5.0
In testing and unstable, jQuery 3.5.1 is available. For security reasons, it
removes expanding of HTML code that JSXC relies on. Restore that functionality
as shown in jQuery Upgrade Guide.

Tests performed:

- Log in JSXC. Add a contact. In the contact list, the name of the contact is
shown properly.

- Clicking on the contact open a proper chat window.

- Using to two user accounts add each other to contact lists and start
conversation, the conversation show work properly.

- Authenticating each other and performing a secure conversation should work
properly.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-02 22:48:32 -05:00
Veiko Aasa
b3d4250df2
mediawiki: Fix app installation process doesn't display status information
During 'setup' and 'update' post installation calls, the mediawiki
app page doesn't show any status information. Use the call name 'post'
instead so that the 'Performing post-install operation' message is displayed on the app page.

Fixes #2024

Tested that all the mediawiki app tests pass on first app installation.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
2021-02-02 16:19:04 +01:00
ikmaak
1f04720c7a
Translated using Weblate (Hungarian)
Currently translated at 89.0% (1280 of 1437 strings)
2021-02-01 19:42:23 +01:00
Oymate
5b43465e83
Translated using Weblate (Bengali)
Currently translated at 1.2% (18 of 1437 strings)
2021-02-01 19:42:23 +01:00
Stanisław Stefan Krukowski
dc2522714c
Translated using Weblate (Polish)
Currently translated at 35.0% (504 of 1437 strings)
2021-02-01 19:42:22 +01:00
Алексей Докучаев
b0791e6feb
Translated using Weblate (Russian)
Currently translated at 93.8% (1349 of 1437 strings)
2021-02-01 19:42:22 +01:00
ikmaak
7a07cd08fa
Translated using Weblate (Russian)
Currently translated at 93.8% (1349 of 1437 strings)
2021-02-01 19:42:21 +01:00
ikmaak
32e0a4f3f2
Translated using Weblate (Swedish)
Currently translated at 98.1% (1411 of 1437 strings)
2021-02-01 19:42:21 +01:00
Burak Yavuz
fe8c23b3bc
Translated using Weblate (Turkish)
Currently translated at 100.0% (1437 of 1437 strings)
2021-02-01 19:42:20 +01:00
ikmaak
d8a5571dd2
Translated using Weblate (Dutch)
Currently translated at 100.0% (1437 of 1437 strings)
2021-02-01 19:42:19 +01:00
Dietmar
83307c37dc
Translated using Weblate (Italian)
Currently translated at 54.5% (784 of 1437 strings)
2021-02-01 19:42:19 +01:00
Coucouf
48451ef86a
Translated using Weblate (French)
Currently translated at 100.0% (1437 of 1437 strings)
2021-02-01 19:42:18 +01:00
ikmaak
5a92974bd7
Translated using Weblate (Spanish)
Currently translated at 98.2% (1412 of 1437 strings)
2021-02-01 19:42:18 +01:00
Dietmar
3fe30e2515
Translated using Weblate (German)
Currently translated at 99.9% (1436 of 1437 strings)
2021-02-01 19:42:16 +01:00
James Valleroy
70ba4d6b88
upgrades: Add notifications for dist upgrade
Notification for dist upgrade started, or not started due to lack of
free space.

Currently, these notifications only appear once.

Tests:
- Checked each notification appears.
- Notification does not appear again after being dismissed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-31 22:35:02 +02:00
James Valleroy
3ada482b90
upgrades: Move start-dist-upgrade result string to app
Separate checking for dist upgrade from other setup. We don't want to
start a dist upgrade during the module's setup.

Tests: Checked logs for the following:
- Up to date.
- Updates not enabled.
- Dist upgrade started.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-31 22:34:25 +02:00
James Valleroy
d747f77f80
upgrades: Get result of start-dist-upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-31 22:31:39 +02:00
James Valleroy
906816f7cb
upgrades: Return reason when checking for dist upgrade
With default logging settings, only print the result.

Tests: Checked output for following cases:
- Dist upgrade flag exists.
- System is Debian testing.
- Latest stable release without --test.
- Automatic updates not enabled.
- Not enough free space.
- Dist upgrade started.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-31 22:31:15 +02:00
Sunil Mohan Adapa
0b9c4c92e9
minidlna: Implement force upgrading from older version
Fixes: #2026.

Upgrade from 1.2.1+dfsg-1+b1 to 1.3.x.

Tests:

- Install version 1.2.1+dfsg-1+b1. Change the default media directory. Run
unattended upgrades it will fail to upgrade. With the new patch, run apt update.
This will force upgrade. After upgrade the earlier set media directory is
retained.

- Functional tests run.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-31 13:18:23 -05:00
Sunil Mohan Adapa
5cd1289198
minidlna: Minor refactor of media directory handling
Tests performed:

- Functional tests work as expected.

- Updating the media directory works newly updated media directory is show.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-31 13:18:20 -05:00
Sunil Mohan Adapa
3255a7e658
backups: schedule: tests: Fix failures due to long test run
Closes: #2023.

When importing the test module, datetime.now() is executed and value is kept. If
a test suite runs for a long time, the time deltas are being calculated much
later when the test case runs. This creates an difference in expected different
between the two values.

Fix this by completely removing all uses of time relative to current date time.
Only use absolute date time values. This should not reduce the effectiveness of
the test cases.

Tests performed:

- Rerun unit tests for backups module.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-30 14:29:05 -05:00
Veiko Aasa
11801de288
calibre: Fix freedombox.local inaccessible after enabling app
After enabling the calibre app, the app uses IP 127.0.0.1 to advertise
ODPS feeds via BonJour/mDNS. It breaks accessing freedombox.local as it now
points to 127.0.0.1.

This MR disables the BonJour in Calibre.

Fixes #2027.

Tests performed on both Debian stable and testing containers:
- Check the accessability of freedombox.local:
1) Before applying patch:
   - Start the container, check on the host that freedombox.local points to
   correct IP address of the container:
   ```
   host$ avahi-resolve -4 --name freedombox.local
   freedombox.local        10.42.1.166
   ```

   - Enable the calibre app. Check on the host that freedombox.local
   points to wrong ip address 127.0.0.1:
   ```
   host$ avahi-resolve -4 --name freedombox.local
   freedombox.local        127.0.0.1
   ```

2) Stop the calibre app, apply patch (update the calibre systemd service file,
reload systemd), restart the Service Discovery app, check on the host that
freedombox.local points to correct address.

3) Start the calibre app, check on the host that freedombox.local points to
correct address.

- All the calibre functional tests pass.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-30 10:50:43 -08:00
Sunil Mohan Adapa
bba1ed618a
radicale: Allow older 2.x release to upgrade to 3.x
Tests performed:

- Upgrade from old 2.x versions to 3.x has not been tested.

- Fresh installation of radicale 3 works (via FreedomBox). Web interface works.
Able to create a calendar.

- Upgrading from radicale 2 to radicale 3 works (via unattended-upgrades). There
were no configuration file prompts in FreedomBox (where only
/etc/radicale/config is modified).

- After upgrade, all functional test cases for radicale in FreedomBox
passed (including backup and restore of data).

- After upgrade, I have tested that permissions system as configured in
FreedomBox owner_only = allow file permissions, owner_write and authorized are
same as defined in radicale.

- These permissions have worked as expected as tested with Thunderbird.

- Radicale says that file based permissions format has changed, however,
FreedomBox relies on only the right files provided by default.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Tested-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-28 11:24:41 -08:00
James Valleroy
25f6382ab1
Release v21.1~bpo10+1 to buster-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.1_bpo10+1
2021-01-28 07:04:46 -05:00
James Valleroy
bd785cb2f1 freedombox Debian release 21.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmAPgE4WHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICCFED/kBadVdMs+SGtKIb8IQ8XuYJFmG
 GdSHC31S5clf4+FudIvrKPdoIVJ2pbKyJVLY5QE4HpS0dvFTWwkmmRmaNVmOGpCy
 x3th+h2LNpWxL/Vw30MaR2u3eSEh5COCxsUW3l9dl7RgKIjVG1wPYRBII4/KnI44
 rFULAoJSwAnlJesL8gpO7JKOxu8IF1ZoXN2bdRZ50qfYkZEdVlV7vPk+PNy9MIhD
 TaqBj4h/H8HVHc6i27GAbZTDR/EFJvGwkc4Oxh3b5XYzBap4GlSoF5ig6TX00KTa
 XKyA7UCuPVYjvHPvTGbkefkR8O+YPAU9mKsZ4Zf2GM/0FhQEmQcJx6VgWpvef3WB
 iy4WAp91i6wwgMNHn9T6ga1DWNkOwsVRlw3V7ig07cGkzWefwKZbGzh/vzr6qtxC
 OUsuQkvoeVQDYwjPFYtTaHzJhozF7LagyzUF2+/H3k8cH1PMXG4Ehsa/6sByXgcb
 /ckDcKBGdp0YKUhPJAjHS4nfiQFD+l4COFquGwzhc7LacYxdBJyqypwXjo7R62n5
 3aIYBswxuC5OUW2PNbdGTnUK4D3VyrhPHXcXWYAezhb3j+GeyO/FzYGVEOJiNYJa
 94sX7cUIGNrSsgbBi4SnY8g7ngsIUGTN99rrstAWOiiE3L3sWuGcsTD157HlWgnA
 3z8zJPYkSJ7u5qpAvg==
 =wGp5
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmASqDgWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICGIxEADARuju9vkHPDJXvObaRw4INYXl
 KI0vx2oAXY5Ddd4ufMplcftQj4v8jgrTYLDN1CJEiVsB/jpS96zTXjE0Iifn6yrG
 n8kc9Rh1lpL5PeXDC7+lbdzyCoUbQcVri3+PUBaCepFfry/NitweQ8r7gz5rMXeZ
 AZYm0+xDMr2nRe3Lt3WL+gkN4acdAeqVbZK7Z3MQu2cEH3GTfJT+C+7GBbGa/1Wo
 ewaV7bzZcMZy2HOc4MfuIk9/wPfYr3Sza19bM9JHsTchFYGjtI5t3elZSGBICymZ
 31AvEPjIEdc9fVZGPCLlnLsRkiT+r44ozgjgm/6ICnvpLolknMujEWW4t8J0hYzo
 Jo+iaUXTbgmEVMT5a1ECPpOxkrC+TRQXJilYFF7/GZ2mAZrB1anmeQnzNYtFm9Z+
 S8j912bsZWBBPNtknX+CkMtNxC3nz2OZE/hMAegRaRrju4u9pNbDjFj6cYzUnsNH
 GAJ4Kn8NAQQ/sIguN8sa7iIrNfbcMNXIsgOMA7RJ9AjXJhKYjQbpvInUFu8ivROZ
 Qf4imTr0O8kyTswnCjDm+1vlksXHFpB9CGfryz4tF1rm318UISgVuyghCGKbWTY8
 uTK/++6MyskiGCYugpc6Q9xrykwXm6LlCZDHaHu/snCJaAuWZkHx/SB6L1KXSte1
 98f1Sw/jPtQaUwYrxw==
 =CBqS
 -----END PGP SIGNATURE-----

Merge tag 'v21.1' into debian/buster-backports

freedombox Debian release 21.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-28 07:04:04 -05:00
Burak Yavuz
83bd637984
Translated using Weblate (Turkish)
Currently translated at 100.0% (1437 of 1437 strings)
2021-01-26 07:13:47 +01:00
James Valleroy
80285d3f5f
Release v21.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.1
2021-01-25 21:09:03 -05:00
James Valleroy
80d104e0eb
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 21:07:51 -05:00
James Valleroy
c3ca76927f
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 20:20:10 -05:00
Fioddor Superconcentrado
68462ebde6
Translated using Weblate (Spanish)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-26 02:08:37 +01:00
Veiko Aasa
d6455419d9
container script: Various improvements
- Install bash-completion when provisioning container, makes terminal
  usage more comfortable.
- Increase default container image size to 16G, so that a distribution
  upgrade fits well.
- Check free disk space on host before expanding disk image.
- Make pytest coverage reports writable to the fbx user, closes  #2010.
- run-tests command:
   - Use DEBIAN_FRONTEND=noninteractive when upgrading packages.
   - Do not install sshpass as provision script already installs it.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 19:51:57 -05:00
Sunil Mohan Adapa
b84075043d
performance: Fix failure to start due to lru_cache in stable
Ability to use lru_cache(user_function) was only introduced in Python 3.8.
Buster has Python 3.7. This causes startup failure in Buster. Fix this by using
the older API for lru_cache instead of the new one.

Tests:

- On stable and testing, starting the Plinth daemon and visiting the performance
page should work.

- Adding a print statement in the _get_url() method shows that it is only called
once, ever.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 19:11:08 -05:00
Sunil Mohan Adapa
ed92a7e010
networks: Remove unused import to fix flake8 failure
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-25 15:56:12 -08:00
Fioddor Superconcentrado
ce87de1dfb
networks: Hide deactivate/remove buttons for primary connections
Helps: #1962.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-25 15:40:51 -08:00
Fioddor Superconcentrado
012a9a0fc7
networks: Prevent unintended changes to primary connection.
Helps: #1962

Shown an alarming warning in connection_show page (only) for the primary
connection. Captions 'Deactivate' and 'Delete' buttons, now explicitly
mention the primary connection and they are placed within the warning
box.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Primary connection is not the same as connection user is using]
[sunil: Reduce the importance of primary connection as it is just default route]
[sunil: Update primary connection message]
[sunil: Fix the use of exclamation icon for screen readers as per bootstrap]
[sunil: Don't place buttons inside the warning, as it is non-intuitive UI]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-25 15:40:48 -08:00
Fioddor Superconcentrado
6e747f281e
networks: Use radio buttons for network modes
Closes: #1974

BTW: Javascript IPV4/6 hide/show arrangements triggered on page load.
Otherwise page loads form fields inconsistently.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Fix the use of RadioSelect widget]
[sunil: Alter the wording of what each type means]
[sunil: Drop the help text for radio group as it is mostly repetitive]
[sunil: js: Make the entire jQuery code run on document ready]
[sunil: js: Revert unneeded double call to change methods, change() is enough]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-25 15:40:45 -08:00
Fioddor Superconcentrado
99935a9696
networks: Change connection type to a radio button
Close: #1821.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Correct the use of RadioSelect widget]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-25 15:40:41 -08:00