Commit Graph

47 Commits (410df1fbd47aa17488f7167d868c85e84c8217ef)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao d81e31ad78
Move org functions (#19753) 3 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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
Gusted a90041d71a
Send 404 on `/{org}.gpg` (#18959) 3 years ago
zeripath cb41f5cae1
Update assignees check to include any writing team and change org sidebar (#18680) 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 3 years ago
Lauris BH 604ce77628
Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Gusted 16d378fefc
Use correct translation key for errors (#18342) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
KN4CK3R 67d7ad681a
Fix wrong redirect on org labels (#18128) 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
a1012112796 ba57e30f13
fix 500 error while use a reserved name in org rename (#17878) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 3 years ago
Lunny Xiao 6c21961462
org settings -> webhook/labels/deletion should also active the menu (#17809) 3 years ago
Lunny Xiao 49933c7fb0
Create menus for organization pages (#17802) 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
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 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 63d7cbcef1
Make mirror feature more configurable (#16957) 3 years ago
zeripath e37342db0c
Add modals to Organization and Team remove/leave (#16471) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 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
zeripath 196593e2e9
More efficiently parse shas for shaPostProcessor (#16101) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago