Commit Graph

12 Commits (6e140b58ddd318f8e916b1f83551c6b2c8291510)

Author SHA1 Message Date
Lunny Xiao 9466fec879
Fix rename branch 500 when the target branch is deleted but exist in database (#30430) 7 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498) 10 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
Nanguan Lin cda97a7253
Update status and code index after changing the default branch (#27018) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
HesterG 2f0e79e639
Use frontend fetch for branch dropdown component (#25719) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao aab7cb6750
Move some files under repo/setting (#25585) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Zettat123 e7c2231dee
Support for status check pattern (#24633) 2 years ago
sillyguodong e8173c2c33
Move `Rename branch` from repo settings page to the page of branches list (#24380) 2 years ago
Hester Gong 72e956b79a
Improve protected branch setting page (#24379) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Zettat123 9a83aa28a3
Get rules by id when editing branch protection rule (#22932) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 15c035775a
Add main landmark to templates and adjust titles (#22670) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 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
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 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
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 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
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 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
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
a1012112796 9c26dc1f3a
Add block on official review requests branch protection (#13705) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012) 5 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
David Svantesson ea707f5a77 Add branch protection option to block merge on requested changes. (#9592) 5 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago