summaryrefslogtreecommitdiff
path: root/src/leap
AgeCommit message (Collapse)Author
2015-08-07[bug] workaround wrong qtplugins path rewritten in the libsKali Kaneko
this is a bug in macholib, there's a missing letter in the plugins path, so unless we fix this they cannot be loaded from the bundle. See: https://bitbucket.org/pydica/pyside-setup/commits/4b8be97e5a00b577fe30ce9aa7e5723ff2a66f94 Quoting from http://code.activestate.com/lists/pythonmac-sig/23278/: """ The problem might be this line: @rpath/Contents/mageformats/libqtiff.dylib The "i" from "imageformats" is missing! This _might_ be related to the unusual case that "libqtiff" has no path at all, or something else is funny, and we end up with a name that will not be found at all. Then the loader finds the plugin in the installed Qt, which causes it to load everything again from there. """
2015-08-07[bug] raise the maxfiles limit in OSXKali Kaneko
due to zmq, we are hitting the limit and getting app crashes. - Resolves: #7319
2015-08-07[doc] clarify that backend lives in a subprocessKali Kaneko
2015-08-07[bug] schedule signal emitting in reactor threadKali Kaneko
2015-08-07[feat] add path to gpg binary in the bundleKali Kaneko
2015-08-07[feat] add util function fo find location when frozenKali Kaneko
2015-08-07[test] fix SRP testsRuben Pollan
The tests where using deferToThread to run without need, I remove it and now it's easier to debug when one test fails. - Resolves: #7343
2015-08-05[feat] Move the updater code from the launcherRuben Pollan
The new pyinstaller method will rule out the launcher, we need the updater working inside bitmask client. - Closes: #7291
2015-07-24[feat] enable '--danger' for stable versionsIvan Alejandro
Is useful for new providers to be able to use the stable Bitmask version with this flag to be able to use custom certificates. - Resolves: #7250
2015-07-24[style] pep8 commentsIvan Alejandro
2015-07-20[refactor] minor reordering of events registrationKali Kaneko
Also, do not raise assertionerror, log warning instead.
2015-07-20[bug] start the events server when reactor is runningKali Kaneko
otherwise, events are not correctly registered - Resolves: #7149
2015-07-20[bug] prevent logbook subscriber to failIvan Alejandro
Fix: If the logbook controller is not started the stop call will fail. Trying to start it twice fails.
2015-07-20[style] grammar fixkwadronaut
- Resolves: #7284
2015-07-06[bug] run zmq log subscriber in backgroundIvan Alejandro
Prevent locks caused by the zmq log handler reaching the zmq's HWM (High water mark / buffer limit) and causing some components to block until the buffer is empty (running the zmq handler for instance). We run the zmq handler in the background all the time to prevent this. - Resolves: #7222
2015-06-30[style] fix typoKali Kaneko
s/self/sync
2015-06-29[bug] log contains exported PGP private keyIvan Alejandro
Due to #7139 (the logbook log centralizer) logs from 3rd party libs are included in the centralized logs with lots of debug information and we don't want that. We use the existing silencer to exclude logs that are not from leap modules. - Resolves: #7185
2015-06-22[bug] make sure log path existsIvan Alejandro
The logger is the first thing to be created and on a first run the config path won't exist. This way we make sure the path always exists.
2015-06-22[feat] log lsb_release info if availableKali Kaneko
if the lsb_release utility is present on system, log part of its output so we can have more information about the platform bitmask is running on. - Resolves: #7162 - Releases: 0.9.0
2015-06-22[feat] add log rotation featureIvan Alejandro
Rotate bitmask.log file on each start.
2015-06-22[feat] handle twisted/logging logs with logbookIvan Alejandro
Forward Twisted logs to logging and use logbook to handle logging logs. Store the bitmask logs on the config folder.
2015-06-22[feat] support new psutil APIIvan Alejandro
API to get the children has changed on latest psutil, this takes care of it.
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-22[feat] add a zmq based logger, change log windowIvan Alejandro
- Add a new handler for a zmq/thread-safe log send between components. - Update the log window to use this new handler. - Remove old custom handler We have implemented a new handler that uses logbook, so this one is no longer needed. - Adapt log silencer to new handler - Use log file always as default - Related: #6733
2015-06-10[bug] don't run event server on the standaloneIvan Alejandro
We don't need to run the event server on the backend if we are running from the standalone bundle since the launcher takes care of that. - Related: #7126
2015-06-08[bug] fix attribute error on mail conductorKali Kaneko
due to remaining bits that had not been changed after a refactor. - Resolves: #7093
2015-06-05bug regression: polkit agent is not automatically launched #6652Parménides GV
Polkit was being launched and detected correctly, but Bitmask didn't propagate this result to upper layers, so mainwindow thought the platform wasn't initialized and then quitted without explanation. Tested on debian testing, on June 5th 2015, using i3 window manager. - Resolves: #6652
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-29[bug] move events server init to backenddrebs
If the events server is initialized in a different process than the backend, the txzmq socket raises an "zmq.error.ZMQError: Interrupted system call" exception during the events server initialization. Despite that, communication seems to work flawlessly after the initialization. Moving the events server initialization to the same process as the backend causes the exception to not be raised during events server intialization.
2015-05-27[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-05-21[bug] fix soledad bootstrap sync issuesRuben Pollan
* Instead of checking if soledad is still syncing for the timeuot cancel the delayed call. * Count retries properly. * Now soledad sync only returns SoledadError (#6981).
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-04-29[feat] update api port for pinned riseupIvan Alejandro
- Related: #6876
2015-04-16[bug] do not disable autostart on system quit()Ivan Alejandro
If the quit() call is triggered by the system logout we should not disable the autostart. Otherwise bitmask won't autostart on the next session start. - Resolves: #6424
2015-04-09[bug] enable atexit subprocess terminationIvan Alejandro
- Resolves: #6426 - Resolves: #6681
2015-04-09[bug] handle user cancel keyring open operationIvan Alejandro
Catch the keyring.errors.InitError exception. The automatic login sequence now stops correctly instead of freezing if the user cancel the keyring open operation. - Resolves: #6682
2015-04-01[style] fix pep8 violationsDuda Dornelles
2015-04-01[refactor] move SRPRegister to SRPRegisterImplNeissi Lima
Decouple SRPRegister from QT signaler and create SRPRegisterImpl
2015-04-01[refactor] move SRPAuth to SRPAuthImplDuda Dornelles
Decouple SRPAuth from QT signaler and move it to SRPAuthImpl
2015-04-01[bug] Use less threads.Duda Dornelles
On SRP#authenticate, no need to use so many threads.
2015-03-30[bug] use ports specified in eip-service.jsonIvan Alejandro
Replace the hardcoded port '1194' for the port specified in eip-service.json. Choose the best port to use according which one is enabled in the eip-service.json file Resolves: #6541
2015-03-16[bug] enable providers combo box on check failIvan Alejandro
After a provider fails to pass the checks, the providers combo box is not enabled when it should, we just took care of the provider line edit. - Resolves: #6418
2015-03-13[feat] make 'check' button selected by defaultIvan Alejandro
Also set text to 'bold' so it's easier to find at a first sight. - Resolves: #5526
2015-03-10[doc] Remove unneded comment about collection refsKali Kaneko
This concern is addressed by the following mail pullreq, that will be into 0.4.0 release: https://github.com/leapcode/leap_mail/pull/175 By the way, it is really funny that I cannot tell if this comment was written by meskio, as the blame says, or if I was the original author of the remark. I should stop drinking so much coffee.
2015-03-09[bug] Use Deferred.errbackRuben Pollan
The code was using 'fail' which is not a Deferred method. - Resolves: #6772
2015-03-09[feat] add support for xfce-polkit agentIvan Alejandro
Resolves: #6713
2015-03-09Merge branch 'release/0.8.x' into developIvan Alejandro
2015-02-23Merge remote-tracking branch 'leapcode/pr/826' into release/0.8.xKali Kaneko
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-23[Cherry Pick] Regression fix: Use the right provider to log in.Ivan Alejandro
FIX: Login attempt is made against previously selected provider. Closes #6654. Cherry-picked from release/0.8.x since it's a very annoying bug for the testing cycles for the next release (0.9.0) -- kali.