Commit Graph

577 Commits

Author SHA1 Message Date
Taylor Otwell b8e27533bd use db manager in validator. 2011-08-01 18:07:36 -05:00
Taylor Otwell e3b6328394 fix connector conflict. 2011-08-01 17:59:31 -05:00
Taylor Otwell badc8a6088 database refactoring. 2011-08-01 17:58:20 -05:00
Taylor Otwell 716a957e93 Refactoring. 2011-08-01 17:09:10 -05:00
Taylor Otwell bc7df55f92 Fix call to Loader::everything. 2011-08-01 15:39:58 -05:00
Taylor Otwell ae69149262 change Loader::everything to Loader::all. 2011-08-01 15:39:34 -05:00
Taylor Otwell 2efdef01d2 Add path to route loader. 2011-08-01 15:36:09 -05:00
Taylor Otwell 23d5742575 remove item caching from cache manager. 2011-08-01 09:15:03 -05:00
Taylor Otwell 5f3d40b76c Added support for in-memory SQLite databases. 2011-08-01 08:47:45 -05:00
Taylor Otwell e060c3d1da added reload function to loader everything function. 2011-07-31 23:11:45 -05:00
Taylor Otwell b55e5169f3 adjusted comments in route loader. 2011-07-31 22:15:39 -05:00
Taylor Otwell f9f168eacb added more dependency injection to route loader and finder. 2011-07-31 22:11:49 -05:00
Taylor Otwell 0af326b636 working on routing architecture. 2011-07-31 21:51:55 -05:00
Taylor Otwell 344f49e1bf made router routes optional and fixed front controller. 2011-07-31 17:40:03 -05:00
Taylor Otwell 2bb7125127 fixed routing bug. 2011-07-31 17:24:43 -05:00
Taylor Otwell 2275c74660 moved all routing classes into routing namespace. 2011-07-31 14:48:17 -05:00
Taylor Otwell d8eba6389c moved asset_container into asset.php 2011-07-31 14:28:24 -05:00
Taylor Otwell 83ace2de68 moved routing classes into system namespace. 2011-07-31 13:14:39 -05:00
Taylor Otwell 153d7007ac moved asset container to system directory. 2011-07-31 13:04:49 -05:00
Taylor Otwell b504089db7 moved exception view to application views and removed system view folder. 2011-07-31 12:54:22 -05:00
Taylor Otwell 481d2aa7ec added Str::ascii method and fixed accented character problem in URL::slug. 2011-07-30 09:52:49 -05:00
Taylor Otwell 86075c2765 moved validation/errors into system/messages... not just useful for error messages. 2011-07-29 23:38:29 -05:00
Taylor Otwell 4609528d93 fixed bug in session and cache factories. 2011-07-29 23:21:54 -05:00
Taylor Otwell dbdd45d9fc tweaked cache and session namespacing. 2011-07-29 23:17:57 -05:00
Taylor Otwell 5b2858824b tweaking router formatting. 2011-07-29 22:56:18 -05:00
Taylor Otwell bc5299abfc tweaked router architecture to be non-static. 2011-07-29 22:48:14 -05:00
Taylor Otwell 7ecb2cf436 Deprecated Router::call method. 2011-07-28 15:32:54 -05:00
Taylor Otwell ce39e48458 Merge branch 'master' into develop 2011-07-28 12:26:45 -05:00
Taylor Otwell 8871ddff1b Fixed bug in URL::to method. 2011-07-28 11:09:13 -05:00
Taylor Otwell 6154bef9bc Update CSS to Lobster Two font, which apparently changed. 2011-07-28 08:35:30 -05:00
Taylor Otwell 3c8da4df93 Merge branch 'develop' 2011-07-27 22:27:47 -05:00
Taylor Otwell 29b98b2acb added check for .php in route finder glob. 2011-07-27 22:27:35 -05:00
Taylor Otwell fee56e0b1e Merge branch 'develop' 2011-07-27 22:15:04 -05:00
Taylor Otwell 45cc0f1715 Make Router::$routes public. 2011-07-27 13:16:13 -05:00
Taylor Otwell 60f69659ea Added Router::call method for making HMVC requests. 2011-07-27 12:02:11 -05:00
Taylor Otwell 77331efc9d Fix slash bug in url class. 2011-07-27 08:51:11 -05:00
Taylor Otwell 095c236234 Fixed empty result set bug in paginator class. 2011-07-27 08:48:00 -05:00
Taylor Otwell 0ca2171071 added lang_path constant. 2011-07-26 23:26:04 -05:00
Taylor Otwell c76d0fb669 use language in paginator class. 2011-07-26 23:23:34 -05:00
Taylor Otwell 7e439ab52e fixed bug in config has method. 2011-07-26 22:56:51 -05:00
Taylor Otwell 0f1bd8a739 added db::first method. 2011-07-26 22:16:55 -05:00
Taylor Otwell 066db38ddb deprecated auto-loader file. moved to public/index.php. 2011-07-26 22:13:56 -05:00
Taylor Otwell 1cf4431659 added a few more path constants. 2011-07-26 22:11:16 -05:00
Taylor Otwell 7bbee401b2 Added Response::error method. 2011-07-26 15:40:48 -05:00
Taylor Otwell 6b9b0ad5cd remove unnecessary else. 2011-07-26 15:31:56 -05:00
Taylor Otwell a4e8375feb Use view path constants in view->find() method. 2011-07-26 15:31:10 -05:00
Taylor Otwell 14c8878b67 Switch make call to static in partial method. 2011-07-26 14:36:47 -05:00
Taylor Otwell f4f82d1761 Added View::of method and $view->partial() method. 2011-07-26 14:35:44 -05:00
Taylor Otwell 989ba6743b Added support for specifying columns when paginating. 2011-07-26 08:24:32 -05:00
Pedro Borges 5742276fe6 Bug fixed on cookie.php 2011-07-26 10:01:55 -03:00
Taylor Otwell 2c18083572 make view->find method protected instead of private. 2011-07-25 23:20:19 -05:00
Taylor Otwell 8356151f71 added support for environment configuration files. 2011-07-25 22:47:33 -05:00
Taylor Otwell 2c774adbde check for $_SERVER instead of $_ENV LARAVEL_ENV. 2011-07-25 22:16:20 -05:00
Taylor Otwell c9698df285 added support for environment driven configuration files. 2011-07-25 22:01:17 -05:00
Taylor Otwell 5a43f29f31 Tweak eloquent->paginate() for new paginator constructor API. 2011-07-25 14:09:54 -07:00
Taylor Otwell db6b93f668 Tweak Query->paginate for new paginator constructor API. 2011-07-25 14:09:08 -07:00
Taylor Otwell e9397b7107 More refactoring on paginator. 2011-07-25 14:07:46 -07:00
Taylor Otwell 7191a67680 Edited system/paginator.php via GitHub 2011-07-25 13:37:07 -07:00
Taylor Otwell 7499586bb3 Edited system/paginator.php via GitHub 2011-07-25 13:35:41 -07:00
Taylor Otwell a6a2588ed1 A few more tweaks to the paginator class. 2011-07-25 13:34:54 -07:00
Taylor Otwell 873e4ee2d7 Tweaking paginator class. 2011-07-25 13:29:53 -07:00
Taylor Otwell 721693a52a Continuing work on URL class. 2011-07-25 13:25:47 -07:00
Taylor Otwell d48c5d186d Added comments to URL class. 2011-07-25 13:22:52 -07:00
Taylor Otwell 7f465f307b Refactoring URL class. 2011-07-25 13:19:39 -07:00
Taylor Otwell 3c216d897f Refactoring URL class. 2011-07-25 13:15:24 -07:00
Taylor Otwell 6e9bf0a0e3 URL::to_asset should use Request::is_secure to determine if asset link should use HTTPS. 2011-07-25 12:37:10 -07:00
Taylor Otwell 44db0e72f9 Refactoring the paginator class again... 2011-07-25 12:16:27 -07:00
Taylor Otwell dac63a50c6 Refactored the paginator class for cleanliness. 2011-07-25 12:00:16 -07:00
Taylor Otwell 8d2eefe18f Refactoring paginator. 2011-07-25 08:37:33 -07:00
Taylor Otwell 7ca5a2359a Added HTML::span method. 2011-07-25 08:37:01 -07:00
Taylor Otwell 79482dece5 added emulate prepares to pdo options. 2011-07-23 10:49:25 -05:00
Taylor Otwell 860c28206d Added closing div tag to paginator output. 2011-07-22 15:36:21 -07:00
Taylor Otwell bbfc8b888a Edited system/paginator.php via GitHub 2011-07-22 12:58:50 -07:00
Taylor Otwell 49fe1e3a87 Edited system/paginator.php via GitHub 2011-07-22 12:39:43 -07:00
Taylor Otwell faa4287423 Added support for generic PDO connections. 2011-07-22 12:21:39 -07:00
Taylor Otwell e0a8d173bd Add support for nested ul and ol lists. 2011-07-22 11:48:18 -07:00
Taylor Otwell 6b50e8b04d Correct typo in validator. 2011-07-22 11:40:16 -07:00
Taylor Otwell 9c4361fcfc Correct property name bug in validator. 2011-07-22 11:38:30 -07:00
Taylor Otwell 9f09af4a1b Add better language support to Validator. 2011-07-22 11:37:16 -07:00
Taylor Otwell 341908d76c Added secure and lang methods to paginator. 2011-07-22 11:34:44 -07:00
Taylor Otwell 36d9fe0b87 Added Form::open_secure and Form::open_secure_for_files 2011-07-22 11:28:04 -07:00
Taylor Otwell 64351b2268 Added HTML::link_to_secure_asset method. 2011-07-22 11:22:02 -07:00
Taylor Otwell 9b46956fc9 removed span method from html class. 2011-07-22 11:19:41 -07:00
Taylor Otwell 1c5187b509 removed span class from paginator class. 2011-07-22 11:18:27 -07:00
Taylor Otwell 4959a38d01 Adjusted paginator comment. 2011-07-22 09:57:01 -07:00
Taylor Otwell f0e3134442 Refactoring paginator class. 2011-07-22 09:55:11 -07:00
Taylor Otwell 677747c4ca Remove lang method from paginator class. 2011-07-22 09:54:06 -07:00
Taylor Otwell de48e194c7 Replace last_page method with property. 2011-07-22 09:52:00 -07:00
Taylor Otwell c09481c519 Refactoring the Paginator class. 2011-07-22 09:49:13 -07:00
Taylor Otwell f7f790301f Added lang method to Paginator. 2011-07-22 09:36:07 -07:00
Taylor Otwell be2b7fec0c Deprecate replace method in Lang class. 2011-07-22 09:21:05 -07:00
Taylor Otwell a23c6ab9c1 Do not strtolower request URI. 2011-07-22 08:53:28 -07:00
Taylor Otwell ca97abe77f Added http_only configuration item to session cookie. 2011-07-22 08:00:57 -07:00
Taylor Otwell ebd8bd55b2 added http_only option to cookie::put method. 2011-07-21 23:54:25 -05:00
Taylor Otwell d420d1c07f added language support for characters and kilobytes in validator library. 2011-07-21 23:39:09 -05:00
Taylor Otwell c1ca97d9fb added support for named views. 2011-07-21 23:30:52 -05:00
Taylor Otwell fbf1603b5a add comment about url::to_asset. 2011-07-21 22:07:43 -05:00
Taylor Otwell e9a43326a7 fix bug in validator class required check. 2011-07-21 22:00:23 -05:00
Taylor Otwell 49cd851f54 tweaked method signature to paginator links method. 2011-07-21 21:54:54 -05:00
Taylor Otwell d0b160c329 Fix bug causing non-required fields to throw errors in Validator class. 2011-07-21 11:03:44 -07:00
Taylor Otwell 89b5ad030e Added format parameter to Error->first method. 2011-07-21 11:00:19 -07:00
Taylor Otwell 539eb28c2c Refactoring Paginator. 2011-07-21 08:51:10 -07:00
Taylor Otwell 556fff9ff0 Added better language support for Pagination library. 2011-07-21 08:46:37 -07:00
Taylor Otwell 46a15cf857 Add more detail to pagination exception message. 2011-07-21 08:39:36 -07:00
Taylor Otwell b7ab358297 Added __toString method to Lang class. 2011-07-21 08:32:59 -07:00
Taylor Otwell 9f8e56d687 Added ability to pass replacements in Lang constructor. 2011-07-21 08:18:49 -07:00
Taylor Otwell 0f17aff723 Added "dots" class to paginator. 2011-07-21 07:52:43 -07:00
Taylor Otwell acc279989c Move last page logic into Paginator class. 2011-07-21 07:26:24 -07:00
Taylor Otwell b933b19dfd Refactoring query builder for pagination changes. 2011-07-21 07:25:54 -07:00
Taylor Otwell b2f92691a6 Refactoring Eloquent for pagination changes. 2011-07-21 07:25:32 -07:00
Taylor Otwell 2cdee7aff1 Refactoring pagination class. 2011-07-21 07:20:11 -07:00
Taylor Otwell 218783ecee Refactoring Query class pagination. 2011-07-21 07:17:53 -07:00
Taylor Otwell f7eeb85ec6 Refactoring Eloquent pagination. 2011-07-21 07:16:45 -07:00
Taylor Otwell b29ba692ce Refactoring Paginator. 2011-07-21 06:37:50 -07:00
Taylor Otwell 9a36124b9e Refactoring Paginator. 2011-07-21 06:37:10 -07:00
Taylor Otwell 7ec88d3faa Tweak pagination comment in Query class. 2011-07-21 06:36:36 -07:00
Taylor Otwell abd269aa78 initial version of pagination library. 2011-07-20 23:31:02 -05:00
Taylor Otwell 2b132512e8 Add comment regarding foreign and associated keys in eloquent. 2011-07-20 09:53:05 -07:00
Taylor Otwell dd729886f5 Fix has_and_belongs_to_many eager loading initialization bug. 2011-07-20 07:07:15 -07:00
Taylor Otwell 17cc50375b Added support for self-referential many-to-many relationships in Eloquent. 2011-07-20 06:57:34 -07:00
Taylor Otwell b4c7dcb9ea Added support for 'wrap' option. 2011-07-19 11:17:51 -07:00
Taylor Otwell e70726caea Added support for odbc connections. 2011-07-19 11:16:55 -07:00
Taylor Otwell 08010f4eb2 Edited system/router.php via GitHub 2011-07-19 06:23:16 -07:00
Taylor Otwell 3541c05ba2 added comment to route finder. 2011-07-18 23:06:34 -05:00
Taylor Otwell b6feff375b added comment regarding nested route directories. 2011-07-18 23:04:53 -05:00
Taylor Otwell fb8eb874c0 added comment regarding nested route directories. 2011-07-18 22:59:54 -05:00
Taylor Otwell 5b86ad6067 trim route finder iterator instantiation. 2011-07-18 22:49:25 -05:00
Taylor Otwell 44e8867672 tweaked route finder to recursive search directories. 2011-07-18 22:43:55 -05:00
Taylor Otwell 88276ba79e added support for nested route directories. 2011-07-18 22:21:07 -05:00
Taylor Otwell 109a7b4baa Refactoring Error class. 2011-07-18 11:34:04 -07:00
Taylor Otwell ce20d7b9e3 Remove special handling for error views. No longer needed. 2011-07-18 11:33:01 -07:00
Taylor Otwell c54173bc40 Remove View::$last. 2011-07-18 11:32:27 -07:00
Taylor Otwell dc49a4aaeb Simplify router code. 2011-07-18 06:17:21 -07:00
Taylor Otwell 72658bd09a fixed bug in validator->image rule. 2011-07-16 22:16:40 -05:00
Taylor Otwell 4d647c33c0 cleaning up validation library. 2011-07-16 21:56:40 -05:00
Taylor Otwell 808543844d fix typo in validator class comment. 2011-07-16 19:37:30 -05:00
Taylor Otwell da1715fb76 removed unnecessary binding code. 2011-07-16 19:28:41 -05:00
Taylor Otwell 55a201ac61 fixed bug in route finder when looking for routes in route directory. 2011-07-16 13:48:38 -05:00
Taylor Otwell 60ff3bf840 add form::close. 2011-07-16 10:22:57 -05:00
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