Uriel
11900bdb0e
- 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
e3770969a9
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
c51c30029d
Delete some debug code in a function that is not used yet.
2009-01-09 02:03:36 +01:00
Uriel
b0cd0818d9
Very minor style fixes, and obfuscate local var in ll_add.
2009-01-08 16:48:09 +01:00
Uriel
d01d89becf
Add nested lists rc helper
2009-01-08 16:46:00 +01:00
Uriel
58512f2e1f
Delete some deprecated code left over from the old blog system.
2009-01-02 16:51:59 +01:00
Uriel
0ab4235b09
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
9745991ff9
Minor comment cleanups.
2008-12-28 11:51:03 +01:00
Uriel
402427ec04
New function to pick 'metadata' out of new .md convention for attributes.
2008-12-24 12:18:44 +01:00
Uriel
322db9393d
Add sample 'hello world' app and enabled_apps config variable.
2008-12-21 09:37:40 +01:00
Uriel
e54e3d34fb
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
c10a7b7db1
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
17225d69b4
Make coding style more consistent.
2008-12-20 06:32:37 +01:00
Uriel
07d476321a
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
2a9dbdbfe9
Fix bug in crop_text, and allow to set the 'ellipsis' text ('...' by default)
2008-12-12 02:25:10 +01:00
Uriel
d381768c8f
New helper function: crop_text
2008-11-26 04:50:03 +01:00
Uriel
746b70d971
Improvements to auth code, now the interface and implemenation are much cleaner.
2008-10-22 09:18:55 +02:00
Uriel
34a99124a9
Replace debug and 'false' calls with setting $status
2008-10-21 16:36:45 +02:00
Uriel
a1dd162124
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
351da977a9
Make rc happy and comment work in progress code
2008-10-14 06:59:19 +02:00
Uriel
5dfce814f6
More minnor comment and code formatting changes
2008-10-14 01:59:10 +02:00
Uriel
3d3df98d31
Experimental comments system
2008-09-26 14:23:19 +02:00
Uriel
272840da52
Syntax fix and other minnor improvements
2008-09-26 11:09:18 +02:00
Uriel
1f376ad60a
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