JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl.git
17 years agofile_run now REQUIRES that the main function have _main suffix
Jason Woofenden [Fri, 14 Sep 2007 05:29:12 +0000 (01:29 -0400)]
file_run now REQUIRES that the main function have _main suffix

17 years agofile_run() expects _main suffix. added: enc_htmlbr enc_provinces
Jason Woofenden [Fri, 14 Sep 2007 05:17:35 +0000 (01:17 -0400)]
file_run() expects _main suffix. added: enc_htmlbr enc_provinces

17 years agoadded examples/session.sql, metaform: added varname
Jason Woofenden [Thu, 26 Jul 2007 08:23:03 +0000 (04:23 -0400)]
added examples/session.sql, metaform: added varname

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Tue, 17 Jul 2007 07:34:52 +0000 (03:34 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agofixed typo (produced stupid looking code that worked)
Jason Woofenden [Tue, 17 Jul 2007 07:34:38 +0000 (03:34 -0400)]
fixed typo (produced stupid looking code that worked)

17 years agofixed typo
Jason Woofenden [Fri, 13 Jul 2007 17:51:01 +0000 (13:51 -0400)]
fixed typo

17 years agofixed pulldowns, metaform suppors zip and decimal, run.php supports straight html...
Jason Woofenden [Wed, 11 Jul 2007 22:04:33 +0000 (18:04 -0400)]
fixed pulldowns, metaform suppors zip and decimal, run.php supports straight html files with a template

17 years agoadded format_int_0()
Jason Woofenden [Fri, 29 Jun 2007 04:23:08 +0000 (00:23 -0400)]
added format_int_0()

17 years agoadded days_to_ymd() and ymd_to_days()
Jason Woofenden [Mon, 25 Jun 2007 18:58:31 +0000 (14:58 -0400)]
added days_to_ymd() and ymd_to_days()

17 years agoadded: dwt_load_str() and enc_jsdq()
Jason Woofenden [Mon, 25 Jun 2007 16:51:03 +0000 (12:51 -0400)]
added: dwt_load_str() and enc_jsdq()

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Fri, 15 Jun 2007 12:00:52 +0000 (08:00 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agometaform: added pulldown support, added leftcheck
Jason Woofenden [Fri, 15 Jun 2007 12:00:34 +0000 (08:00 -0400)]
metaform: added pulldown support, added leftcheck
metaform now ships a seperate stylesheet.
metaform captions are cleaned up (underscores to spaces and capitalization)
metaform's generated php has less duplication
added enc_upper()
enc_whatever functions can recieve the field name as the second parameter
format_options() forces the value to be something in the options list
metaform's auto-generated submit button says "Send" if it's e-mail only

17 years agometaform capitalizes default captions, added tem::load_str()
Jason Woofenden [Fri, 15 Jun 2007 07:53:30 +0000 (03:53 -0400)]
metaform capitalizes default captions, added tem::load_str()
metaform preview is passed through template engine properly

17 years agofixed session_purge_old() and session_messages.php, redirect() can now take just...
Jason Woofenden [Thu, 14 Jun 2007 11:41:00 +0000 (07:41 -0400)]
fixed session_purge_old() and session_messages.php, redirect() can now take just a path

17 years agoUNTESTED: added session_messages.php (saves/restores message()s over redirects)
Jason Woofenden [Thu, 14 Jun 2007 10:38:25 +0000 (06:38 -0400)]
UNTESTED: added session_messages.php (saves/restores message()s over redirects)

17 years agofixed tem::run()
Jason Woofenden [Thu, 14 Jun 2007 06:37:06 +0000 (02:37 -0400)]
fixed tem::run()

17 years agotem_run() (and tem::run()) doesn't overwrite the template stored in the class with...
Jason Woofenden [Thu, 14 Jun 2007 05:19:05 +0000 (01:19 -0400)]
tem_run() (and tem::run()) doesn't overwrite the template stored in the class with the one passed.
wfpl uses message()

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 14 Jun 2007 04:29:14 +0000 (00:29 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agometaform doesn't include the hidden field for the database ID if there's no database
Jason Woofenden [Thu, 14 Jun 2007 04:28:38 +0000 (00:28 -0400)]
metaform doesn't include the hidden field for the database ID if there's no database

17 years agocommented run.php a little
Jason Woofenden [Thu, 14 Jun 2007 04:18:32 +0000 (00:18 -0400)]
commented run.php a little

17 years agometaform only sends .sql file if you check 'db'. added string_array()
Jason Woofenden [Thu, 14 Jun 2007 04:09:11 +0000 (00:09 -0400)]
metaform only sends .sql file if you check 'db'. added string_array()

17 years agoOh yeah, and now hyphens are allowed in filenames (just not at the beginning)
Jason Woofenden [Thu, 14 Jun 2007 04:05:44 +0000 (00:05 -0400)]
Oh yeah, and now hyphens are allowed in filenames (just not at the beginning)

17 years agoadded dwt_append_raw(), format_filename() converts ^[.-] to _ instead of removing...
Jason Woofenden [Thu, 14 Jun 2007 04:03:04 +0000 (00:03 -0400)]
added dwt_append_raw(), format_filename() converts ^[.-] to _ instead of removing all of them

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Fri, 8 Jun 2007 09:13:31 +0000 (05:13 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agoadded optional http-auth to metaform
Jason Woofenden [Fri, 8 Jun 2007 09:13:26 +0000 (05:13 -0400)]
added optional http-auth to metaform

17 years agoadded fdb_delete() (UNTESTED)
Jason Woofenden [Fri, 8 Jun 2007 09:09:19 +0000 (05:09 -0400)]
added fdb_delete() (UNTESTED)

17 years agofixed conflict
Jason Woofenden [Tue, 5 Jun 2007 08:40:20 +0000 (04:40 -0400)]
fixed conflict

17 years agometaform now supports fckeditor, and email/db parts are optional
Jason Woofenden [Tue, 5 Jun 2007 08:19:16 +0000 (04:19 -0400)]
metaform now supports fckeditor, and email/db parts are optional

17 years agofdb works, added fault-tollerent read_wole_file
Jason Woofenden [Tue, 5 Jun 2007 08:17:10 +0000 (04:17 -0400)]
fdb works, added fault-tollerent read_wole_file

17 years agofdb works, added fault-tollerent read_wole_file
Jason Woofenden [Tue, 5 Jun 2007 08:14:40 +0000 (04:14 -0400)]
fdb works, added fault-tollerent read_wole_file

17 years agomoved read_whole_file() to file no file.php. tar.php uses rsync, and supports links
Jason Woofenden [Tue, 5 Jun 2007 03:52:42 +0000 (23:52 -0400)]
moved read_whole_file() to file no file.php. tar.php uses rsync, and supports links

17 years agono dashes in filenames, improved image uploading, make_thumbnail()
Jason Woofenden [Thu, 3 May 2007 13:37:18 +0000 (09:37 -0400)]
no dashes in filenames, improved image uploading, make_thumbnail()

17 years agorun.php css thing uses 'css_link' instead of 'basename' as template tag
Jason Woofenden [Thu, 3 May 2007 05:36:54 +0000 (01:36 -0400)]
run.php css thing uses 'css_link' instead of 'basename' as template tag

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 3 May 2007 05:34:31 +0000 (01:34 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agorun.php inserts page-specific css link into global template.html
Jason Woofenden [Thu, 3 May 2007 05:34:19 +0000 (01:34 -0400)]
run.php inserts page-specific css link into global template.html

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 3 May 2007 05:28:37 +0000 (01:28 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agorun.php now makes more sense, handles a site-wide template, and calls display_message...
Jason Woofenden [Thu, 3 May 2007 05:28:14 +0000 (01:28 -0400)]
run.php now makes more sense, handles a site-wide template, and calls display_messages() for you

17 years agoadded radios (untested)
Jason Woofenden [Thu, 3 May 2007 05:04:21 +0000 (01:04 -0400)]
added radios (untested)

17 years agofine tweaks to upload.php
Jason Woofenden [Tue, 17 Apr 2007 17:48:15 +0000 (13:48 -0400)]
fine tweaks to upload.php

17 years agodb_printf()'s %s, dwt_append(), states pulldown, tem_top_subs()
Jason Woofenden [Tue, 17 Apr 2007 17:34:23 +0000 (13:34 -0400)]
db_printf()'s %s, dwt_append(), states pulldown, tem_top_subs()
textareas get their own line(s) in e-mails

17 years agofixed parse errors is session.php, added test/session_test.php
Jason Woofenden [Tue, 3 Apr 2007 03:37:31 +0000 (23:37 -0400)]
fixed parse errors is session.php, added test/session_test.php

17 years agoadded session_unset() fixed kill_session() and session_purge_old()
Jason Woofenden [Mon, 2 Apr 2007 23:09:50 +0000 (19:09 -0400)]
added session_unset() fixed kill_session() and session_purge_old()

17 years agodb_connect.php can now be in code/
Jason Woofenden [Mon, 2 Apr 2007 22:46:16 +0000 (18:46 -0400)]
db_connect.php can now be in code/

17 years agocopyrighted dwt.php, metaform textboxes aren't puny by default, added kill_session()
Jason Woofenden [Mon, 2 Apr 2007 21:07:56 +0000 (17:07 -0400)]
copyrighted dwt.php, metaform textboxes aren't puny by default, added kill_session()

17 years agofixed metaform url bug
Jason Woofenden [Thu, 1 Mar 2007 10:04:52 +0000 (05:04 -0500)]
fixed metaform url bug

17 years agofixed session_get() and session_set() and metaform url (all untested)
Jason Woofenden [Thu, 1 Mar 2007 10:02:47 +0000 (05:02 -0500)]
fixed session_get() and session_set() and metaform url (all untested)

17 years agoupdated metaform for new db.php and messages.php
Jason Woofenden [Thu, 1 Mar 2007 09:46:28 +0000 (04:46 -0500)]
updated metaform for new db.php and messages.php

17 years agoadded enc_url_val() UNTESTED
Jason Woofenden [Thu, 1 Mar 2007 06:00:50 +0000 (01:00 -0500)]
added enc_url_val() UNTESTED

17 years agoCHANGED db.php API so it doesn't append WHERE for you
Jason Woofenden [Thu, 1 Mar 2007 04:10:18 +0000 (23:10 -0500)]
CHANGED db.php API so it doesn't append WHERE for you
added messages.php
fixed db_printf() so it actually returns the generated string
run.php now clears the old template object if you return a different basename
run.php now accepts full urls in addition to basenames returned from scripts. UNTESTED
session.php now puts a 'wfpl_' prefix on table names
redirect() now uses an HTTP/1.0 header instead of 1.1

17 years agoadded format_varname() and format_filename()
Jason Woofenden [Thu, 22 Feb 2007 06:51:44 +0000 (01:51 -0500)]
added format_varname() and format_filename()

17 years agometaform puts a link to the metaform edit page in the generated php document
Jason Woofenden [Mon, 12 Feb 2007 22:27:00 +0000 (17:27 -0500)]
metaform puts a link to the metaform edit page in the generated php document

17 years agochanged licence to lgpl, metaform includes wfpl in tarbal
Jason Woofenden [Mon, 12 Feb 2007 21:13:42 +0000 (16:13 -0500)]
changed licence to lgpl, metaform includes wfpl in tarbal

17 years agoimproved documentation for email(), added error reporting to metaform,
Jason Woofenden [Thu, 8 Feb 2007 05:28:20 +0000 (00:28 -0500)]
improved documentation for email(), added error reporting to metaform,
allowed periods in email() subjects
improved mod_rewrite example in run.php

17 years agoadded TODO
Jason Woofenden [Sat, 20 Jan 2007 09:02:43 +0000 (04:02 -0500)]
added TODO

17 years agoadded image support to metaform and fixed upload.php
Jason Woofenden [Sat, 20 Jan 2007 08:59:41 +0000 (03:59 -0500)]
added image support to metaform and fixed upload.php

17 years agowrote upload handler (untested
Jason Woofenden [Fri, 19 Jan 2007 22:28:43 +0000 (17:28 -0500)]
wrote upload handler (untested

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 18 Jan 2007 14:39:57 +0000 (09:39 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agothis_month() doesn't return with a leading zero
Jason Woofenden [Thu, 18 Jan 2007 14:39:45 +0000 (09:39 -0500)]
this_month() doesn't return with a leading zero

17 years agometaform: tested and fixed. fixed sql for checkboxes
Jason Woofenden [Sun, 31 Dec 2006 21:41:22 +0000 (16:41 -0500)]
metaform: tested and fixed. fixed sql for checkboxes

17 years agoadded enc_tab(), fixed metaform php template so it looks right
Jason Woofenden [Sun, 31 Dec 2006 20:15:55 +0000 (15:15 -0500)]
added enc_tab(), fixed metaform php template so it looks right

17 years agoadded (untested) updates to metaform's php template to do editing and deleting from...
Jason Woofenden [Sun, 31 Dec 2006 19:54:15 +0000 (14:54 -0500)]
added (untested) updates to metaform's php template to do editing and deleting from database

17 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Sun, 31 Dec 2006 10:10:11 +0000 (05:10 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

17 years agodeleted run_file.php (copy of file_run.php)
Jason Woofenden [Sun, 31 Dec 2006 10:10:02 +0000 (05:10 -0500)]
deleted run_file.php (copy of file_run.php)

17 years agometaform: added int, hidden and password to list of available field types
Jason Woofenden [Sun, 31 Dec 2006 10:07:53 +0000 (05:07 -0500)]
metaform: added int, hidden and password to list of available field types
added copyright notice to session.php

17 years agomajor updates to db.php, added session.php, run.php uses file_run.php
Jason Woofenden [Sun, 31 Dec 2006 09:26:32 +0000 (04:26 -0500)]
major updates to db.php, added session.php, run.php uses file_run.php
added db_delete(), db_update(), db_auto_id(), db_replace()
fixed lots of places in db.php where it wasn't passing the mysql link identifier
added redirect() to http.php
run.php now calls file_run() (so you define a function in your file that matches the basename)
   and you can return another basename, and run.php will do that one
session.php uses session cookies (cookies that dissapear when the browser is closed) sessions also expire from the db at a given time

17 years agometaform supports password and hidden fields
Jason Woofenden [Sun, 31 Dec 2006 06:11:45 +0000 (01:11 -0500)]
metaform supports password and hidden fields
varibles from form are much more accessible
now set up to be used from run.php if available

17 years agoadded 404 example files for run.php
Jason Woofenden [Sat, 30 Dec 2006 09:33:34 +0000 (04:33 -0500)]
added 404 example files for run.php

17 years agofixed run.php .htaccess example so it'll work for directory with no filename
Jason Woofenden [Sat, 30 Dec 2006 08:56:36 +0000 (03:56 -0500)]
fixed run.php .htaccess example so it'll work for directory with no filename
improved css for calendar

17 years agofound out RewriteBase is redundant
Jason Woofenden [Sat, 30 Dec 2006 07:32:07 +0000 (02:32 -0500)]
found out RewriteBase is redundant

17 years agoformat_int() removes leading zeros
Jason Woofenden [Fri, 29 Dec 2006 08:47:38 +0000 (03:47 -0500)]
format_int() removes leading zeros

17 years agoadded stupid hack so I can have a default for a "pass by reference" parameter
Jason Woofenden [Thu, 28 Dec 2006 09:51:23 +0000 (04:51 -0500)]
added stupid hack so I can have a default for a "pass by reference" parameter

17 years agodb_insert() can take data as separate arguments or as an array
Jason Woofenden [Thu, 28 Dec 2006 09:50:42 +0000 (04:50 -0500)]
db_insert() can take data as separate arguments or as an array

17 years agocomments
Jason Woofenden [Thu, 28 Dec 2006 03:38:11 +0000 (22:38 -0500)]
comments

17 years agoadded db_insert
Jason Woofenden [Tue, 26 Dec 2006 21:12:16 +0000 (16:12 -0500)]
added db_insert

17 years agoadded db.php
Jason Woofenden [Mon, 25 Dec 2006 07:16:10 +0000 (02:16 -0500)]
added db.php

17 years agoadded enc_sql()
Jason Woofenden [Mon, 25 Dec 2006 07:15:57 +0000 (02:15 -0500)]
added enc_sql()

17 years agorun.php can't run from wfpl directory because there's no way to find the real DOCUMEN...
Jason Woofenden [Sat, 23 Dec 2006 17:47:14 +0000 (12:47 -0500)]
run.php can't run from wfpl directory because there's no way to find the real DOCUMENT_ROOT
now you have to link it from your directory

17 years agometaform: fields not are in the right order. added CSS for captions
Jason Woofenden [Fri, 22 Dec 2006 04:16:23 +0000 (23:16 -0500)]
metaform: fields not are in the right order. added CSS for captions

17 years agometaform: added 'int' type, made preview more blatant, and ran the preview through...
Jason Woofenden [Fri, 22 Dec 2006 04:05:38 +0000 (23:05 -0500)]
metaform: added 'int' type, made preview more blatant, and ran the preview through the template engine before displaying

17 years agoadded calendar.php
Jason Woofenden [Fri, 22 Dec 2006 03:06:00 +0000 (22:06 -0500)]
added calendar.php

17 years agorun.php works even through symbolic links
Jason Woofenden [Fri, 22 Dec 2006 02:59:24 +0000 (21:59 -0500)]
run.php works even through symbolic links
running sub-templates clears their sub-templates

17 years agowith run.php you can make your own 404.html and/or 404.php
Jason Woofenden [Fri, 22 Dec 2006 01:14:56 +0000 (20:14 -0500)]
with run.php you can make your own 404.html and/or 404.php

17 years agoupdated instructions
Jason Woofenden [Fri, 22 Dec 2006 00:52:38 +0000 (19:52 -0500)]
updated instructions

17 years agorenamed basics.php to misc.php
Jason Woofenden [Thu, 21 Dec 2006 04:46:56 +0000 (23:46 -0500)]
renamed basics.php to misc.php

17 years agoadded this_month() and this_year()
Jason Woofenden [Thu, 21 Dec 2006 04:45:11 +0000 (23:45 -0500)]
added this_month() and this_year()

17 years agoadded run.php
Jason Woofenden [Tue, 19 Dec 2006 07:56:24 +0000 (02:56 -0500)]
added run.php

17 years agoadded missing format_url needed by metaform
Jason Woofenden [Tue, 19 Dec 2006 07:09:23 +0000 (02:09 -0500)]
added missing format_url needed by metaform
template can now handle multiple encodings for one var, eg foo.html.sql

17 years agometaform actually sends e-mails now. and presents thankyou message
Jason Woofenden [Mon, 11 Dec 2006 23:03:40 +0000 (18:03 -0500)]
metaform actually sends e-mails now. and presents thankyou message

17 years agofixed template bug where load would get confused about a section start tag if it...
Jason Woofenden [Mon, 11 Dec 2006 23:02:54 +0000 (18:02 -0500)]
fixed template bug where load would get confused about a section start tag if it was shortly after a "<!--~" that wasn't a start tag or end tag

17 years agoadded install docs
Jason Woofenden [Mon, 11 Dec 2006 21:25:07 +0000 (16:25 -0500)]
added install docs

17 years agoadded tar.php. metaform working
Jason Woofenden [Mon, 11 Dec 2006 21:12:35 +0000 (16:12 -0500)]
added tar.php. metaform working

17 years agometaform working. added some encodings and formatters.
Jason Woofenden [Sun, 10 Dec 2006 13:32:51 +0000 (08:32 -0500)]
metaform working. added some encodings and formatters.

17 years agoadded unix_newlines()
Jason Woofenden [Sun, 10 Dec 2006 10:11:28 +0000 (05:11 -0500)]
added unix_newlines()

17 years agofactored out read_whole_file into basics.php
Jason Woofenden [Sun, 10 Dec 2006 09:21:23 +0000 (04:21 -0500)]
factored out read_whole_file into basics.php

17 years agoinitial import (from revision 1199 + email.php)
Jason Woofenden [Sun, 10 Dec 2006 09:16:40 +0000 (04:16 -0500)]
initial import (from revision 1199 + email.php)