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

Ajax clean up #101

Merged
merged 7 commits into from
Jan 5, 2015
Merged

Ajax clean up #101

merged 7 commits into from
Jan 5, 2015

Conversation

mdaines-r7
Copy link
Contributor

Pull in the AJAX clean-up work. Mostly involves renaming methods to remove leading underscores. Also adds a timeout parameters to POST calls to support any upload calls which make take a long time to provide a synchronous response.

Removes leading underscore and adds documentation for the method.
Convert to using explicitly private methods for retrieving and setting
row preferences.
Adds documentation to the preserving_preference method to make it clear
why we would use it and to deter external use.
Throws an AuthenticationFailed error when receiving the login page
redirect.
Allows calls to override the default 60 second timeout for POST requests
which are likely to take more than a minute to complete. Should only be
used in rare cases, and not as a workaround for a performance issue.
Private is not supported in module_function methods, so these methods
need to be exposed.
Also re-organizes the code to keep the row and preference code together
in a single section.
mdaines-r7 added a commit that referenced this pull request Jan 5, 2015
@mdaines-r7 mdaines-r7 merged commit 8323bed into master Jan 5, 2015
@mdaines-r7 mdaines-r7 deleted the ajax-clean-up branch January 5, 2015 21:20
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.

1 participant