summaryrefslogtreecommitdiff
path: root/src/leap
AgeCommit message (Collapse)Author
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.
2015-02-23Regression fix: Use the right provider to log in.Ivan Alejandro
FIX: Login attempt is made against previously selected provider. Closes #6654.
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-19Use the collection instead of the mailbox to initalize IncomingMailRuben Pollan
2015-02-18Re-add public properties removed in previous commitKali Kaneko
the set_proxies_cb function in backend/components expects to have access to these public properties.
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-13Re-add mail instructions for 0.9.0 release (beta mail)Kali Kaneko
2015-02-11do not terminate the session on the backend, moved to mailKali Kaneko
factory.do_Stop will handle this now.
2015-02-11remove use of threading.ConditionKali Kaneko
we should deal with this with pure deferreds
2015-02-11pass userid correctly, and cast it to stringKali Kaneko
2015-02-11fix mail imports for new mail api (0.4.0)Kali Kaneko
2015-02-11Use the incoming mail IServiceRuben Pollan
From kali: add some notes about the improper handling of the mailbox required to initialize the account, and draft some notes about how to improve this in next iterations.