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.
Lunny Xiao 184a7d4195
Check if project has the same repository id with issue when assign project to issue (#20133)
* Check if project has the same repository id with issue when assign project to issue

* Check if issue's repository id match project's repository id

* Add more permission checking

* Remove invalid argument

* Fix errors

* Add generic check

* Remove duplicated check

* Return error + add check for new issues

* Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: 6543 <6543@obermui.de>
2 years ago
..
admin Make better use of i18n (#20096) 2 years ago
auth Remove U2F support (#20141) 2 years ago
dev Make better use of i18n (#20096) 2 years ago
events Improve Stopwatch behavior (#18930) 2 years ago
explore Add sitemap support (#18407) 2 years ago
feed Add more linters to improve code readability (#19989) 2 years ago
healthcheck Update go-chi/cache to utilize Ping() (#19719) 2 years ago
misc Fix panic in team repos API (#19431) 2 years ago
org Move issues related files into models/issues (#19931) 2 years ago
repo Check if project has the same repository id with issue when assign project to issue (#20133) 2 years ago
user Hide notify mail setting ui if not enabled (#20138) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 2 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 2 years ago
base.go Refactor `i18n` to `locale` (#20153) 2 years ago
goget.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
home.go Add sitemap support (#18407) 2 years ago
metrics.go Update HTTP status codes to modern codes (#18063) 2 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Check if project has the same repository id with issue when assign project to issue (#20133) 2 years ago
webfinger.go User keypairs and HTTP signatures for ActivityPub federation using go-ap (#19133) 2 years ago