Commit Graph

549 Commits

Author SHA1 Message Date
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
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