Commit Graph

79 Commits (7adc4717ec8e4f8fe678010866e936cf024f498d)

Author SHA1 Message Date
techknowlogick f183783baa
Save initial signup information for users to aid in spam prevention (#31852) 3 months ago
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang effb405cae
Always load or generate oauth2 jwt secret (#30942) 6 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Carlos Felgueiras 6f6120dfa8
Fix validity of the FROM email address not being checked (#29347) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
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) 2 years 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