James Valleroy
6aecad7259
searx: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:22:16 -07:00
James Valleroy
60236376c2
roundcube: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:22:08 -07:00
James Valleroy
c120411846
radicale: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Set an initial value before testing for access rights]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:22:00 -07:00
James Valleroy
8daa9aa49d
quassel: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:21:52 -07:00
James Valleroy
650c16f914
tests: Add backups mark for openvpn, pagekite, privoxy
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:21:44 -07:00
James Valleroy
93e9f95d18
privoxy: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:21:35 -07:00
James Valleroy
98cc6c4753
pagekite: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:21:27 -07:00
James Valleroy
8dea7d3c79
openvpn: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-05 15:21:19 -07:00
Andrij Mizyk
f801e768f3
Translated using Weblate (Ukrainian)
...
Currently translated at 78.7% (1192 of 1514 strings)
2021-10-02 23:38:06 +02:00
109247019824
b6aa6bab09
Translated using Weblate (Bulgarian)
...
Currently translated at 7.1% (109 of 1514 strings)
2021-09-29 16:38:10 +02:00
James Valleroy
dfaeca4580
Merge remote-tracking branch 'freedombox-team/master'
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 20:20:40 -04:00
James Valleroy
294410019f
Release v21.10 to unstable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.10
2021-09-27 19:24:35 -04:00
James Valleroy
7a4058a3a2
debian: Set Standards-Version to 4.6.0
...
No changes needed.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 19:23:37 -04:00
Fioddor Superconcentrado
e11ce5f58f
test: Add tests for action utilities
...
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Minor refactoring, relax a test to make it work on CI]
[sunil: Run tests only when systemd, ip commands are available]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-27 16:21:12 -07:00
James Valleroy
3e0d81fd41
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 19:09:14 -04:00
James Valleroy
f2331ef859
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 18:45:48 -04:00
Fioddor Superconcentrado
aef0dcd381
test: help: Add help view tests
...
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Yapf and isort, flak8 warnings, spelling]
[sunil: Drop debugging code]
[sunil: Use pytest parametrize, skip marks]
[sunil: Minor test improvements]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-27 15:10:07 -07:00
James Valleroy
6c84e50040
mumble: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:44 -07:00
James Valleroy
953d574692
monkeysphere: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:37 -07:00
James Valleroy
0faff1f188
mldonkey: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:29 -07:00
James Valleroy
79d1588691
mediawiki: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:21 -07:00
James Valleroy
73dac73808
ikiwiki: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:14 -07:00
James Valleroy
19fb965237
help: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:37:05 -07:00
James Valleroy
373bda1133
ejabberd: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 14:36:54 -07:00
James Valleroy
db32e885d9
dynamicdns: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:59 -07:00
James Valleroy
ffde6f1c18
deluge: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:51 -07:00
James Valleroy
0baa96f605
datetime: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:43 -07:00
James Valleroy
397d6a424e
coturn: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:35 -07:00
James Valleroy
a6066278aa
config: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:27 -07:00
James Valleroy
cb430b4b4b
bind: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:48:19 -07:00
James Valleroy
0213fe370b
bepasty: Convert functional tests to non-BDD python format
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Avoid global variable]
[sunil: Make a method local]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-26 13:47:48 -07:00
Sunil Mohan Adapa
a0d880b62c
sso: Update usage of OpenSSL crypt signing API
...
Avoid the deprecation warning:
DeprecationWarning: str for data is no longer accepted, use bytes
sig = crypto.sign(pkey, data, 'sha512')
Tests:
- Login to web interface, access Syncthing web interface. The login should work.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-26 12:29:45 -04:00
Sunil Mohan Adapa
07e62a213b
views: Update utility for checking URL safety
...
Django has updated the is_safe_url() method that we based our implementation on.
It is now called url_has_allowed_host_and_scheme(). Our implementation remains
simple as we don't allow any hostname or scheme to be set.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-26 11:25:07 -04:00
Johannes Keyser
53539c7454
Translated using Weblate (German)
...
Currently translated at 100.0% (1514 of 1514 strings)
2021-09-26 08:35:30 +02:00
Sunil Mohan Adapa
351ba99c12
mediawiki: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:01 +03:00
Sunil Mohan Adapa
757d24c2be
ejabberd: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:00 +03:00
Sunil Mohan Adapa
cf32de2839
matrixsynapse: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:00 +03:00
Sunil Mohan Adapa
1ec16a7d58
openvpn: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:00 +03:00
Sunil Mohan Adapa
344915d84e
gitweb: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:00 +03:00
Sunil Mohan Adapa
3526099c03
sso: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:41:00 +03:00
Sunil Mohan Adapa
c28d3eea2f
calibre: tests: Use common fixtures for testing actions module
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:40:59 +03:00
Sunil Mohan Adapa
320729413d
tests: Introduce fixtures to make it easy to test actions
...
- Derived from the often repeated fixture code in various test_actions.py files.
- Don't use the deprecated imp module. Instead use importlib. imp module will be
removed in future versions of Python.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-09-25 12:40:59 +03:00
Sunil Mohan Adapa
b32d0f17f0
*: Use allow/denylist instead white/blacklist in comments
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2021-09-25 07:44:15 +05:30
Sunil Mohan Adapa
05565b1c60
settings: Set Django auto field type explicitly
...
This is already the default (Django 3.2), however, setting it explicitly seems
to avoid a warning while running 'django-admin makemigrations'.
Tests:
- Add SECRET_KEY to settings.py temporarily. Run the command 'django-admin
makemigrations --pythonpath=. --settings=plinth.settings'. There should no
warnings related DEFAULT_AUTO_FIELD not being set.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-22 21:52:30 -04:00
Sunil Mohan Adapa
613d3a856f
signals: Drop provider args when creating Signal object
...
- Convert the information into code comments.
- This argument seems to be unused. Passing the argument has been deprecated. On
Django 3.2 it throws a warning that it will be removed from Django 4.0.
Tests:
- Run unit tests on Django 3.2 and Django 2.2. With Django 3.2, warning related
to provider_args are no longer show.
- On Django 3.2 and Django 2.2, change the hostname to trigger a signal.
Tests:
- Install ebabberd. Goto system -> config and change the hostname and domain
name. This triggers pre_hostname_change, post_hostname_change, domain_removed
and domain_added signals. There should be no errors during the process. Console
shows no errors.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-22 21:52:20 -04:00
Andrij Mizyk
c330d7d530
Translated using Weblate (Ukrainian)
...
Currently translated at 78.5% (1189 of 1514 strings)
2021-09-21 22:38:16 +02:00
Michael Breidenbach
676729acbb
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1514 of 1514 strings)
2021-09-21 22:38:15 +02:00
Burak Yavuz
e7105afcb6
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1514 of 1514 strings)
2021-09-21 22:38:15 +02:00
Dietmar
cf6099cfb9
Translated using Weblate (Italian)
...
Currently translated at 53.0% (803 of 1514 strings)
2021-09-21 22:38:14 +02:00
Dietmar
05d62c2354
Translated using Weblate (German)
...
Currently translated at 99.5% (1507 of 1514 strings)
2021-09-21 22:38:14 +02:00