1399 Commits

Author SHA1 Message Date
ikmaak
0be0b0fa14 Translated using Weblate (Dutch)
Currently translated at 100.0% (527 of 527 strings)
2015-12-09 15:08:32 +01:00
ikmaak
bc8f4ab485 Translated using Weblate (Danish)
Currently translated at 100.0% (527 of 527 strings)
2015-12-09 15:08:32 +01:00
Philippe Baret
8f8a61f453 Translated using Weblate (French)
Currently translated at 100.0% (507 of 507 strings)
2015-12-09 15:08:32 +01:00
Philippe Baret
385c20b4e8 Translated using Weblate (French)
Currently translated at 100.0% (507 of 507 strings)
2015-12-09 15:07:42 +01:00
Sunil Mohan Adapa
8438bd3f31 networks: Fix issue with setting default netmask
- Minor refactoring of DNS server setting code.
2015-12-09 17:56:11 +05:30
Sunil Mohan Adapa
ba5c7a772d networks: Refactor & fix extracting netmask
- Use host byte ordering instead of big-endian.
2015-12-09 17:55:03 +05:30
Sunil Mohan Adapa
da99a7cb9d networks: Minor indentation fixes 2015-12-09 12:21:38 +05:30
Sunil Mohan Adapa
d1b20ac113 networks: I18N for static IP configuration 2015-12-09 12:20:37 +05:30
Daniel Steglich
1a1faa8a1b Github issue 314: static IP configuration enhancement
* fixed IP configuration
  * set up a new ipv4settings object to avoid the need of reseting all the values
* extended Static IP configuration:
  * allow configuration of netmask (optional)
  * allow configuration of Gateway (optional)
  * allow configuartion of two DNS Servers (optional)
* extend DHCP configuration:
  * allow configuration of user specific DNS Server
  * DHCP provided DNS Servers will be ignored in that case
2015-12-09 10:28:53 +05:30
James Valleroy
b0e7a57668 Release 0.7.1 v0.7.1 2015-12-07 07:22:41 -05:00
Sunil Mohan Adapa
c77b2ac42e Fix issues with empty table cells in Manual
Closes #333.
2015-12-07 09:19:04 +05:30
James Valleroy
aa7593e634 Release 0.7 v0.7 2015-12-06 14:46:35 -05:00
Sunil Mohan Adapa
196248e7e9 Update remaining translations
- By running ./setup.py update_translations
2015-12-07 00:54:42 +05:30
Sunil Mohan Adapa
fa213b8b06 Update Norwegian Bokmål from Transifex 2015-12-07 00:52:01 +05:30
Sunil Mohan Adapa
98eabd6460 Update Dutch and translate 1 string
- Translation 1 newly introduced string

- Run ./setup update_translations
2015-12-07 00:41:56 +05:30
Sunil Mohan Adapa
bc81471297 Update German translations from Transifex 2015-12-07 00:23:47 +05:30
Sunil Mohan Adapa
ba4efbe015 Create Telugu translation from Transifex 2015-12-07 00:15:09 +05:30
Sunil Mohan Adapa
5c640423cd Update manual from Wiki 2015-12-06 23:59:29 +05:30
Daniel Steglich
994e674885 Github issue 320: fixed display error
* switched "ignore SSL cert errors" and "use basic auth"
2015-12-06 22:25:53 +05:30
Mikkel Kirkgaard Nielsen
9019adf775 Update Danish (da) translation before 0.7 freeze. 2015-12-06 18:10:59 +05:30
Daniel Steglich
ff412c2af1 network: Fix changing addressing method (GH #307)
When changing the addressing method from manual to automatic, the IP
addresses where removed from connection object without removing the
Gateway property.  This causes a networkmanager error.

Create new SettingIP4Config object to avoid the need to reset all
propertys when changing methods
2015-12-06 18:01:49 +05:30
Sunil Mohan Adapa
3e8a6f553a Minor styling fix 2015-12-06 15:52:14 +05:30
James Valleroy
0695ee5abb tor: Switch to obfs4proxy.
Replaces scramblesuit, and also supports obfs3.
Also add tor-geoipdb which is useful for bridges.
2015-12-06 12:21:22 +05:30
Sunil Mohan Adapa
f281955244 Minor fixes to Weblate badages 2015-12-05 23:42:42 +05:30
Philippe Baret
f9c78496ce Added translation widgets
From Weblate:
https://hosted.weblate.org/widgets/freedombox/
2015-12-05 18:32:41 +01:00
Philippe Baret
05c9acd311 Django FR: 27 new strings translated
100% translated, 100% self proof read.
2015-12-05 17:58:42 +01:00
Sunil Mohan Adapa
fed2178f7e Keep POT file when updating translations 2015-12-05 10:25:28 -05:00
Sunil Mohan Adapa
34ba546d9d config: Simplify tests
- Using the new configuration module changes meant for easy tests,
  simplify all test cases.

- Reading file is tested separately from find the configuration file.
2015-12-05 09:51:50 -05:00
Sunil Mohan Adapa
bbef41af7a Fix missing option in test configuration
Add danube_edition option to the Misc section of the configuration file.
Without this option, this 'missing section' test case will fail with
'missing option' instead of 'missing section'.  Coupled with the
unpredictable order of reading options, this only happens sometimes.
2015-12-05 09:51:50 -05:00
Sunil Mohan Adapa
a1d5486c82 config: Refactor for easy testing
- Split the read method into two separate methods for getting the config
  file and for reading config file.

- Use logging module for printing error.

- Fix global variable naming.

- Get/set/show the realpath of the config file.

- Convert config items into a list so that the order is more
  predictable.  This is the reason for unpredictable failures in test
  cases.
2015-12-05 09:51:50 -05:00
Sunil Mohan Adapa
db548a4e24 Make migration work for older version upgrades
With the --fake-initial argument to migrate, Django will detect the
existance of initial table with the precondition that the table schema
must be the same as the first migration (it is in this case).

https://docs.djangoproject.com/en/1.8/topics/migrations/#adding-migrations-to-apps
2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa
e6117fbcdf Update TEMPLATES setting for Django 1.8+ 2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa
a69f419c3c Make Django urlpatterns list of url()s
- Support for legacy pattern() mechanism will be removed in Django
  1.10.  Currently we see a warning for each Plinth module.
2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa
a432e16ed7 Use migrate management command instead of syncdb
- syncdb has been deprecated in Django 1.7 in favor of migrate command.

- In Django 1.9 it has been removed.  Django 1.9 has already hit Debian
  unstable.
2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa
61445f8b1a Create initial migration file for Plinth
- To automatically create a schema using syncdb is now deprecated and
  considered legacy.

- Having migrations will help us do schema upgrades in future smoothly.
2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa
74c4791440 Run tests on multiple Django versions
- Run tests on Django 1.7, 1.8 and 1.9.

- Import of a test case fails on 3.3 and this version of Python is not
  available on Debian anymore, not even Jessie.
2015-12-05 09:33:23 -05:00
Ruben Lubbes
59f36e1a87 Added 27 NL strings for 0.7 release. 2015-12-05 14:54:40 +01:00
Sunil Mohan Adapa
404a575aa4 Update latest messages for all locales 2015-12-05 18:15:34 +05:30
Sunil Mohan Adapa
f7b542a697 Update fake translations with latest messages 2015-12-05 18:12:50 +05:30
Sunil Mohan Adapa
f1ed32e9d2 Add POT file to the repository
Some web translation tools work better when a POT file is available.
Commit the initial version of the POT file.  We need to make a practise
of updating the POT file whenever someone makes changes to translatable
string in the code.
2015-12-05 12:13:59 +05:30
Sunil Mohan Adapa
7100429342 tor: Minor fixes
- Be a little bit more strict about Tor tests by requiring the module to
  be importable even when not running as root.
2015-12-04 10:14:47 +05:30
James Valleroy
b96bb9d2cd Add augeas-tools to travis package list. 2015-12-04 09:16:06 +05:30
James Valleroy
90a1c334fe Skip tor tests unless root. 2015-12-04 09:16:06 +05:30
James Valleroy
66625c35a3 Handle error where /etc/tor/torrc does not exist when checking hidden service config.
Handle error where tor state file does not exist when getting list of ports.

Add test for checking if apt-transport-tor is enabled.
2015-12-04 09:16:06 +05:30
Sunil Mohan Adapa
f2a4ffe394 firewall: Make default zone as 'external'
Set the default firewall zone.  When network connections are configured
outside of FreedomBox/Plinth, they will not be able to serve the Plinth
web interface.  This is because all such interfaces will fall in the
default firewall zone and that is, by default, 'public'.  On 'public'
zone we don't allow Plinth web interface as this zone is not managed.

Configuration of network connections happen outside for
FreedomBox/Plinth for various reasons:

 - Existing network connections before installation of freedombox-setup

 - Connections configured in /etc/network/interfaces

 - Connections manually configured using nmtui

 - Connections created using GUI environments such as GNOME

Rather then clearing out /etc/network/interfaces during setup and
expecting the connections not to be created outside of Plinth, setting
the default firewall zone is a better approach.  This default zone
selection fits with the main purpose of FreedomBox to be a router which
is also reflected by the fact that only 'external'
2015-12-03 18:25:37 -05:00
Sunil Mohan Adapa
5234bffb3b Don't restart webserver unnecessary
Some of the important modules such as php5, cgi and authnz_ldap are
enabled by default in freedombox-setup.  However, when installing
ikiwiki we still restart the apache2 web server.  This patch fixes that
by restart or reloading only when the corresponding module/config/site
is not already in the state required.
2015-12-03 17:55:22 -05:00
Sunil Mohan Adapa
9be80b2483 packages: Fix issue with handling some errors
I got an error when one of the sources in my sources.list is untrusted.
The error code was available as 'gpg-error' and more description was
available.  Our untested code to handle that threw an exception in that
case.  This patch fixes it.  I have tested with the error I got as the
error was easily reproducible.
2015-12-03 17:55:22 -05:00
Sunil Mohan Adapa
8e8f8118c4 Remove trailing whitespaces in locale directory 2015-12-03 09:21:22 +05:30
Sunil Mohan Adapa
dac8e570df Remove incorrect locale 'dk' 2015-12-03 09:20:59 +05:30
Mikkel Kirkgaard Nielsen
944fe9f6d0 Update Danish .po from latest code.
Translate new and updated strings.
Fixes after proofreading and actual testing.
2015-12-03 03:40:01 +01:00