107 Commits (db4113e3de467a18360a22f0fd9f06607132b45f)

Author SHA1 Message Date
  Lunny Xiao db4113e3de Add transaction for auto merge 1 month ago
  silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 1 month ago
  Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 3 months ago
  Chris Copeland 47b5965862
Add merge style `fast-forward-only` (#28954) 3 months ago
  Adam Majer cbf923e87b
Abstract hash function usage (#28138) 5 months ago
  Lunny Xiao eeb1e0242b
Fix poster is not loaded in get default merge message (#27657) 7 months ago
  JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 8 months ago
  Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 9 months ago
  Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 10 months ago
  wxiaoguang d9872797f8
Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) 11 months ago
  Brecht Van Lommel 2d3ebe889e
Merge message template support for rebase without merge commit (#22669) 1 year ago
  wxiaoguang 542cec98f8
Refactor merge/update git command calls (#23366) 1 year ago
  zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 1 year ago
  wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028) 1 year ago
  yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
  John Olheiser 4dd7d61ac8
Load issue before accessing index in merge message (#22822) 1 year ago
  wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 1 year ago
  Brecht Van Lommel c8139c0f64
Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
  zeripath 4199d28053
When updating by rebase we need to set the environment for head repo (#22535) 1 year ago
  Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 1 year ago
  Jason Song 47efba78ec
Support template for merge message description (#22248) 1 year ago
  Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 1 year ago
  Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 1 year ago
  Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 1 year ago
  Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 1 year ago
  kolaente 085f717529
feat: notify doers of a merge when automerging (#21553) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 1 year ago
  zeripath 4a23212102
Do DB update after merge in hammer context (#21401) 1 year ago
  Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
  wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
  Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
  Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
  wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
  Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 2 years ago
  Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 2 years ago
  6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2 years ago
  Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2 years ago
  kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 2 years ago
  6543 f034ee6cf0
PullService lock via pullID (#19520) 2 years ago
  6543 92f139d091
Use for a repo action one database transaction (#19576) 2 years ago
  6543 d8905cb623
Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (#19572) 2 years ago
  6543 06e4687cec
more context for models (#19511) 2 years ago
  Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 2 years ago
  wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
  6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 2 years ago
  wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
  Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 2 years ago