Create a new Review Request after creating a PR on Github

Review Request #8741 — Created Feb. 12, 2017 and discarded — Latest diff uploaded

Information

Review Board
dvcs

Reviewers

I didn't have permission to modify r/8437/, so I'm posting this as a separate RR. A decent portion of this diff is stuff that Dominic did. Anything involving social authentication is stuff I did.

Users may now authenticate with GitHub, associating their RR account with their GitHub account. When a webhook pull request is incoming, it will attempt to find a user with that GitHub username and submit it under their name, else it submits it under a dummy account (No_Submitter).

I have also added the ability to authenticate with a BitBucket account. The data is currently not showing up in the database even though it successfully authenticates.

Nothing except testing that it actually works - no unit tests or attempting to break it.

reviewboard/settings.py
reviewboard/urls.py
reviewboard/accounts/backends.py
reviewboard/accounts/middleware.py
reviewboard/accounts/pages.py
reviewboard/accounts/urls.py
reviewboard/accounts/views.py
reviewboard/accounts/forms/pages.py
reviewboard/admin/siteconfig.py
reviewboard/hostingsvcs/github.py
reviewboard/hostingsvcs/service.py
reviewboard/hostingsvcs/tests/test_github.py
reviewboard/reviews/builtin_fields.py
reviewboard/reviews/evolutions/__init__.py
reviewboard/reviews/evolutions/pull_request.py
reviewboard/reviews/models/base_comment.py
reviewboard/reviews/models/review.py
reviewboard/reviews/models/review_request.py
reviewboard/social/__init__.py
reviewboard/social/forms.py
reviewboard/social/pipeline.py
reviewboard/social/urls.py
reviewboard/social/views.py
reviewboard/templates/accounts/claim_github.html
reviewboard/templates/accounts/external_service_auth.html
reviewboard/templates/base/_nav_support_menu.html
reviewboard/templates/social/retrieve_user_data.html
Loading...