Commit Graph

24 Commits (1af45689f9bdac7267400a8c9d77c23676b33935)

Author SHA1 Message Date
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
Hester Gong 63a401ac40
Move secrets and runners settings to actions settings (#24200) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Zettat123 347df0cbf0
Show empty repos in Admin Repository Management page (#23114) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
zeripath d0ea10b21f
Close the gitrepo when deleting the repository (#15876) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath fa2e34928d
Ensure that search term and page are not lost on adoption page-turn (#14133) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason (#9717) 5 years ago
Lunny Xiao 9e85358777
Move some repositories' operations to a standalone service package (#8557) 5 years ago
Lanre Adelowo d0cb5aa9f9 fix #3200 (#6033) 6 years ago
Morgan Bazalgette 65861900cd Handle refactor (#3339) 7 years ago
Morlinest dff26e25ca Remove redudant functions and code (#2652) 7 years ago
Ethan Koenig b689bb6180 Webhooks for repo creation/deletion (#1663) 7 years ago
Bo-Yi Wu 95574a3640 fix: Admin can see all private repositories on Explore page. (#1026) 8 years ago
Bwko fa3abc22c0 Added sorting to organizations, repos & users page (#222) 8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262) 8 years ago
Lunny Xiao 659bc2814c go lint fixed for routers/admin 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Thibault Meyer 3a10a0c1ca
Ordering organizations and users by name 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 46e96c008c Use struct for UI settings 8 years ago
Unknwon 149d62a648 #13 fix admin can't search private repos 9 years ago
Unknwon 2bf8494332 #13 finish user and repository search 9 years ago
Unknwon 514382e2eb Rename module: middleware -> context 9 years ago
Unknwon 89244b74c6 remember page number when delete repo 9 years ago
Unknwon ca8ce793d1 #2063 Ability to delete repo from admin panel 9 years ago
Unknwon 986447335d #1693 minor fix 9 years ago