mirror of
1
Fork 0
forgejo/templates
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403)
* Add API to get issue/pull comments and events (timeline)
Adds an API to get both comments and events in one endpoint with all required data.
Closes go-gitea/gitea#13250

* Fix swagger

* Don't show code comments (use review api instead)

* fmt

* Fix comment

* Time -> TrackedTime

* Use var directly

* Add logger

* Fix lint

* Fix test

* Add comments

* fmt

* [test] get issue directly by ID

* Update test

* Add description for changed refs

* Fix build issues + lint

* Fix build

* Use string enums

* Update swagger

* Support `page` and `limit` params

* fmt + swagger

* Use global slices

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-01-01 22:12:25 +08:00
..
admin Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 2021-12-14 16:37:11 +08:00
base Handle invalid issues (#18111) 2021-12-28 21:28:27 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add archived label for code search results in archived repo's (#17817) 2021-11-26 16:49:31 +08:00
mail Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
org org settings -> webhook/labels/deletion should also active the menu (#17809) 2021-11-25 23:15:58 +08:00
repo Allow admin to associate missing LFS objects for repositories (#18143) 2022-01-01 17:05:31 +08:00
shared Change <a> elements to underline on hover (#17898) 2021-12-18 05:29:00 +00:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Use conditions but not repo ids as query condition (#16839) 2021-12-29 21:02:12 +08:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00