0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 23:11:10 +01:00
gitea/routers
guillep2k 2a2b46c62e Reference issues from pull requests and other issues (#8137)
* Update ref comment

* Generate comment on simple ref

* Make fmt + remove unneeded repo load

* Add TODO comments

* Add ref-check in issue creation; re-arrange template

* Make unit tests pass; rearrange code

* Make fmt

* Filter out xref comment if user can't see the referencing issue

* Add TODOs

* Add cross reference

* Rearrange code; add cross-repository references

* Striketrhough obsolete references

* Remove unnecesary TODO

* Add "not supported" note

* Support for edits and deletes, and issue title

* Revert changes to go.mod

* Fix fmt

* Add support for xref from API

* Add first integration test

* Add integration tests

* Correct formatting

* Fix add comment test

* Add migration

* Remove outdated comments; fix typo

* Some code refactoring and rearranging

* Rename findCrossReferences to createCrossReferences

* Delete xrefs when repository is deleted

* Corrections as suggested by @lafriks

* Prepare for merge

* Fix log for errors
2019-09-20 01:45:38 -04:00
..
admin Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
api/v1 Refuse merge until all required status checks success (#7481) 2019-09-18 08:39:45 +03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
private Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Reference issues from pull requests and other issues (#8137) 2019-09-20 01:45:38 -04:00
routes Fix adding default Telegram webhook (#7972) 2019-08-26 18:59:10 -04:00
user Allow registration when button is hidden (#8237) 2019-09-19 22:40:33 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00