Commit Graph

44 Commits (f24120148496e4d8f34c2d77b96e9968867c41ef)

Author SHA1 Message Date
6543 1597e2da3e
Use middleware to open gitRepo (#19559) 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
John Olheiser ea6efba9b3
Granular webhook events in editHook (#19251) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 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
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
6543 b81106be3f
Let branch/tag name be a valid ref to get CI status (#16400) 3 years ago
KN4CK3R 9b1b4b5433
Refactor Webhook + Add X-Hub-Signature (#16176) 4 years ago
6543 75205b5669
Fix some API bugs (#16184) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
6543 9e456b5a56
HotFix: Hide private partisipation in Orgs (#13994) 4 years ago
Lunny Xiao 9f100a45c6
Possible fix the webhook API creation (#13960) 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 3f3447a1ea
API: Fix GetQueryBeforeSince (#13559) 4 years ago
John Olheiser 3f1c0841cb
Granular webhook events (#9626) 5 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 14a9687444 times Add filters (#9373) 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 a966a0298e Move more webhook codes from models to webhook module (#8802) 5 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
techknowlogick 5fb1ad7011 Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Lanre Adelowo be48397945 Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory (#3929) 7 years ago
Ethan Koenig 876bafb7ef Fix API status code for hook creation (#2814) 7 years ago
Ethan Koenig 93a1de4842 Fix repo API bug (#2133) 8 years ago
Ethan Koenig 9847b38518 Organization webhook API endpoints 8 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 56dd430a10 refactor API routes and some work for #976 9 years ago