user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH 0/6] wwwstatic: support directory listings
@ 2020-01-01 10:38 Eric Wong
  2020-01-01 10:38 ` [PATCH 1/6] wwwstatic: implement Last-Modified and If-Modified-Since Eric Wong
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Eric Wong @ 2020-01-01 10:38 UTC (permalink / raw)
  To: meta

Now it'll be possible to replicate the timeless web design
of https://public-inbox.org/ with our own PSGI code!

I imagine per-inbox docroots might be useful for serving git
bundles, tarball releases, bundles, and maybe altid snapshots,
too.

Eric Wong (6):
  wwwstatic: implement Last-Modified and If-Modified-Since
  www: move more logic into path_info_raw
  wwwstatic: move r(...) functions here
  wwwstatic: do not open() files for HEAD requests
  wwwstatic: avoid TOCTTOU for FIFO check
  wwwstatic: add directory listing + index.html support

 MANIFEST                          |   1 +
 lib/PublicInbox/Cgit.pm           |   9 +-
 lib/PublicInbox/GitHTTPBackend.pm |  19 +--
 lib/PublicInbox/WWW.pm            |  23 +--
 lib/PublicInbox/WwwHighlight.pm   |   9 +-
 lib/PublicInbox/WwwStatic.pm      | 256 ++++++++++++++++++++++++++++--
 t/www_static.t                    |  96 +++++++++++
 xt/git-http-backend.t             |  20 +++
 8 files changed, 368 insertions(+), 65 deletions(-)
 create mode 100644 t/www_static.t

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-01 19:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 10:38 [PATCH 0/6] wwwstatic: support directory listings Eric Wong
2020-01-01 10:38 ` [PATCH 1/6] wwwstatic: implement Last-Modified and If-Modified-Since Eric Wong
2020-01-01 19:07   ` Eric Wong
2020-01-01 10:38 ` [PATCH 2/6] www: move more logic into path_info_raw Eric Wong
2020-01-01 10:38 ` [PATCH 3/6] wwwstatic: move r(...) functions here Eric Wong
2020-01-01 10:38 ` [PATCH 4/6] wwwstatic: do not open() files for HEAD requests Eric Wong
2020-01-01 10:38 ` [PATCH 5/6] wwwstatic: avoid TOCTTOU for FIFO check Eric Wong
2020-01-01 10:38 ` [PATCH 6/6] wwwstatic: add directory listing + index.html support Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).