JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
wfpl.git
9 years agoclean up my urls
Jason Woofenden [Tue, 3 Mar 2015 03:42:10 +0000 (22:42 -0500)]
clean up my urls

9 years agofix metaform (docs in tarbal)
Jason Woofenden [Tue, 3 Mar 2015 03:23:44 +0000 (22:23 -0500)]
fix metaform (docs in tarbal)

9 years agotweak mod_rewrite rule
Jason Woofenden [Tue, 3 Mar 2015 02:35:12 +0000 (21:35 -0500)]
tweak mod_rewrite rule

9 years agoclean up include paths and docs
Jason Woofenden [Tue, 3 Mar 2015 02:14:49 +0000 (21:14 -0500)]
clean up include paths and docs

9 years agoAPI CHANGE s/run_php/wfpl_main/
Jason Woofenden [Tue, 3 Mar 2015 00:03:35 +0000 (19:03 -0500)]
API CHANGE s/run_php/wfpl_main/

9 years agometaform: only require_once(email.php) if needed
Jason Woofenden [Wed, 18 Feb 2015 20:11:02 +0000 (15:11 -0500)]
metaform: only require_once(email.php) if needed

9 years agofix require_once() paths
Jason Woofenden [Mon, 16 Feb 2015 19:17:10 +0000 (14:17 -0500)]
fix require_once() paths

9 years agoMerge remote-tracking branch 'origin/master'
Jason Woofenden [Fri, 6 Feb 2015 15:58:45 +0000 (10:58 -0500)]
Merge remote-tracking branch 'origin/master'

9 years agoformat_varname prepends _ instead of deleting numeric prefix, add format_slug
Jason Woofenden [Fri, 6 Feb 2015 15:57:50 +0000 (10:57 -0500)]
format_varname prepends _ instead of deleting numeric prefix, add format_slug

9 years agometaform: make path in run.php jumpable
Jason Woofenden [Fri, 23 Jan 2015 18:14:28 +0000 (13:14 -0500)]
metaform: make path in run.php jumpable

9 years agometaform css: fix bolding of first caption
Jason Woofenden [Mon, 12 Jan 2015 17:02:49 +0000 (12:02 -0500)]
metaform css: fix bolding of first caption

9 years agometaform: fix download_tar() (stylus not less)
Jason Woofenden [Fri, 9 Jan 2015 02:20:25 +0000 (21:20 -0500)]
metaform: fix download_tar() (stylus not less)

9 years agometaform: fix state and province pulldowns
Jason Woofenden [Thu, 8 Jan 2015 21:39:14 +0000 (16:39 -0500)]
metaform: fix state and province pulldowns

9 years agostylus: add h-offset to sprites macros
Jason Woofenden [Tue, 6 Jan 2015 01:09:21 +0000 (20:09 -0500)]
stylus: add h-offset to sprites macros

9 years agostylus-helpers: don't set background color on sprites
Jason Woofenden [Fri, 2 Jan 2015 20:44:14 +0000 (15:44 -0500)]
stylus-helpers: don't set background color on sprites

9 years agometaform: newline at end of run.php
Jason Woofenden [Fri, 2 Jan 2015 16:25:48 +0000 (11:25 -0500)]
metaform: newline at end of run.php

9 years agometaform: use stylus instead of less
Jason Woofenden [Thu, 18 Dec 2014 23:56:07 +0000 (18:56 -0500)]
metaform: use stylus instead of less

9 years agorelative rewriterule not supported in some versions of apache
Jason Woofenden [Thu, 18 Dec 2014 20:17:51 +0000 (15:17 -0500)]
relative rewriterule not supported in some versions of apache

9 years agometaform: make run.php include (instead of being a symlink)
Jason Woofenden [Thu, 18 Dec 2014 20:17:05 +0000 (15:17 -0500)]
metaform: make run.php include (instead of being a symlink)

9 years agostylus: sprites 0-based, add placeholder,noselect
Jason Woofenden [Thu, 4 Dec 2014 14:31:30 +0000 (09:31 -0500)]
stylus: sprites 0-based, add placeholder,noselect

9 years agostylus: expand on sprites macros
Jason Woofenden [Thu, 13 Nov 2014 23:19:17 +0000 (18:19 -0500)]
stylus: expand on sprites macros

9 years agostylus-helpers: fix space-evenly, add dimensions
Jason Woofenden [Thu, 13 Nov 2014 16:47:05 +0000 (11:47 -0500)]
stylus-helpers: fix space-evenly, add dimensions

9 years agometaform: spaces between "if" and "(" in generated code
Jason Woofenden [Tue, 28 Oct 2014 15:28:05 +0000 (11:28 -0400)]
metaform: spaces between "if" and "(" in generated code

9 years agostylus-helpers: add transparent vendor expansion for user-select
Jason Woofenden [Fri, 17 Oct 2014 14:59:54 +0000 (10:59 -0400)]
stylus-helpers: add transparent vendor expansion for user-select

9 years agostylus: more vendor upgrades, cleanup
Jason Woofenden [Wed, 15 Oct 2014 22:54:51 +0000 (18:54 -0400)]
stylus: more vendor upgrades, cleanup

9 years agoadd stylus-helpers.styl
Jason Woofenden [Wed, 15 Oct 2014 21:56:31 +0000 (17:56 -0400)]
add stylus-helpers.styl

9 years agoenc_htmlbrtab: convert tabs too (not just spaces)
Jason Woofenden [Fri, 5 Sep 2014 16:03:46 +0000 (12:03 -0400)]
enc_htmlbrtab: convert tabs too (not just spaces)

9 years agomake string_array utf8-compatible
Jason Woofenden [Thu, 4 Sep 2014 20:51:36 +0000 (16:51 -0400)]
make string_array utf8-compatible

9 years agodb: use utf8 for client encoding, use real_escape
Jason Woofenden [Thu, 14 Aug 2014 19:38:03 +0000 (15:38 -0400)]
db: use utf8 for client encoding, use real_escape

9 years ago.htaccess works without knowing URL's pathname
Jason Woofenden [Wed, 13 Aug 2014 22:22:54 +0000 (18:22 -0400)]
.htaccess works without knowing URL's pathname

9 years agometaform: set utf8 charset in .sql files
Jason Woofenden [Tue, 12 Aug 2014 02:04:09 +0000 (22:04 -0400)]
metaform: set utf8 charset in .sql files

9 years agometaform: enter captions and optionally field names
Jason Woofenden [Mon, 11 Aug 2014 17:20:54 +0000 (13:20 -0400)]
metaform: enter captions and optionally field names

9 years agoformat_caption/format_varname: split words on camelCase
Jason Woofenden [Mon, 11 Aug 2014 15:46:17 +0000 (11:46 -0400)]
format_caption/format_varname: split words on camelCase

9 years agometaform: remove buggy unused code from fields parser
Jason Woofenden [Mon, 11 Aug 2014 15:06:55 +0000 (11:06 -0400)]
metaform: remove buggy unused code from fields parser

9 years agoallow / in email subjects and names
Jason Woofenden [Thu, 19 Jun 2014 19:16:06 +0000 (15:16 -0400)]
allow / in email subjects and names

9 years agoadd enc_mtime
Jason Woofenden [Mon, 9 Jun 2014 05:20:18 +0000 (01:20 -0400)]
add enc_mtime

10 years agofix require_once paths
Jason Woofenden [Sun, 26 Jan 2014 06:34:06 +0000 (01:34 -0500)]
fix require_once paths

10 years agometaform: remove obsolete/redundant attributes
Jason Woofenden [Sat, 23 Nov 2013 13:59:33 +0000 (08:59 -0500)]
metaform: remove obsolete/redundant attributes

10 years agoadd namespacify.sh
Jason Woofenden [Thu, 10 Oct 2013 13:01:10 +0000 (09:01 -0400)]
add namespacify.sh

This script packs most of wfpl into a single file that works inside the wfpl
namespace. Optionally hacks db_*() functions to use the wordpress database.

10 years agoallow + in email addresses
Jason Woofenden [Tue, 8 Oct 2013 11:14:36 +0000 (07:14 -0400)]
allow + in email addresses

10 years agoset path on session cookie
Jason Woofenden [Fri, 27 Sep 2013 03:26:09 +0000 (23:26 -0400)]
set path on session cookie

10 years agos/e-mail/email/ (the way of the future man)
Jason Woofenden [Wed, 18 Sep 2013 21:43:14 +0000 (17:43 -0400)]
s/e-mail/email/ (the way of the future man)

10 years agoremove unset variable (just code cleanup)
Jason Woofenden [Sun, 1 Sep 2013 03:17:09 +0000 (23:17 -0400)]
remove unset variable (just code cleanup)

10 years agofix section end tag in template docs/example
Jason Woofenden [Fri, 23 Aug 2013 04:40:32 +0000 (00:40 -0400)]
fix section end tag in template docs/example

10 years agoUSE sRGB COLORSPACE WITH IMAGEMAGIC
Jason Woofenden [Thu, 22 Aug 2013 00:02:25 +0000 (20:02 -0400)]
USE sRGB COLORSPACE WITH IMAGEMAGIC

10 years agometaform: fix decimal's sql data type
Jason Woofenden [Sun, 30 Jun 2013 07:22:29 +0000 (03:22 -0400)]
metaform: fix decimal's sql data type

11 years agometaform: fix non-password-protected listing and display
Jason Woofenden [Fri, 1 Mar 2013 01:35:05 +0000 (20:35 -0500)]
metaform: fix non-password-protected listing and display

11 years agomake enc_mmddyyyyhhmm be able to take a string
Jason Woofenden [Wed, 16 Jan 2013 08:45:54 +0000 (03:45 -0500)]
make enc_mmddyyyyhhmm be able to take a string

11 years agometaform: remove some very outdated docs
Jason Woofenden [Sat, 5 Jan 2013 10:00:04 +0000 (05:00 -0500)]
metaform: remove some very outdated docs

11 years agofix comment about return value of logged_in_as_admin()
Jason Woofenden [Sat, 5 Jan 2013 07:42:36 +0000 (02:42 -0500)]
fix comment about return value of logged_in_as_admin()

11 years agometaform: put each listing th on its own line
Jason Woofenden [Thu, 13 Dec 2012 07:47:20 +0000 (02:47 -0500)]
metaform: put each listing th on its own line

11 years agoemail(): explicit text/plain;charset=UTF-8
Jason Woofenden [Tue, 25 Sep 2012 12:44:54 +0000 (08:44 -0400)]
email(): explicit text/plain;charset=UTF-8

11 years agometaform: fix form action with opt_public_form
Jason Woofenden [Wed, 12 Sep 2012 15:57:23 +0000 (11:57 -0400)]
metaform: fix form action with opt_public_form

11 years agometaform: fix csv download header row
Jason Woofenden [Tue, 28 Aug 2012 13:56:26 +0000 (09:56 -0400)]
metaform: fix csv download header row

11 years agometaform: add csv download link to listings
Jason Woofenden [Tue, 28 Aug 2012 09:34:31 +0000 (05:34 -0400)]
metaform: add csv download link to listings

11 years agolistings sort when you click headers
Jason Woofenden [Tue, 28 Aug 2012 07:00:34 +0000 (03:00 -0400)]
listings sort when you click headers

11 years agocsv download: use comma, not tab as separator
Jason Woofenden [Tue, 28 Aug 2012 05:59:38 +0000 (01:59 -0400)]
csv download: use comma, not tab as separator

11 years agowork with .htm suffix
Jason Woofenden [Sun, 15 Jul 2012 20:21:32 +0000 (16:21 -0400)]
work with .htm suffix

11 years agomake format_decimal always omit the ".0" suffix
Jason Woofenden [Sat, 30 Jun 2012 06:24:49 +0000 (02:24 -0400)]
make format_decimal always omit the ".0" suffix

11 years agomake template's upload_max_filesize global
Jason Woofenden [Fri, 29 Jun 2012 17:59:36 +0000 (13:59 -0400)]
make template's upload_max_filesize global

11 years agometaform: update instructive comments
Jason Woofenden [Fri, 29 Jun 2012 17:58:47 +0000 (13:58 -0400)]
metaform: update instructive comments

11 years agometaform: make generated databases case sensitive
Jason Woofenden [Fri, 29 Jun 2012 17:45:18 +0000 (13:45 -0400)]
metaform: make generated databases case sensitive

12 years agoadded enc_lowercase
Jason Woofenden [Thu, 12 Apr 2012 02:02:52 +0000 (22:02 -0400)]
added enc_lowercase

12 years agocsv: add version that takes assocs
Jason Woofenden [Wed, 11 Apr 2012 20:07:17 +0000 (16:07 -0400)]
csv: add version that takes assocs

12 years agotemplate: pass additional args to tem_auto_*
Jason Woofenden [Mon, 9 Apr 2012 20:42:03 +0000 (16:42 -0400)]
template: pass additional args to tem_auto_*

12 years agodb_reposition: add $where arg so you can reposition a subset
Jason Woofenden [Thu, 5 Apr 2012 03:47:17 +0000 (23:47 -0400)]
db_reposition: add $where arg so you can reposition a subset

12 years agoraise limit on listings 100 -> 1000
Jason Woofenden [Tue, 7 Feb 2012 16:39:56 +0000 (11:39 -0500)]
raise limit on listings 100 -> 1000

12 years agocsv: no trailing \t, no newlines within
Jason Woofenden [Sun, 5 Feb 2012 00:06:00 +0000 (19:06 -0500)]
csv: no trailing \t, no newlines within

12 years agoadd csv.php (makes excell CSVs)
Jason Woofenden [Wed, 25 Jan 2012 02:22:51 +0000 (21:22 -0500)]
add csv.php (makes excell CSVs)

12 years agoAPI CHANGE: set $runnig_locally yourself
Jason Woofenden [Tue, 24 Jan 2012 16:44:34 +0000 (11:44 -0500)]
API CHANGE: set $runnig_locally yourself

12 years agometaform: shrink space above submit buttons
Jason Woofenden [Fri, 18 Nov 2011 10:33:16 +0000 (05:33 -0500)]
metaform: shrink space above submit buttons

12 years agoformat_yesno/bool: check for more falsey strings
Jason Woofenden [Fri, 7 Oct 2011 05:24:59 +0000 (01:24 -0400)]
format_yesno/bool: check for more falsey strings

12 years agoadd: atexit.php
Jason Woofenden [Wed, 5 Oct 2011 02:59:53 +0000 (22:59 -0400)]
add: atexit.php

12 years agowhitespace cleanup
Jason Woofenden [Wed, 28 Sep 2011 19:11:35 +0000 (15:11 -0400)]
whitespace cleanup

12 years agometaform: improve wysiwyg html editor instructions
Jason Woofenden [Tue, 20 Sep 2011 03:48:04 +0000 (23:48 -0400)]
metaform: improve wysiwyg html editor instructions

12 years agometaform: improve wysiwyg html editor toolbars
Jason Woofenden [Tue, 20 Sep 2011 03:37:25 +0000 (23:37 -0400)]
metaform: improve wysiwyg html editor toolbars

12 years agometaform: simplify code (form msg, cancel dest)
Jason Woofenden [Tue, 20 Sep 2011 02:57:39 +0000 (22:57 -0400)]
metaform: simplify code (form msg, cancel dest)

12 years agoAPI CHANGE: change template varnames for messages
Jason Woofenden [Mon, 19 Sep 2011 18:40:39 +0000 (14:40 -0400)]
API CHANGE: change template varnames for messages

12 years agoJosh's fix for tem_set(array(1,2,3))
Jason Woofenden [Sun, 28 Aug 2011 21:34:15 +0000 (17:34 -0400)]
Josh's fix for tem_set(array(1,2,3))

12 years agoremove TODO
Jason Woofenden [Mon, 19 Sep 2011 17:16:17 +0000 (13:16 -0400)]
remove TODO

12 years agometaform: remove wrong id attribute from wysiwyg fields
Jason Woofenden [Mon, 19 Sep 2011 15:53:48 +0000 (11:53 -0400)]
metaform: remove wrong id attribute from wysiwyg fields

12 years agometaform: make html5 work in ie6-8 and locally
Jason Woofenden [Mon, 19 Sep 2011 05:38:43 +0000 (01:38 -0400)]
metaform: make html5 work in ie6-8 and locally

12 years agometaform: avoid css name conflicts
Jason Woofenden [Mon, 19 Sep 2011 05:27:07 +0000 (01:27 -0400)]
metaform: avoid css name conflicts

12 years agometaform: fixed default layout css
Jason Woofenden [Mon, 19 Sep 2011 05:18:25 +0000 (01:18 -0400)]
metaform: fixed default layout css

12 years agouse local less.js when running locally
Jason Woofenden [Mon, 19 Sep 2011 04:54:55 +0000 (00:54 -0400)]
use local less.js when running locally

run.php now tem_set()s $running_locally if the host name ends with ".l" or is
an is an ipv4 adress.

12 years agometaform: add missing lang="en"
Jason Woofenden [Sat, 17 Sep 2011 17:38:32 +0000 (13:38 -0400)]
metaform: add missing lang="en"

12 years agometaform: fix auto-generation of Reply-To email header
Jason Woofenden [Sat, 17 Sep 2011 16:48:16 +0000 (12:48 -0400)]
metaform: fix auto-generation of Reply-To email header

12 years agometaform: new names for standard template sections
Jason Woofenden [Fri, 16 Sep 2011 22:35:05 +0000 (18:35 -0400)]
metaform: new names for standard template sections

The new convention is to use the `$` prefix for sections perhaps variables that
are global to the document/article. This way you needn't worry about naming
conflicts (so long as your other data doesn't start with `$`.

Specificially, these were changed:

main_title -> $title
extra_headers -> $head
main_body -> $body

12 years agoadd: enc_linkify() (add <a> tags to urls in text)
Jason Woofenden [Wed, 7 Sep 2011 17:19:14 +0000 (13:19 -0400)]
add: enc_linkify() (add <a> tags to urls in text)

12 years agodb: added %f for floats in sql
Jason Woofenden [Fri, 5 Aug 2011 15:27:01 +0000 (11:27 -0400)]
db: added %f for floats in sql

Now you can put %f in your db_* calls, like so:

$rows = db_get_assocs('hammers', 'weight,length', 'where weight > %f', $min_weight);

12 years agoemail: allow comma and ampersand in subjects
Jason Woofenden [Tue, 26 Jul 2011 17:29:56 +0000 (13:29 -0400)]
email: allow comma and ampersand in subjects

12 years agoadd: now_yyyymmdd(), now_yyyymmddhhmmss()
Jason Woofenden [Sun, 12 Jun 2011 08:55:28 +0000 (04:55 -0400)]
add: now_yyyymmdd(), now_yyyymmddhhmmss()

12 years agoconvert_uploaded_image: activate exif rotation
Jason Woofenden [Fri, 3 Jun 2011 00:49:00 +0000 (20:49 -0400)]
convert_uploaded_image: activate exif rotation

12 years agometaform: new input type=email, type=search
Jason Woofenden [Wed, 25 May 2011 05:56:20 +0000 (01:56 -0400)]
metaform: new input type=email, type=search

12 years agoRevert "API CHANGE: removed format_options()"
Jason Woofenden [Tue, 24 May 2011 10:11:58 +0000 (06:11 -0400)]
Revert "API CHANGE: removed format_options()"

This reverts commit cd68b6037f8558fd98e07486282e2a25f9c4626b.

12 years agometaform: removed unused only_used parameter
Jason Woofenden [Tue, 24 May 2011 08:39:29 +0000 (04:39 -0400)]
metaform: removed unused only_used parameter

13 years agomake unit test results look good
Jason Woofenden [Mon, 25 Apr 2011 11:31:54 +0000 (07:31 -0400)]
make unit test results look good

And make passed tests accessible

13 years agoget rest of unit tests using new(ish) api
Jason Woofenden [Mon, 25 Apr 2011 11:10:20 +0000 (07:10 -0400)]
get rest of unit tests using new(ish) api

13 years agounit_test_func requires that type matches
Jason Woofenden [Mon, 25 Apr 2011 05:52:46 +0000 (01:52 -0400)]
unit_test_func requires that type matches

13 years agoenc_tab indents empty lines
Jason Woofenden [Mon, 25 Apr 2011 05:50:57 +0000 (01:50 -0400)]
enc_tab indents empty lines