972 Commits

Author SHA1 Message Date
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
Hemanth Kumar Veeranki
42e44ec689
Fixed issue with lost menus in Django 1.10 2016-08-11 18:02:36 -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
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
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
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
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
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
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