- Add 'secondary' flag to menu items.
- Mark apps as 'secondary' when disabled.
- Extend TemplateView for apps index.
- Add card-container for disabled apps.
Closes#1309
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
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>
- 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>