The default favorites might change and we might have to update the list but for
now they were extracted from a clean router.config saved by the i2p daemon.
1528 - augeas for router.config
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
It's cleaner and less hacky, however we still overwrite the default favs because
they aren't written to the file by i2p until a change is made manually in the
frontend.
We still need to recreate the list of default and add them manually.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
- Only web interface (protected by sign-on) should be available on external
interfaces.
- Proxies should only be available on internal interfaces. Otherwise, they will
become open proxies on the Internet which might have implications for the
FreedomBox user.
- Update description to convey that we are not opening SOCKS proxy but only
HTTP, HTTPS and IRC proxies.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
- HTTP/HTTPS proxies are not SOCKS proxies. SOCKS proxies are not recommended by
the project. https://geti2p.net/en/docs/api/socks
- Write more detailed description in firewalld style.
- Rename the files for firewalld styling and removing 'socks'.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
We will want to set the 'interface' property of certain tunnels to 0.0.0.0 and
the handle the rest with the firewall. This is just prep to do so.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Add interface to get port types and numbers for a service.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
- Fetch disk information for all disks using udisks
- Call df as superuser so that all disks are listed (udisks doesn't need sudo)
- Improved implementation to check if device is removable
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
> 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>