You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Yarden Shoham 9e68261ca7
fix incorrect role labels for migrated issues and comments (#22914) (#22923)
Backport #22914

Fix #22797.

## Reason
If a comment was migrated from other platforms, this comment may have an
original author and its poster is always not the original author. When
the `roleDescriptor` func get the poster's role descriptor for a
comment, it does not check if the comment has an original author. So the
migrated comments' original authors might be marked as incorrect roles.

Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
api Use import of OCI structs (#22765) (#22805) 2 years ago
common Add support for HEAD requests in Maven registry (#21834) (#21929) 2 years ago
install fix: update settings table on install (#22326) (#22327) 2 years ago
private Fix missing message in git hook when pull requests disabled on fork (#22625) (#22658) 2 years ago
utils refactor webhook *NewPost (#20729) 3 years ago
web fix incorrect role labels for migrated issues and comments (#22914) (#22923) 2 years ago
init.go Sync git hooks when config file path changed (#21619) (#21626) 2 years ago