Commit Graph
3161 Commits
Author SHA1 Message Date
Sunil Mohan Adapa 8e28afe160 users: Move dpkg reconfigure to action utils
In the hope that it will be useful to other actions.  Also delete the
named temporary file after configuration.
2016-07-31 10:58:07 +05:30
James Valleroy 6c3d3888c1 Use NamedTemporaryFile for debconf override db 2016-07-30 08:49:37 +05:30
James Valleroy 956416ef37 Configure users module packages after installation
Preseeding settings with debconf won't have any effect if the packages
are already installed. Instead, provide an override database to
dpkg-reconfigure.
2016-07-30 08:49:22 +05:30
James Valleroy 438d5850f2 tor: Minor style changes to template 2016-07-28 18:44:59 -04:00
nikhil rayaprolu f27615c748 tor status UI update 2016-07-28 18:36:36 -04:00
Sunil Mohan Adapa 942b23c3c3 dynamicdns: Change 'lookup' to 'look up'
The original patch Nikhil Rayaprolu had this correct.  I have
incorrectly changed it.  Fixing it.
2016-07-28 22:58:00 +05:30
Nikhil Rayaprolu 777dbbe2a7 dynamicdns: Improve label for IP Check URL 2016-07-28 22:51:29 +05:30
Hemanth Kumar Veeranki 30d58d0649 Translated using Weblate (Telugu)
Currently translated at 48.5% (283 of 583 strings)
2016-07-28 18:46:05 +02:00
Petter Reinholdtsen 6652afc090 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (583 of 583 strings)
2016-07-27 18:07:20 +02:00
Luis A. Arizmendi ed39fb82f6 Translated using Weblate (Spanish)
Currently translated at 100.0% (583 of 583 strings)
2016-07-25 21:25:15 +02:00
James Valleroy 8a6b09381f radicale: Minor fixes for access rights config
- Fix code style.

- Keep description and util functions at module level.

- Add license notice to forms file.

- Internationalize and make choice descriptions more informative.
2016-07-24 18:54:32 -04:00
Hemanth Kumar Veeranki c050967c92 Created an action to set argument file
regrouped forms and views into forms.py and views.py
removed code from __init__ and added them as actions
2016-07-24 18:51:23 -04:00
Hemanth Kumar Veeranki ba1211a48b Added Basic Access Control for Radicale 2016-07-24 18:51:15 -04:00
nikhilrayaprolu eca8b8d42e checking for apache2 installation
- checking whether apache2 is configured or not before checking
  whether it is enabled

- changed python2 syntax to python3

- returning False
2016-07-24 10:41:02 -04:00
Caly a7b2914990 Translated using Weblate (Swedish)
Currently translated at 40.4% (236 of 583 strings)
2016-07-24 15:28:29 +02:00
Nikhil Rayaprolu c0dc3ec8ca modified network tests 2016-07-24 09:26:40 -04:00
James Valleroy bce90ae924 ikiwiki: pep8 fixes
Update changelog.
2016-07-23 09:21:00 -04:00
nikhilrayaprolu 59de0f060a updated managed packages list
added suggested packages for ikiwiki which are required for our application
2016-07-23 09:14:34 -04:00
Nikhil Rayaprolu 2132d9a4cd ikiwiki dependecy modification 2016-07-23 09:14:26 -04:00
James Valleroy b93621c660 Update changelog 2016-07-21 19:29:51 -04:00
Sunil Mohan Adapa 6cf1cc72b9 networks: Ability to configure for BATMAN
Add a dispatcher script to NetworkManager to configure
B.A.T.M.A.N. Advanced interfaces.  This quite a bit hacky at it is
triggered for network connections that have the keyword "BATMAN" in
them.  The proper way to implement this is as a core change in
NetworkManager itself (as it lacks plugins).  It is done is the hope
that it will garner some more interest in FreedomBox for mesh networks.

Currently, it is possible to create a BATMAN mesh network and shared
existing internet connections on it.  Other boxes can then join this
mesh network and use that internet connection.

Known issues:

- Very unintuitive setup process.  First create a connection with device
  a Wi-Fi device, mode as ad-hoc, with a known frequency and BSSID.  The
  name of the connection should have contain BATMAN in it.  It should
  also have IPv4 method as disabled.  Second connection should be
  created for 'bat0' interface after the first on is successful.  It can
  be with method 'shared' for sharing internet connection and doing DHCP
  requests or 'auto' for aqcuiring IP address from another node in the
  mesh network.

- Untested for joining existing mesh networks.

- Requires configuring two network connections and the second one needs
  to be manually enabled after the first one is successfully activated.
2016-07-21 19:23:34 -04:00
Sunil Mohan Adapa 28a9933fd9 networks: Configure wireless BSSID, band, channel
Select the frequency band (2.4 GHz vs. 5 GHz) is a prerequisite for
selecting the channel.  Channel selection is useful primarily as follow:

- Restrict to a particular access point when multiple access points use
  the same SSID (AP name) but are available on different frequencies.

- Configure for a particular ad-hoc mesh network.

- Setup multiple access points from a single FreedomBox on multiple
  channels to maximize the throughput and number of simultaneous
  clients.

Ability to specify a particular BSSID will help associate with a
particular access point when multiple access points use the same
SSID (AP name).  This is also makes it slightly harder to trick clients
into connection to a malicious device.  Also configuring BATMAN-adv
seems to require setting a particular BSSID.
2016-07-21 19:23:31 -04:00
Sunil Mohan Adapa a9ca2d7cc3 networks: Add 'disabled' IPv4 method, i18n
Disabled IPv4 method allows not configuring IPv4 entirely on network
interfaces as required in some cases.

Also, make sure to internationalize all the choices form values in
network module.  There were missed before.
2016-07-21 19:23:27 -04:00
Sunil Mohan Adapa 04babacafa networks: Ability to configure generic interfaces
After batman-adv kernel driver takes over the Wi-Fi network interface
and provides a bat0 interface, this interface shows up as device type
'batadv'.  This type is not recognized by network manager is dealt with
as a generic device.  Configuring this device for IPv4/IPv6 in
auto/shared mode etc. works fine.  So, add the ability to configure
generic interfaces.
2016-07-21 19:23:20 -04:00
James Valleroy 561c7c1e6b Make minor changes to status log page 2016-07-21 18:00:53 -04:00
Hemanth Kumar Veeranki 15a336613b Fixed PEP8 standards and other specified changes 2016-07-21 17:58:14 -04:00
Hemanth Kumar Veeranki 8d5ef42b73 Created a Status Log page, Linked to 500 Template
Issue #451
2016-07-21 17:58:08 -04:00
James Valleroy ea47454f90 Update changelog 2016-07-16 19:38:49 -04:00
James Valleroy 9f96cd4cec Use consistent style in INSTALL 2016-07-16 19:32:10 -04:00
Hemanth Kumar Veeranki 7aa92d3771 Added Missed Dependencies to the file 2016-07-16 19:27:27 -04:00
James Valleroy 806d258663 tor: Remove ownCloud reference from HS help text 2016-07-16 14:14:32 -04:00
Sunil Mohan Adapa 038fec97a6 tor: Ability to run regular relays
- Allow users to run regular relays.  In addition to that users will be
  able to turn them into bridge relays.  Like before, by default,
  relaying is enabled and the relay type bridge relay.

- Show obfs3/4 transport ports as needing firewall port forwarding only
  if bridge relay is enabled.

- Remove pluggable transports configuration from configuration when
  bridge rely is disabled.

- Improve description message for relays and bridge relays.
2016-07-16 13:43:29 -04:00
Sunil Mohan Adapa 70001c841f tor: Minor improvements
- Minimize loading of Augeas since it takes time.

- Make some methods private

- PEP8 fixes
2016-07-16 13:43:23 -04:00
Sunil Mohan Adapa 2afae80dd8 security: Recommend/notify about restricted logins
- Do stricter matches when editing configuration file.  Earlier
  mechanism would match comments etc.

- Move action methods to module core from views.

- During first boot, notify users that console login is restricted and
  that they can changed that from security settings.

- Recommend enabling conosle login restrictions.  Add message about why
  console restrictions are important.

- Show title in security module.
2016-07-09 22:42:20 +05:30
James Valleroy 82c27aabf3 first_boot: Enable restricted console logins 2016-07-09 22:41:53 +05:30
James Valleroy 8e96e828d9 security: New module to control login restrictions 2016-07-09 22:41:21 +05:30
Masoud Abkenar d7fed5fcda Translated using Weblate (Persian)
Currently translated at 37.7% (220 of 583 strings)
2016-07-08 19:51:09 +02:00
Sunil Mohan Adapa 13dd81713e tor: Warn hidden service users about anonymity
- When Tor hidden service is enable along with regular web server, it is
  possible to de-anonymize the server.

- When Tor hidden service is enabled along with Tor relay, the hidden
  service can be de-anonymized by sending large traffic observing
  traffic patterns published by Tor relay.  See:
  https://trac.torproject.org/projects/tor/ticket/8742

Warn users not to rely on Tor hidden service functionality for strong
anonymity.  We can remove this warning when implement a mechanism to
disable most other services when Tor hidden service is enabled.
2016-07-08 23:19:23 +05:30
James Valleroy 38382ec09c tor: Add option to toggle bridge relay 2016-07-08 23:19:16 +05:30
James Valleroy 1c98d1272f tor: Use single command to get status
Merge get_ports and get_hs into get_status.
2016-07-08 23:19:09 +05:30
ikmaak 9e9693c990 Translated using Weblate (Dutch)
Currently translated at 100.0% (583 of 583 strings)
2016-07-08 12:00:37 +02:00
Masoud Abkenar 6cc8eb2d59 Translated using Weblate (Persian)
Currently translated at 36.8% (215 of 583 strings)
2016-07-07 12:45:08 +02:00
Masoud Abkenar 53b4bc20c9 Translated using Weblate (Persian)
Currently translated at 23.4% (137 of 583 strings)
2016-07-04 16:37:03 +02:00
Mikkel Kirkgaard Nielsen ec3f051a49 Translated using Weblate (Danish)
Currently translated at 99.8% (582 of 583 strings)
2016-07-04 16:37:03 +02:00
Sunil Mohan Adapa 022e356bcc New locale for Indonesian (id) 2016-07-04 20:05:38 +05:30
Алексей Докучаев 589013a366 Translated using Weblate (Russian)
Currently translated at 99.8% (582 of 583 strings)
2016-07-04 06:45:41 +02:00
John Doe e40ea6eb09 Translated using Weblate (Turkish)
Currently translated at 100.0% (583 of 583 strings)
2016-07-03 19:39:10 +02:00
Sunil Mohan Adapa 759eb35edb Update all translations with latest messages 2016-07-01 07:47:13 +05:30
Sunil Mohan Adapa a3592ef84c New locale for Persian (fa) 2016-07-01 07:42:07 +05:30
Masoud Abkenar a95d02f12a ikiwiki: Improve description. Fixes #487 2016-07-01 07:29:51 +05:30