Add a widget to choose between self-hosted and gitlab.com-hosted GitLab

Review Request #8576 — Created Dec. 15, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x
df62b37...

Reviewers

GitLab repository accounts now have a special widget to allow the use to
choose between gitlab.com-hosted and self-hosted GitLab instances. In
addition, the field is now validated to ensure that it has a valid URL
scheme. Previously if the scheme was omitted a repository not found
error would occur, even for otherwise valid URLs (e.g., gitlab.com vs
https://gitlab.com).

  • Added a gitlab.com repository: it worked as expected.
  • Added a repository with an invalid URL: the new error message was
    provided instead of the old one.

    Loading...