Commit graph

59 commits

Author SHA1 Message Date
Joshua Sherman
c865e74ebd Updated headers and dropped tests
The tests weren't complete nor were they being used so I dropped them. Since
this branch is still actively being maintained as it's the PHP 5.3 compatible
stuff I figured I should update the headers to have the current year and
explicitly show that it's PHP 5.3+ and not just PHP 5.
2014-01-26 21:35:56 -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
72c9e85f5d Added the template variable to the new scope logic 2013-09-10 19:57:23 -04:00
Josh Sherman
53236e2c8e New variable scope inside of templates
Now can access stuff as part of $this. Example: $__form->dobSelect() is now $this->form->dobSelect(). Both syntaxes are valid to allow for some migration time away from the old syntax
2013-09-10 19:50:16 -04:00
Josh Sherman
73ae91d629 Strip HTML comments sans "BuySellAds"
Having an issue getting BSA to validate my site. Attempting to leave those HTML comments in place in an effort to resolve the issue.
2013-04-17 12:06:53 -04:00
Josh Sherman
e70dccafd7 Added HTML class 2013-01-30 22:16:55 -05:00
Josh Sherman
3c2c936cee Added fluid variable to the Module class
As a developer you still need to code for it (it's shown at work in the bootstrap) but you can use the variable to toggle fluid and fixed right from the module itself
2012-10-14 17:53:23 -04:00
Josh Sherman
54372d24b7 Updated the last few URL's that were wrong, also generated a new copy of the documentation
Should probably made the documentation piece pre-commit hook or something
2012-10-03 17:46:27 -04:00
Josh Sherman
6f114361bd Updated copyright, website and contact email 2012-09-30 12:40:29 -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
89e2c3db19 Cleaned up stray whitespace. 2010-12-09 20:12:05 -05:00
Josh Sherman
e730d2181f Added in RSS display class. 2010-11-26 22:35:06 -05:00
Josh Sherman
3defe17bc5 Removed JSON references from when I duped the JSON class. 2010-11-26 21:17:05 -05:00
Josh Sherman
aed0942654 Migrated conversion utilities to the Convert class. 2010-11-25 00:15:25 -05:00
Josh Sherman
4c6b5b6415 Removed "advanced" clean up logic (yes, those are air quotes) 2010-11-24 23:39:28 -05:00
Josh Sherman
63d0eec491 Replaced array to XML converter with a more robust method. 2010-11-24 23:06:24 -05:00
Josh Sherman
eccb07e786 Default to JSON if there are no PHP templates 2010-11-14 16:47:06 -05:00
Josh Sherman
d157b9ad52 Removed RSS display class as it is not usable. 2010-11-14 16:00:33 -05:00
Josh Sherman
d64251c098 Default parent template to "index" and added sanity check if template exists. 2010-11-12 23:03:18 -05:00
Josh Sherman
5ea7756803 Added private templates via the __shared directory. 2010-10-20 01:06:11 -04:00
Josh Sherman
60d0cf0928 Removed configuration options to override classes in templates. Simply name your class CustomClass where Class is the name of the class you want to override. 2010-10-17 17:56:52 -04:00
Josh Sherman
66088b7613 Added a class for handling hard caching and minification of [dynamic] content. 2010-10-17 17:34:51 -04:00
Josh Sherman
1cd61dda42 Updated licensing to use the [better suited] MIT License. 2010-10-14 20:12:40 -04:00
Josh Sherman
630a1276aa Gutted config system to use a PHP array instead of 1980's INI files. Broke down the database layer to support multiple types of interfaces and started laying out the Mongo interface class. 2010-10-12 01:44:10 -04:00
Josh Sherman
9fe5ce72d4 Building in security capabilities. 2010-10-06 00:01:49 -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
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
b210803e81 Added the Form class and updated the configuration arrangement. 2010-09-26 20:07:50 -04:00
Josh Sherman
c54b9a2610 Updated documentation and removed some Smarty remnants. 2010-09-19 22:51:03 -04:00
Josh Sherman
4f83d3ebe3 Refactored whitespacer trimmer. 2010-09-19 22:03:59 -04:00
Josh Sherman
6bd87d270d Refactored a bunch of the display logic, added handling to avoid the infinite redirect loop in the controller. 2010-09-19 19:13:11 -04:00
Josh Sherman
cab6641a96 After many years of using Smarty, loving Smarty and eventually hating Smarty, I've decided to remove it from PICKLES. The latest release candidates for the new Smarty 3 have not impressed me enough to keep it around, in fact peeping the code of the new version makes me think it should have never been included in the first place. May end up using Savant, may end up rolling a custom PICKLES solution, only time will tell. 2010-09-12 20:21:18 -04:00
Josh Sherman
a48706da4b Removed whitespace. 2010-05-15 22:51:17 -04:00
Josh Sherman
fcc6533be7 Updated the paths. 2010-05-15 22:39:25 -04:00
Josh Sherman
4060d1f19b Changed templateExists() to return int not bool. 2010-05-11 00:50:34 -04:00
Josh Sherman
ddafcd54d7 Added return type switching.
* Uncommented the return type logic in the controller and implemented it (no sanity checking on if the return type is valid as per the module)

 * Cleaned up some @todo's in the Controller class

 * Added the XML Display class
2010-03-26 21:12:54 -04:00
Josh Sherman
8480ebdb9e Added CSS class and JS file to the template scope. 2010-03-24 20:02:11 -04:00
Josh Sherman
3fd46374b8 Updated JSON Display class to use new constant. 2010-03-24 18:47:10 -04:00
Josh Sherman
b91123cec9 Updated the template handling for PHP Templates. 2010-03-18 09:30:04 -04:00
Josh Sherman
a6b992014b Updated JSON class.
* Updated the documentation slightly

 * Added PECL json 1.2.1 to the vendors directory to help out any poor unfortunate souls that aren't running PHP 5.2+

 * Not sure the legality behind including PECL json, according to PHP License 3.01, it should be okay (it's not modified, and I haven't derived any code from it).
2010-03-16 23:03:14 -04:00
Josh Sherman
8c1ecea92b Refactored Smarty display logic. 2010-03-15 23:57:36 -04:00
Josh Sherman
efad51e92f Refactoring Display logic.
* Revamping the display logic, lots of code is being removed / streamlined.
2010-03-14 18:42:13 -04:00
Josh Sherman
7814b5dacb Updated @package name from pickles to PICKLES. 2010-03-12 23:42:21 -05:00
Josh Sherman
012c3f8717 Refactoring Display logic 2010-03-12 00:02:29 -05:00
Josh Sherman
d267b214ea Lotsa updates.
git-svn-id: http://svn.cleancode.org/svn/pickles@139 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-07-09 03:58:47 +00:00
Josh Sherman
21e2c997ce Commiting changes before I go trying to implement PHPUnit.
git-svn-id: http://svn.cleancode.org/svn/pickles@138 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-07-07 00:57:26 +00:00
Josh Sherman
eaa2c2d1da Resolved the filtering issue.
git-svn-id: http://svn.cleancode.org/svn/pickles@137 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-06-18 02:41:12 +00:00
Josh Sherman
94f2611b48 Super hack to fix a production issue with the shared modules.
git-svn-id: http://svn.cleancode.org/svn/pickles@136 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-06-15 02:37:33 +00:00
Josh Sherman
efb5b6a677 Ugh, tired.
git-svn-id: http://svn.cleancode.org/svn/pickles@135 4d10bc64-7434-11dc-a737-d2d0f8310089
2009-06-15 02:24:48 +00:00