(refs #1823) Link submodule to the online repository viewer
Supports following services: - GitBucket (need to set the base url at the system settings) - GitHub - BitBucket - GitLab.com If a repository url doesn't match above services, generate a link to the git repository as before. |
---|
|
src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala |
---|
src/main/scala/gitbucket/core/util/JGitUtil.scala |
---|
src/main/scala/gitbucket/core/util/StringUtil.scala |
---|
src/test/scala/gitbucket/core/util/StringUtilSpec.scala |
---|