Commit Graph

80 Commits (710a1419fa58ac8b8d8d981eaf969db4be34dc69)

Author SHA1 Message Date
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
zuzuviewer 77e9346342
Fix duplicate entry error when add team member (#19702) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao 3a73645502
Performance improvement for add team user when org has more than 1000 repositories (#19227) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Norwin 77d1c7bf2f
Cleanup protected branches when deleting users & teams (#19158) 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
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 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 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 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
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 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
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 71979d9663
Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 5 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646) 5 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional (#9556) 5 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 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
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
David Svantesson 8ad2697611 Recalculate repository access only for specific user (#8481) 5 years ago
guillep2k df2c11a878 Ignore mentions for users with no access (#8395) 5 years ago
David Svantesson 36bcd4cd6b API endpoint for searching teams. (#8108) 5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045) 5 years ago
Lunny Xiao c832f0eef7 Fix approvals counting (#7757) 5 years ago
Antoine GIRARD 76408d50fb org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 5 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
ngourdon 592e6c398e Fixes #6446 - Sort team members and team's repositories (#6525) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Lanre Adelowo 5c82ef098e make sure units of a team are returned (#6379) 6 years ago
sebastian-sauer 84076211b3 Config option to disable automatic repo watching (#5852) 6 years ago
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints (#5382) 6 years ago
Jonas Franz 9681c83734 Approvals at Branch Protection (#5350) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units (#5188) 6 years ago