Commit Graph

69 Commits (bafb80f80d5505b03e5994d1ea6e2dab10052fe1)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
vincent f8a1bad883
Fix: system webhooks API bug (#28531) 11 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 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
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Lunny Xiao c0015979a6
Support system hook API (#14537) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Jason Song 3dbd2d942b
Remove old HookEventType (#22358) 2 years ago
delvh 0f4e1b9ac6
Restructure `webhook` module (#22256) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 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
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729) 2 years ago
Gusted 692707f145
Add latest commit's SHA to content response (#20398) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
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) 3 years ago
6543 75205b5669
Fix some API bugs (#16184) 3 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