summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/eip_status.py
AgeCommit message (Collapse)Author
2015-01-28Remove all the Slot() decorators.Ivan Alejandro
This causes (on certain scenarios) the app to segfault and it is really hard to debug.
2014-10-07Fix typos on strings and remove unused button.Ivan Alejandro
This was reported by the user 'strel' on transifex.
2014-09-15Improve support for RTL languages.Ivan Alejandro
* Update transifex resource name. * Use RightToLeft layout for Arabic language. * Use better names and comments on i18n section. * Use unicode to initialize widgets with text that otherwise (str) will fail when Arabic (and most likely any other language with non-ascii characters) is used. Closes #5289, #6033.
2014-08-27Hide button / improve message on missing helpers.Ivan Alejandro
* Emit the `eip_missing_helpers` signal when the user chooses "Don't ask me again". * We emit that signal when some helper file is missing, even if the user doesn't want a warning. * Do the update of the eip enabled status with some delay to give some time the eip machine to start and do what it needs with the buttons/labels and avoid the 'hide turn on button if missing files' being overridden. Closes #5945.
2014-08-11We do not have eipstatus.qrc anymoreTomás Touceda
2014-08-11used 22x22 pixel icons instead of 24x24 pixel icons (since ubuntu needs 22 ↵elijah
anyway)
2014-08-11temporarily switch back to using png iconselijah
2014-08-10svg icons! well, how about that?elijah
2014-08-06fix uncatched error with missing polkit. Closes: #5955kali
2014-08-01Add cancel button for EIP connection.kali
Closes: #4035 This falls in the "quick" workaround category. A proper state machine that extends the four basic connection states is hence needed. We have to accomodate design to have a connection-oriented state machine in the backend (I would favor a twisted protocol for this), and a more lightweight one that conducts the gui-level changes (ie, change the actions / buttons / labels accordingly). Since this "cancel" functionality has been long postponed, I chose to do one more ugly hack here, that is, show and hide dance with a button that just calls the bitmask-root to kill the vpn process. It should work well enough until we get to the reorganization needed for a clean process control for eip.
2014-07-16Code style fixes.Ivan Alejandro
2014-07-14Ask the backend for the country code.Ivan Alejandro
Remove global variable in favor of a helper method that returns the country code. Needed in order to split backend/frontend.
2014-07-14Use new backend/signaler and start logic in processes.Ivan Alejandro
2014-06-26disable eip if helper files not installedKali Kaneko
2014-06-06Merge remote-tracking branch 'refs/remotes/kali/feature/vpn_exit_icon' into ↵Tomás Touceda
develop
2014-06-06add icons for the vpn exit nodesKali Kaneko
2014-06-05change elements namingKali Kaneko
2014-06-04tear down fw on cold starts. Closes: ##5727Kali Kaneko
2014-06-04fix status errors during first eip connectionKali Kaneko
- show eip button - update systray action - remove the provider update on disconnection.
2014-06-04catch openvpn unexpected endingKali Kaneko
show also the back-to-clearnet button on that case.
2014-06-04add restore clearnet button. Closes: #5726Kali Kaneko
2014-05-30Update EIP UI if it fails to load the configTomás Touceda
2014-05-30Check openvpn bin path before starting openvpnTomás Touceda
2014-05-29display restart error after SIGTERM[soft,tls-error]Kali Kaneko
- fix tls-error: is SIGTERM now - connect to connection-died signal - display error to user
2014-05-29change eip status during restartsKali Kaneko
2014-05-29refactor eip start/stop control to conductorKali Kaneko
and cleanup a little bit of the signal mess.
2014-04-25Improve action/widget/menu display conditions.Ivan Alejandro
* Hide services that the current logged in provider does not have. * If we don't have a provider supporting that service we hide the actions along with the widgets. * Use more significative method naming. * Keep track of ui component groups visibility.
2014-04-23Swap upload/download data strings. Closes #5563.Ivan Alejandro
2014-04-17Improve parameters docstrings.Ivan Alejandro
Also rename a parameter named 'param' to a more meaningful 'idx'.
2014-04-17Use consistent wording for triggers documentation.Ivan Alejandro
2014-04-17Use Slot decorator instead of SLOT docstring.Ivan Alejandro
2014-04-15Move EIP to the backend.Ivan Alejandro
- Add backend eip management - Connect gui with new eip signals - remove old unused code - remove Qt dependency from backend services. - use Signaler to emit status/state changes from openvpn
2013-12-26comments here and thereKali Kaneko
2013-12-12modified eip widget: change font to look better when under login widget, ↵elijah
tightened spacing, moved upload and download icons to the buttons themselves, get rid of extra left whitespace padding on bandwidth status.
2013-12-06Disable Turn On EIP in tray if EIP is disabled.Ivan Alejandro
[Closes #4630]
2013-11-08Check if we have a systray to use.Ivan Alejandro
This fixes a failure when we run the first run wizard and don't have a systray ready.
2013-11-08Use custom systray that ease the tooltip use.Ivan Alejandro
- Create a custom SysTray that allows us to set services tooltips independently. - Initialize tooltip with service name at start. - Update required service status on tooltip update. [Closes #3998]
2013-11-08Use display service name instead of hardcode it.Ivan Alejandro
2013-10-30Properly log EIP status changesTomás Touceda
2013-10-15Fix pep8 violations.Ivan Alejandro
2013-10-11Show systray tooltip ON for EIP.Ivan Alejandro
2013-10-03Disable EIP on/off button and action when login required.Kali Kaneko
Also adds an explicit should_autostart flag in config.
2013-10-02remove duplicated method definitionKali Kaneko
2013-10-01Implement new UITomás Touceda
Also: - Remove status_panel - Add new icons - Refactor components a bit (mostly divide functionality)