Commit Graph
4290 Commits
Author SHA1 Message Date
LoveIsGrief 5c26c28f96 i2p: Open HTTP(S) and IRC ports on all interfaces on install
I2P has to be restarted in order for the changes to take effect.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:01:50 -07:00
LoveIsGrief eb28f47053 i2p: Add helper to modify the tunnel config
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>
2019-04-29 14:58:38 -07:00
James Valleroy 0018e14cab firewall: Show ports details
Show port types and numbers.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-28 20:59:37 -07:00
James Valleroy e5081018a3 firewall: Get service ports details
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>
2019-04-28 20:59:15 -07:00
narendrakumar.b 51fc87f1bc letsencrypt: Provide link to configure domain if not configured
Added hyper link to /plinth/sys/config as per #1355.

Closes: #1355.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-26 11:52:17 -07:00
Mesut Akcan 21c664082b Translated using Weblate (Turkish)
Currently translated at 79.0% (818 of 1036 strings)
2019-04-26 12:48:16 +02:00
Mesut Akcan 529c51e57e Translated using Weblate (Turkish)
Currently translated at 77.7% (805 of 1036 strings)
2019-04-19 11:34:09 +02:00
Allan Nordhøy af9d812778 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (1034 of 1036 strings)
2019-04-17 23:04:47 +02:00
nautilusx ce43120a4a Translated using Weblate (German)
Currently translated at 100.0% (1036 of 1036 strings)
2019-04-17 23:04:46 +02:00
CurlingTongs 5b306f3c94 Translated using Weblate (German)
Currently translated at 100.0% (1036 of 1036 strings)
2019-04-17 23:04:46 +02:00
Pavel Borecki 162b462afb Translated using Weblate (Czech)
Currently translated at 100.0% (1036 of 1036 strings)
2019-04-17 23:04:34 +02:00
James Valleroy 504ed112cd Release v19.5 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.5
2019-04-15 18:49:38 -04:00
James Valleroy 17ca497f5e doc: Fetch manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-15 18:46:53 -04:00
James Valleroy 64a464b18f locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-15 18:33:12 -04:00
CurlingTongs 54b0c3fdb6 Translated using Weblate (German)
Currently translated at 100.0% (1024 of 1024 strings)
2019-04-16 00:29:31 +02:00
wind d5b6279e04 Translated using Weblate (Russian)
Currently translated at 100.0% (1024 of 1024 strings)
2019-04-14 20:04:20 +02:00
Igor d1595cae04 Translated using Weblate (Russian)
Currently translated at 100.0% (1024 of 1024 strings)
2019-04-14 20:04:19 +02:00
Joseph Nuthalapati a2d07fef0b storage: Use udisks to list disks and df for disk space utilization
- 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>
2019-04-14 11:27:43 -04:00
wind 0ec1d7cbb2 Translated using Weblate (Russian)
Currently translated at 98.6% (1010 of 1024 strings)
2019-04-10 18:04:13 +02:00
wind c47af702c0 Translated using Weblate (Russian)
Currently translated at 97.3% (996 of 1024 strings)
2019-04-09 15:04:20 +02:00
wind 30e35ac501 Translated using Weblate (Russian)
Currently translated at 95.1% (974 of 1024 strings)
2019-04-04 22:04:10 +02:00
James Valleroy 44b25ea617 functional_tests: Install python3-pytest-django
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-03 22:03:52 -04:00
LoveIsGrief 35c9e591c9 functional tests: Fix wheel errors when provisioning VM
> 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>
2019-04-03 22:03:49 -04:00
LoveIsGrief d31b0ee3c7 functional_tests: Allow provisioning VM for functional tests
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>
2019-04-03 22:03:44 -04:00
James Valleroy 5c2a8c0b40 Merge remote-tracking branch 'freedombox-team/master' 2019-04-01 21:23:13 -04:00
Sunil Mohan Adapa 7a89474cb6 i2p: Disable app until further fixes are done
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:34:01 -07:00
Sunil Mohan Adapa fe03b4f34f i2p: Review and update views
- 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>
2019-04-01 17:33:58 -07:00
Sunil Mohan Adapa 6e5a45a9b3 i2p: Review and cleanup action script
- 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>
2019-04-01 17:33:55 -07:00
Sunil Mohan Adapa 9ceec9c8d8 i2p: Add main web interface to list of clients
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:51 -07:00
Sunil Mohan Adapa c98f44f5ae i2p: Add diagnostic test for web interface port
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:48 -07:00
Sunil Mohan Adapa ba4d73ae60 i2p: Minor styling changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:45 -07:00
Sunil Mohan Adapa 14b581c96d i2p: Backup/restore the correct state folder
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:42 -07:00
Sunil Mohan Adapa 70a9f4a6ae apache: Add proxy_html module needed by i2p app
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>
2019-04-01 17:33:38 -07:00
Sunil Mohan Adapa de4d8ac841 i2p: Remove TODO in favor of issue tracker
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:35 -07:00
Sunil Mohan Adapa 4fbf7760ed i2p: Use project logo instead of mascot
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>
2019-04-01 17:33:32 -07:00
Sunil Mohan Adapa eb35629a8c i2p: Move data files into the app's data folder
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:29 -07:00
LoveIsGrief d551d52537 i2p: Add functional tests
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:26 -07:00
LoveIsGrief 3d211d26eb i2p: torrents: Link to the list of trackers
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>
2019-04-01 17:33:22 -07:00
LoveIsGrief 748787d242 i2p: todo: Remove IDEA for browsing to .i2p sites in iframe
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>
2019-04-01 17:33:19 -07:00
LoveIsGrief 4d4d792282 i2p: todo: Tick off a TODO and reword one
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>
2019-04-01 17:33:16 -07:00
LoveIsGrief 0b2922749b i2p: setup: Enrich I2P favorites
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>
2019-04-01 17:33:12 -07:00
LoveIsGrief 4e7fc70192 i2p: django: Add i2p homepage to description
freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:09 -07:00
LoveIsGrief 23b4d33b3b i2p: django: Add description for the configuration shortcuts
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>
2019-04-01 17:33:06 -07:00
LoveIsGrief c199fd50cb i2p: todo: Add torrent tracker to list of favorites
freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:03 -07:00
LoveIsGrief 1b58256023 i2p: idea: Browse eepsites directly from freedombox
freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:00 -07:00
LoveIsGrief 2c97f76b59 i2p: todo: add more TODOs for I2P
More pages to the favorites

freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:56 -07:00
LoveIsGrief 6db2bd6e04 i2p: todo: Add TODOs for I2P
freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:53 -07:00
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 f2936f0eed i2p: apache: Catch more I2P locations
They used to fall through and hit a 404

freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:32:43 -07:00