Add support for self-hosted hosting services.
Review Request #4144 — Created May 12, 2013 and submitted
Add support for self-hosted hosting services. Now, hosting services an be marked as "self-hosted," which will cause a "Domain" field to show up for the service above the account entry. Many of the functions now take a domain. Accounts now take a domain as well, and we filter registered accounts by the domain. Bug trackers have the same sort of setup as well. GitHub's had a few more changes added to it for cleanup to use the hosting URL and to not duplicate so much code. Unit tests were added for all of this.
Unit tests pass. Tested this extensively with another change that makes use of this.
Description | From | Last Updated |
---|---|---|
Col: 21 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 21 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Why this? local_site_name is already defined. |
david | |
Col: 21 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 45 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot |
- Change Summary:
-
* Raise a KeyError when there are problems registering a hosting service. * Fix a unit test. It wasn't passing the hosting_url.
- Diff:
-
Revision 2 (+511 -108)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/models.py reviewboard/webapi/resources.py reviewboard/scmtools/tests.py reviewboard/scmtools/admin.py reviewboard/hostingsvcs/evolutions/account_hosting_url.py reviewboard/scmtools/forms.py reviewboard/hostingsvcs/evolutions/__init__.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/hostingsvcs/tests.py Ignored Files: reviewboard/static/rb/js/repositoryform.js
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Removed some unnecessary re-computation of local_site_name.
- Diff:
-
Revision 3 (+506 -108)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/models.py reviewboard/webapi/resources.py reviewboard/scmtools/tests.py reviewboard/scmtools/admin.py reviewboard/hostingsvcs/evolutions/account_hosting_url.py reviewboard/scmtools/forms.py reviewboard/hostingsvcs/evolutions/__init__.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/hostingsvcs/tests.py Ignored Files: reviewboard/static/rb/js/repositoryform.js
-
-
-
-
-
-
-
-
-
-
-