Commit Graph

61 Commits (d9a7748cdc3f13392acbde87edd18602b566c216)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
Jason Song 174213530d
Fix `Permission` in API returned repository struct (#25388) 1 year ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
delvh 0f4e1b9ac6
Restructure `webhook` module (#22256) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
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
oliverpool b6e81357bd
Add Webhook authorization header (#20926) 2 years ago
KN4CK3R 1887c95254
Decouple HookTask from Repository (#17940) 2 years ago
KN4CK3R cad9adeff4
Display total commit count in hook message (#21400) 2 years ago
Jason Song 93a610a819
Fill the specified ref in webhook test payload (#20961) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
KN4CK3R aac663e0da
Implemented head_commit for webhooks (#16282) 3 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Lunny Xiao 42354dfe45
Move webhook type from int to string (#13664) 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
6543 1418288734
Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 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
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778) 5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747) 5 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
Antoine GIRARD 908e8942cc Fix swagger errors (#4220) 7 years ago
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook (#3550) 7 years ago
Bo-Yi Wu 1c5cbc390b refactor: import order. (#3736) 7 years ago
Ethan Koenig 876bafb7ef Fix API status code for hook creation (#2814) 7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Antoine GIRARD fd8e8a421a Improve swagger doc (#2274) 7 years ago
Antoine GIRARD 3edb0c5894 Generate swagger json (#1402) 8 years ago
Ethan Koenig 27fcf8d30a Bug fixes for webhook API (#650) 8 years ago
Ethan Koenig 9847b38518 Organization webhook API endpoints 8 years ago
Ethan Koenig 7b5b5178e1 Bug fix for edit-hook API endpoint 8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago