Commit Graph
4549 Commits
Author SHA1 Message Date
LoveIsGrief ad9712b54f i2p: django: Additional information about /i2p location
The first visit will start a configuration process

freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:50 -07:00
LoveIsGrief 5e5e0119d2 i2p: django: Add shortcuts to /i2p/... URLs
This should help the user reach pages of the configuration more quickly

freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:47 -07:00
LoveIsGrief 25d3f76434 i2p: Add new application
- installs i2p from apt
 - accessible under /i2p/
 - needed to modify diagnostics url to include numbers

TODO:

 - fix CSS at /i2p/ : firefox NS_ERROR_INVALID_CONTENT_ENCODING ???
 - all green diagnostics
 - functional tests
 - autoconfiguration in setup form
 - configuration of SOCKS5 proxy for network interfaces

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:37 -07:00
James Valleroy 03432c2111 Release v19.4 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-01 20:32:11 -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
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>
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