summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/dispatcher.py
AgeCommit message (Collapse)Author
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)
2016-09-07[feat] Add manual provider registrationRuben Pollan
- Resolves: #8400
2016-09-06[feat] add webui command: enable/disable/statusKali Kaneko (leap communications)
2016-09-01[feat] add web/js core APIRuben Pollan
Implements http REST API for the core and bitmask.js generic library to use this API. For events it uses long polling. - Resolves: #8265
2016-08-30[pkg] initial migration of bitmask.{core,cli}Kali Kaneko (leap communications)