JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl.git
15 years agometaform: allow spaces in display names (singular and plural)
Jason Woofenden [Sat, 20 Jun 2009 23:48:49 +0000 (19:48 -0400)]
metaform: allow spaces in display names (singular and plural)

15 years agometaform: fixed bug with listing but no display page (some links got an extra _edit...
Jason Woofenden [Sun, 14 Jun 2009 16:38:06 +0000 (12:38 -0400)]
metaform: fixed bug with listing but no display page (some links got an extra _edit in them)

15 years agoadded new_readable_password()
Jason Woofenden [Wed, 3 Jun 2009 05:00:35 +0000 (01:00 -0400)]
added new_readable_password()

15 years agocleaned up README a little
Jason Woofenden [Tue, 2 Jun 2009 15:15:39 +0000 (11:15 -0400)]
cleaned up README a little

15 years agoadded enc_s()
Jason Woofenden [Tue, 2 Jun 2009 11:19:12 +0000 (07:19 -0400)]
added enc_s()

15 years agometaform: in generated php file: template sub-section html-editor so it propogates...
Jason Woofenden [Fri, 29 May 2009 09:09:59 +0000 (05:09 -0400)]
metaform: in generated php file: template sub-section html-editor so it propogates to template.html and only displays when the form does

15 years agofix run.php for case where [basename].php and template.html exist, but not [basename...
Jason Woofenden [Thu, 28 May 2009 10:27:07 +0000 (06:27 -0400)]
fix run.php for case where [basename].php and template.html exist, but not [basename].html

15 years agorevamped uploaded image handling, added thumbnailing support to metaform
Jason Woofenden [Thu, 28 May 2009 10:25:22 +0000 (06:25 -0400)]
revamped uploaded image handling, added thumbnailing support to metaform

15 years agofixed metaform so the variables in the generated html template for the listing are...
Jason Woofenden [Tue, 5 May 2009 16:59:39 +0000 (12:59 -0400)]
fixed metaform so the variables in the generated html template for the listing are encoded properly

15 years agorun.php sets GLOBALS[basename] and handles 404 better
Jason Woofenden [Wed, 6 May 2009 18:17:19 +0000 (14:17 -0400)]
run.php sets GLOBALS[basename] and handles 404 better

15 years agoallowed file name and table name and pretty-print plural to differ
Jason Woofenden [Mon, 4 May 2009 07:13:06 +0000 (03:13 -0400)]
allowed file name and table name and pretty-print plural to differ

15 years agoAPI CHANGE for cms integration. Instead of calling cms_get() which should return...
Jason Woofenden [Fri, 10 Apr 2009 05:12:54 +0000 (01:12 -0400)]
API CHANGE for cms integration. Instead of calling cms_get() which should return a hash, we create the template from template.html and pass that to cms_display()

15 years agoCONFLICT WARNING: added: logged_in() and logged_in_as_admin()
Jason Woofenden [Thu, 19 Mar 2009 08:22:08 +0000 (04:22 -0400)]
CONFLICT WARNING: added: logged_in() and logged_in_as_admin()

15 years agoMerge branch 'master' of git@github.com:JasonWoof/wfpl
Jason Woofenden [Thu, 12 Mar 2009 01:25:36 +0000 (21:25 -0400)]
Merge branch 'master' of git@github.com:JasonWoof/wfpl

15 years agoadded http_cache_forever()
Jason Woofenden [Thu, 12 Mar 2009 01:25:21 +0000 (21:25 -0400)]
added http_cache_forever()

15 years agometaform: fixed typo (display of date format hint was wrong)
Jason Woofenden [Fri, 13 Feb 2009 20:07:53 +0000 (15:07 -0500)]
metaform: fixed typo (display of date format hint was wrong)

15 years agometaform: added pretty-printing for checkboxes and dates to listing
Jason Woofenden [Fri, 13 Feb 2009 04:00:33 +0000 (23:00 -0500)]
metaform: added pretty-printing for checkboxes and dates to listing

15 years agometaform: default listing page now contains all non-huge failds
Jason Woofenden [Fri, 13 Feb 2009 03:13:20 +0000 (22:13 -0500)]
metaform: default listing page now contains all non-huge failds

15 years agometaform: added nice allignment to display page, added proper formatting for checkbox...
Jason Woofenden [Thu, 12 Feb 2009 21:19:32 +0000 (16:19 -0500)]
metaform: added nice allignment to display page, added proper formatting for checkboxes and dates
added hidden div to make html template pass w3c xhtml 1.0 strict validator

15 years agowhen metaform's default php checks if the form is submitted, it checks for a value...
Jason Woofenden [Wed, 11 Feb 2009 21:15:52 +0000 (16:15 -0500)]
when metaform's default php checks if the form is submitted, it checks for a value in $_POST[] so you can pass values on the URL without triggering it

15 years agoadded code for 12 hour time formatting. Moved enc_mdy and format_ymd out of time.php
Jason Woofenden [Fri, 6 Feb 2009 20:39:02 +0000 (15:39 -0500)]
added code for 12 hour time formatting. Moved enc_mdy and format_ymd out of time.php

15 years agoenc_hhmm leaves a blank blank. remove extra whitespace from metaform templates
Jason Woofenden [Thu, 15 Jan 2009 02:50:19 +0000 (21:50 -0500)]
enc_hhmm leaves a blank blank. remove extra whitespace from metaform templates

15 years agoadded functions to edit hours in hh:mm and save them in decimal
Jason Woofenden [Thu, 15 Jan 2009 02:25:26 +0000 (21:25 -0500)]
added functions to edit hours in hh:mm and save them in decimal

15 years agoformat_decimal() improved (but not tested much). It now strips zeros from the end...
Jason Woofenden [Tue, 30 Dec 2008 06:10:44 +0000 (01:10 -0500)]
format_decimal() improved (but not tested much). It now strips zeros from the end after the decimal point, and always returns zero as 0 (never 0.0)

15 years agofixed enc_mmddyyyy() so it leaves a blank blank
Jason Woofenden [Tue, 30 Dec 2008 04:52:21 +0000 (23:52 -0500)]
fixed enc_mmddyyyy() so it leaves a blank blank

15 years agometaform's 'date' type uses correct snippet from html template
Jason Woofenden [Tue, 30 Dec 2008 04:50:23 +0000 (23:50 -0500)]
metaform's 'date' type uses correct snippet from html template

15 years agofixed broken <?php
Jason Woofenden [Thu, 11 Dec 2008 00:17:23 +0000 (19:17 -0500)]
fixed broken <?php

15 years agometaform lists types in alphabetical order
Jason Woofenden [Wed, 10 Dec 2008 21:58:42 +0000 (16:58 -0500)]
metaform lists types in alphabetical order

15 years agoadded "singular" field, so metaform can generate better messages, links and headers
Jason Woofenden [Tue, 9 Dec 2008 19:11:18 +0000 (14:11 -0500)]
added "singular" field, so metaform can generate better messages, links and headers

15 years agoadded: enc_cap(), enc_htmlbrtab()
Jason Woofenden [Tue, 9 Dec 2008 19:05:40 +0000 (14:05 -0500)]
added: enc_cap(), enc_htmlbrtab()

15 years agoSwitched to clean urls (no .html at the end)
Jason Woofenden [Mon, 8 Dec 2008 19:37:11 +0000 (14:37 -0500)]
Switched to clean urls (no .html at the end)

15 years agometaform redirects after successful submit. metaform can make a display page
Jason Woofenden [Mon, 8 Dec 2008 19:25:32 +0000 (14:25 -0500)]
metaform redirects after successful submit. metaform can make a display page

15 years agoMerge branch 'master' of git@github.com:JasonWoof/wfpl
Jason Woofenden [Wed, 3 Dec 2008 05:43:32 +0000 (00:43 -0500)]
Merge branch 'master' of git@github.com:JasonWoof/wfpl

15 years agorefactored date-mangling stuff a bit
Jason Woofenden [Wed, 3 Dec 2008 05:43:25 +0000 (00:43 -0500)]
refactored date-mangling stuff a bit

15 years agoupdated docs
Jason Woofenden [Fri, 21 Nov 2008 04:00:51 +0000 (23:00 -0500)]
updated docs

15 years agostopped including a copy of wfpl in metaform tarballs
Jason Woofenden [Fri, 21 Nov 2008 03:49:15 +0000 (22:49 -0500)]
stopped including a copy of wfpl in metaform tarballs

15 years agoMerge branch 'master' of git@github.com:JasonWoof/wfpl
Jason Woofenden [Fri, 21 Nov 2008 02:51:33 +0000 (21:51 -0500)]
Merge branch 'master' of git@github.com:JasonWoof/wfpl

15 years agoFixed format_decimal() to support negative numbers
Jason Woofenden [Fri, 21 Nov 2008 02:50:35 +0000 (21:50 -0500)]
Fixed format_decimal() to support negative numbers

15 years agoStraightened out checkbox in metaform so it defaults to caption on the right with...
Jason Woofenden [Fri, 21 Nov 2008 02:41:27 +0000 (21:41 -0500)]
Straightened out checkbox in metaform so it defaults to caption on the right with int storage. All combinations (of left/right and 01/yesno) now possible

15 years agoMerge git@github.com:JasonWoof/wfpl
Jason Woofenden [Mon, 17 Nov 2008 10:01:27 +0000 (05:01 -0500)]
Merge git@github.com:JasonWoof/wfpl

15 years agoformat_url() now adds http:// if there's no :
Jason Woofenden [Mon, 17 Nov 2008 10:00:39 +0000 (05:00 -0500)]
format_url() now adds http:// if there's no :

15 years agore-licensed under GPLv3
Jason Woofenden [Mon, 17 Nov 2008 09:45:48 +0000 (04:45 -0500)]
re-licensed under GPLv3

15 years agometaform: fixed SQL for decimal and other weird numeric types
Jason Woofenden [Thu, 13 Nov 2008 13:29:11 +0000 (08:29 -0500)]
metaform: fixed SQL for decimal and other weird numeric types

16 years agometaform's html type supports image uploads by default
Jason [Wed, 15 Oct 2008 08:55:03 +0000 (04:55 -0400)]
metaform's html type supports image uploads by default
cms_get() can return a redirect string just like xxx_main()
refactored run.php's redirect handling

16 years agofixed format_bool() to actually format as bool
Jason [Mon, 15 Sep 2008 21:49:03 +0000 (17:49 -0400)]
fixed format_bool() to actually format as bool

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason [Mon, 15 Sep 2008 21:45:31 +0000 (17:45 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agofixed enc_checked to work with new int-based checkbox
Jason [Mon, 15 Sep 2008 21:45:26 +0000 (17:45 -0400)]
fixed enc_checked to work with new int-based checkbox

16 years agochanged metaform's checkbox to use 0/1 in php and mysql
Jason [Mon, 15 Sep 2008 21:44:54 +0000 (17:44 -0400)]
changed metaform's checkbox to use 0/1 in php and mysql

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
Jason [Thu, 24 Jul 2008 22:28:59 +0000 (18:28 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agometaform calls email() correctly, and uses reply_to field
Jason [Thu, 24 Jul 2008 22:28:50 +0000 (18:28 -0400)]
metaform calls email() correctly, and uses reply_to field

16 years agorun.php tem_set('basename') in template.html
Jason [Fri, 4 Jul 2008 02:38:35 +0000 (22:38 -0400)]
run.php tem_set('basename') in template.html

16 years agodisabled submit buttons in preview
Jason [Fri, 27 Jun 2008 19:29:28 +0000 (15:29 -0400)]
disabled submit buttons in preview

16 years agofixed this_url() for https
Jason [Thu, 5 Jun 2008 20:04:53 +0000 (16:04 -0400)]
fixed this_url() for https

16 years agofixed exec_pipe() but it doesn't give you stderr anymore
jason [Thu, 29 May 2008 08:42:12 +0000 (04:42 -0400)]
fixed exec_pipe() but it doesn't give you stderr anymore

16 years agowrote exec thingie, but it doesn't work
jason [Thu, 29 May 2008 08:03:47 +0000 (04:03 -0400)]
wrote exec thingie, but it doesn't work

16 years agometaform sets main_body for site-wide template integration, and defaults to 'empty...
jason [Thu, 29 May 2008 03:57:25 +0000 (23:57 -0400)]
metaform sets main_body for site-wide template integration, and defaults to 'empty listing' message

16 years agoadded progress-bar uploader.php
jason [Wed, 28 May 2008 23:01:23 +0000 (19:01 -0400)]
added progress-bar uploader.php

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Wed, 21 May 2008 21:21:04 +0000 (17:21 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Wed, 21 May 2008 21:19:05 +0000 (17:19 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agoadded dwt_get(), messages only display once
jason [Wed, 21 May 2008 21:19:02 +0000 (17:19 -0400)]
added dwt_get(), messages only display once

16 years agomessages should only be displayed once
jason [Tue, 20 May 2008 23:58:04 +0000 (19:58 -0400)]
messages should only be displayed once

16 years agoMerge branch 'master' of /home/jason/dev/git/wfpl
jason [Wed, 30 Apr 2008 17:59:52 +0000 (13:59 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agofinally fixed URL in .htaccess file, removed extra comments from metaform's php
jason [Wed, 30 Apr 2008 17:59:42 +0000 (13:59 -0400)]
finally fixed URL in .htaccess file, removed extra comments from metaform's php

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 [Wed, 16 Apr 2008 22:24:38 +0000 (18:24 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl

16 years agofactored out to/from _raw() to binary.php fixed .htaccess for metaform
jason [Wed, 16 Apr 2008 22:24:34 +0000 (18:24 -0400)]
factored out to/from _raw() to binary.php fixed .htaccess for metaform

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

17 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

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

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

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

17 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.)

17 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

17 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

17 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

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

17 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

17 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

17 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

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

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

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

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