summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend
AgeCommit message (Collapse)Author
2016-04-15[bug] eip_can_start should return false if provider does not support eipelijah
otherwise, it tries to open eip config. - Resolves: #7538 - Releases: 0.9.2
2016-04-07[feat] Write service tokens to a fileRuben Pollan
The thunderbird plugin will read the tokens from there. - Related: #6041
2016-04-07[feat] use same token for imap/smtp authenticationKali Kaneko
This greatly simplifies the handling of the password in the thunderbird extension. - Related: #6041
2016-04-04[bug] fail gracefully if no pixelated modules presentKali Kaneko
currently, we're distributing the wheels for the pixelated modules under downloads.leap.se. bootstrap script tried to download the pixelated modules, but it fails on python versions < 2.7.9, apparently. as a workaround, I make the import of the pixelated modules a non-fatal error by setting a flag, and doing the launching of the pix UA conditional on a successful import. - Related: #8009
2016-03-23[feature] quick integration with legacy guiKali Kaneko
2016-02-25[feat] use fingerprint instead of key_id to address keysRuben Pollan
2015-12-18[feat] adapt to use cred-based authentication for smtpKali Kaneko
2015-12-15[feat] adapt to use cred-based authentication for imapKali Kaneko
This includes getting the token for the imap authentication, and displaying it on the help window. - Resolves: #4469 - Releases: 0.10.0
2015-11-02[bug] use embedded minitornado. Closes: #7562Kali Kaneko
using system tornado library raises a bug due to a mismatching signature. - Resolves: #7562 - Releases: 0.9.1
2015-10-06[bug] store zmq certs in the right pathIvan Alejandro
Change KEYS_DIR for a function, so the path does not get defined on import (and most likely) before the flags are defined. Move the flags_dict call before the generate_zmq_certificates call. Otherwise the standalone flag won't be set properly. - Resolves: #7512
2015-09-18[feat] remove taskthread dependencyRuben Pollan
Refactor ivan's code (aa4b684d0682ff9faf1577653fa5ceabbc6e0f20) to remove the time.sleep. - Resolves: #7414
2015-08-24[bug] handle disabled registration, error 403.Ivan Alejandro
If the user wants to register a new account we check whether the provider allows registration or not right after getting the provider.json file and show an error msg on the wizard if not allowed. Also, there is a new signal to handle the error raised by the server if a registration attempt is made but is rejected with error 403. - Resolves: #6594
2015-08-14[bug] handle eip-config not providing locationsIvan Alejandro
Is valid for a provider not to provide locations for their gateways. - Resolves: #7281
2015-06-22[feat] replace old log handler with new oneIvan Alejandro
Replace logging.getLogger with custom get_logger. Remove some unneeded dependencies and reorder other.
2015-06-01[bug] do not unset soledad proxy object too earlydrebs
The backend was unsetting the soledad proxied object before actually calling the soledad close() method and this was causing the application to hang when exitting. As the local soledad component's cancel_bootstrap() method is called before the close() method, we'd better not unset the proxied object there, and let only the close method do it. This commit fixes this by just removing the line that unsets the proxied object in the wrong place.
2015-05-08[feat] use txzmq in backenddrebs
Before this commit, the backend used plain pyzmq bindings for communicating with the frontend. This implements the txzmq twisted-powered bindings instead. Closes: #6360
2015-03-09Merge branch 'release/0.8.x' into developIvan Alejandro
2015-02-23Use unix sockets for the fallback, and set permissionsKali Kaneko
... on them, to user-writeable only. I think we could consider ipc for the curve-case too, at least for the platforms that support them.
2015-02-20Fall back to plain ZMQ if Curve is not available.Ivan Alejandro
Use global flag for ZMQ_HAS_CURVE. Closes #6646
2015-02-18Do the soledad sync the twisted wayRuben Pollan
This closes: #6658 and #6691
2015-02-13enable --offline mode for email againKali Kaneko
2015-02-11remove use of threading.ConditionKali Kaneko
we should deal with this with pure deferreds
2015-02-11fix mail imports for new mail api (0.4.0)Kali Kaneko
2015-02-11Use the new keymanager async APIRuben Pollan
2015-01-05Revert "Fix soledad imports (#5989)."0.8.0rc2Ivan Alejandro
This reverts commit 93750f2371555ad0c769c62c1bd179e2b96c282c.
2014-12-29Create the certificates if they don't exist.Ivan Alejandro
Fix typo for signal disconnection. The backend is the one who always creates the certificates. Either if it is run separately or in a process in the same app as the frontend.
2014-12-19Allow frontend and backend to be run separately.Ivan Alejandro
Add the 'check_online' method to check whether the backend is accessible or not. Reduce the wait for running threads timeout on quit. Add retry feature to the backend requests send.
2014-12-18Quit Bitmask if there is no polkit agent running.Ivan Alejandro
Closes #6150.
2014-09-16New keymanager APIRuben Pollan
get_all_keys_in_local_db -> get_all_keys parse_openpgp_ascii_key -> None
2014-09-03Don't defer action to thread here.Ivan Alejandro
We already are running the methods in a thread from the backend.
2014-08-18make the login not wait for eip it cannot-start-eipKali Kaneko
2014-08-18Fix soledad imports (#5989).drebs
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-24Add frontend alive check to the backend.Ivan Alejandro
Stop the backend if the frontend process does not exist any more and backend is not a daemon.
2014-07-24Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/feature/add-backend-alive-check' into develop
2014-07-23Restrict access to the zmq certificates folder.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-16Increase timeout and retries.Ivan Alejandro
With this change we avoid the communication issues on OSX.
2014-07-16Code style fixes.Ivan Alejandro
2014-07-15Replace QThread with threading.Thread.Ivan Alejandro
2014-07-15Use polling to prevent communication issues.Ivan Alejandro
2014-07-15Support EIP in OSXTomás Touceda
2014-07-14Use custom `mkdir` to create the tree if needed.Ivan 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-14Comment out overly verbose logs for communication.Ivan Alejandro
2014-07-14Add file docstrings.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-14Move the backend starter to its own file.Ivan Alejandro
2014-07-14Add missing error/passed keys.Ivan Alejandro