4715 Commits

Author SHA1 Message Date
James Valleroy
4a85167b5b
Release v19.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.18
2019-10-07 19:15:54 -04:00
James Valleroy
0b78a40766
d/control: Update Standards-Version to 4.4.1
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:15:40 -04:00
James Valleroy
1996a0c821
d/control: Add Rules-Requires-Root: no
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:14:30 -04:00
James Valleroy
3d6625333f
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:05:42 -04:00
James Valleroy
1be1fb1eaa
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 18:32:06 -04:00
Sunil Mohan Adapa
211b0ea78d
minetest: Remove mod-torches no longer available in testing/unstable
Closes: #1651

Tests:

- Install and check that the daemon is running.

- Run functional tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 15:00:21 -04:00
Sunil Mohan Adapa
b72021782e
deluge: Support deluge 2 by starting it properly
deluge-web 1.x runs in the foreground by default and provides an option -f to
fork in the background where as deluge-web 2.x by default forks into the
background and provides option --do-no-daemonize for running in foreground.
Update systemd service to ensure that option is passed appropriately based on
the version of daemon running.

Update functional tests to accommodate UI changes in deluge-web 2.x.

Closes: #1652.

Tests:

- Install deluge 1.x by having testing in apt sources.list. Ensure that the
  daemon is working. Run functional tests.

- Upgrade deluge to 2.x by changing the sources.list and upgrading. Ensure that
  daemon is working after disable/enable. Run functional tests.

- Install deluge 2.x by having unstable in apt sources.list. Ensure that daemon
  is working. Run functional tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:36:06 -04:00
Sunil Mohan Adapa
5b45e3859a
templates: Remove unused app-subsubmenu.html
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:21 -04:00
Sunil Mohan Adapa
b3af80b15c
snapshot: Use app.html instead of app-subsubmenu.html
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:19 -04:00
Sunil Mohan Adapa
d51e63ecef
pagekite: Use app.html instead of app-subsubmenu.html
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:16 -04:00
Sunil Mohan Adapa
d6c0b98375
i2p: Use app.html instead of app-subsubmenu.html
- Gain ability to show internal zone warning for I2P proxies.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:13 -04:00
Sunil Mohan Adapa
902851252a
dynamicdns: Use app.html instead of app-subsubmenu.html
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:11 -04:00
Sunil Mohan Adapa
f09e89aba4
templates: Provide subsubmenu functionality in app.html
- So that eventually we can use just app.html instead of two: app.html and
  app-subsubmenu.html

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:08 -04:00
Sunil Mohan Adapa
4c073bb62b
templates: Simplify unnecessary override
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:06 -04:00
Sunil Mohan Adapa
83815ff31b
templates: Remove unused invocation of subsubmenu
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:03 -04:00
Sunil Mohan Adapa
6af30c40b4
backups: Remove unnecessary use of subsubmenu template
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:26:00 -04:00
Sunil Mohan Adapa
ec407bfd26
networks: Remove subsubmenu in favor of toolbar buttons
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:25:57 -04:00
Sunil Mohan Adapa
77737afadd
ikiwiki: Remove subsubmenu in favor of toolbar
- Merge managing table into the index page.

- Remove separate URL/view/template for manage.

- Convert create tab into a toolbar button.

- Remove cancel button from delete confirmation page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:25:54 -04:00
Sunil Mohan Adapa
1b86414488
upgrades: Remove unnecessary subsubmenu
- Prefer toolbar button style instead of tabs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 13:25:50 -04:00
Sunil Mohan Adapa
ad0552adf6
users: Make UI close to rest of the apps
- Provide an app title, description and link to manual page.

- Use AppView and app.html to present most of the elements.

- Remove tabs and turn create user into a button.

Tested by running: py.test-3 --include-functional -k users-groups

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-04 18:03:50 -04:00
James Valleroy
03f5ca0b05
security: Move security report to new page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org Remove status header similar to other toolbars]
[sunil@medhas.org Add icon to 'show security report' button]
[sunil@medhas.org Handle error retrieving past CVE counts]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-03 16:00:46 -07:00
James Valleroy
5fe84bf395
security: Add past vulnerabilities count
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org isort]
[sunil@medhas.org Handle errors during HTTP request]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-03 15:59:49 -07:00
Sunil Mohan Adapa
f0e45d39c9
debian: Remove python3-requests from depends list
Requests library is still used by functional tests.

- Add requests as test dependency in setup.py.

- Keep python3-requests are build dependency in debian/control

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-02 17:21:44 -04:00
Sunil Mohan Adapa
867b8f3f63
pagekite: cosmetic: yapf and isort changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-02 17:21:42 -04:00
Sunil Mohan Adapa
cff9a61f09
pagekite: Remove first wizard step for danube edition
- The code was never used by end users.

- The code was expected to be used long back but the plans didn't materialize.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-02 17:21:39 -04:00
Dietmar
fa35d6d59a
Translated using Weblate (German)
Currently translated at 99.4% (1067 of 1073 strings)
2019-10-02 21:56:02 +02:00
Allan Nordhøy
bceb8410cb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (1068 of 1073 strings)
2019-10-01 08:56:03 +02:00
Luis A. Arizmendi
476c542dbf
Translated using Weblate (Spanish)
Currently translated at 100.0% (1073 of 1073 strings)
2019-09-29 09:55:53 +02:00
Fioddor Superconcentrado
b844ae8d48
Translated using Weblate (Spanish)
Currently translated at 99.8% (1071 of 1073 strings)
2019-09-25 16:28:01 +02:00
Matthias Dellweg
cb3e050722
diagnose: Move negating diagnose result inside try bock
A caught Exception should always be considered a failed test.

Signed-off-by: Matthias Dellweg <2500@gmx.de>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-09-23 18:48:49 -07:00
James Valleroy
aca0c65d68
Release v19.17 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.17
2019-09-23 18:15:17 -04:00
James Valleroy
2745cb2a16
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-23 18:13:11 -04:00
James Valleroy
1182c031c2
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-23 17:52:55 -04:00
Sunil Mohan Adapa
dbb3558aab
firstboot: Hide left menu during first boot as intended
This seems to be a regression from earlier behavior.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-09-22 08:41:59 +02:00
Sunil Mohan Adapa
6db1926a62
tor: Fix test case for getting status
Mock the app so that it doesn't have to be loaded.

Closes: #1645.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-21 13:28:39 -04:00
Sunil Mohan Adapa
54b0e7c63b
letsencrypt: Update and fix tests involving domain changes
- Remove checking of the sender is 'test' and use mocking.

- Remove need for tests being run as root.

- Simplify log messages, avoid pylint warnings.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-21 13:28:35 -04:00
Joseph Nuthalapati
7cbaec3e26
firstboot: Add new help menu to firstboot navbar
- Refactor the help menu into a django template include.

- Show help menu if user is logged in, instead of after completing firstboot.

Closes: #1517

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil@medhas.org Rename help-menu.inc to help-menu.inc]
[sunil@medhas.org Use user.is_authenticated instead of another variable]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-09-17 19:45:48 -07:00
Joseph Nuthalapati
3e619d6882
firstboot: network connections not used, cleanup
No longer showing network connections in firstboot. Removed dead code.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-09-17 19:45:18 -07:00
Pavel Borecki
e83f387be1
Translated using Weblate (Czech)
Currently translated at 98.9% (1061 of 1073 strings)
2019-09-17 21:24:00 +02:00
Anxin YI
f47da405ce
Translated using Weblate (Chinese (Simplified))
Currently translated at 64.6% (693 of 1073 strings)
2019-09-13 07:23:47 +02:00
Pavel Borecki
320f1889fd
Translated using Weblate (Czech)
Currently translated at 98.5% (1057 of 1073 strings)
2019-09-11 10:23:47 +02:00
James Valleroy
ee77b00079
Release v19.16 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.16
2019-09-09 18:20:16 -04:00
James Valleroy
c44d4d1bd7
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-09 18:19:04 -04:00
James Valleroy
d826778a41
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-09 17:50:56 -04:00
Sunil Mohan Adapa
3bf4b217fe
actions: Improve log message about action execution
- Use '#' vs '$' to indicate root vs. user message.

- Remove '-n' argument to sudo as it is always present.

- Remove env arguments to sudo as they are only present during debug.

- Remove full path to the action as they are already thoroughly checked.

- Print the message as a shell command with escapes instead of as python list.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-08 09:49:24 -04:00
Sunil Mohan Adapa
c4ab81252c
module_loader: Remove log message when app is imported
It is no longer very useful and floods the log window, taking our attention away
from more import things. It is only useful during new module development. Module
load order message helps anyway.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-08 09:49:21 -04:00
Sunil Mohan Adapa
526123b6dd
setup: Better log message when no apps need upgrades
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-08 09:49:18 -04:00
Sunil Mohan Adapa
9b7d38fa67
web_server: Remove log message about serving static directory
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-08 09:49:16 -04:00
Sunil Mohan Adapa
78961d6b99
module_loader: Cosmetic changes by yapf
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-08 09:49:12 -04:00
Sunil Mohan Adapa
4842b81515
ejabberd: Perform host/domain name operations only when installed
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-07 15:43:48 -04:00