Commit Graph

44 Commits (3bd49f780157494a3ff923a3bcdbb8696a688173)

Author SHA1 Message Date
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
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
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 12c742f8dc
Fix order by parameter (#19849) 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 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 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
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f4ffe8ed54
Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 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
zeripath 90919bb37e
Show Signer in commit lists and add basic trust (#10425) 5 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
David Svantesson 8ad2697611 Recalculate repository access only for specific user (#8481) 5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
David Schneiderbauer a93f13849c Fix not removed watches on unallowed repositories (#4201) 7 years ago
Lunny Xiao dd55534b82 Reduce usage of allcols on update (#2596) 7 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020) 8 years ago
Ethan Koenig 2342df183b API Endpoints for collaborators (#375) 8 years ago
Thomas Boerger 6dd2c3b2db
Fixed linting errors for variable definitions 8 years ago
Bwko a5aae1c145 Lint models/repo_* 8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode* 8 years ago
Unknwon 7e9b42c87d #2780 code clean up 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Andrey Nering 6efb1e5626 Localize collaboration settings. (#3100) 9 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 9 years ago
Unknwon 045f14fbd0 #1146 finsih UI work for access mode of collaborators 9 years ago