forgejo/modules
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
..
activitypub
analyze
appstate
auth
avatar Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
base Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
cache
charset Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
context Handle invalid issues (#18111) 2021-12-28 21:28:27 +08:00
convert Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
csv
doctor Quote references to the user table in consistency checks (#18072) 2021-12-22 23:52:57 +00:00
emoji
eventsource Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
generate
git Do not read or write git reference files directly (#18079) 2021-12-23 21:44:00 +08:00
gitgraph Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
graceful
hcaptcha
highlight
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache
httplib
indexer Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 2022-01-01 16:26:27 +08:00
json
lfs
log Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
markup Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
metrics
migration
nosql
notification Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
options
password
pprof
private
process
proxy
public
queue
recaptcha
references Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
repository Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
secret Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
session Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
setting Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
ssh Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
storage
structs Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
svg
sync
templates Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
test
timeutil
translation
typesniffer
updatechecker Use JSON module instead of stdlib json (#18003) 2021-12-17 09:15:02 +08:00
upload Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url (#18080) 2021-12-23 16:27:33 +00:00
user
util Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
validation
web Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00