3939 Commits

Author SHA1 Message Date
James Valleroy
e1fc563a29
Update required Django version in INSTALL and requirements.txt
Update changelog
2016-08-11 18:40:35 -04:00
Sunil Mohan Adapa
18996b5c56
Import urlresolvers from django.urls
In Django 1.10, django.core.urlresolvers is available from
django.urls. Use it.
2016-08-11 18:03:00 -04:00
Sunil Mohan Adapa
2f1fe8af22
Remove unused setting LOGOUT_URL
Django 1.10 officially does not use the setting LOGOUT_URL anymore.
Django stronghold incorrectly uses it as a URL rather than named url.
2016-08-11 18:02:56 -04:00
Sunil Mohan Adapa
09ba42aa7c
Replace render_to_response() with render()
In Django 1.10, render_to_response no longer has context_instance
argument.  It's use is not recommended anyway.  Replace it with render()
method.
2016-08-11 18:02:52 -04:00
Sunil Mohan Adapa
0856d7b090
Work around script prefix problem in stronghold 2016-08-11 18:02:48 -04:00
Sunil Mohan Adapa
f19ad2b2cb
Bump required version of Django to 1.10
Since Debian testing now has Django 1.10.  There is no necessity to
support older versions of Django.  The fix for showing menu items does
depend on a small feature that is introduced in Django 1.10:
django.setup(set_prefix=True) and FORCE_SCRIPT_NAME.
2016-08-11 18:02:41 -04:00
Hemanth Kumar Veeranki
42e44ec689
Fixed issue with lost menus in Django 1.10 2016-08-11 18:02:36 -04:00
James Valleroy
aad39e4001
Update changelog 2016-08-11 17:22:43 -04:00
Sunil Mohan Adapa
74ffc8d323
networks: Fix incorrect access of DNS settings
Network manager's libnm throws a critical message for when accessing DNS
entries from IPv4 configuration when there are none available.  See the
number of entries available before accessing them.
2016-08-11 17:11:27 -04:00
Sunil Mohan Adapa
fee14b1764
networks: Remove the IP address hack fully 2016-08-11 17:11:23 -04:00
nikhil rayaprolu
43e070972a
networks: Remove hack for fetching IP address 2016-08-11 17:11:17 -04:00
Rom1
5d926915a6 Translated using Weblate (French)
Currently translated at 96.0% (560 of 583 strings)
2016-08-08 18:52:57 +02:00
Sunil Mohan Adapa
395155d306
snapshot: Use augeas for modifying fstab 2016-08-08 22:22:04 +05:30
Sunil Mohan Adapa
d615709b8a
snapshot: Improved messages and minor refactoring
- Make the default snapshot detection slightly more robust and refactor.

- Expand description to explain automatic snapshotting, etc.

- Show description even after setup.

- Show default snapshot as a bootstrap label.

- Message explaing how rollback can be undone.

- Minor updates to delete/rollback confirmation messages.

- Minor style refactoring
2016-08-08 22:21:31 +05:30
James Valleroy
5e18a648e1
snapshot: New module for disk snapshots
- Create and list filesystem snapshots. Hide "current" snapshot.

- Allow deleting snapshots, except for default subvolume.

- Allow rollback to a snapshot.
2016-08-08 22:21:21 +05:30
Hemanth Kumar Veeranki
62934e7edc Translated using Weblate (Telugu)
Currently translated at 63.8% (372 of 583 strings)
2016-08-06 13:02:04 +02:00
Petter Reinholdtsen
da57505e2a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (583 of 583 strings)
2016-08-06 13:02:04 +02:00
James Valleroy
2befa18c33
Switch to official vagrant box 2016-08-05 21:13:14 -04:00
Hemanth Kumar Veeranki
b232e5df3b Translated using Weblate (Telugu)
Currently translated at 62.6% (365 of 583 strings)
2016-08-03 18:53:50 +02:00
Sunil Mohan Adapa
dd709066f7
Update HACKING file with Vagrant information 2016-08-03 22:19:57 +05:30
Sunil Mohan Adapa
bdd903e0ca
Minor updates to Vagrantfile
- Add license header

- Let setup.py decide the Python interpreter to use

- Don't make a copy of the project directory making it easier to
  re-provision.

- Show a message on how to proceed after bringing up the VM
2016-08-03 22:18:38 +05:30
James Valleroy
eed0babb13
Add Vagrantfile. 2016-08-03 19:54:12 +05:30
Sunil Mohan Adapa
69a7f847aa
Properly fix setup argument checking 2016-08-01 20:38:42 +05:30
Hemanth Kumar Veeranki
2deb8c1911 Translated using Weblate (Telugu)
Currently translated at 54.5% (318 of 583 strings)
2016-08-01 15:34:49 +02:00
Hemanth Kumar Veeranki
29d20265c1
Removed a small bug of running setup always 2016-08-01 18:58:00 +05:30
Sunil Mohan Adapa
9ba327f0dd
users: Fix issue with removing temp file 2016-07-31 15:06:20 +05:30
Hemanth Kumar Veeranki
60e808e9bb
Added option for plinth --setup
Now plinth --setup could take a list of modules to setup
2016-07-31 14:15:57 +05:30
Hemanth Kumar Veeranki
1414db64bf Translated using Weblate (Telugu)
Currently translated at 49.9% (291 of 583 strings)
2016-07-31 07:44:47 +02:00
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