Commit graph

638 commits

Author SHA1 Message Date
Josh Sherman
a31673d1ca Renamed launchpad to boilerplate. 2011-04-16 22:38:14 -04:00
Josh Sherman
d9436919bd Fixed missing Content-Type headers when loading internal static assets (e.g. /__pickles/css/reset.css) 2011-04-09 16:34:49 -04:00
Josh Sherman
a2f2e98195 Added reset to the walk() to save from calling reset() when iterating a record set more than once (hey, that shit happens!) 2011-04-02 12:55:29 -04:00
Josh Sherman
6bb94972b4 Added walk() method and scaffolding for sort() and shuffle() 2011-04-02 12:47:10 -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
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. 2011-03-30 23:29:34 -04:00
Josh Sherman
a7addc1ab0 Fixed selected attribute issue in option generation method. 2011-01-31 00:01:50 -05:00
Josh Sherman
98c5e97eac Added duration to injected messages to automatically destroy them. 2011-01-29 18:00:34 -05:00
Josh Sherman
b2047bd0cb Fixed issue with request method and security hash validation. 2011-01-28 23:21:44 -05:00
Josh Sherman
95e75226d3 Return authentication error as JSON when script was POSTed to instead of performing a redirect to the login page. 2011-01-26 23:42:16 -05:00
Josh Sherman
477a16a863 Execute callback function after every AJAX call regardless of status (so you can execute a callback when returing an error). 2011-01-20 22:58:45 -05: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
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. 2011-01-16 21:29:10 -05:00
Josh Sherman
04471d607a Added database session handling. 2011-01-16 15:40:59 -05:00
Josh Sherman
c4ee198a8e Changed default input type to "text" from "input" which was a typo. 2011-01-15 22:00:33 -05:00
Josh Sherman
861311a7f3 Cast variable as string so ctype_digit() will work. 2011-01-15 17:33:37 -05:00
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
453d9b4033 Updated documentation. 2010-12-24 19:44:33 -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
802480ce67 Added orange section for file / line number separate from the thrown error. 2010-12-12 00:58:11 -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 Sherman
f500e78248 Left align exception column 2010-12-09 20:03:12 -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
12d1143bd0 Updated internal docs. 2010-12-04 14:32:40 -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
a4268a8cbc Lined up variables. 2010-12-04 12:34:55 -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
005d30497e Made any input with the class "submit" trigger the AJAX form submission. 2010-11-30 23:08:07 -05:00
Josh Sherman
efccfe3b25 Updated injectMessage to return the element that it injected so the function can be chained. 2010-11-30 00:31:42 -05:00
Josh Sherman
bae3f9de63 array_diff was not catching values of 1. 2010-11-28 18:33:59 -05:00
Josh Sherman
e13a7d93b3 Updated the launchpad's include path adjustment to use a more cross platform solution. 2010-11-28 13:39:40 -05:00