uriel
679fefacac
Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments.
2009-01-12 02:07:31 +01:00
uriel
912dea9e6e
Fix blah to work with new handler interfaces.
...
Remove outdated app-framework code.
Clanup some of the fallback handler setting code.
2009-01-11 04:40:40 +01:00
uriel
116d7c3931
- New static_file and select_mime functions.
...
- Minor improvements to get_post_args, set status unless one of the requested args is present.
2009-01-11 04:02:07 +01:00
uriel
09575c869f
Awk_buffer does seem to improve things a bit, but changed the buffer side to an empirically determined value.
2009-01-09 02:06:41 +01:00
uriel
3e99d92b05
Delete some debug code in a function that is not used yet.
2009-01-09 02:03:36 +01:00
uriel
74f63b6698
Very minor style fixes, and obfuscate local var in ll_add.
2009-01-08 16:48:09 +01:00
uriel
900119d659
Add nested lists rc helper
2009-01-08 16:46:00 +01:00
uriel
63816db0c6
Delete some deprecated code left over from the old blog system.
2009-01-02 16:51:59 +01:00
uriel
1e72e6499f
Two small simplifications to app handling. Specially merge _test and _setup functions into a single _init.
2008-12-28 23:42:24 +01:00
uriel
713a591618
Minor comment cleanups.
2008-12-28 11:51:03 +01:00
uriel
921a67d8df
New function to pick 'metadata' out of new .md convention for attributes.
2008-12-24 12:18:44 +01:00
uriel
270c9999a0
Add sample 'hello world' app and enabled_apps config variable.
2008-12-21 09:37:40 +01:00
uriel
8c10f7653a
Explicitly call awk when running template.awk so we can use p9p's awk if available and improve portability to native Plan 9.
2008-12-21 00:08:49 +01:00
uriel
b99d6ebf78
Add timezone to blog posts date, thanks to dho for the original patch.
...
Used the opportunity to provide the current date/time info in $current_date_time for any other similar uses.
2008-12-20 22:36:25 +01:00
uriel
abb5df1d32
Make coding style more consistent.
2008-12-20 06:32:37 +01:00
uriel
54bb58bef7
First bits of minimal 'modular' app framework, move some blog code out of werc.rc and other minnor code cleanups.
2008-12-20 02:08:12 +01:00
uriel
86c55df5ec
Fix bug in crop_text, and allow to set the 'ellipsis' text ('...' by default)
2008-12-12 02:25:10 +01:00
uriel
41940806db
New helper function: crop_text
2008-11-26 04:50:03 +01:00
uriel
a42e7ad88b
Improvements to auth code, now the interface and implemenation are much cleaner.
2008-10-22 09:18:55 +02:00
uriel
75336c57a5
Replace debug and 'false' calls with setting $status
2008-10-21 16:36:45 +02:00
uriel
3e2903b4e3
Many big changes:
...
* Cache arg list in get_post_args so it can be called more than once and from inside templates.
* Get/set_cookie functions.
* New user auth system that actually works.
* Make_blog_post actually works now.
* Many other fixes and improvments.
2008-10-18 03:26:54 +02:00
uriel
934412c67f
Make rc happy and comment work in progress code
2008-10-14 06:59:19 +02:00
uriel
ba321ad6f1
More minnor comment and code formatting changes
2008-10-14 01:59:10 +02:00
uriel
7a33f7dfb3
Experimental comments system
2008-09-26 14:23:19 +02:00
uriel
5982cea1ba
Syntax fix and other minnor improvements
2008-09-26 11:09:18 +02:00
uriel
e3a70a73fc
Further cleanup and code reorganization, move generic cgi related functions to cgilib.rc, start to add code to be used for handing comments and wiki editing.
2008-09-26 10:35:12 +02:00