Commit Graph

46 Commits (047c69bd85bc5579ce6f352d7edf7fb950d84b80)

Author SHA1 Message Date
853 e544a277fe
Fix the missing repo count in new team page and edit team page (#27743) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Nanguan Lin 1ee4882b88
Fix the missing repo count (#26942) 1 year ago
JakobDev 958d148043
Show always repo count in header (#26842) 1 year ago
yp05327 0850be6750
Fix the display of org level badges (#26504) 1 year ago
yp05327 9fc68b680f
Fix 404 error when remove self from an organization (#26362) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 3ee7f27341
Revert "Prevent a user with a different email from accepting the team invite" (#24531) 2 years ago
Jack Hay 402df1d6b4
Prevent a user with a different email from accepting the team invite (#24491) 2 years ago
yp05327 df9a62b5f9
Fix 404 error when leaving the last private org team (#24322) 2 years ago
Jakob 136d7492ff
Add missing badges in user profile for /projects and /packages (#24232) 2 years ago
yp05327 b7221bec34
Fix admin team access mode value in team_unit table (#24012) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 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
6543 bd272e416a
move invite by mail to services package (#21513) 2 years ago
KN4CK3R c3b2e44392
Add team member invite by email (#20307) 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 999392f6a5
Fix owners cannot create organization repos bug (#20841) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath cb41f5cae1
Update assignees check to include any writing team and change org sidebar (#18680) 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath e37342db0c
Add modals to Organization and Team remove/leave (#16471) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago