You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexey Terentyev 46d19c4676 Fix topics addition (Another solution) (#4031) (#4258)
* Added topics validation, fixed repo topics duplication (#4031)

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added tests

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed fmt

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added comments to exported functions

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Deleted RemoveDuplicateTopics function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fixed lint

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added Copyright

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added query solution for duplicates

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed migration query

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Changed RegExp. Fixed migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed test for changed regexp

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Removed validation log messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed validate function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
6 years ago
..
activity.go Handle refactor (#3339) 7 years ago
attachment.go Log attachment blocked events (#3615) 6 years ago
branch.go Handle refactor (#3339) 7 years ago
commit.go Handle refactor (#3339) 7 years ago
download.go Handle refactor (#3339) 7 years ago
editor.go Fix path cleanup in multiple places (#3871) 6 years ago
http.go Correctly check http git access rights for reverse proxy authorized users (#3721) 6 years ago
issue.go Add more webhooks support and refactor webhook templates directory (#3929) 6 years ago
issue_label.go Add label descriptions (#3662) 6 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_stopwatch.go Handle refactor (#3339) 7 years ago
issue_timetrack.go Handle refactor (#3339) 7 years ago
issue_watch.go Handle refactor (#3339) 7 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go Handle refactor (#3339) 7 years ago
pull.go Multiple assignees (#3705) 6 years ago
release.go Fix some webhooks bugs (#3981) 6 years ago
release_test.go Fix missing branch in release bug (#3108) 7 years ago
repo.go Refactor and simplify redirect to url (#3674) 6 years ago
search.go Global code search support (#3664) 6 years ago
setting.go Add repository setting to enable/disable health checks (#3607) 6 years ago
setting_protected_branch.go Add protected branch whitelists for merging (#3689) 6 years ago
settings_test.go Writable deploy keys (closes #671) (#3225) 7 years ago
topic.go Fix topics addition (Another solution) (#4031) (#4258) 6 years ago
view.go HTML-escape text READMEs (#4192) 6 years ago
webhook.go Fix webhook type conflation. (#4285) 6 years ago
wiki.go Fix wiki redirects (#3919) 6 years ago
wiki_test.go Improve wiki test (#3493) 6 years ago