Commit graph

36 commits

Author SHA1 Message Date
Joshua Sherman
c9f39e2e18 Updated email address 2014-01-20 15:19:38 -05:00
Joshua Sherman
200988eecf Swapped all array() for the shorthand []
Also finished up coverage on the Cache class.
2014-01-15 14:09:54 -05:00
Joshua Sherman
faaefc1b82 Getting coverage to 100% on these classes
Also found a bug in the Form class that would bork phone numbers with dashes in
them. Even though the Form class is going to go away eventually I wanted to fix
the issue.
2014-01-12 13:56:52 -05:00
Joshua Sherman
8fc726b983 Updated copyright date.
It's a new year, figured it would be nice to get this done before summer time
like most years.
2014-01-05 13:44:25 -05:00
Joshua Sherman
f0b5bfa459 Form class tests and updates
Still rockin' that XHTML4 nonsense. Updates to HTML5 (sans self closing tags) and added tests.
2014-01-03 23:45:52 -05:00
Josh Sherman
d96181c60f Q4 2013, seemed like a good time to update the copyright notices 2013-11-04 17:36:04 -05:00
Josh Sherman
e70dccafd7 Added HTML class 2013-01-30 22:16:55 -05:00
Josh Sherman
41ba406ea6 Updated form class to serve up less markup
Cut empty attributes and line breaks. Closes #14
2013-01-28 16:46:23 -05:00
Josh Sherman
6f114361bd Updated copyright, website and contact email 2012-09-30 12:40:29 -04:00
Josh Sherman
3e58cd89bf Emptied the JAR and cleaned up some whitespace 2012-09-30 12:26:32 -04:00
Josh Sherman
aa8ea5849e Added submit() method for generating submit buttons. Flagged the shorthand methods to generate different types of inputs (password, hidden, et cetera) as deprecated and added shorter-hand methods. Example, you can use $__form->password() instead of $__form->passwordInput(). Methods will eventually be updated to throw deprecation warnings and subsequently removed. 2011-05-20 20:26:59 -04:00
Josh Sherman
76fd05d509 Added checkbox and radio methods. 2011-05-12 00:21:29 -04:00
Josh Sherman
d5085ba6b9 Added vim fold markers to the methods. 2011-05-09 22:33:01 -04:00
Josh Sherman
996241debb Updated headers to have 2011 in the copyright date. Also updated copyright to my name as the LLC is currently defunct. 2011-05-09 22:14:55 -04:00
Josh Sherman
c1e1ab3ea1 Added method to generate a password input. 2011-05-08 18:23:58 -04:00
Josh Sherman
7933bac647 State select method was not passing the correct arguments. 2011-05-08 17:55:08 -04:00
Josh Sherman
a7addc1ab0 Fixed selected attribute issue in option generation method. 2011-01-31 00:01:50 -05:00
Josh Sherman
c4ee198a8e Changed default input type to "text" from "input" which was a typo. 2011-01-15 22:00:33 -05:00
Josh Sherman
20dc9da56c Removed extra space when there are no additional parameters. Added new lines to the end of each HTML element (but not to options / optgroups). Added support for additional parameters on phone number inputs. 2010-12-11 13:12:53 -05:00
Josh Sherman
89e2c3db19 Cleaned up stray whitespace. 2010-12-09 20:12:05 -05:00
Josh Sherman
2b57cb6a5d Removed the salt argument as the salts are driven solely by the config in this use case scenario. 2010-11-26 02:32:01 -05:00
Josh Sherman
e120150bca Moved hash generation into the Security class so it can be accessed outside of the input generation. 2010-11-26 02:28:07 -05:00
Josh Sherman
b694ff55c5 Built the securityInput() method for generating inputs to use while validating AJAX calls. 2010-11-26 02:06:44 -05:00
Josh Sherman
985deaf18a Made dateSelect() less dobSelect() specific. 2010-11-25 00:46:12 -05:00
Josh Sherman
1cd61dda42 Updated licensing to use the [better suited] MIT License. 2010-10-14 20:12:40 -04:00
Josh Sherman
0a6c124302 Fixed some issued with PHP <5.3, added more built in profiling and ditched the Singleton class (related to <5.3 issues). 2010-10-03 23:07:48 -04:00
Josh Sherman
b4db5d1e45 Added support for optgroup. 2010-10-03 19:19:45 -04:00
Josh Sherman
9b4763dd23 Removed whitespace. 2010-10-03 15:16:01 -04:00
Josh Sherman
d2966c7345 Created a Singleton parent class and implemented some common Object method. 2010-10-02 16:36:54 -04:00
Josh Sherman
744418fe0f Fixed bad markup that was being generated. 2010-09-28 11:42:01 -04:00
Josh Sherman
17042f4151 Fixed variable names. 2010-09-26 20:17:14 -04:00
Josh Sherman
b210803e81 Added the Form class and updated the configuration arrangement. 2010-09-26 20:07:50 -04:00
Josh Sherman
c2445d3a62 Removed Cache class.
* File was little more than just a stub file for the Cache class.

Removed Mailer class.

 * Attempting to remove non-critical classes from the system.

 * Class will be re-added / re-factored at a later date once the core of PICKLES is done.

Removed Security class.

 * Removing non-critcal classes from the system.

 * Security class was not very generic and will be replaced down the road once the security scheme is full realized.

Removed Form class.

 * Removing non-critcal classes from PICKLES to help the rewrite efforts.

 * Form class would take a database table and convert it into a webform.  Nice script, but really had no place in PICKLES.

 * Eventually will replace with a generic HTML form element generation class.

Added INSTALL file.

Updated derivation of the hostname.

 * Hostname is now defaulted in the class variable definition.

Refactoring Controller and Module
2010-03-11 23:19:33 -05:00
Josh Sherman
d3f7e6734c Committing any outstanding changes so that I can work on PICKLES from my laptop.
git-svn-id: http://svn.cleancode.org/svn/pickles@112 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-04-05 20:56:04 +00:00
Josh Sherman
15bab71735 SVN's being dumb so I'm commiting everything so that I can remove some directories and swap some crap around.
git-svn-id: http://svn.cleancode.org/svn/pickles@28 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-07-12 23:24:16 +00:00
Josh Sherman
d46d34d67a Committing all the common code changes so that I can begin working locally.
git-svn-id: http://svn.cleancode.org/svn/pickles@4 4d10bc64-7434-11dc-a737-d2d0f8310089
2007-11-09 01:27:41 +00:00