Commit Graph

67 Commits (661a1e10f7abd3527d2abc027dec936022db9379)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev 3dc0c962bf
Delete repos of org when purge delete user (#27273) 1 year ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
JakobDev 6598d0291c
Allow Organisations to have a E-Mail (#25082) 1 year ago
Zettat123 6b0df6d8da
Add activity feeds API (#23494) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 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 c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 3 years ago
6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
6543 75205b5669
Fix some API bugs (#16184) 3 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 9e456b5a56
HotFix: Hide private partisipation in Orgs (#13994) 4 years ago
赵智超 b74ed16c41
Fix ListUserOrgs (#12910) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 10055bd2b1 [API] add GET /orgs endpoint (#9560) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) (#1763) 6 years ago
Shashvat Kedia 6e20b504b1 Delete organization endpoint added (#5601) 6 years ago
Shashvat Kedia ba2c02b75d Fix route in swagger (#5598) 6 years ago
Lunny Xiao 58c4559d3b fix permission check on api create org (#5523) 6 years ago