forgejo/models
wxiaoguang d5f2c9d74d
Fix issue attachment handling (#24202) (#24221)
Backport #24202

Close #24195

Fix the bug:

1. The old code doesn't handle `removedfile` event correctly
2. The old code doesn't provide attachments for type=CommentTypeReview

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-04-20 04:21:10 -04:00
..
actions Fix checks for needs in Actions (#23789) (#23831) 2023-04-03 13:24:45 +08:00
activities Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
admin
asymkey
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) (#23852) 2023-03-31 12:53:25 -04:00
avatars Avoid warning for system setting when start up (#23054) (#23116) 2023-02-24 16:46:11 -05:00
db Support converting varchar to nvarchar for mssql database (#24105) (#24168) 2023-04-17 10:10:15 -04:00
dbfs
fixtures Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874) (#23878) 2023-04-07 18:10:17 +08:00
git Fix branch protection priority (#24045) (#24061) 2023-04-11 21:07:38 +02:00
issues Fix issue attachment handling (#24202) (#24221) 2023-04-20 04:21:10 -04:00
migrations Drop migration for ForeignReference (#23605) (#23666) 2023-03-24 16:57:00 -04:00
organization Add missing tabs to org projects page (#22705) (#23412) 2023-03-10 10:08:28 -06:00
packages Use ghost user if package creator does not exist (#23822) (#23915) 2023-04-04 20:37:28 +08:00
perm
project Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
pull
repo Sort repo topic labels by name (#24123) (#24153) 2023-04-17 09:00:19 +08:00
secret
system Avoid warning for system setting when start up (#23054) (#23116) 2023-02-24 16:46:11 -05:00
unit Rename actions unit to repo.actions and add docs for it (#23733) (#23881) 2023-04-03 12:54:36 +02:00
unittest Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
user Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874) (#23878) 2023-04-07 18:10:17 +08:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Avoid warning for system setting when start up (#23054) (#23116) 2023-02-24 16:46:11 -05:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go