2828 Commits

Author SHA1 Message Date
James Valleroy
6b45cdc68e
Release v19.3 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-18 20:31:22 -04:00
James Valleroy
435b9c1266
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-18 19:47:59 -04:00
Sunil Mohan Adapa
ff247fa5aa
setup: Move app data files into respective apps
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:57 -04:00
Sunil Mohan Adapa
fdcbd46513
setup: Move app enabling files to respective apps
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:54 -04:00
Sunil Mohan Adapa
3bedce47fd
module_loader: Specially load modules in development mode
Instead of the need to run './setup install' to install the module-enabled files
into /etc/plinth/modules-enabled, pickup module configuration from app/data
directories in development mode.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:51 -04:00
Doma Gergő
86f536aac5
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-17 09:04:22 +01:00
Doma Gergő
46ff59b624
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-15 00:04:03 +01:00
Mesut Akcan
919c79917d
Translated using Weblate (Turkish)
Currently translated at 78.2% (803 of 1027 strings)
2019-03-13 16:03:43 +01:00
Allan Nordhøy
a125b67c0a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-13 16:03:42 +01:00
Dietmar
69e19934a8
Translated using Weblate (Italian)
Currently translated at 55.3% (568 of 1027 strings)
2019-03-13 16:03:41 +01:00
Doma Gergő
32461939ac
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-13 16:03:35 +01:00
jonathan göhler
8c6c7da117
Translated using Weblate (German)
Currently translated at 99.7% (1024 of 1027 strings)
2019-03-13 16:03:34 +01:00
Vincent Ladeuil
5fa56bd144
Translated using Weblate (French)
Currently translated at 81.0% (832 of 1027 strings)
2019-03-13 16:03:29 +01:00
Sunil Mohan Adapa
a036a9f2f6
main: Show service version in logs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-12 17:39:36 -04:00
Dietmar
84ef0b4273
Translated using Weblate (French)
Currently translated at 79.8% (820 of 1027 strings)
2019-03-12 14:41:06 +01:00
David Maulat
982e2609bd
Translated using Weblate (French)
Currently translated at 79.8% (820 of 1027 strings)
2019-03-12 14:40:57 +01:00
Vincent Ladeuil
d9dde99b80
Translated using Weblate (French)
Currently translated at 79.8% (820 of 1027 strings)
2019-03-12 14:40:56 +01:00
Petter Reinholdtsen
a6fc466cec
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-11 23:56:31 +01:00
jonathan göhler
7609ae4ad0
Translated using Weblate (German)
Currently translated at 99.8% (1025 of 1027 strings)
2019-03-10 22:59:42 +01:00
Dietmar
15db79cdb7
Translated using Weblate (German)
Currently translated at 99.8% (1025 of 1027 strings)
2019-03-10 22:59:42 +01:00
Sunil Mohan Adapa
fd9b6770be
tests: Use pytest for running all tests
- Create option --include-functional to run functional tests. Otherwise, they
  are disabled by default. If pytest-bdd is not installed, functional tests are
  not discovered at all.

- Make pytest-django discover the setting files by creating dummy manage.py in
  top level directory.

- Make pytest run as './setup.py pytest'. Add alias from './setup.py test'. This
  requires pytest-runner package.

- Merge .gitignore files from functional_tests/

- Update gitlab-ci.yml to run tests with coverage using pytest.

- Update HACKING.md to suggest using py.test-3 instead of old way of running.
  Merge functional tests README.md into HACKING.md.

- Remove execution wrapper runtests.py as pytest-django is able to configure
  Django settings before execution of tests. Update tests to explicitly ask for
  Django database as database access is denied by default.

- Replace usage of python3-coverage with python3-pytest-coverage. Execution
  wrappers are not required.

- Add build dependencies on pytest modules.

- Let all warnings be shown after running tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:23 -04:00
Sunil Mohan Adapa
bbb80fe577
tests: Fix backups API test cases to work under all conditions
Ensure that loaded module list is mocked instead of actually loading modules.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:09 -04:00
Sunil Mohan Adapa
37ce0f5620
templates: Minor styling change
Remove an empty paragraph between clients button and submenu tabs. It does not
add a gap and adding a gap should instead be done using CSS.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:51 -08:00
Sunil Mohan Adapa
f21ea2042d
ikiwiki: Consistent styling for delete warning page
- Do not use subsubmenu styling for delete confirmation page. This will make it
  consistent with the rest of the UI where confirmation pages are shown. Also
  showing a confirmation under a tab is confusing.

- Undo incorrect styling changes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:48 -08:00
Sunil Mohan Adapa
f81cd5c799
dynamicdns: Simplify template inheritance
- Fix issue with form messages not showing up.

- Remove unnecessary duplication of code from base template.

- Minor docstring styling.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:45 -08:00
Sunil Mohan Adapa
b3bbfcda3d
pagekite: Change the template section title
Since it is no longer a paragraph but title, no need for colon. Reuse existing
translated message instead of using 'Current Status'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:42 -08:00
Sunil Mohan Adapa
8a246bf15c
pagekite: Rename base template file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:38 -08:00
Joseph Nuthalapati
ec7ae92d89
ikiwiki: Move subsubmenu below description
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:35 -08:00
Joseph Nuthalapati
00eb30861c
Include clients.html in service-subsubmenu.html
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:32 -08:00
Joseph Nuthalapati
9ccdd26e3b
upgrades: Move subsubmenu below description
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:29 -08:00
Joseph Nuthalapati
a4e01eb629
pagekite: Bring subsubmenu below description. Remove About section.
- Fixed broken functional tests
- Pagekite index page directly takes to configuration

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:26 -08:00
Joseph Nuthalapati
1eca9ffd2d
subsubmenu: Make description a customizable block
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:22 -08:00
Joseph Nuthalapati
ccc4bd120b
names: Add description
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:19 -08:00
Joseph Nuthalapati
be46542f87
firewall: Change "Current Status:" from p to h3
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:16 -08:00
Joseph Nuthalapati
0a51654793
dynamicdns: Move subsubmenu below description
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:13 -08:00
Joseph Nuthalapati
4b21ffb16b
dynamicdns: Break up dynamicdns.py into forms.py and views.py
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-08 14:25:10 -08:00
advocatux
8d2923b8dd
Translated using Weblate (Spanish)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-05 16:57:42 +01:00
Petter Reinholdtsen
5d0dd810da
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (1025 of 1027 strings)
2019-03-05 16:57:41 +01:00
Doma Gergő
f4d0584a0d
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-05 16:57:40 +01:00
Pavel Borecki
28543e44ca
Translated using Weblate (Czech)
Currently translated at 100.0% (1027 of 1027 strings)
2019-03-05 16:57:39 +01:00
James Valleroy
c3cf60bcb6
Release v19.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-02 14:46:30 -05:00
James Valleroy
af33d86166
locale: Update translations strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-02 13:25:58 -05:00
Sunil Mohan Adapa
bd20b6570b
ttrss: Implement upgrade from 17.4 to 18.12
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 23:50:45 -05:00
Sunil Mohan Adapa
0dea9e80f3
ttrss: Make setup process reusable
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 23:50:42 -05:00
Sunil Mohan Adapa
2f0bc29239
firewalld: Implement upgrading from 0.4.x to 0.6.x
- firewalld is always on an active. Running setup is not a problem.

- Installing new configuration and applying changes on top is more reliable.
  Changes to be done are not configuration settings but FreedomBox defaults.

Fixes: #1367.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 23:50:40 -05:00
Sunil Mohan Adapa
ebca76b236
utils: Introduce abstraction over distutils comparison of versions
In future, if the semantics need to better align with Debian's version
comparison, we can implement that easily.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 23:50:37 -05:00
Sunil Mohan Adapa
3d57feac24
setup: Pass better data structure for force upgrade operation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 23:50:34 -05:00
James Valleroy
d4fa87bbf1
users: When ssh used in tests, add users to admin group
This allows the tests to pass even if logins are restricted by
security module.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 20:09:43 -08:00
James Valleroy
7ee48da299
security: Migrate access config to new file
Fixes #1504

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 20:09:40 -08:00
Sunil Mohan Adapa
b8d4b55c0a
openvpn: Make frontpage shortcut appear after an upgrade
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 18:13:39 -05:00