forgejo/routers/repo
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>
2018-06-21 17:09:46 +08:00
..
activity.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
attachment.go Log attachment blocked events (#3615) 2018-03-05 08:51:10 +08:00
branch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
commit.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
download.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
editor.go Fix path cleanup in multiple places (#3871) 2018-05-01 09:46:04 +08:00
http.go Correctly check http git access rights for reverse proxy authorized users (#3721) 2018-03-29 09:39:51 +08:00
issue.go Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
issue_label.go Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
issue_label_test.go fix go vet error (#3740) 2018-03-30 07:21:27 +08:00
issue_stopwatch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_timetrack.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_watch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
pull.go Multiple assignees (#3705) 2018-05-09 19:29:04 +03:00
release.go Fix some webhooks bugs (#3981) 2018-05-21 10:28:29 +08:00
release_test.go Fix missing branch in release bug (#3108) 2017-12-08 13:22:02 +08:00
repo.go Refactor and simplify redirect to url (#3674) 2018-03-15 22:13:34 +01:00
search.go Global code search support (#3664) 2018-03-16 22:04:33 +08:00
setting.go Add repository setting to enable/disable health checks (#3607) 2018-03-27 22:13:20 +08:00
setting_protected_branch.go Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
settings_test.go Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
topic.go Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
view.go HTML-escape text READMEs (#4192) 2018-06-10 21:42:16 +03:00
webhook.go Fix webhook type conflation. (#4285) 2018-06-21 07:22:03 +02:00
wiki.go Fix wiki redirects (#3919) 2018-05-28 09:38:20 -04:00
wiki_test.go Improve wiki test (#3493) 2018-02-13 11:19:49 +02:00