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

salesforce faculty verification #95

Merged
merged 2 commits into from
Mar 8, 2016
Merged

salesforce faculty verification #95

merged 2 commits into from
Mar 8, 2016

Conversation

rich-hart
Copy link

This is just the basic functionality of connecting to salesforce. Several features still need to be implemented, .e.g. updating the authentication method to use OAuth 2.0, tracking salesforce usage statistics, encrypted keys for travis testing, etc.

security_token=settings.SALES_SECURITY_TOKEN)


def faculty_status(accounts_id):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving a reminder to myself to add error handling here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - there was a question from Kathi about what would happen if SF was down - how will the app handle that? This should be addressed in the error handling.

@rich-hart rich-hart force-pushed the salesforce branch 4 times, most recently from 0742d51 to a656820 Compare March 7, 2016 21:53
logger.error("{0}('{1}')".format(error_type,error_message))
return False

def faculty_status(self,accounts_id):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add spaces after the commas in this file to maintain readability?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing. I'll make a PEP8 update

@mwvolo
Copy link
Member

mwvolo commented Mar 7, 2016

I am getting the following error when I hit /api/user:

'Settings' object has no attribute 'SALESFORCE'

I see you added a template to local.py.example - how do I get the keys to test this?

@rich-hart
Copy link
Author

I just sent you the keys using lastpass.

mwvolo added a commit that referenced this pull request Mar 8, 2016
salesforce faculty verification
@mwvolo mwvolo merged commit 4f28199 into master Mar 8, 2016
@mwvolo mwvolo deleted the salesforce branch March 8, 2016 16:50
@rich-hart rich-hart mentioned this pull request Mar 8, 2016
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