4218 Commits

Author SHA1 Message Date
James Valleroy
6b45cdc68e
Release v19.3 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.3
2019-03-18 20:31:22 -04:00
James Valleroy
c01975dd95
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-18 20:29:33 -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
d76526dbb6
setup: Remove unused /var/run directory
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:21:00 -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
Sunil Mohan Adapa
925f7dd1c1
setup: Don't include data/ files as package data
- Don't include all data files of a package by default anymore.

- Simplify expressions for what is included as part of package data.

- Explicitly don't include data/* files in package data.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:48 -04:00
Sunil Mohan Adapa
39167bfd7e
setup: Allow apps to have their own data directories
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:45 -04:00
Sunil Mohan Adapa
8882103626
setup: Automatically gather information about files to install
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-17 16:20:42 -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
Sunil Mohan Adapa
8f2876b1e7
ci: Allow gitlab to parse test coverage results
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-11 19:23:49 -04: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
e7181bb18a
mediawiki: Fix tests to allow running from any directory
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:21 -04:00
Sunil Mohan Adapa
cb15d34482
functional_tests: Update todo list by removing implemented tests
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:18 -04:00
Sunil Mohan Adapa
e395c531c7
HACKING.md: Update instructions on installing dependencies
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:16 -04:00
Sunil Mohan Adapa
ea362763cd
INSTALL.md: Simplify installation instructions
- Remove hard-coded list of dependencies. Maintaining a separate list here add
  development burden. This list keeps getting outdated often.

- Redirect users to QuickStart manual page for regular us.

- Remove instructions for Django < 1.11 because it is now available in buster
  and above.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:14 -04:00
Sunil Mohan Adapa
fe1b1cb5b2
README: Provide simple instruction for installing FreedomBox
Provide instruction for regular users over instructions for developers.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:11 -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
0e2315486d
tests: Read functional tests conf file without assuming CWD
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:07 -04:00
Sunil Mohan Adapa
b66b15591e
tests: Mark functional tests with functional mark
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:04 -04:00
Sunil Mohan Adapa
895b5f1fa8
functional_tests: Reorder tests to disable apps after tests
To reduce memory/CPU requirement on the VM running the services for functional
tests. The following items are kept enabled as these are enabled by default in
FreedomBox.:

- NTP daemon

- Restricted console login

- Unattended upgrades

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-09 21:20:42 -05: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