Commit Graph

189 Commits (9b6e77c489edf3af3a9782c977cc04fde7aa2fd9)

Author SHA1 Message Date
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
KN4CK3R c766140dad
Add `RemoteAddress` to mirrors (#26952) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
Lunny Xiao 6945918d34
Fix bug for ctx usage (#26762) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
Lunny Xiao 037c9895a7
Support copy protected branch from template repository (#25889) 1 year ago
Lunny Xiao 65acd1e9ef
Fix branch commit message too long problem (#25588) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
a1012112796 4aba8a6a5f
Split lfs size from repository size (#22900) 1 year ago
John Olheiser 8afc1b1cb5
Move some regexp out of functions (#25430) 1 year ago
Kyle D 8220e50b56
Substitute variables in path names of template repos too (#25294) 1 year ago
Wim 62ac3251fa
Remove stars when repo goes private (#19904) 1 year ago
Lunny Xiao 3d1fda737b
Use git command instead of the ini package to remove the `origin` remote (#25066) 1 year ago
wxiaoguang de4a21fcb4
Refactor INI package (first step) (#25024) 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 82224c54e0
Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
Jason Song ea1afb945d
Replace placeholders in licenses (#24354) 2 years ago
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
wxiaoguang 4e33481357
Make label templates have consistent behavior and priority (#23749) 2 years ago
yp05327 26a0cd7143
Allow repo admins too to delete the repo (#23940) 2 years ago
Brecht Van Lommel 8bdc0acf97
Fix pull request update showing too many commits with multiple branches (#22856) 2 years ago
Jason Song 090e753923
Reduce duplicate and useless code in options (#23369) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up (#23054) 2 years ago
wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
KN4CK3R df789d962b
Add Cargo package registry (#21888) 2 years ago
techknowlogick 2741546bed
Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462) 2 years ago
Lunny Xiao a3ab82e592
Fix error when calculate the repository size (#22392) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
zeripath 158b088ec3
Adjust clone timeout error to suggest increasing timeout (#21769) 2 years ago