1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/modules
Giteabot 199397a852
Avoid importing modules/web/middleware in modules/session (#30584) (#30589)
Backport #30584 by @wolfogre

Related to #30375.

It doesn't make sense to import `modules/web/middleware` and
`modules/setting` in `modules/web/session` since the last one is more
low-level.

And it looks like a workaround to call `DeleteLegacySiteCookie` in
`RegenerateSession`, so maybe we could reverse the importing by
registering hook functions.

Co-authored-by: Jason Song <i@wolfogre.com>
2024-04-19 07:44:24 +00:00
..
actions Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
activitypub
analyze
assetfs
auth Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
avatar Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
badge Implement actions badge svgs (#28102) 2024-02-27 18:56:18 +01:00
base Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
cache
charset Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
container
csv Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
dump Refactor "dump" sub-command (#30240) (#30260) 2024-04-03 02:47:06 +00:00
emoji
eventsource
generate Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
git Limit the max line length when parsing git grep output (#30418) (#30427) 2024-04-12 12:13:14 +08:00
gitgraph
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
graceful Remove unused error in graceful manager (#29871) 2024-03-18 21:14:51 +00:00
hcaptcha
highlight
hostmatcher
html
httpcache Also match weakly validated ETags (#28957) 2024-01-29 16:18:40 +00:00
httplib Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
indexer Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
issue/template Extend issue template yaml engine (#29274) 2024-03-04 01:37:00 +01:00
json
label
lfs Close file in the Upload func (#30262) (#30270) 2024-04-03 15:29:49 +00:00
log
markup Fix code block style for code preview (#30298) (#30306) 2024-04-06 12:34:38 +00:00
mcaptcha
metrics
migration Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
nosql
optional migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
options
packages Some NuGet package enhancements (#30280) (#30324) 2024-04-07 17:13:36 +00:00
paginator
pprof
private Performance optimization for git push (#30104) (#30348) 2024-04-09 06:34:30 +00:00
process
proxy
proxyprotocol
public
queue Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) 2024-03-02 16:07:54 +00:00
recaptcha
references Fix issue link does not support quotes (#29484) (#29487) 2024-03-02 09:54:46 +00:00
regexplru
repository Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
secret Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
session Avoid importing modules/web/middleware in modules/session (#30584) (#30589) 2024-04-19 07:44:24 +00:00
setting Fix oauth2 builtin application logic (#30304) (#30327) 2024-04-08 15:46:21 +08:00
sitemap
ssh
storage
structs Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
svg Refactor markdown attention render (#29984) 2024-03-22 12:16:23 +00:00
sync
system
templates Avoid losing token when updating mirror settings (#30429) (#30464) 2024-04-14 00:57:53 +08:00
test
testlogger
timeutil Refactor "dump" sub-command (#30240) (#30260) 2024-04-03 02:47:06 +00:00
translation Render embedded code preview by permlink in markdown (#30234) (#30249) 2024-04-03 02:20:16 +08:00
turnstile
typesniffer
updatechecker
uri
user
util Fix and rewrite contrast color calculation, fix project-related bugs (#30326) 2024-04-09 09:45:29 +00:00
validation
web Avoid importing modules/web/middleware in modules/session (#30584) (#30589) 2024-04-19 07:44:24 +00:00
webhook Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00