JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl.git
16 years agofixed dependancy on time.php in format_mdy_to_ymd()
jason [Sat, 19 Apr 2008 03:32:13 +0000 (23:32 -0400)]
fixed dependancy on time.php in format_mdy_to_ymd()

16 years agoadded enc_mmddyyyy() for text dates like 2008-05-22, fix name enc_ddmmyyyyhhmm()...
jason [Sat, 19 Apr 2008 03:19:13 +0000 (23:19 -0400)]
added enc_mmddyyyy() for text dates like 2008-05-22, fix name enc_ddmmyyyyhhmm() > enc_mmddyyyyhhmm()

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Fri, 11 Apr 2008 22:48:29 +0000 (18:48 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded today_ymd()
jason [Fri, 11 Apr 2008 22:48:20 +0000 (18:48 -0400)]
added today_ymd()

16 years agosession_new() returns id, fixed db_count()
jason [Fri, 11 Apr 2008 22:42:22 +0000 (18:42 -0400)]
session_new() returns id, fixed db_count()

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Wed, 27 Feb 2008 20:42:28 +0000 (15:42 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agofixed spelling
jason [Wed, 27 Feb 2008 20:42:20 +0000 (15:42 -0500)]
fixed spelling

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Wed, 13 Feb 2008 21:05:41 +0000 (16:05 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded: format_h_w_image()
jason [Wed, 13 Feb 2008 21:05:28 +0000 (16:05 -0500)]
added: format_h_w_image()

16 years agofixed bug where some template data variables were being parsed for template tags
Jason Woofenden [Wed, 9 Jan 2008 08:41:06 +0000 (03:41 -0500)]
fixed bug where some template data variables were being parsed for template tags

16 years agometaform e-mails sort multi-line fields properly
Jason Woofenden [Thu, 20 Dec 2007 07:00:51 +0000 (02:00 -0500)]
metaform e-mails sort multi-line fields properly

16 years agometaform's .htaccess specifies php settings, tinymce loads button images all together
Jason Woofenden [Thu, 20 Dec 2007 06:36:32 +0000 (01:36 -0500)]
metaform's .htaccess specifies php settings, tinymce loads button images all together

16 years agoredirect() allows ./ profix, metaform uses tinymce, not fckeditor
Jason Woofenden [Wed, 5 Dec 2007 11:09:25 +0000 (06:09 -0500)]
redirect() allows ./ profix, metaform uses tinymce, not fckeditor

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Wed, 5 Dec 2007 10:49:02 +0000 (05:49 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Wed, 5 Dec 2007 10:38:52 +0000 (05:38 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded tem_prepend(), format_email() trim()s
Jason Woofenden [Wed, 5 Dec 2007 10:38:48 +0000 (05:38 -0500)]
added tem_prepend(), format_email() trim()s

16 years agometaform: textarea is smaller, s/tem_sub/tem_show/
Jason Woofenden [Wed, 28 Nov 2007 05:24:13 +0000 (00:24 -0500)]
metaform: textarea is smaller, s/tem_sub/tem_show/

16 years agoinserted missing ; in metaform php template
Jason Woofenden [Mon, 12 Nov 2007 12:46:51 +0000 (07:46 -0500)]
inserted missing ; in metaform php template

16 years agofixed dwt_set() so you can call it multiple times with the same name
Jason Woofenden [Sun, 11 Nov 2007 11:13:07 +0000 (06:13 -0500)]
fixed dwt_set() so you can call it multiple times with the same name
cleaned up db_printf()
added dwt_prepend()
made lists of states and provinces globals
added tem_show_separated

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Mon, 22 Oct 2007 22:19:42 +0000 (18:19 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded even/odd enc type
Jason Woofenden [Mon, 22 Oct 2007 22:19:40 +0000 (18:19 -0400)]
added even/odd enc type

16 years agofixed format_options() (broken by recent pulldown changes)
Jason Woofenden [Mon, 22 Oct 2007 22:13:45 +0000 (18:13 -0400)]
fixed format_options() (broken by recent pulldown changes)

16 years agofixed enc_states() and enc_provinces (recent pulldown changes broke them)
Jason Woofenden [Thu, 18 Oct 2007 09:01:59 +0000 (05:01 -0400)]
fixed enc_states() and enc_provinces (recent pulldown changes broke them)

16 years agofixed format_int() to remove leading zeros even when the number is all zeros (eg...
Jason Woofenden [Thu, 18 Oct 2007 05:43:51 +0000 (01:43 -0400)]
fixed format_int() to remove leading zeros even when the number is all zeros (eg 00, 000, 0000, etc.)

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 18 Oct 2007 05:29:59 +0000 (01:29 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded: tem->append(). run.php supports cms. Spaces preserved in pulldown displays
Jason Woofenden [Thu, 18 Oct 2007 05:29:47 +0000 (01:29 -0400)]
added: tem->append(). run.php supports cms. Spaces preserved in pulldown displays

16 years agofixed pulldown() so you can have two elements with the same value
Jason Woofenden [Tue, 16 Oct 2007 23:05:39 +0000 (19:05 -0400)]
fixed pulldown() so you can have two elements with the same value

16 years agomade date conversion programs default to the current year (not 2000)
Jason Woofenden [Fri, 12 Oct 2007 09:35:26 +0000 (05:35 -0400)]
made date conversion programs default to the current year (not 2000)

16 years agoadded date type to metaform and template
Jason Woofenden [Fri, 12 Oct 2007 09:03:18 +0000 (05:03 -0400)]
added date type to metaform and template

16 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

16 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

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

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

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

16 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')

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

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

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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

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

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

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

16 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

16 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

16 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

16 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

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

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

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

16 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

16 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

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

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

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

16 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

16 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

16 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

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

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

16 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

16 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

16 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

16 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