Commit Graph

65 Commits (9c869b10b5a15adc04c0b93a13d6c5fb2add1304)

Author SHA1 Message Date
Lunny Xiao 882e502327
Fix comment permissions (#28213) 12 months ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Lunny Xiao 0fd1672ae4
For API attachments, use API URL (#25639) 1 year ago
Lunny Xiao 64f6a5d113
Use `CommentList` instead of `[]*Comment` (#24828) 2 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang de2268ffab
Fix issue attachment handling (#24202) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 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
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
wxiaoguang 84f8ef3df6
Fix PR comments UI (#18323) 3 years ago
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 a0e424da85
Enhance Ghost comment mitigation Settings (#14392) 4 years ago
6543 3f3447a1ea
API: Fix GetQueryBeforeSince (#13559) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 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
Lunny Xiao 6d6f1d568e Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
6543 0b3aaa6196 [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685) 5 years ago
6543 e88d67b774 [API] add comments endpoint for single comment (#9494) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
Lunny Xiao ac6accef09 Move webhook codes from service to webhook notification (#8712) 5 years ago
Lunny Xiao 061388379a Move create issue comment to comments package (#8212) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Lunny Xiao dd1acd7ce4 Comments list performance optimization (#5305) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Lanre Adelowo 44114b38e6 Implement "conversation lock" for issue comments (#5073) 6 years ago
Lunny Xiao 82e08a3364
Refactor notification for indexer (#5111) 6 years ago
Lunny Xiao b3b7598ec6 Improve performance of dashboard (#4977) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
Lunny Xiao ea619b39b2
Add notification interface and refactor UI notifications (#5085) 6 years ago
Lauris BH 659bc727bd
Fix query parameter name comment in issue API (#4421) 6 years ago
stevegt a7aaacb633 fix CreateIssueCommentOption reference (#4239) 7 years ago
Antoine GIRARD 908e8942cc Fix swagger errors (#4220) 7 years ago
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory (#3929) 7 years ago