4238 Commits

Author SHA1 Message Date
James Valleroy
03432c2111
Release v19.4 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.4
2019-04-01 20:32:11 -04:00
James Valleroy
6c5518f545
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-01 20:30:35 -04:00
James Valleroy
93673b1971
locale: Update strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-01 20:17:32 -04:00
wind
7b1d588973
Translated using Weblate (Russian)
Currently translated at 93.6% (958 of 1024 strings)
2019-04-02 02:14:44 +02:00
Joseph Nuthalapati
fa4c807e82
vagrant: Run plinth as user plinth in development environment
Running plinth as root is causing preventable permission errors in production.
This commit makes the necessary changes to run plinth as the user plinth so that
permission errors can be caught early and prevented.

- Give ownership of all files in the mounted directory to plinth
- Add permissions in sudoers file so that plinth can run scripts in
  /vagrant/actions as superuser
- Move scripts that run on vagrant triggers to a separate directory

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-01 20:10:30 -04:00
wind
ec756efb31
Translated using Weblate (Russian)
Currently translated at 91.5% (937 of 1024 strings)
2019-04-01 00:26:46 +02:00
Sunil Mohan Adapa
a84f5d6930
storage: Don't log error when checking if partition is expandable
Without the patch, every time the storage page is visited an error is logged.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-31 08:37:30 -04:00
Joseph Nuthalapati
adaf3d6415
letsencrypt: Call letsencrypt manage_hooks with correct arguments
The `--modules` argument in letsencrypt toggle_hooks command is passed a list of
plinth modules as a single space-separated string. They should instead be passed
as a sequence of individual arguments.

Fixes #1520

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-28 14:37:22 -07:00
Sunil Mohan Adapa
6c86db132b
storage: Don't check type of the disk for / and /boot
Other types could be 'disk' (where there is no partition table) and 'loop' when
the disk is a loop back device. As long as they are mounted on a important
folders, don't let user unmount them.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-28 13:51:00 -07:00
Joseph Nuthalapati
6c28884995
storage: Do not show an eject button on /boot partitions
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-28 10:27:47 -07:00
Joseph Nuthalapati
f7f3b2d8a3
minetest: Fix duplicate domain names being displayed in UI
Fixes #1330

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-03-27 16:34:32 +05:30
James Valleroy
ee627be02e
dynamicdns: Install module by default
Fixes #1464

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-26 19:06:09 -07:00
Joseph Nuthalapati
71637f2757
matrix-synapse: Change client diagnostics url
/_matrix and /_matrix/clients are returning a 404 response.

Using _matrix/clients/versions for diagnostics since it's the simplest GET url
in the client-server API.

Fixes #1503

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-26 18:19:05 -04:00
Johannes Keyser
b9a928543a
Translated using Weblate (German)
Currently translated at 100.0% (1024 of 1024 strings)
2019-03-26 17:38:20 +01:00
Joseph Nuthalapati
5f434a1ac5
clients: Open web app in a new browser tab
The "Launch" button with its fa-external-link icon gives the impression that it
would open the web app in a new browser tab but behaves counter-intuitively by
opening it in the same tab. This commit makes the button open the link to the
web app in a new tab.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-25 19:48:42 -04:00
advocatux
2db85f60da
Translated using Weblate (Spanish)
Currently translated at 100.0% (1024 of 1024 strings)
2019-03-20 20:03:42 +01:00
Doma Gergő
2dc5c0708b
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1024 of 1024 strings)
2019-03-20 20:03:41 +01:00
nautilusx
06c5579074
Translated using Weblate (German)
Currently translated at 99.9% (1023 of 1024 strings)
2019-03-20 20:03:40 +01:00
Pavel Borecki
4e91126ef9
Translated using Weblate (Czech)
Currently translated at 100.0% (1024 of 1024 strings)
2019-03-20 20:03:39 +01:00
Allan Nordhøy
eb014fb702
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.9% (1023 of 1024 strings)
2019-03-20 07:07:06 +01:00
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