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
Brecht Van Lommel 1e0e79dcbf
Fix cache-control header clearing comment text when editing issue (#22604)
The `no-store` cache control added in #20432 is causing form input to be
cleared unnecessarily on page reload. Instead use
`max-age=0,private,must-revalidate` which avoids this.

This was particularly a problem when typing a long comment for an issue
and then for example changing the label. The page would be reloaded and
lose the unsubmitted comment.

Fixes #22603
1 year ago
..
actions Add more events details supports for actions (#22680) 1 year ago
activitypub Remove deprecated packages & staticcheck fixes (#22012) 1 year ago
analyze Implement FSFE REUSE for golang files (#21840) 1 year ago
auth Fix bugs with WebAuthn preventing sign in and registration. (#22651) 1 year ago
avatar Unify hashing for avatar (#22289) 1 year ago
base Implement FSFE REUSE for golang files (#21840) 1 year ago
cache Fix get system setting bug when enabled redis cache (#22295) 1 year ago
charset Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 1 year ago
container Implement FSFE REUSE for golang files (#21840) 1 year ago
context Implement actions (#21937) 1 year ago
csv Implement FSFE REUSE for golang files (#21840) 1 year ago
doctor Add cron method to gc LFS MetaObjects (#22385) 1 year ago
emoji Fix unstable emoji sort (#22346) 1 year ago
eventsource Move `convert` package to services (#22264) 1 year ago
generate Implement FSFE REUSE for golang files (#21840) 1 year ago
git Use git command instead of exec.Cmd in blame (#22098) 1 year ago
gitgraph Implement FSFE REUSE for golang files (#21840) 1 year ago
graceful Implement FSFE REUSE for golang files (#21840) 1 year ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 1 year ago
highlight Implement FSFE REUSE for golang files (#21840) 1 year ago
hostmatcher Implement FSFE REUSE for golang files (#21840) 1 year ago
html Implement FSFE REUSE for golang files (#21840) 1 year ago
httpcache Fix cache-control header clearing comment text when editing issue (#22604) 1 year ago
httplib Implement FSFE REUSE for golang files (#21840) 1 year ago
indexer refactor some functions to support ctx as first parameter (#21878) 1 year ago
issue/template Allow issue templates to not render title (#22589) 1 year ago
json Update gitea-vet to check FSFE REUSE (#22004) 1 year ago
lfs Implement FSFE REUSE for golang files (#21840) 1 year ago
log Change use of Walk to WalkDir to improve disk performance (#22462) 1 year ago
markup Fix README TOC links (#22577) 1 year ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 1 year ago
metrics Implement FSFE REUSE for golang files (#21840) 1 year ago
migration Show migration validation error (#22619) 1 year ago
mirror Implement FSFE REUSE for golang files (#21840) 1 year ago
nosql Implement FSFE REUSE for golang files (#21840) 1 year ago
notification Implement actions (#21937) 1 year ago
options Implement FSFE REUSE for golang files (#21840) 1 year ago
packages Add Conda package registry (#22262) 1 year ago
paginator Update gitea-vet to check FSFE REUSE (#22004) 1 year ago
password Consume hcaptcha and pwn deps (#22610) 1 year ago
pprof Implement FSFE REUSE for golang files (#21840) 1 year ago
private Implement actions (#21937) 1 year ago
process Implement FSFE REUSE for golang files (#21840) 1 year ago
proxy Implement FSFE REUSE for golang files (#21840) 1 year ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 1 year ago
public Implement FSFE REUSE for golang files (#21840) 1 year ago
queue Correctly handle select on multiple channels in Queues (#22146) 1 year ago
recaptcha Implement FSFE REUSE for golang files (#21840) 1 year ago
references Use correct captured group range when parsing cross-reference (#22672) 1 year ago
regexplru Implement FSFE REUSE for golang files (#21840) 1 year ago
repository Implement actions (#21937) 1 year ago
secret Implement FSFE REUSE for golang files (#21840) 1 year ago
session Update gitea-vet to check FSFE REUSE (#22004) 1 year ago
setting Add Conda package registry (#22262) 1 year ago
sitemap Fix sitemap (#22272) 1 year ago
ssh Implement FSFE REUSE for golang files (#21840) 1 year ago
storage Implement actions (#21937) 1 year ago
structs Implement actions (#21937) 1 year ago
svg Implement FSFE REUSE for golang files (#21840) 1 year ago
sync Implement FSFE REUSE for golang files (#21840) 1 year ago
system Implement FSFE REUSE for golang files (#21840) 1 year ago
templates Implement actions (#21937) 1 year ago
test refactor some functions to support ctx as first parameter (#21878) 1 year ago
timeutil Check for zero time instant in `TimeStamp.IsZero()` (#22171) 1 year ago
translation Implement FSFE REUSE for golang files (#21840) 1 year ago
typesniffer Implement FSFE REUSE for golang files (#21840) 1 year ago
updatechecker Implement FSFE REUSE for golang files (#21840) 1 year ago
upload Implement FSFE REUSE for golang files (#21840) 1 year ago
uri Implement FSFE REUSE for golang files (#21840) 1 year ago
user Implement FSFE REUSE for golang files (#21840) 1 year ago
util Improve checkIfPRContentChanged (#22611) 1 year ago
validation Implement FSFE REUSE for golang files (#21840) 1 year ago
watcher Implement FSFE REUSE for golang files (#21840) 1 year ago
web refactor bind functions based on generics (#22055) 1 year ago
webhook Restructure `webhook` module (#22256) 1 year ago