Commit graph

  • 7933bac647 State select method was not passing the correct arguments. Josh Sherman 2011-05-08 17:55:08 -04:00
  • fb8a1f5894 Updated Model to allow ID value to be passed in either argument. Josh Sherman 2011-05-08 12:12:10 -04:00
  • fa1e1b290c Setting attribute "readonly" to "" doesn't seem to work anymore. Replaced with calling removeAttr() to get rid of it completely. Josh Sherman 2011-05-07 16:13:47 -04:00
  • 0d49ac0558 Updated profiler to only attempt to profile SELECT statements. Also optimized the sanity checks a bit so that we're not always running preg_match() when the profiler is disabled. Josh Sherman 2011-05-05 23:14:59 -04:00
  • 3ded1097ff Fixed issue with profiler when configuration is set to queries or explains and there are no queries on the page. Josh Sherman 2011-05-05 12:42:18 -04:00
  • 665b632868 Updated jQuery to 1.6, jQuery UI to 1.8.12 and jQuery Validator to 1.8 Josh Sherman 2011-05-04 22:41:45 -04:00
  • 15ab2b7827 Forgot to commit some new doc files. Josh Sherman 2011-05-04 21:12:38 -04:00
  • 28cdd85a4a Updated documentation. Josh Sherman 2011-05-03 23:30:53 -04:00
  • f3ca615986 Resolved error in Profiler resulting from fetchAll() being removed. Josh Sherman 2011-05-03 23:30:07 -04:00
  • 4e6098bc86 Added logic to traverse the filesystem in an attempt to locate the configuration. Errors if it gets to /. Comes into play when using command line scripts that may live in sub-directories of the ./scripts directory. Josh Sherman 2011-05-03 23:14:37 -04:00
  • aa3427a25c Added CLI exception display and moved $is_cli to a constant. Josh Sherman 2011-05-03 22:34:11 -04:00
  • b4ea95dde5 Added sample script. Josh Sherman 2011-05-03 22:34:03 -04:00
  • 180aa74486 Updated website URL. Josh Sherman 2011-05-03 22:33:48 -04:00
  • f3f111fa22 Updated #3 to not display as a code block. Josh Sherman 2011-04-17 13:43:49 -07:00
  • a31673d1ca Renamed launchpad to boilerplate. Josh Sherman 2011-04-16 22:38:14 -04:00
  • d9436919bd Fixed missing Content-Type headers when loading internal static assets (e.g. /__pickles/css/reset.css) Josh Sherman 2011-04-09 16:34:49 -04:00
  • a2f2e98195 Added reset to the walk() to save from calling reset() when iterating a record set more than once (hey, that shit happens!) Josh Sherman 2011-04-02 12:55:29 -04:00
  • 6bb94972b4 Added walk() method and scaffolding for sort() and shuffle() Josh Sherman 2011-04-02 12:47:10 -04:00
  • 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. Josh Sherman 2011-03-31 23:05:40 -04:00
  • 43aff106a0 Removed apache.conf as it was confusing folks. Updated config to not force secure connections. It's still highly recommended that you use secure connections, but sadly most folks aren't ready for that. Josh Sherman 2011-03-30 23:29:34 -04:00
  • a7addc1ab0 Fixed selected attribute issue in option generation method. Josh Sherman 2011-01-31 00:01:50 -05:00
  • 98c5e97eac Added duration to injected messages to automatically destroy them. Josh Sherman 2011-01-29 18:00:34 -05:00
  • b2047bd0cb Fixed issue with request method and security hash validation. Josh Sherman 2011-01-28 23:21:44 -05:00
  • 95e75226d3 Return authentication error as JSON when script was POSTed to instead of performing a redirect to the login page. Josh Sherman 2011-01-26 23:42:16 -05:00
  • 477a16a863 Execute callback function after every AJAX call regardless of status (so you can execute a callback when returing an error). Josh Sherman 2011-01-20 22:58:45 -05:00
  • 2bb9fd10e4 Fixed issue with session_destroy() Josh Sherman 2011-01-20 22:14:33 -05:00
  • 24770b2e9c Moved session set handler out of the Session class. Josh Sherman 2011-01-20 20:45:48 -05:00
  • 8206239d59 Added model return type "indexed". Indexed returns are full recordsets, but they are indexed on the first value of the array. This will probably be expanded to allow for an index column to be defined as the 2nd or 3rd parameter. Josh Sherman 2011-01-16 21:29:10 -05:00
  • 04471d607a Added database session handling. Josh Sherman 2011-01-16 15:40:59 -05:00
  • c4ee198a8e Changed default input type to "text" from "input" which was a typo. Josh Sherman 2011-01-15 22:00:33 -05:00
  • 861311a7f3 Cast variable as string so ctype_digit() will work. Josh Sherman 2011-01-15 17:33:37 -05:00
  • bea6b0f645 Fixed issue when executing Model->commit() and no data has changed Josh Sherman 2011-01-02 01:17:57 -05:00
  • 4219813440 Stripped white space between folds, I found it too hard to read. Josh Sherman 2011-01-02 01:06:32 -05:00
  • bef224d5ec Removed logic that interacted with passed IDs. This logic belongs in the .htaccess file (assuming it's even necessary for the site). Josh Sherman 2010-12-26 14:27:45 -05:00
  • 453d9b4033 Updated documentation. Josh Sherman 2010-12-24 19:44:33 -05:00
  • 97bd8163a2 Added comments. Josh Sherman 2010-12-18 20:16:44 -05:00
  • f0c3435a0b Fixed issues with defaulting the array to the conditionals. josh 2010-12-18 01:20:40 -05:00
  • 261b2546e7 Added better support for hyphens in a URI. Josh Sherman 2010-12-17 23:55:28 -05:00
  • 346c93e393 Added some comments. Josh Sherman 2010-12-17 22:38:40 -05:00
  • 25e78fc569 Updated replacement logic to be strict, just in case there is a scenario where the string could be replaced more than once. Josh Sherman 2010-12-17 22:30:55 -05:00
  • e008ffcf2b Added redirect to force URI to be lowercase. Josh Sherman 2010-12-17 22:18:25 -05:00
  • 9c9407843e Added support for boolean conditionals (IS [NOT] (TRUE|FALSE)) Josh Sherman 2010-12-12 21:42:58 -05:00
  • 42af200c9b Updated Model to use the model specific variables when generating the "all" query. Josh Sherman 2010-12-12 21:04:36 -05:00
  • 802480ce67 Added orange section for file / line number separate from the thrown error. Josh Sherman 2010-12-12 00:58:11 -05:00
  • ede51db2d0 Fixed RegEx checking if we're dealing with internal files. Josh Sherman 2010-12-11 13:41:09 -05:00
  • d638de26c0 Rearranged the methods and simplified the regex Josh Sherman 2010-12-11 13:28:29 -05:00
  • 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. Josh Sherman 2010-12-11 13:12:53 -05:00
  • 8fa5471aa7 Added private module functionality. Josh Sherman 2010-12-09 22:52:26 -05:00
  • a72f49f2b4 Made options array non-case sensitive Josh Sherman 2010-12-09 20:19:03 -05:00
  • 89e2c3db19 Cleaned up stray whitespace. Josh Sherman 2010-12-09 20:12:05 -05:00
  • f500e78248 Left align exception column Josh Sherman 2010-12-09 20:03:12 -05:00
  • 53ee689793 Changed the variable being checked to determine if code was being ran from the command line. josh 2010-12-06 20:49:15 -05:00
  • 4c366d72a8 Auto start session from main file (before Controller is loaded) if session is enabled in the config. Josh Sherman 2010-12-05 17:07:55 -05:00
  • 12d1143bd0 Updated internal docs. Josh Sherman 2010-12-04 14:32:40 -05:00
  • fba44a0be9 Updated class to support command line usage. Josh Sherman 2010-12-04 14:29:15 -05:00
  • 015902ca93 Updated Model to support an array being passed in and not have to be nested inside of a conditions key. Josh Sherman 2010-12-04 13:41:55 -05:00
  • 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. Josh Sherman 2010-12-04 13:20:41 -05:00
  • a3b6753990 Added isEmpty() method to check the emptiness of a string. Josh Sherman 2010-12-04 12:35:03 -05:00
  • a4268a8cbc Lined up variables. Josh Sherman 2010-12-04 12:34:55 -05:00
  • 7cf3e5dadf Fixed issue where Model was dying if only passed an integer (presumably the ID of a row) Josh Sherman 2010-12-02 23:39:46 -05:00
  • 005d30497e Made any input with the class "submit" trigger the AJAX form submission. Josh Sherman 2010-11-30 23:08:07 -05:00
  • efccfe3b25 Updated injectMessage to return the element that it injected so the function can be chained. Josh Sherman 2010-11-30 00:31:42 -05:00
  • bae3f9de63 array_diff was not catching values of 1. Josh Sherman 2010-11-28 18:33:59 -05:00
  • e13a7d93b3 Updated the launchpad's include path adjustment to use a more cross platform solution. Josh Sherman 2010-11-28 13:39:40 -05:00
  • 98db206128 Typo in code checking if we should turn on display_errors (was missing the S) Josh Sherman 2010-11-28 13:34:59 -05:00
  • 3c5cc45292 Merge branch 'master' of github.com:joshtronic/pickles Josh Sherman 2010-11-27 22:49:29 -05:00
  • 1a863bac63 Added documentation for an argument. Josh Sherman 2010-11-27 22:48:52 -05:00
  • 4276e94d3d Added note about limit nature of the Mongo support Josh Sherman 2010-11-27 18:50:49 -08:00
  • 73cfe84480 Edited the markdown Josh Sherman 2010-11-27 18:49:49 -08:00
  • 3075083f3f Updated the markdown Josh Sherman 2010-11-27 18:48:08 -08:00
  • 5f78540770 Updated internal documentation. Josh Sherman 2010-11-27 21:43:43 -05:00
  • 42c3ec993b Removed commented code from the Model and added a note about how experimental and unusable the Mongo class is. Josh Sherman 2010-11-27 21:42:50 -05:00
  • 3e7ece8cce Fixed issues when generating SQL conditionals. Josh Sherman 2010-11-27 18:00:13 -05:00
  • 3aa4775f67 Updated internal documentation. Josh Sherman 2010-11-26 23:39:53 -05:00
  • 89f3dc60c7 Added more options to the launchpad configuration. Josh Sherman 2010-11-26 23:38:00 -05:00
  • 7e1a45e9cb Added support for index hinting. Josh Sherman 2010-11-26 23:16:56 -05:00
  • c32ee1a12e Added support for passing in a .rss extension to force the rendering engine RSS. Josh Sherman 2010-11-26 23:16:30 -05:00
  • e730d2181f Added in RSS display class. Josh Sherman 2010-11-26 22:35:06 -05:00
  • 3defe17bc5 Removed JSON references from when I duped the JSON class. Josh Sherman 2010-11-26 21:17:05 -05:00
  • 6205ad7809 Added support for dynamically setting the ID column in a Model. Josh Sherman 2010-11-26 19:19:54 -05:00
  • 43dd8f16ab Added JOIN support in the Model. Josh Sherman 2010-11-26 15:31:58 -05:00
  • f47138f450 Removed symlink references in launchpad, can be accomplished by using the /__pickles path. Josh Sherman 2010-11-26 13:54:31 -05:00
  • 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). Josh Sherman 2010-11-26 13:50:48 -05:00
  • 5cb8592b35 Updated internal documentation. Josh Sherman 2010-11-26 11:34:29 -05:00
  • 8878331d3f Added error handling when AJAX response is invalid. Josh Sherman 2010-11-26 11:29:45 -05:00
  • 2add111b9b Removed debug code. Josh Sherman 2010-11-26 02:46:18 -05:00
  • 212843386d Added optional security hash check. Josh Sherman 2010-11-26 02:43:41 -05:00
  • 2b57cb6a5d Removed the salt argument as the salts are driven solely by the config in this use case scenario. Josh Sherman 2010-11-26 02:32:01 -05:00
  • e120150bca Moved hash generation into the Security class so it can be accessed outside of the input generation. Josh Sherman 2010-11-26 02:28:07 -05:00
  • b694ff55c5 Built the securityInput() method for generating inputs to use while validating AJAX calls. Josh Sherman 2010-11-26 02:06:44 -05:00
  • 98e7f0fb34 Added optional request method checking. Josh Sherman 2010-11-26 01:36:06 -05:00
  • 9d8ff5e9b1 Made the format of the phone number a passable argument. Josh Sherman 2010-11-26 00:10:42 -05:00
  • 8d53f685ad Updated internal documentation. Josh Sherman 2010-11-25 01:53:01 -05:00
  • 14f0efbea0 Implemented secure variable in the module, removed request variable and will potentially add it back in at a later time. Josh Sherman 2010-11-25 01:52:00 -05:00
  • 985deaf18a Made dateSelect() less dobSelect() specific. Josh Sherman 2010-11-25 00:46:12 -05:00
  • 2da19ace00 Cleaned up arrayToXML method. Josh Sherman 2010-11-25 00:37:05 -05:00
  • aed0942654 Migrated conversion utilities to the Convert class. Josh Sherman 2010-11-25 00:15:25 -05:00
  • dce116fa54 Added documentation for new class. Josh Sherman 2010-11-24 23:42:38 -05:00
  • d754757eee Updated the internal documentation. Josh Sherman 2010-11-24 23:42:02 -05:00
  • 072afaf936 Added another logged warning when unable to serve up a minified file. Josh Sherman 2010-11-24 23:40:29 -05:00