Commit Graph

57 Commits (6398ca745aabdc40f10465e71da99c5a3866990e)

Author SHA1 Message Date
Lunny Xiao 003b4e209c
Allow disable code tab (#20805) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Wim 889a41c6a8
Do not allow organisation owners add themselves as collaborator (#20043) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Gary Wang 36dfe544f4
Fix mirror address setting not working (#20850) 2 years ago
Mohamed Sekour 0e61a74e5a
Add new API endpoints for push mirrors management (#19841) 2 years ago
Norwin 305372efe3
fix enabling repo packages when projects are off (#20486) 2 years ago
Chongyi Zheng 49f9d43afe
Implement sync push mirror on commit (#19411) 2 years ago
Gusted edf14202fe
Unify repo settings & show better error (#19828) 2 years ago
Lunny Xiao ce3dd04c63
Fix some mirror bugs (#18649) 2 years ago
Sandro Santilli 52c2e82813
Custom regexp external issues (#17624) 2 years ago
zeripath d8236f1b16
Ensure minimum mirror interval is reported on settings page (#19895) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 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