You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726)
The web context (modules/context.Context) is quite complex, it's
difficult for the callers to initialize correctly.

This PR introduces a `NewWebContext` function, to make sure the web
context have the same behavior for different cases.
11 months ago
..
actions chore(actions): support cron schedule task (#26655) 11 months ago
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
analyze Rename code_langauge.go to code_language.go (#26377) 12 months ago
assetfs Skip unuseful error message in dev mode when watching local filesystem (#25919) 1 year ago
auth Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
avatar Remove nfnt/resize and oliamb/cutter (#25999) 1 year ago
base Replace `interface{}` with `any` (#25686) 1 year ago
cache improve unit test for caching (#26185) 1 year ago
charset Replace `interface{}` with `any` (#25686) 1 year ago
container Implement FSFE REUSE for golang files (#21840) 2 years ago
context Make web context initialize correctly for different cases (#26726) 11 months ago
csv Refactor locale number (#24134) 1 year ago
doctor Upgrade go dependencies (#25819) 1 year ago
emoji Update emoji set to Unicode 15 (#25595) 1 year ago
eventsource Less naked returns (#25713) 1 year ago
generate Handle base64 decoding correctly to avoid panic (#26483) 12 months ago
git Add merge files files to GetCommitFileStatus (#20515) 11 months ago
gitgraph Add context cache as a request level cache (#22294) 1 year ago
graceful Allow the use of alternative net.Listener implementations by downstreams (#25855) 1 year ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Upgrade go dependencies (#25819) 1 year ago
hostmatcher Implement FSFE REUSE for golang files (#21840) 2 years ago
html Refactor backend SVG package and add tests (#26335) 12 months ago
httpcache Less naked returns (#25713) 1 year ago
httplib Less naked returns (#25713) 1 year ago
indexer Fix counting and filtering on the dashboard page for issues (#26657) 11 months ago
issue/template Replace `interface{}` with `any` (#25686) 1 year ago
json Replace `interface{}` with `any` (#25686) 1 year ago
label Make label templates have consistent behavior and priority (#23749) 1 year ago
lfs Rewrite logger system (#24726) 1 year ago
log Use stderr as fallback if the log file can't be opened (#26074) 1 year ago
markup Make `user-content-* ` consistent with github (#26388) 12 months ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Use a separate admin page to show global stats, remove `actions` stat (#25062) 1 year ago
migration Replace `interface{}` with `any` (#25686) 1 year ago
mirror Improve queue and logger context (#24924) 1 year ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
notification Add missing triggers to update issue indexer (#26539) 11 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
packages Fix NPM packages name validation (#26595) 11 months ago
paginator Use more specific test methods (#24265) 1 year ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Replace `interface{}` with `any` (#25686) 1 year ago
process Less naked returns (#25713) 1 year ago
proxy Use proxy for pull mirror (#22771) 1 year ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 1 year ago
queue Calculate MAX_WORKERS default value by CPU number (#26177) 1 year ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Use correct captured group range when parsing cross-reference (#22672) 2 years ago
regexplru Upgrade go dependencies (#25819) 1 year ago
repository Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
secret Improve decryption failure message (#24573) 1 year ago
session Replace `interface{}` with `any` (#25686) 1 year ago
setting Update minimum password length requirements (#25946) 11 months ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Fix admin queue page title (#26409) 12 months ago
storage Use correct minio error (#26634) 11 months ago
structs add Upload URL to release API (#26663) 11 months ago
svg Refactor backend SVG package and add tests (#26335) 12 months ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Implement FSFE REUSE for golang files (#21840) 2 years ago
templates Remove avatarHTML from template helpers (#26598) 11 months ago
test Make web context initialize correctly for different cases (#26726) 11 months ago
testlogger Replace `interface{}` with `any` (#25686) 1 year ago
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 1 year ago
translation Replace `interface{}` with `any` (#25686) 1 year ago
turnstile Add new captcha: cloudflare turnstile (#22369) 1 year ago
typesniffer Detect ogg mime-type as audio or video (#26494) 12 months ago
updatechecker Implement FSFE REUSE for golang files (#21840) 2 years ago
upload Implement FSFE REUSE for golang files (#21840) 2 years ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Handle base64 decoding correctly to avoid panic (#26483) 12 months ago
validation Replace `interface{}` with `any` (#25686) 1 year ago
web Update tool dependencies (#26607) 11 months ago
webhook New webhook trigger for receiving Pull Request review requests (#24481) 1 year ago