Commit Graph

21 Commits (6d002f8e1ee89e459bf18ccf9f4c50bde9b6e552)

Author SHA1 Message Date
Lunny Xiao bc3d8bff73
Fix comment permissions (#28213) (#28216) 1 year ago
Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Earl Warren a9ce570298
add Upload URL to release API (#26663) 1 year ago
Lunny Xiao bd7b5e61aa
Release attachments duplicated check (#26176) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
6543 934124c641
some less naked returns (#25682) 1 year ago
oliverpool 8030614386
fix: release page for empty or non-existing target (#24470) 2 years ago
JakobDev 42919ccb7c
Make Release Download URLs predictable (#23891) 2 years ago
Zettat123 cb6ed84c4b
Disable editing tags (#23883) 2 years ago
Hester Gong 8d9f8e10b1
Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2 years ago
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2 years ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Jason Song a08b484549
Tag list should include draft releases with existing tags (#21263) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 6ad5d0a306
[API] ListReleases add filter for draft and pre-releases (#16175) 3 years ago
Lunny Xiao 8567cba0d9
Implement delete release attachments and update release attachments' name (#14130) 4 years ago
Norwin 5d57f4bcb8
sort release attachments by name (#15008) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
a1012112796 b687707014
Add the tag list page to the release page (#12096) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
赵智超 e7d65cbc6e
Add email notify for new release (#12463) 4 years ago
John Olheiser 4f597b1866
Add single release page and latest redirect (#11102) 5 years ago
Lunny Xiao 48ce135cc9
Move PushUpdateAddDeleteTags to repository module from models (#10106) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353) 5 years ago
Antoine GIRARD c3d31e5534 refactor(models/attachement): use getAttachmentsByUUIDs (#9317) 5 years ago
Wenxuan Zhao cf42cb0ae6 Allow externalID to be UUID (#8551) 5 years ago
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
Lunny Xiao bd41a04a56 Add extra user information when migrating release (#8331) 5 years ago
Lunny Xiao 3249c0ccba
Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago