Commit Graph

47 Commits (3898fc5bdafa33432d8ee9841e09b5c8b372df12)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 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 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 de8e3948a5
Refactor auth package (#17962) 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 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 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
Gusted ebaf4c48ea
Avoid double imports (#17569) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 3 years ago
zeripath b82293270c
Add option to provide signature for a token to verify key ownership (#14054) 3 years ago
6543 f7cd394680
[API] Add repoCreateTag (#16165) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
Lunny Xiao 6edfa6bc88
Fix broken migration on webhook (#13911) 4 years ago
Lunny Xiao 42354dfe45
Move webhook type from int to string (#13664) 4 years ago
6543 4353cf96c0
Move LFSLock APIFormat into convert package (#13808) 4 years ago
a1012112796 9c26dc1f3a
Add block on official review requests branch protection (#13705) 4 years ago
a1012112796 b9850375fc
Add review request api (#11355) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
6543 1418288734
Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 4 years ago
6543 06480af472
Convert User expose ID each time (#12855) 4 years ago
zeripath d15bb17b78
Default empty merger list to those with write permissions (#12535) 4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012) 5 years ago
6543 3d63caa542
[API] Get a single commit via Ref (#10915) 5 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806) 5 years ago
Lunny Xiao dcaa5643d7
Fix branch api canPush and canMerge (#10776) 5 years ago
Lunny Xiao 83fe7d414e
Fix bug on branch API (#10767) 5 years ago
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 5 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311) 5 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611) 5 years ago
6543 61c59bd695 [Bug] [API] Add language to user api (#9215) 5 years ago
David Svantesson d0edb607a3 Fix what information is shown about user in API. (#9115) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 5 years ago
David Svantesson 86cff86b46 Update branch API endpoint to show effective branch protection. (#9031) 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 72aa5a20ec Add team option to grant rights for all organization repositories (#8688) 5 years ago
Lunny Xiao a966a0298e Move more webhook codes from models to webhook module (#8802) 5 years ago
Lunny Xiao bd7709a602
Hide some user information via API if user have no enough permission (#8655) 5 years ago