Commit Graph

438 Commits

Author SHA1 Message Date
Taylor Otwell f9c4c50436 add Form::hidden and Form::text. 2011-07-16 10:09:02 -05:00
Taylor Otwell 70cba4ebe2 removed null handling code in db::query until further confirmation of bug is received. 2011-07-16 08:19:36 -05:00
Taylor Otwell 514c128957 Fixed bug in bindings that was causing null to be saved as 0 in MySQL. 2011-07-14 06:30:07 -07:00
Taylor Otwell 121a15bbcf refactored route parameter parsing tests. 2011-07-13 23:24:22 -05:00
Taylor Otwell cffbcd010d changed continue to return in validation library. 2011-07-13 20:59:51 -05:00
Michael Hasselbring 36fe006b08 Created Validator::make() 2011-07-13 19:40:55 -05:00
Taylor Otwell 230af4125d added optional parameters to routes. 2011-07-13 17:29:57 -05:00
Taylor Otwell 398a5bb41a added support for optional route parameters. 2011-07-13 17:28:42 -05:00
Taylor Otwell 03044c7d4c Refactoring router. 2011-07-13 13:13:18 -07:00
Taylor Otwell 6c6f92a7c9 Added default value to URL::to_asset method. 2011-07-13 11:03:22 -07:00
Taylor Otwell c3b8524e1b rewrote validation library. 2011-07-12 20:04:14 -05:00
Taylor Otwell bbc45f92b7 added PHPass to system/vendor. 2011-07-11 21:58:51 -05:00
Taylor Otwell c95e7fdbbe Refactor router to use routes.php as the default routes for all requests, even when using a routes directory. 2011-07-11 13:38:07 -07:00
Taylor Otwell 0d2cfd2417 Refactor Auth class to use Auth config closures. 2011-07-11 12:42:19 -07:00
Taylor Otwell 757e1280a8 Refactor Auth class to use new bcrypt hashing. 2011-07-11 12:25:12 -07:00
Taylor Otwell 427fe62568 Refactor hash class to use PHPass. 2011-07-11 12:15:06 -07:00
Taylor Otwell a6d1449b40 deprecated log class. removed from aliases. added storage/log.txt. 2011-07-11 12:33:22 -05:00
Taylor Otwell 8053d8e954 Call the configuration "logger" when writing logs in the error class. 2011-07-11 09:57:20 -07:00
Taylor Otwell 3f20c10d02 Order the exception CSS. 2011-07-11 09:18:59 -07:00
Taylor Otwell 44d14df331 Added note to Route\Finder. 2011-07-11 09:17:30 -07:00
Taylor Otwell 4b25d9e4d2 Refactor exception view. 2011-07-11 08:40:11 -07:00
Taylor Otwell 4fc4d04028 Improved error exception view. 2011-07-11 08:39:20 -07:00
Taylor Otwell 54311a41ce Added file context to error class. 2011-07-11 08:38:49 -07:00
Taylor Otwell 69d1377fd4 Refactoring the error class. 2011-07-11 07:47:23 -07:00
Taylor Otwell 5eb379d6cc Refactoring the session class. 2011-07-11 07:05:46 -07:00
Taylor Otwell 15328afa4d refactoring auto-loader. 2011-07-10 23:45:38 -05:00
Taylor Otwell c75f298c34 fix typo in error class. 2011-07-10 23:36:49 -05:00
Taylor Otwell c30185eb27 refactoring eloquent. 2011-07-10 23:31:37 -05:00
Taylor Otwell 95528adab5 fix syntax error in error class. 2011-07-10 23:16:11 -05:00
Taylor Otwell 063cde50c0 removed file context from error messages. 2011-07-10 23:08:14 -05:00
Taylor Otwell 46b0a7d8ad removed some comment bloat from the Form class. 2011-07-10 22:59:05 -05:00
Taylor Otwell da8c412dbc deprecated text class. 2011-07-10 22:38:55 -05:00
Taylor Otwell d0ba4719d8 extracted the route wildcard translation to a separate method. 2011-07-09 23:54:07 -05:00
Taylor Otwell 8277694693 refactoring router. 2011-07-09 23:41:27 -05:00
Taylor Otwell 141bed3916 cleaning up Request::uri method. 2011-07-09 22:31:06 -05:00
Taylor Otwell ca58f80b22 removed cache and session factories. moved cache item management into cache class and out of drivers. tweaked auth class. 2011-07-09 22:15:42 -05:00
Taylor Otwell ceb0e1a807 added check for array in Request::spoofed. 2011-07-09 17:15:23 -05:00
Taylor Otwell 9608a0dee7 Removed comment bloat from View class. 2011-07-08 12:57:32 -07:00
Taylor Otwell 924ecf879c Added __toString method to Response. 2011-07-08 12:57:11 -07:00
Taylor Otwell e48d611149 Remove comment bloat from URL class. 2011-07-08 12:48:44 -07:00
Taylor Otwell 5ea2974bd6 Trim comment bloat from Route class. 2011-07-08 12:46:21 -07:00
Taylor Otwell 0dd06ad314 Remove comment bloat from Response class. 2011-07-08 12:45:06 -07:00
Taylor Otwell 9fc8c36b94 Removing comment bloat from Redirect class. 2011-07-08 12:44:25 -07:00
Taylor Otwell 5bea9121af Refactoring input class to use Request::spoofed when hydrating input. 2011-07-08 12:41:03 -07:00
Taylor Otwell 5bb5adcf9c Added Request::spoofed method. 2011-07-08 12:38:54 -07:00
Taylor Otwell d0fafd1301 Formatting DB class. 2011-07-08 12:16:30 -07:00
Taylor Otwell 8056e0d1a7 Moved Session\Factory functionality into the Session class. 2011-07-08 09:48:01 -07:00
Taylor Otwell b1b2b932cc Moved Cache\Factory functionality into Cache class. 2011-07-08 09:43:04 -07:00
Taylor Otwell c5a2752e8a Refactoring Input class. 2011-07-08 08:24:57 -07:00
Taylor Otwell c2b7e60bdd Cleaning up DB session driver. 2011-07-08 08:19:40 -07:00
Taylor Otwell 7af9e08a60 Refactoring Eloquent. 2011-07-08 08:00:04 -07:00
Taylor Otwell c4eb994fbc Refactoring Eloquent. 2011-07-08 07:58:28 -07:00
Taylor Otwell 8b1fe5920b Refactoring Eloquent\Hydrator. 2011-07-08 07:54:38 -07:00
Taylor Otwell 745ac394bb Adjust Eloquent\Hydrator to pass array of columns into Query->get method. 2011-07-08 07:37:50 -07:00
Taylor Otwell a0195e9386 Adjust Eloquent to pass array of columns when selecting. 2011-07-08 07:36:20 -07:00
Taylor Otwell 00b064c7d5 Revert previous changes to Eloquent. 2011-07-08 07:32:25 -07:00
Taylor Otwell 16265a2cf6 Adjust Eloquent to use new Query API. 2011-07-08 07:31:15 -07:00
Taylor Otwell 787be6bc99 Changed Query::get and Query::first to accept arrays of columns instead of a dynamic parameter list. 2011-07-08 07:28:38 -07:00
Taylor Otwell 21efdbf69b Remove insert and update methods from Eloquent. 2011-07-08 07:13:30 -07:00
Taylor Otwell 666ebf2119 Refactoring Eloquent class. 2011-07-08 07:09:43 -07:00
Taylor Otwell 743cf6f44a Refactoring DB\Eloquent. 2011-07-08 06:56:29 -07:00
Taylor Otwell e6e7586dbc Refactoring DB\Connector. 2011-07-08 06:48:31 -07:00
Taylor Otwell 6c51536d7d Remove check for items in Memcached cache driver. 2011-07-08 06:45:38 -07:00
Taylor Otwell de19b8db40 Remove check for items in File cache driver. 2011-07-08 06:45:15 -07:00
Taylor Otwell 24fefe9eb2 Remove check for items in APC driver. 2011-07-08 06:44:54 -07:00
Taylor Otwell 44a48256c7 Allow cache class to look for existing items in driver's items array. 2011-07-08 06:43:02 -07:00
Taylor Otwell 82d5760a32 Make items array public on Memcached cache driver. 2011-07-08 06:40:49 -07:00
Taylor Otwell 967428c441 Make items array public on File cache driver. 2011-07-08 06:40:20 -07:00
Taylor Otwell ec43d5dd03 Make item array public on APC cache driver. 2011-07-08 06:39:58 -07:00
Taylor Otwell bbc8b8f954 Refactoring View class. 2011-07-08 06:37:50 -07:00
Taylor Otwell 767a49f54b Tweaking comments in URL class. 2011-07-08 06:35:42 -07:00
Taylor Otwell 60c9c91516 Trimming comment bloat from Route class. 2011-07-08 06:28:41 -07:00
Taylor Otwell a86d4477ca refactoring redirect class. 2011-07-07 23:55:27 -05:00
Taylor Otwell ea6b58b28c refactoring lang class. 2011-07-07 23:48:05 -05:00
Taylor Otwell c5ddb67d6b added comment to hash class. 2011-07-07 23:43:54 -05:00
Taylor Otwell 6d296f2a1d added comment to file class. 2011-07-07 23:42:11 -05:00
Taylor Otwell 6a77a98f95 refactored error and file classes. 2011-07-07 23:40:29 -05:00
Taylor Otwell 4b063ac042 refactoring database and connector classes. 2011-07-07 23:35:23 -05:00
Taylor Otwell 77d65b89cb refactoring crypt class. 2011-07-07 23:24:43 -05:00
Taylor Otwell 6e93237ec9 refactoring config class. 2011-07-07 23:16:52 -05:00
Taylor Otwell 8203bd9af5 refactoring cache class. 2011-07-07 23:07:44 -05:00
Taylor Otwell 22c1353cea added comment to auth class. 2011-07-07 23:01:44 -05:00
Taylor Otwell 70e35fb3d7 refactoring auth class. 2011-07-07 23:00:40 -05:00
Taylor Otwell 06cb63f502 removed route\loader and route\parser classes. 2011-07-07 22:55:27 -05:00
Taylor Otwell ad824341a6 fixed bug in input class causing entire array to not be returned. 2011-07-07 22:30:15 -05:00
Taylor Otwell 5475048749 Add comment to Redirect class. 2011-07-07 12:41:18 -07:00
Taylor Otwell 59e5cfc711 Fixing comments on Router class. 2011-07-07 12:18:53 -07:00
Taylor Otwell 5a67571020 Refactoring the Router class. 2011-07-07 12:17:55 -07:00
Taylor Otwell 94ccbffb7d Refactoring Router class. 2011-07-07 11:55:09 -07:00
Taylor Otwell 80c746edb2 Refactor route parameter parsing. 2011-07-07 11:38:30 -07:00
Taylor Otwell b5e0eb022c Refactoring Router. 2011-07-07 09:49:31 -07:00
Taylor Otwell 654c4aa85f Removed comment bloat from Route\Filter. 2011-07-07 09:38:48 -07:00
Taylor Otwell 7a8e04cbdd Added comment to Router class. 2011-07-07 09:37:14 -07:00
Taylor Otwell f0b02caaec Refactoring Router. 2011-07-07 09:34:58 -07:00
Taylor Otwell 775f11e09b Refactoring Route\Finder. 2011-07-07 09:24:40 -07:00
Taylor Otwell 0767fa5027 Remove comment bloat from Route\Finder. 2011-07-07 09:17:31 -07:00
Taylor Otwell 1a4a7cbbab Make the Router::load method public. 2011-07-07 09:12:20 -07:00
Taylor Otwell c2e1ef68ad Refactor Router class, deprecate Route\Loader and Route\Parser. 2011-07-07 09:09:20 -07:00
Taylor Otwell c1e2f3cf90 Remove comment bloat from Route\Loader class. 2011-07-07 08:59:46 -07:00
Taylor Otwell 0d48fba1be Remove comment bloat from Route\Finder class. 2011-07-07 08:57:30 -07:00
Taylor Otwell ae9824f80b Remove comment bloat from Route\Filter class. 2011-07-07 08:53:05 -07:00
Taylor Otwell a5af988d53 Remove comment bloat from dynamic query builder. 2011-07-07 08:51:52 -07:00
Taylor Otwell 34605ad49d Remove comment bloat from Eloquent hydrator. 2011-07-07 08:49:59 -07:00
Taylor Otwell bc8c0f2cc7 Refactor Query class. Remove comment bloat. 2011-07-07 08:45:37 -07:00
Taylor Otwell 98a691fa58 Remove comment bloat from Eloquent. 2011-07-07 08:28:42 -07:00
Taylor Otwell 60e3526313 Refactor DB\Connector class. 2011-07-07 08:15:18 -07:00
Taylor Otwell 9454927bd3 Added Cache::maybe method. 2011-07-07 08:04:29 -07:00
Taylor Otwell 1d96b96828 Force memcached cache driver to return null as default. 2011-07-07 07:42:06 -07:00
Taylor Otwell a29e76f27b Force File cache driver to return null when items are expired. 2011-07-07 07:41:39 -07:00
Taylor Otwell 577066e07e Tweak file cache driver to return null as default. 2011-07-07 07:40:42 -07:00
Taylor Otwell 9927e3ed4e Tweak APC cache driver to return null for default value. 2011-07-07 07:39:48 -07:00
Taylor Otwell 3eeb69d1bf Remove default value from cache driver interface. 2011-07-07 07:39:26 -07:00
Taylor Otwell aaae1acb34 Refactor cache class. Fix driver instantiation bug. Allow closures as default parameter. 2011-07-07 07:38:59 -07:00
Taylor Otwell 715bed748d Add support for closures to File cache driver. 2011-07-07 07:29:16 -07:00
Taylor Otwell ac38876e34 Add support for closures in APC cache driver. 2011-07-07 07:28:03 -07:00
Taylor Otwell 4a4a79ce34 Remove comment bloat from Validator class. 2011-07-07 07:24:28 -07:00
Taylor Otwell 42cff59a7d Remove comment bloat from View class. 2011-07-07 07:22:50 -07:00
Taylor Otwell 2f999397e3 Trim comment bloat from URL class. 2011-07-07 07:21:15 -07:00
Taylor Otwell a2406c0174 Trim comment bloat in Text class. 2011-07-07 07:18:45 -07:00
Taylor Otwell 5755fdaba0 Refactor Str::pool method. 2011-07-07 07:16:20 -07:00
Taylor Otwell c50246c694 Refactoring Str class. 2011-07-07 07:14:57 -07:00
Taylor Otwell 607b23b742 Refactoring Session class. Trimmed comment bloat. Added support for closures on Session::get default value. 2011-07-06 15:07:18 -07:00
Taylor Otwell 881d7f78a1 Trim comment bloat from Router class. 2011-07-06 15:03:51 -07:00
Taylor Otwell cf8e5e2f80 Trim comment bloat from Route class. 2011-07-06 15:02:01 -07:00
Taylor Otwell e334fd80b6 Trim comment bloat on Response class. 2011-07-06 14:59:53 -07:00
Taylor Otwell 37927ee44b Refactoring Request::remove_from_uri method. 2011-07-06 14:58:29 -07:00
Taylor Otwell b1342a5928 Refactoring the Request class. 2011-07-06 14:57:10 -07:00
Taylor Otwell af7ba04628 Trimming comment bloat in Redirect class. 2011-07-06 14:50:48 -07:00
Taylor Otwell 31e4b7a407 Trimming comment bloat in Memcached class. 2011-07-06 14:50:05 -07:00
Taylor Otwell 5114f2ee87 Trimming comment bloat in Log class. 2011-07-06 14:49:18 -07:00
Taylor Otwell 5643daa66c Refactor Lang class. 2011-07-06 14:45:08 -07:00
Taylor Otwell e2973e565d Allow closures as Config default. 2011-07-06 14:37:59 -07:00
Taylor Otwell 57f61dc54c Formatting Input class. 2011-07-06 14:36:10 -07:00
Taylor Otwell 2a1c01f1c9 Cleaning up HTML class bloat. 2011-07-06 14:29:48 -07:00
Taylor Otwell 28d11f15bb Refactoring Hash class. 2011-07-06 14:26:04 -07:00
Taylor Otwell 77c23c4665 Trim bloat from Form class. 2011-07-06 14:19:18 -07:00
Taylor Otwell fa0e6c8db1 Trimming comment bloat from Error class. 2011-07-06 14:13:57 -07:00
Taylor Otwell 014c2ebf66 Removing comment bloat from DB class. 2011-07-06 14:11:44 -07:00
Taylor Otwell 3c7dd2822b Trimming comment bloat in Crypt class. 2011-07-06 14:08:50 -07:00
Taylor Otwell e5beda1d5b Converted Session class to use Cookie::put. 2011-07-06 14:05:16 -07:00
Taylor Otwell 65bbea81fd Put the Cookie class on a diet. 2011-07-06 14:04:48 -07:00
Taylor Otwell d1f1c367e2 Formatting Cache class. 2011-07-06 14:00:20 -07:00
Taylor Otwell 45333c5743 Formatting Config class. 2011-07-06 13:53:25 -07:00
Taylor Otwell 48acf1d273 Refactoring Config class to use Arr. Removed unnecessary comments. 2011-07-06 13:53:00 -07:00
Taylor Otwell 65ffe0b610 Added support for closures as Arr::get default parameter. 2011-07-06 13:45:03 -07:00
Taylor Otwell 1e84c8901a Formatting Cache class. 2011-07-06 13:40:34 -07:00
Taylor Otwell a3401d5247 Cleaning up Cache class. 2011-07-06 13:40:03 -07:00
Taylor Otwell 39d3ccb8f0 Refactoring / comment clean-up on Auth class. 2011-07-06 13:37:59 -07:00
Taylor Otwell 6fc0770bce Continuing to clean up Input class. 2011-07-06 13:35:59 -07:00
Taylor Otwell 0e02a8a53d Remove unnecessary comments from Input class. 2011-07-06 13:34:55 -07:00