forgejo/modules
KN4CK3R a35a5b225c
Add ETag header (#15370)
* Add ETag header.

* Comply with RFC 7232.

* Moved logic into httpcache.go

* Changed name.

* Lint

* Implemented If-None-Match list.

* Fixed missing header on *

* Removed weak etag support.

* Removed * support.

* Added unit test.

* Lint

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-04-12 10:49:26 -04:00
..
analyze Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
auth Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
avatar
base
cache [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
charset
context Turn RepoRef and RepoAssignment back into func(*Context) (#15372) 2021-04-09 20:26:08 -04:00
convert [API] pull notification subject status: add "merged" (#15344) 2021-04-09 03:36:23 +02:00
cron
csv Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
doctor Delete Labels & IssueLabels on Repo Delete too (#15039) 2021-03-19 21:01:24 +02:00
emoji Fix several render issues (#14986) 2021-03-16 00:20:05 +01:00
eventsource Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
generate
git use repo1_bare to test against (#15402) 2021-04-11 11:45:29 -04:00
gitgraph
graceful Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210) 2021-03-31 22:48:48 +03:00
hcaptcha
highlight
httpcache Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
httplib Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
indexer Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
lfs Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
log Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
markup Links in markdown should be absolute to the repository not the server (#15088) 2021-04-11 00:26:28 +08:00
matchlist
metrics
migrations Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
nosql [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
notification [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
options
password
pprof
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
process Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
public Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
queue Always set the merge base used to merge the commit (#15352) 2021-04-10 09:27:29 +01:00
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
references Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
repofiles Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
repository Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
secret
session Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
setting Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
ssh Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
storage Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
structs Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
svg
sync
task Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
templates Prevent incorrect HTML escaping in swagger.json (#14957) 2021-03-11 23:43:04 -05:00
test
timeutil
translation Use i18n.Reset to reload locales (#15073) 2021-03-21 16:11:36 +01:00
upload
uri
user
util Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
validation
web Fix bug in Wrap (#15302) 2021-04-06 17:40:56 +02:00