Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor jirashell fixes - #100, #102, #66, and tweaks for d5856742771890ad18165197f6bc7eb3ff8cd086 #103

Merged
merged 4 commits into from
Aug 4, 2015

Conversation

milo-minderbinder
Copy link
Contributor

Minor fixes for jirashell issues #100, #102, and #66, and tweaks fix from d585674. The oauth_dance and print_tokens options specified in jirashell.ini configuration file are now correctly parsed as boolean values and OAuth with pre-authenticated access_token and access_token_secret (skipping oauth_dance()) is fixed. OAuth options are now minimally validated for completeness, so #66 is fixed, allowing for basic auth without causing issue #102 as the merged commit d585674 did previously.

ssbarnea and others added 4 commits July 15, 2015 16:26
The problem is that 'oauth_dance' should be an optional option argument,
if it is not set, or if it is set to false, a valid use case still
exists where OAuth should be used if the user supplies access_token and
access_token_secret through command line or configuration file options.
This would be the case if the user had already authenticated externally
with OAuth and had valid, authenticated tokens to pass to jirashell.

Commit d585674 doesn't fix the issue anyway, since configuration file
options are all read by value, and interpreted as strings, but,
presumably, oauth_dance should be a boolean option. The result is that
"if oauth['oauth_dance']:" will always be True, if oauth_dance is set to
anything (including False) in the configuration file.
…ycontribs#66, and tweaks fix from d585674. The oauth_dance and print_tokens options specified in jirashell.ini configuration file are now correctly parsed as boolean values and OAuth with pre-authenticated access_token and access_token_secret (skipping oauth_dance) is fixed. OAuth options are now minimally validated for completeness, so pycontribs#66 is fixed, allowing for basic_auth without causing issue pycontribs#102 as the merged commit d585674 did previously.
ssbarnea added a commit that referenced this pull request Aug 4, 2015
Minor jirashell fixes - #100, #102, #66, and tweaks for d585674
@ssbarnea ssbarnea merged commit 4040372 into pycontribs:master Aug 4, 2015
ssbarnea added a commit that referenced this pull request Nov 21, 2016
Minor jirashell fixes - #100, #102, #66, and tweaks for d585674
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants