Commit Graph
4549 Commits
Author SHA1 Message Date
Sunil Mohan Adapa 6bc9c3bd8e quassel: Implement diagnostics 2015-12-12 15:35:43 +05:30
James Valleroy e74c4791ec Add quassel module. 2015-12-11 19:09:54 -05:00
Sunil Mohan Adapa 201837518f Update strings during edit/delete operations 2015-12-09 23:55:55 +05:30
Ruben Lubbes 161e374419 Improved base strings to avoid duplicates
Should not affect already translated strings.
2015-12-09 23:55:55 +05:30
Ruben Lubbes fad7448417 More punctuation and minor errors changed 2015-12-09 23:55:55 +05:30
Ruben Lubbes 841439ba73 Punctuation errors changed after DE language check
Influences all translations, so do not use for 0.7.
2015-12-09 23:55:55 +05:30
Ruben Lubbes 91486beeb1 Updated translations 2015-12-09 23:55:55 +05:30
ikmaak 8ca1aab2a9 Translated using Weblate (Telugu)
Currently translated at 43.4% (229 of 527 strings)
2015-12-09 15:08:45 +01:00
ikmaak 0687e12b20 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.2% (523 of 527 strings)
2015-12-09 15:08:45 +01:00
ikmaak b8d34cd519 Translated using Weblate (German)
Currently translated at 100.0% (527 of 527 strings)
2015-12-09 15:08:45 +01:00
ikmaak a6f32e214b Translated using Weblate (French)
Currently translated at 100.0% (527 of 527 strings)
2015-12-09 15:08:45 +01:00
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 42d0198a2e networks: Refactor for simplicity and brevity
- Make connection adding/editing forms inherit from base.

- Make the forms responsible for extracting cleaned data.

- Use dictionaries for passing around settings values while
  adding/editing connections.
2015-12-09 17:56:11 +05:30
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 2015-12-07 07:22:41 -05:00
James Valleroy aa7593e634 Release 0.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
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
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 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
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 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 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