26 Commits (v1.15.7)

Author SHA1 Message Date
Gusted ea0fe83888
Fix golangci-lint warnings ( et al) () 3 years ago
Lunny Xiao effad26c0e
Improve assets handler middleware () 4 years ago
a1012112796 1e877613bf
add `/assets` as root dir of public files () 4 years ago
KN4CK3R a35a5b225c
Add ETag header () 4 years ago
a1012112796 f5b6dc9759
add 'fonts' into 'KnownPublicEntries' () 4 years ago
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron () 4 years ago
Lunny Xiao d44f192d3e
When visit /favicon.ico but the static file is not exist return 404 but not continue to handle the route () 4 years ago
Lunny Xiao 19ae6439b0
Improve vfsgen to not unzip bindata files but send to browser directly () 4 years ago
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets () 4 years ago
Lunny Xiao c296f4fed6
Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step () 4 years ago
6543 d7456106bf
fix go1.15 lint error in modules/public/public.go () 5 years ago
techknowlogick bd7d6a3d73
go1.15 () 5 years ago
silverwind 7761245d08
Move fomantic and jQuery to main webpack bundle () 5 years ago
silverwind e24ee48776
Add serviceworker.js to KnownPublicEntries () 5 years ago
silverwind 5180deb819
Send 404 immediately for known public requests () 5 years ago
Lunny Xiao 4f63f283c4
Rename scripts to build and add revive command as a new build tool command () 5 years ago
guillep2k bcb52aef09
Implement "embedded" command to extract static resources () 5 years ago
zeripath 48abe41ea8
Generate Bindata iff TAGS="bindata" and not up-to-date () 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron () 6 years ago
Lunny Xiao e503794371 remove unnecessary fmt on generate bindata () 6 years ago
Lunny Xiao 83b90e4199 Use vfsgen instead of go-bindata () 6 years ago
zeripath dd13327382 When redirecting clean the path to avoid redirecting to //www.othersite.com () 6 years ago
Morgan Bazalgette 17655cdf1b Enable caching on assets and avatars () 7 years ago
Thomas Boerger 78535fb08e Allow custom public files () 8 years ago
Thomas Boerger 83ed234472 Integrate templates into bindata optionally () 8 years ago
Thomas Boerger b6a95a8cb3 Integrate public as bindata optionally () 8 years ago