Commit graph

  • 41d999b9db Merge pull request 'thirdculture' (#1) from thirdculture into master master q 2025-09-23 18:13:04 -04:00
  • 0ba2a2e03b initial thridculture edits thirdculture q 2025-09-23 17:59:02 -04:00
  • dc1afb2cb2 first commit q 2025-09-23 17:27:43 -04:00
  • e3e07ddd95 initial import sl 2025-08-22 01:50:41 +00:00
  • 63085c71ab sites/werc.cat-v.org/development/index.md: hg -> git sl 2025-06-15 00:40:00 +00:00
  • 6ba7fe7593 remove .hgignore sl 2025-06-15 00:24:20 +00:00
  • 71619f80dc add apps/mdir sl 2025-06-14 23:48:50 +00:00
  • 51e19b2266 bin/{corehandlers.rc, werc.rc, werclib.rc}: handle .gmi and .gem sl 2025-06-14 23:46:57 +00:00
  • bc939071cf apps/wman/search.tpl: we already filter user input. avoid xss by printing filtered user input instead of unfiltered user input on error. Stanley Lieber 2024-09-20 20:17:26 -04:00
  • 1a0337f684 bin/contrib/rc-httpd/handlers/error: add missing error 400 Stanley Lieber 2021-11-22 00:45:43 -05:00
  • 3a90e2da78 bin/contrib/rc-httpd{rc-httpd, handlers/error}: do some minimal sanitization on $SERVER_NAME before handing it off to select-handler. this prevents malformed Host: headers from retrieving arbitrary files from the file system. (thanks, Lightning) Stanley Lieber 2021-11-21 18:49:58 -05:00
  • 4e454ff73b sites/werc.cat-v.org/index.md: freenode -> oftc (thanks, hiro) Stanley Lieber 2021-09-09 12:59:15 -04:00
  • fed0fb025a apps/blagh/rss20.tpl: print correct <pubDate> for each <item> (thanks, phil9) Stanley Lieber 2021-01-29 21:46:41 -05:00
  • 28bb70308b apps/blagh/atom.tpl: fix <summary> (thanks devine, khm) Stanley Lieber 2020-09-01 20:39:10 -04:00
  • 1a8cef0df9 css: add cat-v's default style; fix pre tag fontsize in it Kurt H Maier 2020-06-20 02:53:04 -07:00
  • 3629ad9444 sites/werc.cat-v.org/: update for 1.5 release Stanley Lieber 2020-06-16 21:51:39 -04:00
  • d33c4f63cf lib/404.tpl: remove google javascript Stanley Lieber 2020-06-16 21:32:23 -04:00
  • 768e65bbc1 sites/werc.cat-v.org/apps/duckduckgo/index.md: fix markdown display formatting for example commands. Stanley Lieber 2020-06-15 20:43:24 -04:00
  • bd3a44e426 add bin/contrib/fix-rc-scripts (thanks, Ethan Gardner) Stanley Lieber 2020-06-15 20:22:56 -04:00
  • 5612a3b83f sites/werc.cat-v.org/index.md: mention werc-commits mailing list; thank Ethan Gardner for rc-httpd Stanley Lieber 2020-06-15 20:20:11 -04:00
  • 7adaa4b130 bin/contrib/rc-httpd/rc-httpd: plan9port does not have read -c; replace with dd (thanks, khm) Stanley Lieber 2020-06-14 22:30:20 -04:00
  • b2de370f6c bin/contrib/rc-httpd/handlers/{dir-index, serve-static}: urlencode -d -> urldecode.awk Stanley Lieber 2020-06-14 22:29:36 -04:00
  • e1ab0fd080 bin/contrib/tcp80: plan9port does not include 9front utilities used by rc-httpd. set $PATH here to include replacement utilities from bin/contrib. Stanley Lieber 2020-06-14 22:28:55 -04:00
  • edff6e771f bin/contrib/tcp80: set $PLAN9 here. Stanley Lieber 2020-06-12 22:17:58 -04:00
  • 37e2d06b1a bin/contrib/rc-httpd/select-handler: clarify comments; add rules for maintainer test apparatus. Stanley Lieber 2020-06-12 20:52:27 -04:00
  • 29f3f6fa9d bin/cgilib.rc: fn urlencode -> fn nurlencode; fn urldecode -> fn nurldecode. avoid confusion and delay. Stanley Lieber 2020-06-12 20:51:42 -04:00
  • 5e591403da bin/contrib/tcp80: do not set $USER; clarify comments. Stanley Lieber 2020-06-12 19:31:44 -04:00
  • 0ca2db0d7f apps/wman/app.rc: remove ssam dependency. junk characters no longer printed. Stanley Lieber 2020-06-12 19:30:22 -04:00
  • 4684206127 apps/duckduckgo/HOWTO: apps/search -> apps/duckduckgo Stanley Lieber 2020-06-12 19:11:56 -04:00
  • c76056fa49 bin/contrib/tcp80: some apps/ may require $USER being set, so do it here. Stanley Lieber 2020-06-12 00:00:09 -04:00
  • f220aeee77 remove ssam: it is included in 9base, frontbase, and plan9port (thanks, sl) Stanley Lieber 2020-06-11 23:25:45 -04:00
  • b6b6948515 README: update for 1.5 release. Stanley Lieber 2020-06-11 22:18:41 -04:00
  • a4245e6af5 sites/werc.cat-v.org/testimonials.md: make thing that should have been a link, a link. Stanley Lieber 2020-06-11 22:00:23 -04:00
  • e35408e9af sites/werc.cat-v.org/docs/web-server-setup/: add cgd.md Stanley Lieber 2020-06-11 21:28:58 -04:00
  • af5222f2f7 sites/werc.cat-v.org/development/roadmap.md: update 1.5 Stanley Lieber 2020-06-11 21:03:31 -04:00
  • bc226f0f64 duckduckgo: add TODO items Kurt H Maier 2020-06-11 14:53:27 -07:00
  • 86face7d98 sites/werc.cat-v.org/development/index.md: update links to hg repo and werc mailing list Stanley Lieber 2020-06-10 23:45:42 -04:00
  • 1223523e9a sites/werc.cat-v.org/apps/blagh/index.md: mention JSON feeds Stanley Lieber 2020-06-10 23:36:05 -04:00
  • 6c8b519198 sites/werc.cat-v.org/apps/_footer.md: point broken links to archive.org Stanley Lieber 2020-06-10 23:33:09 -04:00
  • 09b91d13cc sites/werc.cat-v.org/apps/_footer.md: add barf, by sl Stanley Lieber 2020-06-10 23:28:56 -04:00
  • a3f63e805f sites/werc.cat-v.org/index.md: remove dead Links section Stanley Lieber 2020-06-10 23:12:50 -04:00
  • d1efc947c4 sites/default.cat-v.org/_werc/lib/headers.inc: remove even more vestiges of that old religion Stanley Lieber 2020-06-10 22:44:04 -04:00
  • b593bcd6c5 sites/default.cat-v.org/_werc/lib/footer.inc: remove last vestiges of that old religion Stanley Lieber 2020-06-10 22:41:18 -04:00
  • 1606e5fa90 sites/werc.cat-v.org/docs/config-options.md: default markdown.pl -> md2html.awk Stanley Lieber 2020-06-10 21:53:35 -04:00
  • 0a3cd51040 sites/werc.cat-v.org/index.md: update for release 1.5 Stanley Lieber 2020-06-10 20:49:13 -04:00
  • a7cd5dd296 sites/werc.cat-v.org/docs/site-customization.md: add discussion of headers.tpl Stanley Lieber 2020-06-10 20:47:33 -04:00
  • a66a8fa0a2 sites/werc.cat-v.org/docs/css-style.md: update for new default html5 flexbox Stanley Lieber 2020-06-10 20:46:32 -04:00
  • 984e24d56c sites/werc.cat-v.org/apps/_footer.md: update link for yiyus' flip Stanley Lieber 2020-06-10 20:45:42 -04:00
  • 3f909627e0 add werc/bin/ssam Stanley Lieber 2020-06-10 20:42:38 -04:00
  • 9622b4f373 werc.cat-v.org: document duckduckgo app Kurt H Maier 2020-06-09 23:01:19 -07:00
  • 3225f52fce pub/style/style.css: leave vanity behind Stanley Lieber 2020-06-09 23:02:57 -04:00
  • 58d2576455 bin/werc.rc: don't hardcode default header template. move it into werc_exec_request and use fn get_lib_file to prefer a site-specific headers.tpl, just like other .tpl files Stanley Lieber 2020-06-09 20:42:37 -04:00
  • d11a779f87 bin/werclib.rc: annotate ndate -i 'iso-8601 lite' Stanley Lieber 2020-06-09 20:40:15 -04:00
  • 11bb7be42a sites/default.cat-v.org/_werc/lib/footer.inc: google api key -> apps/duckduckgo Stanley Lieber 2020-05-31 23:24:56 -04:00
  • 9e93cd7ecb apps/duckduckgo/HOWTO: when installing, rename footer.inc.sample to footer.inc. Stanley Lieber 2020-05-31 23:02:34 -04:00
  • a904204eda apps/duckduckgo/HOWTO: fix typo Stanley Lieber 2020-05-31 22:59:34 -04:00
  • c0eaefe4fe style.css: restore table theming Kurt H Maier 2020-05-29 11:29:42 -07:00
  • 9b82eedfd6 apps/duckduckgo: fix accessibility problems Kurt H Maier 2020-05-26 21:39:54 -07:00
  • 463eaa384e apps: rename 'search' to 'duckduckgo' Kurt H Maier 2020-05-25 19:20:16 -07:00
  • 930d4eb9f8 apps: add simple site-search app Kurt H Maier 2020-05-25 17:13:01 -07:00
  • e11dc36640 blagh: jsonfeed support Kurt H Maier 2020-05-25 02:09:41 -07:00
  • ea05499f77 lib+css: update to html5 tags, classless css Kurt H Maier 2020-05-25 00:47:51 -07:00
  • 0011a6aa7e apps/blagh/rss20.tpl: find the correct most recently updated file so the <lastBuildDate> field is precisely accurate. Stanley Lieber 2019-12-09 23:21:45 -05:00
  • 7190091456 apps/blagh/atom.tpl: find the correct most recently updated file so the feed <updated> field is precisely accurate. Stanley Lieber 2019-12-09 23:20:11 -05:00
  • b0a633e7a1 bin/werclib.rc: ndate -a is rfc3339; ndate -t is iso-8601 Stanley Lieber 2019-12-09 22:19:18 -05:00
  • 5cd45d42fe apps/blagh/atom.tpl, rss20.tpl: date -t -> date -a Stanley Lieber 2019-12-09 22:18:12 -05:00
  • 139a3ea228 bin/werclib.rc -> ndate -t output rfc3339 compliant dates. Stanley Lieber 2019-12-09 22:09:16 -05:00
  • 9f7d532a93 apps/blagh/atom.tpl: fix rfc3339 dates for feed <updated> and entry <updated> fields, needed for feed validation. Stanley Lieber 2019-12-09 22:03:57 -05:00
  • 708c506ba8 apps/blagh/rss20.tpl: improve grep for <lastBuildDate> Stanley Lieber 2019-12-09 19:46:57 -05:00
  • 50a4a9e742 apps/blagh/rss20.tpl: correctly generate accurate dates for <lastBuildDate> and <pubDate>. Stanley Lieber 2019-12-09 19:37:43 -05:00
  • 411eef1ab3 bin/werclib.rc: fn ndate: convert seconds to date when seconds is provided as the second argument. Stanley Lieber 2019-12-09 19:36:03 -05:00
  • 831c77bf3b sites/werc.cat-v.org/index.md: update repo and contact urls Stanley Lieber 2019-12-07 21:58:39 -05:00
  • e12afcaded sites/werc.cat-v.org/apps/blagh/index.md: update example urls Stanley Lieber 2019-12-07 21:58:11 -05:00
  • 932446ba11 sites/default.cat-v.org/_werc/lib/: remove javascript google tracker from footers and headers Stanley Lieber 2019-12-07 21:57:16 -05:00
  • 4640183908 apps/blagh/: fix rss (passes validation), partially fix atom (does not pass validation) Stanley Lieber 2019-12-07 21:55:44 -05:00
  • c3d7645c7c bin/werclib.rc: replace fn datei and fn datet (both broken) with fn ndate (implements 9front's date -i, -m, and -t) Stanley Lieber 2019-12-07 21:55:00 -05:00
  • ed39b15eb1 apps/wman/app.rc: fix columnization Stanley Lieber 2019-12-07 21:53:38 -05:00
  • 0bd715dabb bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?) Stanley Lieber 2017-08-10 21:43:54 -04:00
  • 546bdc35ee bin/aux/* bin/contrib/*: change bang paths to /bin/*: this will later be documented. Stanley Lieber 2016-12-21 21:38:03 -05:00
  • 152479e0d9 etc/initrc: change default markdown formatter from markdown.pl (no modern perl on plan 9) to md2html.awk (works everywhere) Stanley Lieber 2016-12-02 20:35:58 -05:00
  • fe7c0ec45a bin/contrib/tcp80: move log to /var/log/rc-httpd Stanley Lieber 2016-12-01 19:46:03 -05:00
  • 8b7a43f481 paste: remove some code smell, roll index.html into app.rc Kurt H Maier 2016-02-17 12:19:07 -05:00
  • 721ac39234 bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk Stanley Lieber 2016-02-11 16:25:11 -05:00
  • 52d7d43342 bin/contrib/rc-httpd/rc-httpd: add $libdir Stanley Lieber 2016-02-11 16:24:49 -05:00
  • c046dd4f8f add bin/contrib/rc-httpd/lib/urldecode.awk Stanley Lieber 2016-02-11 16:23:48 -05:00
  • 130a3f4454 bin/contrib/rc-httpd/handlers/serve-static: file(1): try Plan 9 syntax first, then devolve to UNIX. Stanley Lieber 2016-02-10 20:38:40 -05:00
  • 66f39ebe38 apps/wman: fix comments and restore template syntax. Stanley Lieber 2016-02-10 20:34:33 -05:00
  • 0928d102d5 apps/blagh: use new datei and datet functions Stanley Lieber 2016-02-10 20:33:27 -05:00
  • 2f8c4cd8e8 bin/cgilib.rc: hack urlencode/urldecode for UNIX *and* Plan 9 Stanley Lieber 2016-02-10 20:32:57 -05:00
  • a2bcdde15f bin/werclib.rc: add datei() and datet() Stanley Lieber 2016-02-10 20:29:27 -05:00
  • b40a814120 bin/contrib/rc-httpd/handlers/__mkfstmp: remove accidentally committed file. Stanley Lieber 2016-02-10 20:20:31 -05:00
  • b64418b85f bin/contrib/rc-httpd: rc-httpd add system $PATH to $path; bin/contrib/rc-httpd/handlers/serve-static: try two different versions of file(1) syntax Stanley Lieber 2016-02-10 14:04:14 -05:00
  • ccbcd67836 bin/contrib/tcp80: default log location is /var/log/www Stanley Lieber 2016-02-09 14:24:05 -05:00
  • d9c48e6ee0 bin/contrib/rc-httpd/: fix default paths and environment variables; create a generic default select-handler; add tcp80, used for launching rc-httpd from listen(8) Stanley Lieber 2016-02-04 21:47:22 -05:00
  • a99fa8b44f initial import of changes from 9front bikeshedding; bundle rc-httpd Stanley Lieber 2016-02-04 15:05:05 -05:00
  • 6d3bcc867c Be a bit more careful before we redirect to plain files when we get a trailing / and can't find a dir. Uriel 2012-08-19 01:16:10 +02:00
  • 771935dd43 Update readme to point to #cat-v instead of #plan9. Uriel 2012-08-19 01:07:54 +02:00
  • b4fc73806b Ignore leading spaces/tabs when extracting a title from HTML files. Uriel 2011-06-30 22:58:17 +00:00
  • 1ede072465 Fix typo and add a new item to todo list. Uriel 2011-06-28 22:12:53 +00:00
  • ffc7442ba3 When more than one file with the same 'name' (eg., foo.md, foo.html) do not display it more than once in dir listings. Uriel 2011-06-28 03:48:22 +00:00