DrMaxNix
fd7c364ca6
Check user/org repo limit instead of doer ( #34147 )
...
This PR tries to finally fix the bug mentioned in #30011 and #15504 ,
where the user repo limit is checked when creating a repo in an
organization.
Fix #30011
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
2025-04-07 23:45:31 -07:00
wxiaoguang
f35850f48e
Refactor error system ( #33610 )
2025-02-16 22:13:17 -08:00
wxiaoguang
a163c53a60
Refactor template & test related code ( #32938 )
...
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 ( #32819 )
...
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

2024-12-14 09:39:05 +08:00
Lunny Xiao
f8ab9dafb7
Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} ( #29995 )
2024-03-22 13:53:52 +01:00
Lunny Xiao
66edc888ee
Move fork router functions to a standalone file ( #29756 )
...
To reduce the pull.go file's size.
2024-03-13 10:07:53 +00:00