JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl.git
18 years agometaform's image handler fixed. metaform's *_main() factored
Jason Woofenden [Fri, 12 Oct 2007 06:54:47 +0000 (02:54 -0400)]
metaform's image handler fixed. metaform's *_main() factored

18 years agofixed metaform's image support to always use the hidden fields with the old image...
Jason Woofenden [Fri, 12 Oct 2007 06:46:19 +0000 (02:46 -0400)]
fixed metaform's image support to always use the hidden fields with the old image name

18 years agorenamed tem_sub() to tem_show()
Jason Woofenden [Mon, 8 Oct 2007 20:01:43 +0000 (16:01 -0400)]
renamed tem_sub() to tem_show()

18 years agonew date-mangling functions
Jason Woofenden [Wed, 3 Oct 2007 22:25:11 +0000 (18:25 -0400)]
new date-mangling functions

18 years agoemail() takes reply-to parameter, added: db_count()
Jason Woofenden [Tue, 2 Oct 2007 18:52:15 +0000 (14:52 -0400)]
email() takes reply-to parameter, added: db_count()

18 years agofixed make_thumbnail() and image support in metaform. added image_dimensions(), refac...
Jason Woofenden [Mon, 24 Sep 2007 14:41:20 +0000 (10:41 -0400)]
fixed make_thumbnail() and image support in metaform. added image_dimensions(), refactored path_to_convert() into general path_to('whatever')

18 years agorefactored path_to_convert
Jason Woofenden [Mon, 24 Sep 2007 04:48:59 +0000 (00:48 -0400)]
refactored path_to_convert

18 years agoubuntu name for exuberant-ctags
Jason Woofenden [Mon, 24 Sep 2007 04:35:14 +0000 (00:35 -0400)]
ubuntu name for exuberant-ctags

18 years agoadded Makefile to examples (for tags generation)
Jason Woofenden [Mon, 24 Sep 2007 04:32:54 +0000 (00:32 -0400)]
added Makefile to examples (for tags generation)

18 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Mon, 24 Sep 2007 04:28:29 +0000 (00:28 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

18 years agoupdated coding conventions and fixed states pulldown
Jason Woofenden [Mon, 24 Sep 2007 04:28:19 +0000 (00:28 -0400)]
updated coding conventions and fixed states pulldown

18 years agofixed merge conflicts
Jason Woofenden [Tue, 18 Sep 2007 03:07:41 +0000 (23:07 -0400)]
fixed merge conflicts

18 years agofixed file_run to use _main postfix, added enc_url_path(), enc_ddmmyyyhhmm(), allowed...
Jason Woofenden [Tue, 18 Sep 2007 03:05:30 +0000 (23:05 -0400)]
fixed file_run to use _main postfix, added enc_url_path(), enc_ddmmyyyhhmm(), allowed : in subjects

18 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

18 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

18 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

18 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

18 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)

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

18 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

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

18 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()

18 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()

18 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

18 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

18 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

18 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

18 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)

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

18 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()

18 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

18 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

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

18 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()

18 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)

18 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

18 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

18 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

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

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

18 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

18 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

18 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

18 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

18 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()

18 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

18 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

18 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

18 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

18 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

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

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

18 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

18 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

18 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()

18 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/

18 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()

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

18 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)

18 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

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

18 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

18 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()

18 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

18 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

18 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

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

18 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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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)

18 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

18 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

18 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

18 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

18 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

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

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

18 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

18 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

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

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

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

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

18 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

18 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

18 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

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

18 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

18 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

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

18 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

18 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()

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

19 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