> error: invalid command 'bdist_wheel'
Kept popping up in the logs. It seems like `wheel` isn't in the deps of
the installed python packages. Therefore we now install it ourselves.
freedombox/plinth#1521 - Provision VM to run function functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
It's now possible to run the tests in the VM more easily
without copy-pasting too much from HACKING.md.
`vagrant provision --provisiion-with tests` will take care of the dependencies.
freedombox/plinth#1521 - Provision VM to run function functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- Update the description of the app. Remove link to web interface at it is now
in clients list.
- Add showing running status of the service.
- Use the new style for showing subsubmenus under the description of the
application.
- Don't use frames to show the interface. Let users launch that interface in a
new window instead.
- Use class based views for I2P service views.
- Update description of the I2P service views.
- Minor styling updates.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
- Remove unneeded actions: start, stop, restart, is-running and is-enabled.
- Remove short form parameter passing for add-favorite action. Mostly for
consistency and avoid confusion. Actions are not expected to be used by
regular users.
- Rename Apache configuration from: i2p-plinth.conf to i2p-freedombox.conf
- Fix issue with adding favorites when none already present. This eliminates
failure during first time installation for I2P.
- Fix issue with incorrect new lines while editing favorites.
- Minor fixes in Apache configuration.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Enable by default so that app installation (algo during backup restore) does not
cause apache to restart and show error pages.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Source from https://commons.wikimedia.org/wiki/File:I2P_logo.svg under public
domain. Modified and licensed under AGPLv3 for each of license management.
Add SVG logo also for future use.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
There are already a few listed, so no need to rewrite the list
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
It's too big for this PR, not important and too complicated to be secure. A
guide on using the TOR Browser with extensions and/or a proxy would be better
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
There's no **documented** JSON-RPC for configuring a tunnel, so scratch that off the list
There also doesn't seem to be a working browser bundle with I2P support. [AbscondBrowser](https://github.com/PrivacySolutions/Abscond-Browser) doesn't seem to be very active
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
3 search engines and a torrent tracker added to the favorites
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Tunnels have a better description now.
I2P snark will need a better description and introduction
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
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>
As soon as a response has to be chunked, something goes wrong and the response
cannot be decoded.
freedombox-team/plinth#1428 Request: I2P support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
- 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>
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>
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>
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>
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>
/_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>
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>