Commit Graph

2 Commits (157b4057531b99b2d3b5c086f385c830aa38354f)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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 baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath e8574f2f7d
Nicely handle missing user in collaborations (#17049) 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
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Manush Dodunekov 1751d5fcf2 Restricted users (#6274) 5 years ago
David Svantesson 8ad2697611 Recalculate repository access only for specific user (#8481) 5 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 8 years ago
Ethan Koenig c5f0d4b1a0 Fix SQL bug in models/access (#583) 8 years ago
Ethan Koenig 1207bda94b Fix typos in models/ (#576) 8 years ago
Lunny Xiao c463b1b8cb Optimization for user.GetRepositoryAccesses to reduce db query times (#495) 8 years ago
Bwko 2bb1601d7c Lint models/access.go 8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode* 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon e6f927f61a #1692 api: admin list and create team under organization 9 years ago
Marin Jankovski 1314ba219e Updated and created were appended with _unix. Fresh databases have only the newly named fields. 9 years ago
Unknwon 045f14fbd0 #1146 finsih UI work for access mode of collaborators 9 years ago
Unknwon 2158e6fc43 fix #1997 9 years ago
Unknwon 4d3138cd10 fix #1953 9 years ago
Unknwon f8ae161c74 fix #1302 9 years ago
Unknwon ff35a37769 #1458: Authorities were messed up when using mysql database 9 years ago
Unknwon 1453e91f41 minor fix on API response 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Unknwon 04e596f984 #1369: nil pointer when add repo to team 9 years ago
Unknwon 663c28beb6 #1279: Removing user from collaboration removes repositiory 9 years ago
Unknwon 6f81c05dde #1143 Team member access lost when adding repository collaborator 10 years ago
Unknwon 588f3215c6 #1040: dashboard no longer accessible when repo is missing 10 years ago
Unknwon f44204e944 REAMDE: update 10 years ago
Unknwon 473e265727 models: done testing on new access system 10 years ago
Unknwon 8896c82d34 models: fix issue with transfer repository 10 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 10 years ago
Unknwon 25f5a8d798 some fixes, but not done yet! 10 years ago