summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
AgeCommit message (Collapse)Author
2016-11-18[refactor] defer_encryption is gone with latest soledadKali Kaneko (leap communications)
2016-11-11[bug] get user parameter in the key commandsKali Kaneko (leap communications)
This has been previously encapsulated in a dict, and the commands were not modified accordingly. I'm adding some very basic test for the KeymanagerService public api contract. - Resolves: #8577
2016-11-09[feature] serve UI as an hidden serviceKali Kaneko (leap communications)
you need to configure onion = True in the services config. for sure, this is gonna be more interesting when we ship pixelated. but for now I thought it can be handy for testing ui changes: no need to bundle, just use your tor browser :) still need to try to serve imap/smtp over the onion service. kudos to meejah for this super-usable library!
2016-11-06[feat] add '-v' optiondrebs
2016-11-06[feat] increase verbosity using command linedrebs
2016-11-06[feat] allow for decreased verbositydrebs
2016-11-06[bug] properly format failure for logging on errbackdrebs
2016-11-04[bug] extend the list of argsKali Kaneko (leap communications)
otherwise, we were appending a list as the last element of the list.
2016-11-03[docs] add a fixme for the scrypt workaroundKali Kaneko (leap communications)
2016-11-03[style] pep8 fixesKali Kaneko (leap communications)
2016-10-21[bug] workaround around scrypt.encrypt() failure in windowsKali Kaneko (leap communications)
scrypt raises a "unable to get salt from /dev/urandom" error when using encrypt method in windows. this is a quick workaround for obfuscating the uuid map, but it needs to be carefully reviewed as per the security implications (i'm using the hostname to salt the key hashing). doing this, I contemplated the possibility that the scrypt encryption we were using could be flawed, since the payloads can be easily guessed. so, take this with a pinch of salt (haha), and let's review it for the future. as always, this was in a rush trying to bring windows support.
2016-10-21[bug] avoid choking with some failuresKali Kaneko (leap communications)
2016-10-21[bug] avoid passing posix-only args to twistd on windowsKali Kaneko (leap communications)
2016-10-21[bug] use tcp endpoint for windowsKali Kaneko (leap communications)
2016-10-21[bug] fail gracefully for non-posix importKali Kaneko (leap communications)
2016-10-19[style] pep8Kali Kaneko (leap communications)
2016-10-19[bug] Fix warning logging.Denis Costa
Following Twisted documentation, I found out that the warning method doesn't exist on logger class. That class has warn method instead. And I got a error because of that. https://twistedmatrix.com/documents/16.4.1/api/twisted.logger.Logger.html
2016-10-17[bug] use twisted.logger and fix logging namespacedrebs
2016-10-10[bug] create log directory on log initializationdrebs
2016-10-10[bug] fix error logging calls using twisted loggerdrebs
2016-10-07[bug] fail gracefully in mail service if instance not foundKali Kaneko (leap communications)
also, small refactor to make the function clearer.
2016-10-07[style] pep8Kali Kaneko (leap communications)
2016-10-07[refactor] do not print traceback for expected errorsKali Kaneko (leap communications)
Add the ability to declare an exceptions as 'expected'. This will avoid logging the backtrace on the bitmaskd log. We will just forward the message in the json that we return to the caller. - Resolves: #8506
2016-10-07[refactor] migrate hooks to bitmask repoKali Kaneko (leap communications)
now we can deprecate service_hooks in leap.common repo
2016-10-07[refactor] use new logger infrastructureKali Kaneko (leap communications)
2016-10-04[feature] handle invite codesKali Kaneko (leap communications)
In the command line, --invitecode is a new optional parameter to the command "user create". bonafide service handles the invite codes. javascript library should be updated accordingly - Resolves: #7550
2016-10-04[feat] list active usersRuben Pollan
- Resolves: 8488
2016-10-03[refactor] standardize smtp and imap service modulesdrebs
2016-10-03[bug] use correct twisted log api for warningsdrebs
2016-10-03[bug] stop syncing after logout (#8479)drebs
2016-09-30[refactor] turn mail services into twisted servicesdrebs
2016-09-30[bug] correctly log dispatch failures because of malformed partsdrebs
2016-09-30[bug] pass command parts to mail disable dispatcherdrebs
A missing command parts argument to mail subcommand dispatcher caused the `mail disable` command to never be executed.
2016-09-30[style] use a more meaningful callback namedrebs
2016-09-29[feat] ui - allow users to change their passwordselijah
2016-09-28[feature]Add change password commandRuben Pollan
- Resolves: #8487
2016-09-28[bug] fix typoKali Kaneko (leap communications)
2016-09-27[feat] Fetch smtp cert automatically if missingRuben Pollan
It's missing dealing with expired certs. I remove get_smtp_certificate core command. - Closes: #8486
2016-09-27[bug] create config dir if it does not existKali Kaneko (leap communications)
2016-09-27[pkg] some bundling hacksKali Kaneko (leap communications)
2016-09-27[feature] launch backend from the qt gui entrypointKali Kaneko (leap communications)
2016-09-26[feature] rotate logsKali Kaneko (leap communications)
2016-09-26[refactor] call it start/stopKali Kaneko (leap communications)
2016-09-26[bug] return logout message got from bonafide (fixes #8461)drebs
The CLI prints results of commands using a default dictionary printer. If the command result is not a dictionary, that writer will fail. The logout command was returning None, so the printer was breaking when using the CLI to logout. This commit makes the logout command actually return the dictionary with the logout message, thus not breaking the printer.
2016-09-23[feat] rename bonafide.user.signup into createRuben Pollan
The js was already expecting this name, and the cli was calling it create, but the internal command was 'signup'.
2016-09-22[bug] write the right json in the bitmask_tokensRuben Pollan
The json for the tokens file needs to have the format: {'mail_auth': token} - Related: #8464
2016-09-22[bug] remove unused importdrebs
2016-09-22[style] remove unused variabledrebs
2016-09-22[bug] only generate key if soledad has ever synceddrebs
2016-09-22[bug] set the public token property instead of the private onedrebs