Commit graph

666 commits

Author SHA1 Message Date
Josh Sherman
f11e3157e3 Tests for the Date class 2012-10-03 17:37:03 -04:00
Josh Sherman
4cf94f9c28 Added tests for the convert class 2012-10-03 09:30:44 -04:00
Josh Sherman
ac63c12d80 Added tests for String class 2012-10-02 23:10:39 -04:00
Josh Sherman
f3ee33e933 Toying with unit tests
Just a start, better than nothing
2012-10-02 16:08:24 -04:00
Josh Sherman
c27fbf8694 Fixed issue with _SERVER['HTTPS'] being set on nginx 2012-10-01 22:49:49 -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
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
92fcfee986 PostgreSQL support 2012-09-30 12:18:25 -04:00
Josh Sherman
5274ed42bb Typo in the comments 2012-07-28 13:02:12 -04:00
Josh Sherman
761caf52cf Random string generator couldn't generate strings that exceeded the number of available characters. This resolves that and allows for characters to show up more than once in the string itself. 2012-07-22 21:43:49 -04:00
Josh Sherman
9cd9304cf8 Moved meta data to be after the module execution
Modules were unable to override the meta data because the values were pulled before the module was being executed.
2012-05-18 21:10:01 -04:00
Josh Sherman
ee175f4923 Added fuzzy environment match (via @geoffoliver) 2012-04-08 16:39:26 -04:00
Josh Sherman
28c35c9869 Fixed variable scope error 2012-04-08 13:45:39 -04:00
Josh Sherman
d312d92033 Minification is now a configuration option, off by default 2012-02-24 23:22:27 -05: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
dc916622bb Added *_PRIORITY and IGNORE syntax
Expanded Model class to support queries with priorities as well as the ignore syntax. Priority can be set to LOW or HIGH and will be added to the appropriate queries with the appended _PRIORITY syntax. Ignore is boolean like the Delayed variable.
2011-11-20 13:32:35 -05:00
Josh Sherman
7f52efdbde Skip session start from CLI
Added check of the IS_CLI constant to determine if we should start the session or not.
2011-11-20 11:19:27 -05:00
Josh Sherman
410f70104d Merge pull request #2 from joshtronic/development
Reusable model execution
2011-11-20 08:07:12 -08:00
Josh Sherman
f69c904a4f Updated documentation. 2011-11-06 20:54:37 -05:00
Josh Sherman
dd4fb702eb Ripped out Mongo code, it's not being used and not being developed against at this time. 2011-11-06 20:53:48 -05:00
Josh Sherman
9fa67d0717 Added logic to snapshot/recall the original object properties. 2011-11-02 22:49:53 -04:00
Josh Sherman
b39a6163e8 Moved logic to run the query out of the constructor. 2011-11-02 22:15:04 -04: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
50c71201ca Merge pull request #1 from joshtronic/cache-n-carry
Cache class
2011-11-01 16:08:10 -07:00
Josh Sherman
575a2f0914 Commented out cache usage in Model. 2011-11-01 19:05:25 -04:00
Josh Sherman
baa291d88b Removed hashing based on some new caching logic I'm still dreaming up. 2011-10-30 22:09:12 -04:00
Josh Sherman
e104250597 Caching of simple queries against primary key. 2011-10-30 20:49:23 -04:00
Josh Sherman
4b96d28bb7 Added cache object to Model and cleaned up some variable names. 2011-10-30 19:24:23 -04:00
Josh Sherman
02c0eef632 Added caching flag to database. 2011-10-30 17:30:05 -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
df5a2e2aaa Removed logic to load /__pickles/(js|css)/*.(js|css) files. It didn't work in nginx without trickery and it was a fundamentally ignorant approach since it caused PHP overload just to load a static file. The inclusion of the boilerplate will allow users to fork said project and have all files readily available. 2011-08-28 18:00:30 -04:00
Josh Sherman
16d201bbc9 Moved CSS and JS from core to boilerplate 2011-08-28 17:45:29 -04:00
Josh Sherman
b7fd659b3c Apparently the Google Profanity class wasn't in the jar. 2011-08-28 17:44:30 -04:00
Josh Sherman
3f82161f40 Merge branch 'master' of github.com:joshtronic/pickles 2011-08-27 11:22:49 -04:00
Josh Sherman
ec9b3296ae Removed the boilerplate, added a note that it moved. 2011-08-27 11:20:48 -04:00
Josh Sherman
7064abf008 Added Google Profanity checker. 2011-08-17 18:00:16 -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
e5d3cb9988 Documented the Tinychat class (mostly). Still can't get the HTML portion to work, will try on a production server soon. 2011-08-13 13:38:34 -04:00
Josh Sherman
d6fc14e293 Started building a Tinychat API wrapper 2011-08-13 01:18:00 -04:00
Josh Sherman
cc778981f6 Jarring was not recursing into sub directories. 2011-08-12 22:32:36 -04:00
Josh Sherman
886026aa4c Added reference name to exception that is thrown. 2011-08-06 13:31:08 -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
3ea9ec8f36 Added support for "REPLACE" SQL syntax. 2011-07-31 18:33:17 -04:00
Josh Sherman
c6bda10e3f Updated Security class to allow for a less paranoid user access check. Previously, at Security::login() the user ID would be set, and said user ID would be used to hit the database and verify the user's access on every page new. Now, if you pass the optional level value to Security::login() the class will store the value in the session and will continue to use the session for all subsequent verifications. This could easily be supplemented with short TTL on sessions and/or logic in index.php to periodically refresh said data to ensure someone's access wasn't downgraded. 2011-07-26 09:50:07 -04:00
Josh Sherman
bc78fd61e8 Expanded session handling to include memcached. 2011-07-23 23:47:46 -04:00