Commit Graph

32 Commits (ef8209a953e7af14c1ee5c68678c2da959f511fb)

Author SHA1 Message Date
yp05327 7eaf192967
Rename `GetUnits` to `LoadUnits` (#22970) 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
Gusted 1b53a9e914
Don't return duplicated users who can create org repo (#22560) 2 years ago
Lunny Xiao 6fe3c8b398
Support org/user level projects (#22235) 2 years ago
Jason Song 659055138b
Secrets storage with SecretKey encrypted (#22142) 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 88d5275614
Do not allow Ghost access to limited visible user/org (#21849) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R c3b2e44392
Add team member invite by email (#20307) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
6543 c5e88fb03d
[API] teamSearch show teams with no members if user is admin (#21204) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Gusted 0b4c166e8a
Fix SQL Query for `SearchTeam` (#20844) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Tyrone Yeh 931c02d152
Add order by for assignee no sort issue (#20053) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context (#20031) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao d81e31ad78
Move org functions (#19753) 3 years ago
zuzuviewer 77e9346342
Fix duplicate entry error when add team member (#19702) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
qwerty287 ae6a52440a
Fix panic in team repos API (#19431) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 89b9d42f08
Fix broken of team create (#19288) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago