Commit Graph

73 Commits (076d122f3487fa4969f974e575a5903f4cc4729d)

Author SHA1 Message Date
TheFox0x7 2a02734f93
Refactor older tests to use testify (#33140) 4 weeks ago
wxiaoguang 0ed160ffea
Refactor tests (#33021) 1 month ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 2 months ago
Lunny Xiao e4c4629465
Move RepoTransfer from models to models/repo sub package (#32506) 2 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 2 months ago
Lunny Xiao fbe6d9dc6b
Use batch database operations instead of one by one to optimze api pulls (#32680) 2 months ago
Lunny Xiao f62f68cbdd
Move team related functions to service layer (#32537) 2 months ago
Lunny Xiao f49d82309b
Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2 months ago
Lunny Xiao fe49cb0243
Fix get reviewers' bug (#32415) 3 months ago
Lunny Xiao b4abb6deff
Reimplement GetUserOrgsList to make it simple and clear (#32486) 3 months ago
6543 4c924bf43c
Limit org member view of restricted users (#32211) 3 months ago
6543 43c252dfea
Calculate `PublicOnly` for org membership only once (#32234) 3 months ago
Lauris BH 4ab6fc62d2
Add option to filter board cards by labels and assignees (#31999) 5 months ago
yp05327 daf2a4c047
Fix wrong display of recently pushed notification (#25812) 9 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 10 months ago
wxiaoguang 3feba9f1f4
Allow everyone to read or write a wiki by a repo unit setting (#30495) 10 months ago
wxiaoguang 3e2e76e248
Refactor web routes (#30519) 10 months ago
Zettat123 0fe9f93eb4
Check the token's owner and repository when registering a runner (#30406) 10 months ago
DrMaxNix e3e08dcc51
Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 11 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 11 months ago
KN4CK3R 155269fa58
Remove unused `KeyID`. (#29167) 12 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year 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
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 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
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
KN4CK3R f656d2d92c
Remove unused code (#25734) 2 years ago
Lunny Xiao 11598885b3
Use RepositoryList instead of []*Repository (#25074) 2 years ago
Philip Peterson 63d5e762d8
Add missing test case and fix typo in tests (#24915) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Yarden Shoham 0a3c4d4a59
Fix team members API endpoint pagination (#24754) 2 years ago
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 bbf83f5d4b
Improve permission check of packages (#23879) 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
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