Commit Graph

53 Commits (89cc5011716850eb30c9e34130c4b2ecd9829252)

Author SHA1 Message Date
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
wxiaoguang 27deea7330
Make PR form use toast to show error message (#29545) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
Lunny Xiao aeb383025f
Also sync DB branches on push if necessary (#28361) 12 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 47b878858a
Search branches (#27055) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 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
Lunny Xiao 7735da1c66
Display branch commit status (#25608) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
wxiaoguang 59d060622d
Improve RSS (#24335) 2 years ago
jladbrook 56d4893b2a
Add RSS Feeds for branches and files (#22719) 2 years ago
wxiaoguang 6ff5400af9
Make branches list page operations remember current page (#23420) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 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
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
zeripath d7f12af805
Prevent NPE if trying to restore an already restored deleted branch (#21940) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
JakobDev bf325d4412
Keep path when creating a new branch (#21153) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
a1012112796 e3e06d13af
fix permission check for delete tag (#19985) 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
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 52bfb7f012
Handle missing default branch better in owner/repo/branches page (#18290) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 9e6e1dc950
Improve checkBranchName (#17901) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
KN4CK3R ea42d3c04e
Fixed commit count. (#17698) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 4e761fa385
Fix branch pagination error (#16805) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago