1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-02 08:44:34 +00:00

4 Commits

Author SHA1 Message Date
wxiaoguang
a163c53a60
Refactor template & test related code ()
Move some legacy code from "base" package to proper packages.
2024-12-22 15:33:19 +00:00
wxiaoguang
a66c16dc1b
Allow to fork repository into the same owner ()
This feature is experimental, not fully tested, and may be changed in
the future.

It is only designed for users who really need it: set
`[repository].ALLOW_FORK_INTO_SAME_OWNER=true` in your app.ini

Doc: https://gitea.com/gitea/docs/pulls/122


![image](https://github.com/user-attachments/assets/38d08c23-9cfc-49d8-9321-ff81edf65395)
2024-12-14 09:39:05 +08:00
Lunny Xiao
f8ab9dafb7
Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} () 2024-03-22 13:53:52 +01:00
Lunny Xiao
66edc888ee
Move fork router functions to a standalone file ()
To reduce the pull.go file's size.
2024-03-13 10:07:53 +00:00