summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/dispatcher.py
AgeCommit message (Collapse)Author
2018-03-28[refactor] move autostart code into coreRuben Pollan
All the logic to autostart bitmask should not be vpn dependent.
2017-12-20[feat] Add msg_status call to the mail APIRuben Pollan
To get the status of a single message providing it's mailbox and message-id. For now it only returns encryption/signature status. - Resolves: #6914
2017-12-20[refactor] rename API add_msg to msg_addRuben Pollan
To have consistency with all API calls related to messages and start all of them with msg_*
2017-10-26[feat] add fetch key by fingerprint to keymanagerRuben Pollan
- Resolves: #9023
2017-09-10[bug] add the error as an upper level attribute of the dictKali Kaneko
the UI is expecting it there, not inside the result data. we probably could delete it from the later.
2017-08-31[feat] expose an API to set/get/list gateway preferencesRuben Pollan
- Related: #9010
2017-08-24[feat] add mail.add_msg API callRuben Pollan
- Resolves: #8973
2017-08-24[feat] remove active user from get_tokenRuben Pollan
We need to update the UI to use the new API. - Resolves: #8974
2017-08-24[feat] add a mock mixnet_status call to the APIRuben Pollan
For now we say it will be mixed on every request if the mixnet is enabled. We might want a better mock in the future. - Resolves: #8972
2017-08-11[feature] add vpn list commandKali Kaneko
2017-06-15[feat] Add a 'fetch' flag to key exportRuben Pollan
If is set keyamanger will try to discover and download the key. - Resolves: #8821
2017-06-15[bug] only start the child services if they are not runningRuben Pollan
- Resolves: #8921
2017-06-05[feat] On bitmaskclt vpn start use the last vpn if no provider is providedRuben Pollan
- Resolves: #8835
2017-05-12[bug] return ok from a succesful provider deleteRuben Pollan
2017-05-04[bug] correctly handle authenticate's autoconf parameterSimon Fondrie-Teitler
This fixes two bugs with handling the autoconf parameter: - It looks for "True" instead of "true" in the dispatching code to account for json.dumps() converting true into a boolean and str() returning the python-style capitalized version "True". - It moves the initial definitions of offirst_bootstrap, ongoing_bootstrap, and stuck_bootstrap into the class instantiation method so they don't get shared between instances of the class. Previously, this caused one instance being bootstrapped to causes other instances to think they were also actively being bootstrapped. Resolves #8843
2017-04-27[bug] unify logging style using class attrKali Kaneko (leap communications)
I changed most of the logger statements to use a class attribute, in this way it's easier to identify which class it's logging them. in some cases I leave a module-level logger, when we're either using functions or when the module it's too small. at the same time I did a general review and cleanup of the logging statements.
2017-04-20[bug] fix enabling of vpn serviceKali Kaneko (leap communications)
- Resolves: #8845
2017-04-19[bug] pass along no polkit errorKali Kaneko (leap communications)
2017-04-19[bug] improve exception catching in execution loopKali Kaneko (leap communications)
2017-04-03[feat] add a check for the installation of the helpers to the APIRuben Pollan
- Resolves: #8786
2017-03-03[feat] get VPN params from eip-service.jsonRuben Pollan
Instead of hardcoding them in the code.
2017-03-03[bug] use username instead of provider in the vpn callsRuben Pollan
Without active user we need to use the username instead of the provider in the VPN API. - Resolves: #8783
2017-03-03[feat] mail status will only work for a valid useridRuben Pollan
We used to return the system status if no userid is provided. We don't do it anymore, now is only userid based. - Resolves: #8785
2017-02-23[refactor] complete eip -> vpn rename in coreKali Kaneko (leap communications)
2017-02-23[refactor] rename eip to vpnKali Kaneko (leap communications)
2017-02-23[feature] add install/uninstall command for helpersKali Kaneko (leap communications)
2017-02-23[feature] new commands: get_certKali Kaneko (leap communications)
2017-02-23[feature] enable vpn serviceKali Kaneko (leap communications)
2017-02-23[feat] eliminate the active user from bonafideRuben Pollan
Active user is now only a concept of the cli. For it we add a ~/.config/leap/bitmaskctl.cfg file. - Resolves: #8769
2017-02-09[feat] add account based keymanagement APIRuben Pollan
- Resolves: #8755
2017-02-09[feat] Get more detailed status report for emailRuben Pollan
- Resolves: #8754
2016-12-29[feature] better param error handling in rest apiKali Kaneko (leap communications)
2016-12-29[feature] pass local auth token after authentication succeedsKali Kaneko (leap communications)
2016-12-29[refactor] reorganize APIKali Kaneko (leap communications)
so that whitelisting doesn't have to peek into the data. added more documentation and some tests stubs too.
2016-12-29[feature] authentication classes and testsKali Kaneko (leap communications)
2016-10-21[bug] avoid choking with some failuresKali Kaneko (leap communications)
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] 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-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-28[feature]Add change password commandRuben Pollan
- Resolves: #8487
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-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-20[style] pep8 cleanupKali Kaneko (leap communications)
2016-09-09[bug] workaround for autoconf in cliKali Kaneko (leap communications)