Commit Graph

48 Commits (1af45689f9bdac7267400a8c9d77c23676b33935)

Author SHA1 Message Date
wxiaoguang f3999888c0
Refactor some legacy code and remove unused code (#28622) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
Lunny Xiao f20e317d6d
Improve hint when uploading a too large avatar (#26935) 1 year ago
wxiaoguang e8b990999f
Make "link-action" backend code respond correct JSON content (#26680) 1 year ago
wxiaoguang 71d253f42e
Remove unnecessary template helper DisableGravatar (#26386) 1 year ago
Lunny Xiao c59a057297
Refactor rename user and rename organization (#24052) 2 years ago
wxiaoguang 70fc47a22a
Fix unclear "Owner" concept (#24233) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
yp05327 c07199f9ab
remove update language in ProfilePost (#22748) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 15c035775a
Add main landmark to templates and adjust titles (#22670) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 86e5268c39
Add Docker /v2/_catalog endpoint (#20469) 2 years ago
Gusted 5d3f99c7c6
Make better use of i18n (#20096) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
qwerty287 1f40933d38
Add config options to hide issue events (#17414) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 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 baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Gusted 253d9e4158
Remove unnecassary calls to `filepath.Join` (#17608) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
qwerty287 01fc24c78c
Add appearance section in settings (#17433) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
6543 0b27b93728
Make allowed Visiblity modes configurable for Users (#16271) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867) 4 years ago
zeripath 9fdda90085
Fix case change in ownernames (#16045) 4 years ago