Commit Graph

43 Commits (26095115f4ae90e3fdc6ab695978efd16e317f75)

Author SHA1 Message Date
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao d4834071da
Repository level enable package or disable (#19323) 3 years ago
zeripath 409ff55a29
When updating mirror repo intervals by API reschedule next update too (#19429) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang d4c789dfc1
Refactor repo clone button and repo clone links, fix JS error on empty repo page (#19208) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Gusted 650a50a7ba
Remove unused route "/tasks/trigger" (#18160) 3 years ago
wxiaoguang e61b390d54
Unify and simplify TrN for i18n (#18141) 3 years ago
Gusted 88da7a7174
Use correct user when determining max repo limits for error messages (#18153) 3 years ago
Gusted 7eb380baa4
Use correct translation key (#18135) 3 years ago
zeripath e0e3ba6c12
Add Reindex buttons to repository settings page (#17494) 3 years ago
zeripath b4782e24d2
Return nicer error for ForcePrivate (#17971) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 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
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
zeripath 0a542dd59f
Decrement Fork Num when converting from Fork (#17035) 3 years ago
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
6543 63d7cbcef1
Make mirror feature more configurable (#16957) 3 years ago
zeripath 921afb57fb
Add missing return to handleSettingRemoteAddrError (#16794) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 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
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 4 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867) 4 years ago
zeripath 7a484c0788
Hide mirror passwords on repo settings page (#16022) 4 years ago
zeripath d0ea10b21f
Close the gitrepo when deleting the repository (#15876) 4 years ago
KN4CK3R c80d7f33b6
Unified link creation. (#15619) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago