0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 04:44:18 +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
org
private
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
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
swagger_json.go