forgejo/routers
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
..
admin LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
api/v1 Fix milestone appliance and permission checks (#4271) 2018-06-19 23:15:11 +08:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Splitted the user settings code into several files to be more maintainable (#3968) 2018-05-17 12:05:00 +08:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
repo Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
routes Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
user fix missing data on redirects (#3975) 2018-06-18 14:24:45 -04:00
utils Allow adding collaborators with (fullname) (#3103) 2017-12-07 15:00:09 +08:00
home.go fix not respecting landing page setting (#4209) 2018-06-15 11:42:46 +08:00
init.go Store OAuth2 session data in database (#3660) 2018-04-29 09:09:24 +03:00
install.go issue-2768: added new option allow_only_external_registration (#3910) 2018-05-13 15:51:16 +08:00