Commit Graph

25 Commits

Author SHA1 Message Date
Kai Huuhko 5959946a33 Logging formatter 2014-05-22 01:45:34 +03:00
Kai Huuhko 87b77a7b9c Fix an obvious mistake in phase2 selector 2014-05-22 01:43:46 +03:00
Kai Huuhko 95199f6d17 Code formatting 2014-05-22 01:43:35 +03:00
Kai Huuhko b4b849a03d Add a StreamHandler for logging so that messages get printed on stdout 2014-05-21 23:01:45 +03:00
Matthias Wauer b547d8a304 Make ieee8012x wifis forgetable, config deletable.
Summary:
Enable the 'Forget Network' button, when a ieee8021x secured
wifi. Forgetting will delete the corresponding section in the config
file.

Test Plan:
'Forget' a appropriate network and reload the wifi
service/configuration dialog. The settings should not be available.
view.

Reviewers: leif

CC: FillFeile

Differential Revision: https://phab.enlightenment.org/D491
2014-01-24 14:01:35 +01:00
Matthias Wauer 4593c1e7ec Catch exception when querrying config options
Summary:
Querrying config options, that are not found in the config file
will no longer throw IOError.

Test Plan:
Configure a ieee8021x secured wifi and set one of the
options to 'None'. Reloading the configuration (service) view will now
work with selected (None) option.

Reviewers: leif

CC: FillFeile

Differential Revision: https://phab.enlightenment.org/D490
2014-01-24 14:00:15 +01:00
Matthias Wauer d648f6ae47 Fixed wrong variable name.
Summary: Fixed wrong name of variable

Reviewers: leif

Differential Revision: https://phab.enlightenment.org/D478
2014-01-20 15:20:28 +01:00
Matthias Wauer e09e422862 Fix sematic mistake for handling missing config file
Summary:
Pass IOError exception up for propper missing/denied config
file handling.

Reviewers: leif

Differential Revision: https://phab.enlightenment.org/D477
2014-01-20 15:16:00 +01:00
Daniel Haß 601c3d646a Added global declarations to the config-helper methods for the configs variable. This should fix the current error reported in T800.
Test Plan: With the global declarations the error after clicking the network name in the list is gone.

Reviewers: kuuko, leif

Reviewed By: leif

Differential Revision: https://phab.enlightenment.org/D472
2014-01-20 14:18:11 +01:00
Leif Middelschulte 546e9c2776 Close ieee802.1x config file properly. 2014-01-17 15:31:30 +01:00
Leif Middelschulte 1f31b7b92f Fix small typo 2014-01-17 15:19:20 +01:00
Matthias Wauer 240c1a38b5 Only try to load config file for 802.1x when used.
Econnman will only try to read/write the config file, when necessary.
It also displays an error message, when the file couldn't be read/written.
2013-12-13 18:53:04 +02:00
Kai Huuhko 278535b57b Add TODO and remove eol whitespace added by previous commit. 2013-12-13 18:22:43 +02:00
Leif Middelschulte f797c7d2d8 Add support for ieee802.1x wireless networks.
Connman does only support two phase authentication via config files.
These config files reside in /var/lib/connman/ and are watched by
the connman daemon. Unfortunatelly, connman does not support per
session/user config files, so for simplicity's sake, we modify one in
/var/lib/connman. With these changes, econnman manages a single file
(/var/lib/connman/econnman.config), to which the user running it needs
write access. By default the (empty) config file shipped with this packages
has write permissions set for the group. Packagers might want to change the
owner/group to root:users after installation or come around with a more
sophisticated approach.
2013-12-13 18:09:54 +02:00
Kai Huuhko 9450ea22b9 Import elm enums from the relevent modules, not from package.
This allows python-efl to deprecate this usage in the interest of faster efl.elementary package initialization.
2013-11-19 21:44:28 +02:00
Doug Newgard a9f57df2b7 Make compatible with python 3
Patch is from D264, we were unable to use arc to commit this
so doing it manually.

Thanks for the contribution.
2013-10-19 20:06:49 +03:00
Davide Andreoli 5e344beae4 Update econnman to work with both old and new py bindings
I disabled the check for the presence of the old bindings
in configure.ac as the new bindings does not provide a pc file,
and because it now works with both versions,
but I highly raccomend to switch back from autotools to distutils.
2013-04-14 17:39:13 +02:00
Gustavo Sverzut Barbieri a11590bc39 remove 'none' from connman security list.
SVN revision: 75412
2012-08-18 12:09:01 +00:00
Bruno Dilly ebfd9e68d7 Econnman: use a more informative message when not registered
If no agent is registered, user should know she can run econnman-bin
with -a to register econnman-bin agent.


SVN revision: 75226
2012-08-13 22:23:20 +00:00
Gustavo Sverzut Barbieri 14074f8808 econnman: improve theme and look and feel.
NOTE: I'm missing few icons from designer, those I've cut from the
mockup while I wait (lock, favorite).



SVN revision: 74866
2012-08-03 22:09:19 +00:00
Bruno Dilly 9a55bf1967 econnman: small fix on popup fail call
SVN revision: 74658
2012-07-31 15:50:34 +00:00
Gustavo Sverzut Barbieri f472634045 work with python3, where exception syntax changed.
SVN revision: 74155
2012-07-19 03:25:25 +00:00
Gustavo Sverzut Barbieri 6865e29b00 connected badge for networks, fix distcheck
oh my god... I suck at design, but without a proper mouse and tools
it's even worse... help appreciated ;-)



SVN revision: 73443
2012-07-07 06:13:06 +00:00
Gustavo Sverzut Barbieri 8193f2368b improve look and feel of services view.
* add 'state' view
 * repack self.box to avoid blank spaces when widgets are hidden



SVN revision: 73442
2012-07-07 05:52:15 +00:00
Gustavo Sverzut Barbieri d982b5a9da replace installation package dir to get theme from system.
SVN revision: 73441
2012-07-07 05:25:17 +00:00