Commit Graph

11 Commits (4435d8a4b6a2c4a2aa667a9a326e7aaf6a988932)

Author SHA1 Message Date
6543 934124c641
some less naked returns (#25682) 1 year ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 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
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao 89b9d42f08
Fix broken of team create (#19288) 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 8ce1b539b1
Use conditions but not repo ids as query condition (#16839) 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 99b2858e62
Move unit into models/unit/ (#17576) 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
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
a1012112796 1e5247d424
ui: show 'owner' tag for real owner (#13689) 4 years ago
zeripath 6f2784911f
Fix deadlock when deleting team user (#13092) 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
Manush Dodunekov 1751d5fcf2 Restricted users (#6274) 5 years ago
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason (#9717) 5 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611) 5 years ago
David Svantesson 03d59bcd1d Fix access issues on milestone and issue overview pages. (#9603) 5 years ago
Lunny Xiao 495d5e4329
Move more issue assignee code from models to issue service (#8690) 5 years ago
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546) 5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557) 5 years ago
mrsdizzie 68a83cc5a2 Allow collaborators to view repo owned private org (#6965) 6 years ago
Lunny Xiao 199faadea3 Fix org visibility bug when git cloning (#6743) 6 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
kolaente fb2ea06bb1 Fixed unitTypeCode not being used (#6419) 6 years ago
Lunny Xiao 134e55510e fix bug when update owner team then visit team's repo return 404 (#6119) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago