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.)
Jason Woofenden [Thu, 18 Oct 2007 05:29:59 +0000 (01:29 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
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
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
Jason Woofenden [Fri, 12 Oct 2007 09:35:26 +0000 (05:35 -0400)]
made date conversion programs default to the current year (not 2000)
Jason Woofenden [Fri, 12 Oct 2007 09:03:18 +0000 (05:03 -0400)]
added date type to metaform and template
Jason Woofenden [Fri, 12 Oct 2007 06:54:47 +0000 (02:54 -0400)]
metaform's image handler fixed. metaform's *_main() factored
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
Jason Woofenden [Mon, 8 Oct 2007 20:01:43 +0000 (16:01 -0400)]
renamed tem_sub() to tem_show()
Jason Woofenden [Wed, 3 Oct 2007 22:25:11 +0000 (18:25 -0400)]
new date-mangling functions
Jason Woofenden [Tue, 2 Oct 2007 18:52:15 +0000 (14:52 -0400)]
email() takes reply-to parameter, added: db_count()
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')
Jason Woofenden [Mon, 24 Sep 2007 04:48:59 +0000 (00:48 -0400)]
refactored path_to_convert
Jason Woofenden [Mon, 24 Sep 2007 04:35:14 +0000 (00:35 -0400)]
ubuntu name for exuberant-ctags
Jason Woofenden [Mon, 24 Sep 2007 04:32:54 +0000 (00:32 -0400)]
added Makefile to examples (for tags generation)
Jason Woofenden [Mon, 24 Sep 2007 04:28:29 +0000 (00:28 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Mon, 24 Sep 2007 04:28:19 +0000 (00:28 -0400)]
updated coding conventions and fixed states pulldown
Jason Woofenden [Tue, 18 Sep 2007 03:07:41 +0000 (23:07 -0400)]
fixed merge conflicts
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
Jason Woofenden [Fri, 14 Sep 2007 05:29:12 +0000 (01:29 -0400)]
file_run now REQUIRES that the main function have _main suffix
Jason Woofenden [Fri, 14 Sep 2007 05:17:35 +0000 (01:17 -0400)]
file_run() expects _main suffix. added: enc_htmlbr enc_provinces
Jason Woofenden [Thu, 26 Jul 2007 08:23:03 +0000 (04:23 -0400)]
added examples/session.sql, metaform: added varname
Jason Woofenden [Tue, 17 Jul 2007 07:34:52 +0000 (03:34 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Tue, 17 Jul 2007 07:34:38 +0000 (03:34 -0400)]
fixed typo (produced stupid looking code that worked)
Jason Woofenden [Fri, 13 Jul 2007 17:51:01 +0000 (13:51 -0400)]
fixed typo
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
Jason Woofenden [Fri, 29 Jun 2007 04:23:08 +0000 (00:23 -0400)]
added format_int_0()
Jason Woofenden [Mon, 25 Jun 2007 18:58:31 +0000 (14:58 -0400)]
added days_to_ymd() and ymd_to_days()
Jason Woofenden [Mon, 25 Jun 2007 16:51:03 +0000 (12:51 -0400)]
added: dwt_load_str() and enc_jsdq()
Jason Woofenden [Fri, 15 Jun 2007 12:00:52 +0000 (08:00 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
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
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
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
Jason Woofenden [Thu, 14 Jun 2007 10:38:25 +0000 (06:38 -0400)]
UNTESTED: added session_messages.php (saves/restores message()s over redirects)
Jason Woofenden [Thu, 14 Jun 2007 06:37:06 +0000 (02:37 -0400)]
fixed tem::run()
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()
Jason Woofenden [Thu, 14 Jun 2007 04:29:14 +0000 (00:29 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
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
Jason Woofenden [Thu, 14 Jun 2007 04:18:32 +0000 (00:18 -0400)]
commented run.php a little
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()
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)
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
Jason Woofenden [Fri, 8 Jun 2007 09:13:31 +0000 (05:13 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Fri, 8 Jun 2007 09:13:26 +0000 (05:13 -0400)]
added optional http-auth to metaform
Jason Woofenden [Fri, 8 Jun 2007 09:09:19 +0000 (05:09 -0400)]
added fdb_delete() (UNTESTED)
Jason Woofenden [Tue, 5 Jun 2007 08:40:20 +0000 (04:40 -0400)]
fixed conflict
Jason Woofenden [Tue, 5 Jun 2007 08:19:16 +0000 (04:19 -0400)]
metaform now supports fckeditor, and email/db parts are optional
Jason Woofenden [Tue, 5 Jun 2007 08:17:10 +0000 (04:17 -0400)]
fdb 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
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
Jason Woofenden [Thu, 3 May 2007 13:37:18 +0000 (09:37 -0400)]
no dashes in filenames, improved image uploading, make_thumbnail()
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
Jason Woofenden [Thu, 3 May 2007 05:34:31 +0000 (01:34 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 3 May 2007 05:34:19 +0000 (01:34 -0400)]
run.php inserts page-specific css link into global template.html
Jason Woofenden [Thu, 3 May 2007 05:28:37 +0000 (01:28 -0400)]
Merge branch 'master' of /home/jason/dev/git/wfpl
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
Jason Woofenden [Thu, 3 May 2007 05:04:21 +0000 (01:04 -0400)]
added radios (untested)
Jason Woofenden [Tue, 17 Apr 2007 17:48:15 +0000 (13:48 -0400)]
fine tweaks to upload.php
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
Jason Woofenden [Tue, 3 Apr 2007 03:37:31 +0000 (23:37 -0400)]
fixed parse errors is session.php, added test/session_test.php
Jason Woofenden [Mon, 2 Apr 2007 23:09:50 +0000 (19:09 -0400)]
added session_unset() fixed kill_session() and session_purge_old()
Jason Woofenden [Mon, 2 Apr 2007 22:46:16 +0000 (18:46 -0400)]
db_connect.php can now be in code/
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()
Jason Woofenden [Thu, 1 Mar 2007 10:04:52 +0000 (05:04 -0500)]
fixed metaform url bug
Jason Woofenden [Thu, 1 Mar 2007 10:02:47 +0000 (05:02 -0500)]
fixed session_get() and session_set() and metaform url (all untested)
Jason Woofenden [Thu, 1 Mar 2007 09:46:28 +0000 (04:46 -0500)]
updated metaform for new db.php and messages.php
Jason Woofenden [Thu, 1 Mar 2007 06:00:50 +0000 (01:00 -0500)]
added enc_url_val() UNTESTED
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
Jason Woofenden [Thu, 22 Feb 2007 06:51:44 +0000 (01:51 -0500)]
added format_varname() and format_filename()
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
Jason Woofenden [Mon, 12 Feb 2007 21:13:42 +0000 (16:13 -0500)]
changed licence to lgpl, metaform includes wfpl in tarbal
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
Jason Woofenden [Sat, 20 Jan 2007 09:02:43 +0000 (04:02 -0500)]
added TODO
Jason Woofenden [Sat, 20 Jan 2007 08:59:41 +0000 (03:59 -0500)]
added image support to metaform and fixed upload.php
Jason Woofenden [Fri, 19 Jan 2007 22:28:43 +0000 (17:28 -0500)]
wrote upload handler (untested
Jason Woofenden [Thu, 18 Jan 2007 14:39:57 +0000 (09:39 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Thu, 18 Jan 2007 14:39:45 +0000 (09:39 -0500)]
this_month() doesn't return with a leading zero
Jason Woofenden [Sun, 31 Dec 2006 21:41:22 +0000 (16:41 -0500)]
metaform: tested and fixed. fixed sql for checkboxes
Jason Woofenden [Sun, 31 Dec 2006 20:15:55 +0000 (15:15 -0500)]
added enc_tab(), fixed metaform php template so it looks right
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
Jason Woofenden [Sun, 31 Dec 2006 10:10:11 +0000 (05:10 -0500)]
Merge branch 'master' of /home/jason/dev/git/wfpl
Jason Woofenden [Sun, 31 Dec 2006 10:10:02 +0000 (05:10 -0500)]
deleted run_file.php (copy of file_run.php)
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
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
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
Jason Woofenden [Sat, 30 Dec 2006 09:33:34 +0000 (04:33 -0500)]
added 404 example files for run.php
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
Jason Woofenden [Sat, 30 Dec 2006 07:32:07 +0000 (02:32 -0500)]
found out RewriteBase is redundant
Jason Woofenden [Fri, 29 Dec 2006 08:47:38 +0000 (03:47 -0500)]
format_int() removes leading zeros
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
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
Jason Woofenden [Thu, 28 Dec 2006 03:38:11 +0000 (22:38 -0500)]
comments
Jason Woofenden [Tue, 26 Dec 2006 21:12:16 +0000 (16:12 -0500)]
added db_insert
Jason Woofenden [Mon, 25 Dec 2006 07:16:10 +0000 (02:16 -0500)]
added db.php
Jason Woofenden [Mon, 25 Dec 2006 07:15:57 +0000 (02:15 -0500)]
added enc_sql()
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
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
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
Jason Woofenden [Fri, 22 Dec 2006 03:06:00 +0000 (22:06 -0500)]
added calendar.php
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