Commit Graph

7 Commits (33d4d3209632a0b1bbe010ae3f5dbf8fed5a4092)

Author SHA1 Message Date
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Gusted 8a7d1a3516
Store read access in access for team repo's (#20275) 2 years ago
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