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/web/user/setting
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374)
There was only one `IsRepositoryExist` function, it did: `has && isDir`

However it's not right, and it would cause 500 error when creating a new
repository if the dir exists.

Then, it was changed to `has || isDir`, it is still incorrect, it
affects the "adopt repo" logic.

To make the logic clear:

* IsRepositoryModelOrDirExist
* IsRepositoryModelExist
2 years ago
..
security Add main landmark to templates and adjust titles (#22670) 2 years ago
account.go Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
account_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
adopt.go Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
applications.go Add main landmark to templates and adjust titles (#22670) 2 years ago
keys.go Improve error report when user passes a private key (#22726) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2_common.go Implement FSFE REUSE for golang files (#21840) 2 years ago
packages.go Add Chef package registry (#22554) 2 years ago
profile.go Fix unclear "Owner" concept (#24233) 2 years ago
secrets.go Move secrets and runners settings to actions settings (#24200) 2 years ago
webhooks.go Add user webhooks (#21563) 2 years ago