Results 155 issues of Lunny Xiao

When copy vendors, if package has `// import xxxx`, will rename the folder name as `xxxx`.

enhancement

ref: https://github.com/go-gitea/gitea/pull/1441#issuecomment-687773041 ```log WARNING: DATA RACE Write at 0x00c00225c001 by goroutine 23: github.com/denisenkom/go-mssqldb.(*tdsBuffer).BeginPacket() /go/src/code.gitea.io/gitea/vendor/github.com/denisenkom/go-mssqldb/buf.go:126 +0x164 github.com/denisenkom/go-mssqldb.sendRpc() /go/src/code.gitea.io/gitea/vendor/github.com/denisenkom/go-mssqldb/rpc.go:50 +0xf1 github.com/denisenkom/go-mssqldb.(*Stmt).sendQuery() /go/src/code.gitea.io/gitea/vendor/github.com/denisenkom/go-mssqldb/mssql.go:476 +0xcb7 github.com/denisenkom/go-mssqldb.(*Stmt).queryContext() /go/src/code.gitea.io/gitea/vendor/github.com/denisenkom/go-mssqldb/mssql.go:591 +0x9e github.com/denisenkom/go-mssqldb.(*Stmt).QueryContext() /go/src/code.gitea.io/gitea/vendor/github.com/denisenkom/go-mssqldb/mssql.go:950 +0x244 database/sql.ctxDriverStmtQuery() /usr/local/go/src/database/sql/ctxutil.go:82 +0x2c7...

This PR split user settings as `passwods`, `suicide`, `security`, `applications`, `gpg keys`, `organiztions` modules. And there is a global configuration to allow/disallow users to visit the modules from UI or...

kind/enhancement
lgtm/need 2
backport/v1.17

backport #20548 Add configuration to enable/disable download source from UI. Co-authored-by: zeripath

kind/enhancement

- [ ] Custom Webhook Templates Issue(#1089) - [x] Webhook for mirrored repositories Issue(#1002 implemented in #4127) - [x] Allow adding a default set of githooks and webhooks Issue(#770) -...

reviewed/confirmed
kind/summary

If we can implement a sub command `migrate`, that will be helpful. ``` # migrate from a http URL tea --login=try migrate https://github.com/go-gitea/tea.git --name=gitea/tea # migrate from local disk tea...

enhancement

will fix #2 Signed-off-by: Lunny Xiao

testing

enhancement
testing

Will fix #1272. @superwy please confirm this is what you want. Usage: ```go engine.Where().MustLogSQL().Find() ```

enhancement