Commit graph

384 commits

Author SHA1 Message Date
Josh Sherman
63d0eec491 Replaced array to XML converter with a more robust method. 2010-11-24 23:06:24 -05:00
Josh Sherman
1173636365 Logged warning when minified file is not present and cannot be generated. 2010-11-24 22:41:43 -05:00
Josh Sherman
ad6155572e Updated security layer to lookup the user's access from the database each time instead of just relying on the session data being accurate. Alleviates the scenario where a user's permissions are changed, but the level is not reset until their next login. 2010-11-22 00:15:34 -05:00
Josh Sherman
03567d86d4 Convert defined security levels into defined constants prefixed with SECURITY_LEVEL_*. Also documented the flatten method. 2010-11-21 21:44:46 -05:00
Josh Sherman
5539259d50 Added String utility class. 2010-11-18 22:20:18 -05:00
Josh Sherman
4dd9249ba0 Implemented automatic security checks in the Controller. Opened up the security class to accept an array as an argument and will great that array as if it's the array coming from func_get_args(). 2010-11-17 23:39:45 -05:00
Josh Sherman
cf4a1307e8 Refactored public security functions to take a variable number of parameters and added a new function to check if a set security level is between two others (range checking). Removed the logic to allow a level to be passed in to validate against, a new function will be added to accomodate if it ever comes up. 2010-11-17 22:59:07 -05:00
Josh Sherman
62261420ff Added logic to strip empty parameters from the DSN, specifically the MySQL DSN. 2010-11-16 23:02:27 -05:00
Josh Sherman
7c7fe769a8 Added sanity checking on return type overloading. 2010-11-14 17:20:26 -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
6639fae6ed Updated Controller to handle fatal errors directly instead of throwing an exception. 2010-11-07 00:09:33 -04:00
Josh Sherman
973c8307a7 Added some notes and some @todo items. 2010-11-06 18:50:49 -04:00
Josh Sherman
795594a391 Started adding support for Mongo in the Model class. Also removed fetchAll and fetchColumn methods, all data is returned as an associative array for consistency and to simplify the fetching logic. 2010-10-31 14:34:39 -04:00
Josh Sherman
fce848e9bb Added getDriver method. 2010-10-31 14:34:14 -04:00
Josh Sherman
2325e79f3c Updated @todo. 2010-10-31 11:23:28 -04:00
Josh Sherman
0729d46281 Updated Model updates to limit the number of columns being set to only the columns that have changed. 2010-10-30 22:05:51 -04:00
Josh Sherman
f24880d12d Updated manipulation functions and added folding. 2010-10-28 22:15:01 -04:00
Josh Sherman
9a4fe84b9b Added timer capabilities to the profiler, refactored a bunch of the sanity checks associated with the profiler. 2010-10-22 22:26:45 -04:00
Josh Sherman
92e4b0391a Added profiler options. 2010-10-22 00:31:26 -04:00
Josh Sherman
58a4254738 Updated profiler styles as some were being overwritten by the page's styles. 2010-10-20 01:16:58 -04:00
Josh Sherman
5ea7756803 Added private templates via the __shared directory. 2010-10-20 01:06:11 -04:00
Josh Sherman
2761352332 Added support for multiple host names in the config. 2010-10-18 23:35:15 -04:00
Josh Sherman
013fa77ec2 Added sanity check on variable. 2010-10-18 23:34:42 -04:00
Josh Sherman
2d466d98e7 Gave the controller some more smarts with the ability to detect requests for internal files and pass them through. Used to use the Javascript and CSS that is provided in PICKLES without the need of copying the files into the public scope, symlinking or Apache aliasing. 2010-10-17 23:10:48 -04:00
Josh Sherman
1980b8871a Added new Mongo wrapper. Still a work in progress in regards to integrating it into the Model. 2010-10-17 22:46:24 -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
29f3275988 Updated styles. 2010-10-17 16:00:47 -04:00
Josh Sherman
83da525bd6 Removed SimpleTest. 2010-10-16 00:18:56 -04:00
Josh Sherman
3ce42507da Changed type variable to be driver, and updated PDO driver names (in the config) to line up with the PHP internal names. 2010-10-14 22:24:16 -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
1e0a7cd719 Added support for PostgreSQL and SQLite. 2010-10-13 23:06:46 -04:00
Josh Sherman
83e8447d8a Added Mongo layer by piggy backing the PHP/Pecl Mongo class. 2010-10-12 03:30:47 -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
b4db5d1e45 Added support for optgroup. 2010-10-03 19:19:45 -04:00
Josh Sherman
b8c795c569 Implemented environment support without this class. 2010-10-03 19:07:00 -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
520d841500 Removed whitespace. 2010-10-03 15:09:29 -04:00
Josh Sherman
e0e2a87aaa Rebuilt the Model class. 2010-10-03 15:07:28 -04:00
Josh Sherman
9a24b32e67 Added another @usage. 2010-10-02 17:43:18 -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
1a15dfd337 Expanded the Profiler and added SQL query profiling. 2010-10-01 23:25:45 -04:00
Josh Sherman
9bf37c37ec Profiler, Phase 1. 2010-10-01 01:12:37 -04:00
Josh Sherman
28525dcf08 Updated Database class interaction to use Singleton getInstance() method. 2010-09-30 21:51:28 -04:00