summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
AgeCommit message (Collapse)Author
2015-10-02[bug] move assign to prevent race conditionIvan Alejandro
When the error happens too quickly, the errback is called before the assign of the callLater. And in the errback we cancel that call which gives an error. - Related: #7451
2015-10-02[bug] signal soledad bootstrap fail on initIvan Alejandro
- Resolves: #7503 Signed-off-by: Ivan Alejandro <ivanalejandro0@gmail.com>
2015-10-02[bug] remove bubble argument from the logbook NullHandlerRuben Pollan
NullHandler doesn't have anymore the argument bubble. https://pythonhosted.org/Logbook/changelog.html#version-0-11-0
2015-09-23[feat] disable email firewall on docker containersIvan Alejandro
- Related: #7471
2015-09-21[bug] add compatibility mode for platform < 0.8Kali Kaneko
there was a bug in plaform that made webapp not serve correctly the smtp certificates. with this fallback, we try to support platforms < 0.8, although we should deprecate this behavior in bitmask 0.10
2015-09-21[feature] retrieve specific smtp certificate. Closes: #4284Kali Kaneko
2015-09-21[bug] fix typo on backend nameIvan Alejandro
2015-09-18[bug] track soledad ready state on a shared placeIvan Alejandro
Connecting to the `soledad_bootstrap_finished` signal is not enough since the password change window is created after the signal is emitted, that way we were not able to tell when soledad is ready to be used. - Resolves: #7474
2015-09-18[bug] correctly return expected value for methods that check servicesKali Kaneko
these methods were returning None, and therefore breaking soledad password change (since it checks whether mail is enabled before changing soledad pass after srp pass change). - Resolves: #7470
2015-09-18[bug] show unread emails after sync completeIvan Alejandro
Right after a complete sync we show the unread emails. - Resolves: #7453
2015-09-17[style] pep8 fixesKali Kaneko
2015-09-18[feat] remove taskthread dependencyRuben Pollan
Refactor ivan's code (aa4b684d0682ff9faf1577653fa5ceabbc6e0f20) to remove the time.sleep. - Resolves: #7414
2015-09-17[bug] fix assignment of the incoming serviceKali Kaneko
the second callback was actually broken, not being called when it was supposed to be. the reason is that IncomingMail.startService returns a deferred which callback is called with the loopingCall instance only when the loopingCall is stopped.
2015-09-16[bug] authenticate logout calls to apiKali Kaneko
logout calls were not being authenticated, so we were receiving 401 return code.
2015-09-14[pkg] revert attempt to be compatible with logbook 0.6.0Kali Kaneko
we need the 'multi' feature all the same, so we'll be depending on logbook >= 0.7.0.
2015-09-11[bug] fix importKali Kaneko
there's an error in the import
2015-09-10[bug] add compatibility for logbook versions < 0.7.0Kali Kaneko
for the version in ubuntu trusty, the call for the zeromq handler initialization gets one less argument
2015-09-07[bug] fix argument number on window raise eventIvan Alejandro
- Resolves: #7415
2015-09-02[feat] load credentials from environment variableIvan Alejandro
Look for file defined in the `BITMASK_CREDENTIALS` env variable and load `provider`, `username` and `password` data. Trigger login if they were loaded correctly. The credentials file should look like this: [Credentials] username = my-account@my-provider.com password = secret - Resolves: #7419
2015-08-24[pkg] add icon for mail-only buildsKali Kaneko
2015-08-24[feat] allow to disable EIP on buildKali Kaneko
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-08-12[bug] fail more clearly if we got incorrect version stringKali Kaneko
on the sumo tarball, the _version file for leap/bitmask submodule wasn't being frozen, and hence BITMASK_VERSION was None. this was breaking the provider tests w/o any clear error message. - Related: #7322
2015-08-11[feat] add soledad sync progress to the UIIvan Alejandro
Register to Soledad's sync (send and receive) events and display the progress in the UI. - Resolves: #7353
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