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.
gitea/modules
wxiaoguang b0a405c5fa
Use secure cookie for HTTPS sites (#26999) (#27013)
Backport #26999

If the AppURL(ROOT_URL) is an HTTPS URL, then the COOKIE_SECURE's
default value should be true.

And, if a user visits an "http" site with "https" AppURL, they won't be
able to login, and they should have been warned. The only problem is
that the "language" can't be set either in such case, while I think it
is not a serious problem, and it could be fixed easily if needed.
1 year ago
..
actions Fix activity type match in `matchPullRequestEvent` (#25746) (#25796) 2 years ago
activitypub Add Chef package registry (#22554) 2 years ago
analyze Implement FSFE REUSE for golang files (#21840) 2 years ago
assetfs Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927) 2 years ago
auth Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
base Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
cache Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
charset Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
container Implement FSFE REUSE for golang files (#21840) 2 years ago
context Avoid double-unescaping of form value (#26853) (#26863) 1 year ago
csv Refactor locale number (#24134) 2 years ago
doctor Add fix incorrect can_create_org_repo for org owner team (#26683) (#26791) 2 years ago
emoji Fix unstable emoji sort (#22346) 2 years ago
eventsource Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
generate Implement FSFE REUSE for golang files (#21840) 2 years ago
git Sync repo's IsEmpty status correctly (#26517) (#26560) 2 years ago
gitgraph Add context cache as a request level cache (#22294) 2 years ago
graceful Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight test_env: hardcode major go version in use (#23464) 2 years ago
hostmatcher Implement FSFE REUSE for golang files (#21840) 2 years ago
html Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
httpcache Use standard HTTP library to serve files (#24693) 2 years ago
httplib Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
indexer Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
issue/template Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
json Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Rewrite logger system (#24726) 2 years ago
log Use stderr as fallback if the log file can't be opened (#26074) (#26083) 2 years ago
markup Disallow dangerous URL schemes (#25960) (#25964) 2 years 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) 2 years ago
migration Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
mirror Improve queue and logger context (#24924) 2 years ago
nosql Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
notification Add Adopt repository event and handler (#25497) (#25518) 2 years ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Use docs.gitea.com instead of docs.gitea.io (#26769) 2 years ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
process Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Use standard HTTP library to serve files (#24693) 2 years ago
queue Calculate MAX_WORKERS default value by CPU number (#26177) (#26183) 2 years 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 Implement FSFE REUSE for golang files (#21840) 2 years ago
repository Remove stars when repo goes private (#19904) 2 years ago
secret Improve decryption failure message (#24573) 2 years ago
session Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
setting Use secure cookie for HTTPS sites (#26999) (#27013) 1 year ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Fix admin queue page title and fix CI failures (#26409) (#26421) 2 years ago
storage Use correct minio error (#26634) (#26639) 2 years ago
structs Add `branch_filter` to hooks API endpoints (#26599) (#26632) 2 years ago
svg Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Implement FSFE REUSE for golang files (#21840) 2 years ago
templates Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
test Fix incorrect CLI exit code and duplicate error message (#26346) (#26347) 2 years ago
testlogger Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
translation Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Detect ogg mime-type as audio or video (#26494) (#26505) 2 years 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 Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
validation check blocklist for emails when adding them to account (#26812) (#26831) 2 years ago
web Fix incorrect router logger (#26137) (#26143) 2 years ago
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago