Commit Graph

73 Commits (a5c570c1e02302212a5d8f7cf7d91f24ab0578d5)

Author SHA1 Message Date
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172) 9 months ago
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606) 1 year ago
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao 476b9d1589
Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 1 year ago
wxiaoguang ed1be4ca68
Handle base64 decoding correctly to avoid panic (#26483) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
wxiaoguang 52fb936773
Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 1 year ago
wxiaoguang 9b25bfa8f4
Remove redundant "RouteMethods" method (#26024) 1 year ago
wxiaoguang cee352bb38
Show correct SSL Mode on "install page" (#25818) 1 year ago
wxiaoguang fa0b5b14c2
Make "install page" respect environment config (#25648) 1 year ago
wxiaoguang ce46834b93
Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) 1 year ago
wxiaoguang 2cdf260f42
Refactor path & config system (#25330) 1 year ago
wxiaoguang 1ea6b8fd76
Write absolute AppDataPath to app.ini when installing (#25331) 1 year ago
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 1 year ago
wxiaoguang eaf551b3c1
Do not overwrite the log mode when installing (#25203) 1 year ago
wxiaoguang de4a21fcb4
Refactor INI package (first step) (#25024) 1 year ago
wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858) 2 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
Lunny Xiao 377a0a20f0
Merge setting.InitXXX into one function with options (#24389) 2 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 2 years ago
wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
wxiaoguang b9a97ccd0e
Refactor web route (#24080) 2 years ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 2 years ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
wxiaoguang b2359f3df6
Fix various bugs for "install" page (#23194) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
John Olheiser 32e863439c
fix: update settings table on install (#22326) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
wxiaoguang 4d1e2b8334
Fix token generation when using INTERNAL_TOKEN_URI (#21669) 2 years ago
Gusted c2d2323fc8
Configure update checker on installation page (#21655) 2 years ago
Lunny Xiao f0182d8840
Fix read system configuration bug when installing (#21489) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
Clar Fon 036dd8a788
Rework mailer settings (#18982) 2 years ago
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153) 2 years ago
ttys3 0c759fd4de
feat: add DEFAULT_MERGE_STYLE to `repository.pull-request` section for repo init (#19751) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 3 years ago
ttys3 e933f31426
Add health check endpoint (#18465) 3 years ago
Vladimir Smagin 0ba3ada866
add smtp password to install page (#17564) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago