3939 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
3b7b7881b1
networks: Fix issue when looking up AP details
As reported by Jan Costermans, it is possible that for an access point
scanned by a Wi-Fi device, get_ssid() returns None.  The reported as
follows:

  if access_point.get_ssid().get_data() == ssid:

  AttributeError: 'NoneType' object has no attribute 'get_data'
2016-03-05 16:00:27 -05:00
James Valleroy
b38859b0d3
Merge branch 'common-view' 2016-03-05 15:32:38 -05:00
ultrapeer
84c752d7c7 Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2016-03-05 18:59:03 +01:00
Joel Valleroy
176f0320c3
Avahi should now display {box_name}. Fixes #414 2016-03-05 23:28:39 +05:30
ultrapeer
22ca61e4c4 Translated using Weblate (French)
Currently translated at 82.9% (472 of 569 strings)
2016-03-04 22:19:26 +01:00
Luis A. Arizmendi
49e59ce83d Translated using Weblate (Spanish)
Currently translated at 16.8% (96 of 569 strings)
2016-03-04 21:45:14 +01:00
Sunil Mohan Adapa
2078e209d1
views: Minor adjustment to module load order 2016-02-28 19:54:24 +05:30
Sunil Mohan Adapa
f04e1c1657
Minor PEP8 & spelling fixes in various modules 2016-02-28 19:38:53 +05:30
Sunil Mohan Adapa
711892486e
upgrades: Use common view for configuration 2016-02-28 19:38:48 +05:30
Sunil Mohan Adapa
a0e676c51c
ikiwiki: Use common view for configuration 2016-02-28 19:38:44 +05:30
Sunil Mohan Adapa
d31de69d36
datetime: Use common view for configuration 2016-02-28 19:38:40 +05:30
Sunil Mohan Adapa
7385bebb89
transmission: Use common view for configuration 2016-02-28 19:38:36 +05:30
Sunil Mohan Adapa
73c7d8e89e
avahi: Use common view for configuration 2016-02-28 19:38:31 +05:30
Sunil Mohan Adapa
ab96bc7068
repro: Use common view for configuration 2016-02-28 19:38:26 +05:30
Sunil Mohan Adapa
6a462cecc8
privoxy: Use common view for configuration 2016-02-28 19:38:21 +05:30
Sunil Mohan Adapa
75d35b3d60
mumble: Use common view for configuration 2016-02-28 19:38:17 +05:30
Sunil Mohan Adapa
07df62854b
restore: Use common view for configuration
- Rename the template from restore_index.html to restore.html to avoid
  having to create a custom view.
2016-02-28 19:38:11 +05:30
Sunil Mohan Adapa
1eae781e64
quassel: Use common view for configuration 2016-02-28 19:38:07 +05:30
Sunil Mohan Adapa
1f6935c30b
roundcube: Use common view for configuration 2016-02-28 19:38:00 +05:30
Sunil Mohan Adapa
40a9507aae
xmpp: Use common view for configuration 2016-02-28 19:37:51 +05:30
Sunil Mohan Adapa
fb19fed6f5
shaarli: Use common view for configuration 2016-02-28 19:37:48 +05:30
Sunil Mohan Adapa
5c7eb69c31
radicale: Use common view for configuration 2016-02-28 19:37:44 +05:30
Sunil Mohan Adapa
f205612831
owncloud: Use common view for configuration 2016-02-28 19:37:39 +05:30
Sunil Mohan Adapa
9422f43ba5
minetest: Use common view for configuration 2016-02-28 19:37:35 +05:30
Sunil Mohan Adapa
96ca09d59d
deluge: Use common view for configuration 2016-02-28 19:37:31 +05:30
Sunil Mohan Adapa
fa8c2cf6ff
views: Add a common view for enabling applications
- A lot of boiler plate code can be removed from Plinth if enabling and
  disabling an application can be done using a common base form.

- This also allows to define a reusable method in an application for
  enabling and disabling.

- This brings more structure to a application module and paves way for
  having a different views such as dashboard.
2016-02-28 19:37:23 +05:30
Sunil Mohan Adapa
4f31ad65b9
travis: Use trusty and pygobject instead of pgi
- Run tests on Ubuntu Trusty (14.04) instead of Ubuntu Precise (12.04).

- Use pygobject instead of pgi to test what we actually use in
  production.

- Use a virtualenv trick to make sure that Python actually picks up
  system packages (python3-gi).
  https://pygobject.readthedocs.org/en/latest/testing.html#example-travis-ci-configuration

- Don't let apt-get hang for user input. Specify -y.
2016-02-26 18:55:56 -05:00
Sunil Mohan Adapa
aba2b03c52
transmission: Remove unused import 2016-02-26 22:42:05 +05:30
Sunil Mohan Adapa
7e87f0304a
radicale: Listen only on internal addresses
- Since we are trusting the remote user header, it is much safer not
  listen on external addresses.  We don't that since Apache connects on
  internal address.
2016-02-26 22:34:25 +05:30
Sunil Mohan Adapa
34a6bd09ed
radicale: Use new setup mechanism
- Also fix using non-existant firewall service 'radicale-plinth'.
  Instead use 'http' and 'https' services.
2016-02-26 22:33:12 +05:30
James Valleroy
9d85084d8d
radicale: New module for a CalDAV/CardDAV server 2016-02-26 15:40:19 +05:30
Sunil Mohan Adapa
6c67a50e11
minetest: Use new setup mechanism 2016-02-26 15:21:56 +05:30
James Valleroy
363e071bff
minetest: New module for minetest server 2016-02-26 15:20:36 +05:30
James Valleroy
7a139b7927
Release 0.8.2 v0.8.2 2016-02-25 18:01:09 -05:00
Sunil Mohan Adapa
d72abb8539
config: Don't restrict supported languages
- There is no reason to limit the number of languages supported by the
  application.  This is what happens when LANGUAGES is set during Django
  configuration.  Users should be able to set a language using browser
  preferences and see at least the Django translated messages even if
  Plinth messages are not translated (example user create/edit form).

- If we wish to limit the number of language options shown duing
  language selection (for quality perception reasons), we should perform
  the limiting at the time of configuration.

- Note that when a new language is requested in translation tool, we
  create an empty file and that may lead to language being shown but
  with few strings actually translated.  This will have poor impact on
  user experience.  I wonder if we should filter language at all,
  keeping this in mind.
2016-02-26 00:46:09 +05:30
James Valleroy
88c649d310
Handle _ in language codes. 2016-02-26 00:46:02 +05:30
James Valleroy
19d8e2f98f
Rename locale zh_CN to zh_hans. 2016-02-25 22:13:19 +05:30
James Valleroy
080c891103
Be consistent with type of is_essential. 2016-02-19 23:24:08 -05:00
James Valleroy
992d2ea7e1
help: Use new setup mechanism 2016-02-19 22:52:52 -05:00
James Valleroy
77134cd55b
Merge branch 'better-setup' 2016-02-19 22:11:24 -05:00
Saúl Ibarra Corretgé
cec3ced675
letsencrypt: Skip hidden service domains on index 2016-02-19 19:55:38 +05:30
Saúl Ibarra Corretgé
b0b67db35e
letsencrypt: Force text mode
This avoids letsencrypt trying to launch a dialog interface in case of
certain errors.
2016-02-19 19:54:09 +05:30
Sunil Mohan Adapa
16de3e1dff
travis: Require a specific version of pgi for fix
pgi 0.0.11.1 does not build successfully however 0.0.10.1 works.
Reported upstream issue https://github.com/lazka/pgi/issues/31.
Meanwile, to fix the builds, depend on older version.
2016-02-17 23:25:24 +05:30
James Valleroy
eaa2a20e23
Release 0.8.1 v0.8.1 2016-02-15 22:55:53 -05:00
Sunil Mohan Adapa
ccc7310bd5
monkeysphere: Fix error with no host keys 2016-02-16 08:45:50 +05:30
James Valleroy
9c8518499e
help: Specify encoding when opening manual file
- Closes #404.
2016-02-16 08:43:27 +05:30
James Valleroy
2fb25e1e50
Release 0.8 v0.8 2016-02-15 10:41:26 -05:00
James Valleroy
6d28e22204
fetch latest manual 2016-02-15 10:36:31 -05:00
James Valleroy
ec687bcadc
Use docbook2html for html manual.
There were some characters that xmlto wasn't handling correctly.
2016-02-15 10:35:47 -05:00
the29a
aff5e102a5 Translated using Weblate (Russian)
Currently translated at 98.0% (557 of 568 strings)
2016-02-15 13:21:53 +01:00