Commit graph

384 commits

Author SHA1 Message Date
Josh Sherman
bea6b0f645 Fixed issue when executing Model->commit() and no data has changed 2011-01-02 01:17:57 -05:00
Josh Sherman
4219813440 Stripped white space between folds, I found it too hard to read. 2011-01-02 01:06:32 -05:00
Josh Sherman
bef224d5ec Removed logic that interacted with passed IDs. This logic belongs in the .htaccess file (assuming it's even necessary for the site). 2010-12-26 14:27:45 -05:00
Josh Sherman
97bd8163a2 Added comments. 2010-12-18 20:16:44 -05:00
josh
f0c3435a0b Fixed issues with defaulting the array to the conditionals. 2010-12-18 01:20:40 -05:00
Josh Sherman
261b2546e7 Added better support for hyphens in a URI. 2010-12-17 23:55:28 -05:00
Josh Sherman
346c93e393 Added some comments. 2010-12-17 22:38:40 -05:00
Josh Sherman
25e78fc569 Updated replacement logic to be strict, just in case there is a scenario where the string could be replaced more than once. 2010-12-17 22:30:55 -05:00
Josh Sherman
e008ffcf2b Added redirect to force URI to be lowercase. 2010-12-17 22:18:25 -05:00
Josh Sherman
9c9407843e Added support for boolean conditionals (IS [NOT] (TRUE|FALSE)) 2010-12-12 21:42:58 -05:00
Josh Sherman
42af200c9b Updated Model to use the model specific variables when generating the "all" query. 2010-12-12 21:04:36 -05:00
Josh Sherman
ede51db2d0 Fixed RegEx checking if we're dealing with internal files. 2010-12-11 13:41:09 -05:00
Josh Sherman
d638de26c0 Rearranged the methods and simplified the regex 2010-12-11 13:28:29 -05:00
Josh Sherman
20dc9da56c Removed extra space when there are no additional parameters. Added new lines to the end of each HTML element (but not to options / optgroups). Added support for additional parameters on phone number inputs. 2010-12-11 13:12:53 -05:00
Josh Sherman
8fa5471aa7 Added private module functionality. 2010-12-09 22:52:26 -05:00
Josh Sherman
a72f49f2b4 Made options array non-case sensitive 2010-12-09 20:19:03 -05:00
Josh Sherman
89e2c3db19 Cleaned up stray whitespace. 2010-12-09 20:12:05 -05:00
josh
53ee689793 Changed the variable being checked to determine if code was being ran from the command line. 2010-12-06 20:49:15 -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
fba44a0be9 Updated class to support command line usage. 2010-12-04 14:29:15 -05:00
Josh Sherman
015902ca93 Updated Model to support an array being passed in and not have to be nested inside of a conditions key. 2010-12-04 13:41:55 -05:00
Josh Sherman
2e6a438e52 Added method to generate the hash used by Gravatar.com This may be the precursor to adding in some code to support interacting with some third-party web services. 2010-12-04 13:20:41 -05:00
Josh Sherman
a3b6753990 Added isEmpty() method to check the emptiness of a string. 2010-12-04 12:35:03 -05:00
Josh Sherman
7cf3e5dadf Fixed issue where Model was dying if only passed an integer (presumably the ID of a row) 2010-12-02 23:39:46 -05:00
Josh Sherman
bae3f9de63 array_diff was not catching values of 1. 2010-11-28 18:33:59 -05:00
Josh Sherman
1a863bac63 Added documentation for an argument. 2010-11-27 22:48:52 -05:00
Josh Sherman
42c3ec993b Removed commented code from the Model and added a note about how experimental and unusable the Mongo class is. 2010-11-27 21:42:50 -05:00
Josh Sherman
3e7ece8cce Fixed issues when generating SQL conditionals. 2010-11-27 18:00:13 -05:00
Josh Sherman
7e1a45e9cb Added support for index hinting. 2010-11-26 23:16:56 -05:00
Josh Sherman
c32ee1a12e Added support for passing in a .rss extension to force the rendering engine RSS. 2010-11-26 23:16:30 -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
6205ad7809 Added support for dynamically setting the ID column in a Model. 2010-11-26 19:19:54 -05:00
Josh Sherman
43dd8f16ab Added JOIN support in the Model. 2010-11-26 15:31:58 -05:00
Josh Sherman
4c0baeb00a Removed internal() method to generate references to PICKLES files. Should use existing methods, but make sure to include the PICKLES path (e.g. /__pickles/js/core.js). 2010-11-26 13:50:48 -05:00
Josh Sherman
2add111b9b Removed debug code. 2010-11-26 02:46:18 -05:00
Josh Sherman
212843386d Added optional security hash check. 2010-11-26 02:43:41 -05:00
Josh Sherman
2b57cb6a5d Removed the salt argument as the salts are driven solely by the config in this use case scenario. 2010-11-26 02:32:01 -05:00
Josh Sherman
e120150bca Moved hash generation into the Security class so it can be accessed outside of the input generation. 2010-11-26 02:28:07 -05:00
Josh Sherman
b694ff55c5 Built the securityInput() method for generating inputs to use while validating AJAX calls. 2010-11-26 02:06:44 -05:00
Josh Sherman
98e7f0fb34 Added optional request method checking. 2010-11-26 01:36:06 -05:00
Josh Sherman
9d8ff5e9b1 Made the format of the phone number a passable argument. 2010-11-26 00:10:42 -05:00
Josh Sherman
14f0efbea0 Implemented secure variable in the module, removed request variable and will potentially add it back in at a later time. 2010-11-25 01:52:00 -05:00
Josh Sherman
985deaf18a Made dateSelect() less dobSelect() specific. 2010-11-25 00:46:12 -05:00
Josh Sherman
2da19ace00 Cleaned up arrayToXML method. 2010-11-25 00:37:05 -05:00
Josh Sherman
aed0942654 Migrated conversion utilities to the Convert class. 2010-11-25 00:15:25 -05:00
Josh Sherman
072afaf936 Added another logged warning when unable to serve up a minified file. 2010-11-24 23:40:29 -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
9adc9d868d Added redirect to the login page when user is not properly authorized. 2010-11-24 23:27:31 -05:00
Josh Sherman
075ec0b94b Cleaned up method by sanity checking some variables. 2010-11-24 23:17:03 -05:00