q
0ba2a2e03b
initial thridculture edits
2025-09-23 17:59:42 -04:00
q
dc1afb2cb2
first commit
2025-09-23 17:27:43 -04:00
sl
51e19b2266
bin/{corehandlers.rc, werc.rc, werclib.rc}: handle .gmi and .gem
2025-06-14 23:46:57 +00:00
Stanley Lieber
d11a779f87
bin/werclib.rc: annotate ndate -i 'iso-8601 lite'
2020-06-09 20:40:15 -04:00
Stanley Lieber
b0a633e7a1
bin/werclib.rc: ndate -a is rfc3339; ndate -t is iso-8601
2019-12-09 22:19:18 -05:00
Stanley Lieber
139a3ea228
bin/werclib.rc -> ndate -t output rfc3339 compliant dates.
2019-12-09 22:09:16 -05:00
Stanley Lieber
411eef1ab3
bin/werclib.rc: fn ndate: convert seconds to date when seconds is provided as the second argument.
2019-12-09 19:36:03 -05:00
Stanley Lieber
c3d7645c7c
bin/werclib.rc: replace fn datei and fn datet (both broken) with fn ndate (implements 9front's date -i, -m, and -t)
2019-12-07 21:55:00 -05:00
Stanley Lieber
a2bcdde15f
bin/werclib.rc: add datei() and datet()
2016-02-10 20:29:27 -05:00
Stanley Lieber
a99fa8b44f
initial import of changes from 9front bikeshedding; bundle rc-httpd
2016-02-04 15:05:05 -05:00
Uriel
b4fc73806b
Ignore leading spaces/tabs when extracting a title from HTML files.
2011-06-30 22:58:17 +00:00
Uriel
2cdc75633d
Still extract tile if 'empty' line after tile contains spaces.
2010-01-19 00:28:25 +00:00
Uriel
c7c130e591
Much better (I hope) get_html_title implementation, first try to find <title>, if that fails, get the first non-tag string in the file.
2009-07-30 02:12:06 +02:00
Uriel
cb97e355bf
Whitespace change.
2009-07-28 23:58:32 +02:00
Uriel
2d8ce10389
New context var 'local_file' that will point to the on-disk-file that represents the main content of a given page request (if such exists, otherwise it is '' or ()).
...
Move title extracting functions from sitemap.tpl to werclib.rc.
Rewrite .md title extraction code to only match first lines when 'underlines' with =.
Use the changes above to generate better page titles when possible.
2009-07-28 20:28:35 +02:00
Uriel
1c73471579
Add comment on auth docs to review in the futre.
2009-03-14 14:32:22 +01:00
Uriel
a0254318ee
Fix a bug where check_user would not work properly when called from config files.
2009-03-09 22:08:22 +00:00
Uriel
c9b9e4e9bf
Preserve ifs when calling other functions after temporary altering it. Fixes a couple of minor bugs.
...
Added difs env var that can be used anywhere to restore default ifs.
2009-03-03 20:23:00 +00:00
Uriel
835d392f0c
Groups are now simply users with a /members file with one member per file.
2009-02-28 13:27:16 +00:00
Uriel
32706e97c7
Be more careful when checking passwords, make sure that the password file exists and is not empty.
2009-02-28 12:56:13 +00:00
Uriel
1c4d6ff8bd
Minor style change and delete debug print.
2009-02-13 23:17:49 +00:00
Uriel
e084b89cae
Reorg code in five source files: werc.rc, cgilib.rc, corehandlers.rc, wercconf.rc and werclib.rc.
2009-02-01 20:06:51 +01:00