Commit Graph

64 Commits (bd6ef718548767ff209048eb8443a067106908bf)

Author SHA1 Message Date
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
wxiaoguang 5b7466053d
Skip frontend ROOT_URL check on installation page, remove unnecessary global var (#19291) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang a60e8be8d1
Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 3 years ago
Gusted 5e5740af69
Switch to non-deprecation setting (#18358) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
zeripath 7427b81fec
Change initial TrustModel to committer (#18335) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
wxiaoguang a6f961fba4
Refactor install page (db type) (#17919) 3 years ago