Commit graph

68 commits

Author SHA1 Message Date
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
Josh Sherman
756e0a4452 Added better debugging output, currently commented. 2010-10-31 14:33:41 -04:00
Josh Sherman
1cd61dda42 Updated licensing to use the [better suited] MIT License. 2010-10-14 20:12:40 -04:00
Josh Sherman
1cb7980353 Moved PDO classes into Database/PDO and gave data models the ability to know which datasource to use. 2010-10-13 23:41:27 -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
a38d58dfc1 Added support for multiple environments and config INIs. 2010-10-03 19:06:18 -04:00
Josh Sherman
9b4763dd23 Removed whitespace. 2010-10-03 15:16:01 -04:00
Josh Sherman
9bf37c37ec Profiler, Phase 1. 2010-10-01 01:12:37 -04:00
Josh Sherman
c54b9a2610 Updated documentation and removed some Smarty remnants. 2010-09-19 22:51:03 -04:00
Josh Sherman
4307594ab5 Expanding error handling with a custom handler. All errors are converted to exceptions for easier handling and to help save time because you won't have to type out a bunch of crazy sanity checks, just try/catch FTW. 2010-09-19 12:27:55 -04:00
Josh Sherman
fcc6533be7 Updated the paths. 2010-05-15 22:39:25 -04:00
Josh Sherman
ccbfbe5981 Added constant to hold if json_encode is available 2010-03-24 18:45:36 -04:00