Commit Graph

36 Commits (3be80a863b6ef3671605a20800d8e2122d758ec5)

Author SHA1 Message Date
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) 3 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
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 5 years ago
John Olheiser f4bdcd6e2b Only return JSON for add/remove all (#9028) 5 years ago
David Svantesson 9ae4c17cb1 Allow to add and remove all repositories to/from team. (#8867) 5 years ago
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Lunny Xiao 134e55510e fix bug when update owner team then visit team's repo return 404 (#6119) 6 years ago