Advertise GitHub Enterprise support in Power Pack
Review Request #7757 — Created Nov. 6, 2015 and submitted
This patch adds support for fake hosting services that Review Board
does not provide, but Power Pack does. These services do not implement
anything, but are instead shown in the "Add Repository" form when Power
Pack is not enabled.When a fake hosting service is selected in the form, an advertisement
for Power Pack is shown and the form becomes unsubmittable. This is to
ensure that users don't end up getting an error when trying to use the
hosting service that is not actually registered in the database.A large portion of this change is updating
repositoryform.js
to bring
it in line with the rest of our JavaScript by prefixing all jQuery
objects with$
.
Ran unit tests.
Manually verified that the fake hosting service appeared only when
Power Pack was not enabled.
Description | From | Last Updated |
---|---|---|
Should be "Power Pack". For the text, how about: "To use GitHub Enterprise with Review Board, you need to install … |
chipx86 | |
Should be "Power Pack". We should also run all these strings through gettext. |
david | |
We can make this text a bit more friendly. How about: GitHub enterprise integration is available with Power Pack, an … |
david | |
Undo this change, please. |
david | |
Undo this change. |
david | |
Undo this (for anonymous functions, (...) is next to the keyword) |
david | |
This is all good but should probably be done in a separate commit. |
david | |
Hmm. Would this make more sense in the django template? |
david | |
"alo" -> "also" |
david | |
This indentation change is wrong, but can you just stick this whole string in gettext instead? |
david | |
s/has/have/ |
david | |
!isCustom is redundant. |
brennie | |
This should all be outside of the if. |
brennie | |
Unnecessary once the $toolRow.setVisible call is moved. |
brennie |
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
-
Should be "Power Pack".
For the text, how about:
"To use GitHub Enterprise with Review Board, you need to install Power Pack.
Power Pack offers support for GitHub Enterprise, Microsoft Team Foundation Server, PDF document review, reporting, and more."
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/static/rb/js/repositoryform.js reviewboard/static/rb/css/ui/forms.less
-
Tool: Pyflakes Processed Files: reviewboard/scmtools/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/templates/admin/repository_fields.js Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/fake.py reviewboard/scmtools/forms.py Ignored Files: reviewboard/templates/admin/repository_fields.js