Commit graph

81 commits

Author SHA1 Message Date
Joshua Sherman
c9f39e2e18 Updated email address 2014-01-20 15:19:38 -05:00
Joshua Sherman
aecdd0981f Finished tests for Config class 2014-01-15 13:46:17 -05:00
Joshua Sherman
35d03eb719 Finished up session class rework and testing 2014-01-13 01:39:14 -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
54471c361b So much refactoring... 2013-12-30 00:38:13 -05:00
Joshua Sherman
a4bf33cce2 If no request, assume 'home' module
Eliminates the need to define a default module in the config.
2013-12-28 16:21:24 -05:00
Josh Sherman
07a95a7508 Built out new Display class with tests
Not hooked up to the Controller yet, wanted to get Travis setup.
2013-12-28 01:13:02 -05:00
Josh Sherman
408f3cdfa3 Merge branch 'master' of github.com:joshtronic/pickles 2013-12-24 17:38:51 -05:00
Josh Sherman
89dabbf7f5 Fixed case sensitivity issue.
When developing on OS X the case sensitivity didn't matter much but on Linux it broke the include.
2013-12-24 17:36:10 -05:00
Josh Sherman
9b297f3d87 Dropped Convert::toJSON()
In an effort to only maintain compatibility with the latest version of PHP (currently the 5.5 branch) I dropped the sanity checks if `json_encode` was available as it is always available in PHP 5.2+. Dropping this sanity check also allowed me to remove the wrapper function and the `JSON_AVAILABLE` constant. Ideally I'd like to move towards dropping the `Convert` class entirely but will need a way to convert an array to XML as the `RSS` class still leverages it. One thought is to move that code right into the `RSS` class as it never gets used elsewhere because XML is gross.
2013-12-24 13:28:49 -05:00
Josh Sherman
0cbc1df48f Added AreYouAHuman.com integration
Includes AYAH v1.1.7, a static wrapper class and an update to our main include file to handle loading the official AYAH library from the vendors directory.
2013-12-23 19:11:01 -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
b1bd69968e Got rid of the jar of PICKLES
It's a bitch to debug and at this point, I'm unsure that there's really any performance improvement by including everything. Also when moving towards namespacing in future revisions, having all of the PHP in a single file is a no-go.
2013-09-08 18:27:34 -04:00
Josh Sherman
df0ef6d959 Reworked sessions and added Redis handler
Requires phpredis to be installed.
2013-02-20 19:03:51 -05:00
Josh Sherman
482f77c10b Set _REQUEST['request'] by default
Should alleviate some redundant isset()s throughout a site's code
2012-10-11 22:50:32 -04:00
Josh Sherman
c0afa08026 Updated email in core file, updated docs 2012-10-11 18:39:45 -04:00
Josh Sherman
b7d7bfe1e7 Added assumption that OSX is a development platform
I develop on OSX, I run sites on Linux. Safe bet that if I'm running PICKLES on OSX that I'm in a development environment and it's a safe bet to jar those pickles
2012-10-10 19:22:00 -04:00
Josh Sherman
ebd3160bba Added session configuration
Just based on my experience, added a set of default session values that provide reliable results
2012-10-09 20:22:02 -04:00
Josh Sherman
d20b3a83ff JAR was always loading 2012-10-01 22:45:22 -04:00
Josh Sherman
499d30b64f Brought the JAR back 2012-09-30 13:02:19 -04:00
Josh Sherman
3e58cd89bf Emptied the JAR and cleaned up some whitespace 2012-09-30 12:26:32 -04:00
Josh Sherman
5274ed42bb Typo in the comments 2012-07-28 13:02:12 -04:00
Josh Sherman
be9304d322 Fixed production error handling, stopped using jar
Was having a hard time troubleshooting production issues with the jar file in place, disabling for the time being
2012-02-07 23:43:07 -05:00
Josh Sherman
6619a0a7c8 Merge branch 'master' of github.com:joshtronic/pickles 2011-11-20 13:38:39 -05:00
Josh Sherman
0f2a3353a1 Removed comment on jar require, was for debugging. 2011-11-02 14:57:06 -03:00
Josh Sherman
31198402cb Merge branch 'master' of github.com:joshtronic/pickles 2011-11-01 21:24:46 -04:00
Josh Sherman
237cb22990 Added Cache class and made adjustments to Config to default the variables to false. 2011-10-30 17:14:56 -04:00
Josh Sherman
056c2d1212 Merge branch 'master' of github.com:joshtronic/pickles 2011-08-13 13:39:44 -04:00
Josh Sherman
ee08489521 Turned off the exception handling and forced errors on. 2011-08-13 13:39:23 -04:00
Josh Sherman
cc778981f6 Jarring was not recursing into sub directories. 2011-08-12 22:32:36 -04:00
Josh Sherman
dbcf6fdb80 Changed environment checking to use HTTP_HOST instead of SERVER_NAME to resolve an issue with nginx server_name variable. Updated jarring to skip any files prefixed with '.' so that I could edit core files and not generate munged jar files because of vi .swp files. 2011-08-06 12:57:59 -04:00
Josh Sherman
bc78fd61e8 Expanded session handling to include memcached. 2011-07-23 23:47:46 -04:00
Josh Sherman
afac101ba5 Added "jar" file to alleviate overhead of __autoload() look ups and decrease the number of included files to load a page. 2011-06-01 22:55:52 -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
aa3427a25c Added CLI exception display and moved $is_cli to a constant. 2011-05-03 22:34:11 -04:00
Josh Sherman
bf60869274 Enabled error reporting before any files are loaded. This allows parse errors and such to be caught and displayed instead of getting a white screen. 2011-03-31 23:05:40 -04:00
Josh Sherman
2bb9fd10e4 Fixed issue with session_destroy() 2011-01-20 22:14:33 -05:00
Josh Sherman
24770b2e9c Moved session set handler out of the Session class. 2011-01-20 20:45:48 -05:00
Josh Sherman
04471d607a Added database session handling. 2011-01-16 15:40:59 -05:00
Josh Sherman
261b2546e7 Added better support for hyphens in a URI. 2010-12-17 23:55:28 -05:00
Josh Sherman
802480ce67 Added orange section for file / line number separate from the thrown error. 2010-12-12 00:58:11 -05:00
Josh Sherman
89e2c3db19 Cleaned up stray whitespace. 2010-12-09 20:12:05 -05:00
Josh Sherman
f500e78248 Left align exception column 2010-12-09 20:03:12 -05:00
Josh Sherman
4c366d72a8 Auto start session from main file (before Controller is loaded) if session is enabled in the config. 2010-12-05 17:07:55 -05:00
Josh Sherman
a4268a8cbc Lined up variables. 2010-12-04 12:34:55 -05:00
Josh Sherman
98db206128 Typo in code checking if we should turn on display_errors (was missing the S) 2010-11-28 13:34:59 -05:00
Josh Sherman
885e3c56be Removed the Smarty path. 2010-11-16 22:52:38 -05:00
Josh Sherman
acd96ea5f0 Prettied up the uncaught exception display. Leveraged the styles that are used on the Profiler. 2010-11-07 01:03:32 -05:00
Josh Sherman
384cc0a272 Added back exception handling in a more debug friendly capacity. 2010-11-07 01:06:19 -04:00
Josh Sherman
93541bc788 Removed the built-in exception handler was a pain to debug. 2010-11-07 00:07:32 -04:00