Commit Graph

16 Commits (98751108b11dc748cc99230ca0fc1acfdf2c8929)

Author SHA1 Message Date
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
KN4CK3R f656d2d92c
Remove unused code (#25734) 1 year ago
Lunny Xiao 11598885b3
Use RepositoryList instead of []*Repository (#25074) 1 year ago
Philip Peterson 63d5e762d8
Add missing test case and fix typo in tests (#24915) 2 years ago
yp05327 bbf83f5d4b
Improve permission check of packages (#23879) 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
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 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 b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c2ab19888f
Support pagination of organizations on user settings pages (#16083) 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
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 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
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 4 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
6543 d4096ab6a2
Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao e3081c667a
Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045) 5 years ago
guillep2k e3115cc019 Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) (#1763) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
David Schneiderbauer 0b3ea42847 hide issues from org private repos w/o team assignment (#4034) 7 years ago
Ethan Koenig f48680888c Remove IsOwner, NumTeams from OrgUser (#3269) 7 years ago
Ethan Koenig 515cdaa85d Fix ignored errors when checking if organization, team member (#3177) 7 years ago
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors (#2741) 7 years ago
Morlinest ca68a75b5b Expand fixtures (#2571) 7 years ago
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors (#2381) 7 years ago
Antoine GIRARD 30787e48f2 Improve org error handling (#2117) 7 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853) 8 years ago
Ethan Koenig a2412492da Unit tests and bug fix for models/org 8 years ago