summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
AgeCommit message (Collapse)Author
2014-06-11Improve how pinned providers are handledTomás Touceda
2014-06-04tear down fw on cold starts. Closes: ##5727Kali Kaneko
2014-06-04add restore clearnet button. Closes: #5726Kali Kaneko
2014-05-30Do nothing if the vpnprocess is not started.Ivan Alejandro
We were trying to access the `is_restart` attribute that causes a failure if the vpnprocess is not instantiated.
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-29refactor eip start/stop control to conductorKali Kaneko
and cleanup a little bit of the signal mess.
2014-05-28Refactor cleanup and move Keymanager to backend.Ivan Alejandro
2014-05-28Refactor cleanup, ProviderConfig to backend.Ivan Alejandro
2014-05-21do not tear fw down during restartsKali Kaneko
2014-05-21Rename backend methods for consistency.Ivan Alejandro
2014-05-21Replace twisted logs with logging logs.Ivan Alejandro
2014-05-21Improve wait and quit process.Ivan Alejandro
Refactor logic from backend to the vpnprocess.
2014-05-21Move waiting logic for imap stop to the backend.Ivan Alejandro
Also, improve quit and cleanup calls.
2014-05-21Move soledad password change to backend.Ivan Alejandro
Also cleanup soledad usage in the GUI.
2014-05-21Move Mail logic to backend.Ivan Alejandro
2014-05-21Separate imap/smtp logic from conductor.Ivan Alejandro
2014-05-21Refactor SoledadBootstrapper to backend.Ivan Alejandro
2014-05-21Use ProviderConfig helper to get object from domain.Ivan Alejandro
2014-05-16Merge remote-tracking branch 'kali/linux-firewall-root-py-2' into developTomás Touceda
2014-05-14Enable EIP whenever possibleTomás Touceda
2014-05-13give some time for eip to shudown on bundle. Closes: #5663Kali Kaneko
2014-05-12wait on shutdown until firewall is downKali Kaneko
2014-05-12only switch the fw down if user asked for eip downKali Kaneko
2014-04-25Initialize SRPAuth asap, so signaler gets in.Ivan Alejandro
Closes #5581.
2014-04-23Swap upload/download data strings. Closes #5563.Ivan Alejandro
2014-04-16Fix typos on signal names.Ivan Alejandro
2014-04-16Use authenticated() properly.Ivan Alejandro
2014-04-15Remove unneeded parent's constructor call.Ivan Alejandro
2014-04-15Improve backend docstrings.Ivan Alejandro
* Update wording to match pep-0257 * Add docstrings for signals emitted by the Backend.
2014-04-15Use less confusing signal names.Ivan Alejandro
Renames: eip_download_config -> eip_config_ready eip_download_client_certificate -> eip_client_certificate_ready
2014-04-15Remove signaling logs, use err for unknown signal.Ivan Alejandro
2014-04-15Move gateway selection helpers to backend.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
2014-04-15Remove unused 'hack' helpers.Ivan Alejandro
2014-04-15Fix: use signal's keys instead of qt signals.Ivan Alejandro
2014-04-15Do not redefine signaler signal key.Ivan Alejandro
2014-04-15Use helper to get the ProviderConfig.Ivan Alejandro
2014-04-15Move SRPAuth to the backend.Ivan Alejandro
* Move methods from SRPAuth to backend: login, logout, change_password. * Add backend section to hold temporary hack code, needed in the process of splitting frontend and backend. * Replace pyside signals with Signaler signals. * Move all the signaling and thread launching in SRPAuth inside of __impl. * Move defer handling code (callbacks/errbacks) to the backend and left only signal handling in the GUI. [Closes #5347]
2014-04-14Refactor out the ProviderConfig object retriever.Ivan Alejandro
2014-04-14Refactor EIPBootstrapper to the backendTomás Touceda
2014-03-19Move srpregister interaction to the backend.Ivan Alejandro
Also: - remove unused code. - add status attributes for srpauth responses. - split response handling - remove unneeded hack to avoid segfault emitting None
2014-03-17catch shutdown errorsKali Kaneko
2014-02-11Properly handle defer cancelling.Ivan Alejandro
- Fix issues related to "Cancel login does not work". - Move srpauth errback to mainwindow. - Add signal for provider setup cancel. - Add support to cancel the soledad defer. [Closes #4869] [Closes #4973]
2014-01-23Replace provider hardcoded path with helper.Ivan Alejandro
Also reorder some imports and remove unused ones.
2014-01-09Warn the user on incompatible api error.Ivan Alejandro
- Add a proper signal for the incompatible api error. - Warn the user of an incompatible api.
2014-01-09Move a provider problem to a separate signal.Ivan Alejandro
- Some code cleanup - Fix typos
2014-01-09Warn the user if is using an old app version.Ivan Alejandro
[Closes #4636]
2013-12-18Refactor provider_bootstrapper out of mainwindowTomás Touceda