summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
AgeCommit message (Collapse)Author
2014-08-10Clean up help dialog text.elijah
2014-08-08remove outdated commentkali
eip machine was already moved into conductor
2014-08-06Fix logger window blocking the bitmask quit().Ivan Alejandro
- Set the logger window parent, - don't use an mainwindow instance variable to hold the window object. This fix have the side offect that prevent multiple log windows being created at the same time, but it does not causes any side effect or problem.
2014-08-06Replace twisted thread with QThread.Ivan Alejandro
This fix the bug that prevents pastebin to work. Closes #5949.
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-31Handle the system's quit correctly.Ivan Alejandro
Use a simple sleep to wait until the services are stopped and then kill the backend, always in a fixed time in order to avoid blocks/hangs on the system session logout. Closes #5870.
2014-07-30Reduce services stop timeout.Ivan Alejandro
2014-07-28Do `quit()` if the system requested the app to close.Ivan Alejandro
This fixes the issue where a system logout was blocked by bitmask since we were interpreting the closeEvent as if the user clicked on the 'X' button. Closes #5870.
2014-07-25Add Linux autostart. Closes #4989.Ivan Alejandro
2014-07-24Improve hide and show main window on UbuntuTomás Touceda
2014-07-24Don't call the backend if it's not online.Ivan Alejandro
2014-07-22Kill backend on quit if it does not respond.Ivan Alejandro
2014-07-21Add heartbeat to check if backend is alive.Ivan Alejandro
Send a 'ping' request every 2 secs to ensure that the backend is running. Use polling instead of recv on the backend_proxy. This was already implemented for the signaler.
2014-07-14Prevent quit() being called more than once.Ivan Alejandro
2014-07-14pep8 fixesIvan Alejandro
2014-07-14Use specific settings for backend.Ivan Alejandro
This way we get rid of Qt on the backend side. The use of QSettings in the backend was breaking the app on OSX.
2014-07-14Remove twisted stopper from the GUI.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-14Add missing error/passed keys.Ivan Alejandro
2014-07-14Do backend calls using kwargs.Ivan Alejandro
2014-07-14Properly stop backend.Ivan Alejandro
2014-07-14Use new backend/signaler and start logic in processes.Ivan Alejandro
2014-07-11call soledad closeKali Kaneko
2014-07-02fix set syntax for 2.6 compatKali Kaneko
2014-06-26disable eip if helper files not installedKali Kaneko
2014-06-25Use a dict instead of an object to ease serialization.Ivan Alejandro
2014-06-23Fix wait time. Use milliseconds instead of seconds.Ivan Alejandro
On the twisted_main.quit() we use 1/10 of a second since is enough wait.
2014-06-18Move backend to its own namespace.Ivan Alejandro
2014-06-18Replace twisted's callLater with Qt's singleShot.Ivan Alejandro
Note: we use an alias for singleShot called QtDelayedCall.
2014-06-18Move dns check to the backend.Ivan Alejandro
2014-06-09Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/feature/cleanup-app-mainwindow' into develop
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-06Move quit callback to mainwindow.Ivan Alejandro
2014-06-05Reorder logging helpers and handlers.Ivan Alejandro
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-05-30Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/bug/5540_change-password-fix' into develop
2014-05-30Merge remote-tracking branch 'chiiph/bug/update_ui_when_fails_at_config' ↵Ivan Alejandro
into develop
2014-05-30Update EIP UI if it fails to load the configTomás Touceda
2014-05-30Improve signal handling in the mainwindow and wizardTomás Touceda
2014-05-30Change password skips soledad if mx is not enabled.Ivan Alejandro
Use information from mainwindow instead of asking again to the backend.
2014-05-30Check openvpn bin path before starting openvpnTomás Touceda
2014-05-29rephraseKali Kaneko
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-29fix non-existing logged_userKali Kaneko
caused by a bad rebase.
2014-05-29refactor eip start/stop control to conductorKali Kaneko
and cleanup a little bit of the signal mess.
2014-05-29Avoid 'provides eip' check during eip autostart.Ivan Alejandro
2014-05-28Refactor cleanup and move Keymanager to backend.Ivan Alejandro