Commit Graph

7 Commits (0323122fd79f42296470bdc02dee57a5ef8e72c9)

Author SHA1 Message Date
kolaente f9ec2f89f2 Add golangci ()
mrsdizzie de6ef14d04 Validate External Tracker URL Format ()
* Validate External Tracker URL Format

Add some validation checks for external tracker URL format.

Fixes 

* Don't make {index} a hard requirement

* Fix Description

* make fmt

* move regex to package level

* fix copyright date
mrsdizzie d056bf300f Clean up ref name rules ()
* Clean up ref name rules

Clean up checks on reference names to better conform to the guideline
here: https://git-scm.com/docs/git-check-ref-format

This fixes half of 

* Update branch create integration test

According to: https://git-scm.com/docs/git-check-ref-format

And: git check-ref-format "master/feature=test1"

This is a valid branch name and we should not be testing for it to fail.
Lauris BH 92466129ec
Improve URL validation for external wiki and external issues ()
* Improve URL validation for external wiki  and external issues

* Do not allow also localhost address for external URLs
Bwko 1f877f8c87 Add tag check to release draft creation ()
Lauris BH f3833b7ce4 Create new branch from branch selection dropdown ()
* Create new branch from branch selection dropdown and rewrite it to VueJS

* Make updateLocalCopyToCommit as not exported

* Move branch name validation to model

* Fix possible race condition
Lauris BH f42ec6120e Better URL validation ()
* Add correct git branch name validation

* Change git refname validation error constant name

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add git reference name validation unit tests

* Remove unused variable in unit test

* Implement URL validation based on GoLang url.Parse method

* Backward compatibility with older Go compiler

* Add url validation unit tests