Commit Graph

156 Commits (2c93bd79f2a97f38c9e5f36468d1fbbe1e6872c6)

Author SHA1 Message Date
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 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 06e4687cec
more context for models (#19511) 3 years ago
Gusted 076eaad743
Improve dashboard's repo list performance (#18963) 3 years ago
Gusted 240b3aa218
Mark TemplateLoading error as "UnprocessableEntity" (#19445) 3 years ago
zeripath 409ff55a29
When updating mirror repo intervals by API reschedule next update too (#19429) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136) 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
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 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
Ion Jaureguialzo Sarasola 251d7f524a
Check user instead of organization when creating a repo from a template via API (#16346) 3 years ago
6543 56b7f53329
Return updated repository when changing repository using API (#16420) 3 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
a1012112796 5bb97a12d7
Creating a repo from a template repo via API (#15958) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
zeripath d0ea10b21f
Close the gitrepo when deleting the repository (#15876) 4 years ago
6543 e278614753
[API] make change repo settings work on empty repos (#15778) 4 years ago
parnic f4d27498bd
Add DefaultMergeStyle option to repository (#14789) 4 years ago
zeripath 5705f72fd6
Prevent panic when editing forked repos by API (#14960) 4 years ago
a1012112796 a5279b74b6
Make manual merge autodetection optional and add manual merge as merge method (#12543) 4 years ago
Anton Khimich 5a18712dd7
Fix PATCH /repos/{owner}/{repo} panic (#14637) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 4 years ago
Jimmy Praet 40274b4a93
Team dashboards (#14159) 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
赵智超 3c360801b3
Add IsTemplate option in create repo ui and api (#12942) 4 years ago
赵智超 fec1521555
Not using "ctx.ServerError" in api (#12907) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
6543 07995e2301
Fix [API] [Bug] CreateRepo missing information (#12848) 4 years ago
John Olheiser 26c4a049da
Issue templates directory (#11450) 4 years ago
Lanre Adelowo 4027c5dd7c
Kanban board (#8346) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago