Commit Graph

21 Commits (62eafea3f9b57fa1cac419b4347f31578fc0deb7)

Author SHA1 Message Date
yp05327 da6e9f63df
Add owner team permission check test (#24096) 2 years ago
yp05327 26a0cd7143
Allow repo admins too to delete the repo (#23940) 2 years ago
yp05327 6eb856c614
Fix owner team access mode value in team_unit table (#23675) 2 years ago
yp05327 cf29ee6dd2
Add missing tabs to org projects page (#22705) 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
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
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context (#20031) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 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
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lunny Xiao 397d2ac303
Move deletebeans into models/db (#18781) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 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
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Gusted 3a693bd18c
Use provided database Engine (#17595) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 3 years ago
Jimmy Praet b6147152f8
Fix incorrect repository count on organization tab of dashboard (#17256) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
zeripath 57b0887ab2
Correctly return the number of Repositories for Organizations (#16807) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
Lunny Xiao 5d113bdd19
Improve performance of dashboard list orgs (#16099) 3 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago