Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/models
KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783)
Close #14601
Fix #3690

Revive of #14601.
Updated to current code, cleanup and added more read/write checks.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andre Bruch <ab@andrebruch.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-09 14:35:56 +08:00
..
activities refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
admin Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
asymkey refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
auth Use random bytes to generate access token (#21959) 2022-11-28 23:37:42 +08:00
avatars Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
db Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
fixtures Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
foreignreference Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
git refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
issues Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
migrations Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
organization refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
packages refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
perm refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
project refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pull refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo Round language stats percentage using largest remainder (#22026) 2022-12-08 10:47:47 +08:00
system Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
unit Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
unittest Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
webhook Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
error.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
fixture_generation.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
migrate.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
migrate_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
org_team.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
org_team_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo.go Fix issue/PR numbers (#22037) 2022-12-06 15:53:09 +08:00
repo_collaboration.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_collaboration_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_transfer.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_transfer_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00