Commit Graph

1764 Commits

Author SHA1 Message Date
Andrew Ellis
8e12e7a819 where_nested no longer breaks on closures that don't actually set anything 2012-05-11 13:11:02 -06:00
Taylor Otwell
b097b6c682 Fix to_array() in eloquent model. 2012-05-11 13:22:04 -05:00
Taylor Otwell
f8fe7843ab tweak event queue. 2012-05-11 10:30:23 -05:00
Taylor Otwell
314f25bd28 fixing conflicts. 2012-05-11 08:49:17 -05:00
Taylor Otwell
ef6076b2ce added event queues. 2012-05-11 08:48:31 -05:00
Franz Liedke
df9c223ed6 Remove obsolete class import in request.php. 2012-05-11 12:30:45 +03:00
Franz Liedke
6a58e98316 Remove obsolete class import in file.php. 2012-05-11 12:29:18 +03:00
Franz Liedke
5097e9053b Remove obsolete class import in cookie.php. 2012-05-11 12:28:52 +03:00
Franz Liedke
b40e13a892 Remove obsolete namespace import in config.php. 2012-05-11 12:28:12 +03:00
Franz Liedke
83f7847ccd Remove obsolete namespace import in session/payload.php. 2012-05-11 12:27:38 +03:00
Franz Liedke
09cb38fc67 Fix PHPDoc referring to Closure class. 2012-05-11 12:23:25 +03:00
Franz Liedke
f6bad1e809 Remove obsolete namespace import in driver.php. 2012-05-11 12:21:43 +03:00
Franz Liedke
bf172272da Remove obsolete code. 2012-05-11 12:20:18 +03:00
Colin Viebrock
97de6ef1d7 Order of elements for Cookie::put() was wrong
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-10 22:04:56 -05:00
Colin Viebrock
5637a29fa3 Add Cookie::forever constant, fixes #660
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-10 16:32:07 -05:00
Colin Viebrock
a1cca24e8a Doc change for issue #648 2012-05-10 11:41:29 -05:00
Taylor Otwell
af9f875ee3 Remote unneeded properties. 2012-05-10 11:37:30 -05:00
Taylor Otwell
5fcf57a27d Updated change log. 2012-05-10 08:45:12 -05:00
Taylor Otwell
21a51b7cf9 Add controller and controller_action to route. 2012-05-10 08:44:43 -05:00
Taylor Otwell
641f1d4c14 Merge pull request #615 from awellis13/feature/route-cleanup
Laravel\Route PHPDoc cleanup and removed $uri from Route::parameters().
2012-05-10 06:35:54 -07:00
Taylor Otwell
01894ae4ee Merge pull request #651 from dlpetrie/patch-4
Controller property Bundle ( and some additions )
2012-05-10 06:34:18 -07:00
Taylor Otwell
0ad9c67fa0 Merge pull request #631 from loic-sharma/patch-2
Allow Blade extensions to actually extend Blade
2012-05-10 06:28:58 -07:00
Taylor Otwell
287f2a299f Merge pull request #641 from crynobone/feature/form-select-optgroup
Add support for Form::select with optgroup, solved #526
2012-05-10 06:26:35 -07:00
Daniel Petrie
8a8d331981 Update laravel/routing/controller.php 2012-05-09 17:14:01 -07:00
Daniel Petrie
b6cbac56c8 bundle property wasn't being used, so I made use of it as well as adding the controllers name and action being called. 2012-05-09 17:06:04 -07:00
Colin Viebrock
319c450f6f Make Input::only() and Input::except() into array_only() and array_except() helpers.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-09 15:51:16 -05:00
Colin Viebrock
be5eaf946c Driver uses Laravel\Crypter
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-08 21:17:50 -05:00
crynobone
ec9f5f1995 Add support for Form::select with optgroup, solved #526 2012-05-07 20:43:40 +08:00
Pavel
524375781e Added Bundle::expand() method.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-05-06 12:19:13 +04:00
crynobone
57f94a7829 Validator: During replace :attribute, need to verify Lang::has('key') instead of checking is_null()
Signed-off-by: crynobone <crynobone@gmail.com>
2012-05-06 00:53:33 +08:00
Taylor Otwell
47b6492a7e updated lang::has method. 2012-05-05 11:36:04 -05:00
Loic Sharma
d866244225 Moved the extensions compiler to first. 2012-05-05 08:41:22 -05:00
Taylor Otwell
515f5f4009 change matcher function to public. 2012-05-04 14:49:07 -05:00
Daniel Petrie
3d284d2b8a Adding use Closure; to fix namespacing issue. 2012-05-04 12:40:17 -07:00
Taylor Otwell
70d4746159 cleaning up. 2012-05-04 13:38:30 -05:00
Dayle Rees
b870807e1a renamed blade::register to blade::extend
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 19:02:44 +01:00
Dayle Rees
d2de301ede added custom compilers to blade
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 18:44:43 +01:00
Taylor Otwell
0824c871fd tweaking wording. 2012-05-04 10:51:16 -05:00
Alexandru Bucur
7f7a0cf035 Added a small example on how to call a function in blade :P 2012-05-04 18:47:51 +03:00
Taylor Otwell
c764f76e5b remove extra method call. 2012-05-04 09:13:03 -05:00
Phill Sparks
0baf5ad9b1 Fix View's use of Events so you can actually implement your own things
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-05-04 14:55:05 +01:00
Taylor Otwell
e85ca96e38 Merge pull request #614 from awellis13/feature/trim-sql-for-query
Add trim() to Connection::query()
2012-05-04 06:52:22 -07:00
Taylor Otwell
caf0bb7cb2 Fully qualify eloquent class. 2012-05-03 20:22:03 -05:00
Taylor Otwell
50dc9f8663 Use regular array_merge on Input::all(). 2012-05-03 17:32:33 -05:00
Andrew Ellis
100a59c9c4 added trim() for the sql statement 2012-05-03 11:16:32 -06:00
Andrew Ellis
fdad58383b cleaned up phpdoc and removed as it is not used 2012-05-03 11:14:33 -06:00
Taylor Otwell
e256a66b18 Merge pull request #562 from ProgerXP/patch-lang
Lang::__construct(): turn non-array $replacements into an array
2012-05-03 06:44:34 -07:00
Taylor Otwell
c2ed9e3429 return key instead of null when language line isn't found. 2012-05-03 08:42:44 -05:00
Taylor Otwell
74022cfa5a fix typo. 2012-05-03 08:38:43 -05:00
Taylor Otwell
280bc99ed8 add u PCRE modifier to str::words. 2012-05-03 08:37:52 -05:00
Taylor Otwell
4f036cf7dd add spacing to router. 2012-05-03 08:36:32 -05:00
Taylor Otwell
9ca81296d8 Merge pull request #589 from whitman/numeric-routes
Automatically wrap numeric routes in parentheses
2012-05-03 06:36:08 -07:00
Taylor Otwell
d0cdfb971d clean up has_file method. 2012-05-03 08:35:02 -05:00
Taylor Otwell
5fa78819eb Merge branch 'develop' of github.com:laravel/laravel into develop 2012-05-03 08:33:04 -05:00
Taylor Otwell
11f08fb737 Merge pull request #590 from Vespakoen/develop
Adding has_file method to the Input class
2012-05-03 06:32:51 -07:00
Taylor Otwell
295c3b80c2 add sqlite query driver. 2012-05-03 08:28:40 -05:00
Taylor Otwell
f53c8285a7 Merge pull request #564 from ProgerXP/patch-del
Make File::delete() return result of unlink()
2012-05-03 06:26:02 -07:00
Taylor Otwell
57c228aec6 Merge pull request #611 from asdfgh746/develop
Fix Typos
2012-05-03 06:21:21 -07:00
Taylor Otwell
4822f847c2 pass delete method through eloquent query. 2012-05-03 08:20:33 -05:00
Taylor Otwell
aca2a2ae1c Fix auth bug and other resolver bugs. 2012-05-02 16:52:55 -05:00
Taylor Otwell
cadfc3c50f Fix IoC bug. 2012-05-02 16:49:48 -05:00
Taylor Otwell
a68c4013f8 Fix import. 2012-05-02 16:36:34 -05:00
Taylor Otwell
2ccfa7b8f6 Fix return for real. 2012-05-02 16:06:20 -05:00
asdfgh746@gmail.com
9c109849c3 Fix typos.
Signed-off-by: asdfgh746@gmail.com <asdfgh746@gmail.com>

Change "develoepr" into "developer".
Change "started, yet but" into "started yet, but".
2012-05-02 16:51:52 -04:00
Taylor Otwell
f0a6111021 Set token. 2012-05-02 15:41:38 -05:00
Taylor Otwell
b10b8e3862 Import Config class. 2012-05-02 15:06:15 -05:00
Taylor Otwell
9d1d48fb4f Fix bug in IoC. 2012-05-02 13:39:59 -05:00
Taylor Otwell
348ff778ed Merged Linject into the core IoC container. 2012-05-02 13:28:29 -05:00
Taylor Otwell
30c87b9245 Updated change log. 2012-05-02 09:39:27 -05:00
Taylor Otwell
b5f5927fa7 Fix bug with many-to-many relationships on non-default database connection. 2012-05-02 09:37:40 -05:00
Taylor Otwell
9ed91af1e8 added Response::eloquent method. 2012-05-02 08:50:37 -05:00
Taylor Otwell
13638467b4 added Response::json method. 2012-05-02 08:35:26 -05:00
Taylor Otwell
f6b7e5f727 updated change log. 2012-05-02 08:13:08 -05:00
Taylor Otwell
208eb8a380 move json method to input class. 2012-05-02 08:12:52 -05:00
Taylor Otwell
138d08c04b added Requst::json method. 2012-05-02 08:09:23 -05:00
Taylor Otwell
f050f7731b Refactoring some auth code. 2012-05-01 13:12:32 -05:00
Taylor Otwell
de7046cc66 update change log. 2012-05-01 11:35:58 -05:00
Taylor Otwell
60ab0b66e7 Finishing up auth re-write. 2012-05-01 11:33:10 -05:00
Taylor Otwell
60f61f318b refactored authentication system. 2012-05-01 10:50:33 -05:00
Taylor Otwell
c49e1964a9 Working on base authentication driver. 2012-05-01 09:37:22 -05:00
Taylor Otwell
840954eb1d Rename "register" methods to "extend". 2012-04-30 22:43:30 -05:00
Taylor Otwell
1dd35dffdb Update change log. 2012-04-30 22:40:37 -05:00
Taylor Otwell
7e33ec5f34 Allow the registration of custom database drivers. 2012-04-30 22:40:18 -05:00
Taylor Otwell
cf29450b99 Fix bug in array_pluck helper. 2012-04-30 15:40:29 -05:00
Taylor Otwell
7af5afc4b5 Allow starter Closure for bundles. 2012-04-30 15:09:56 -05:00
Taylor Otwell
efe3de6843 Allow the specification of a asset base URL. 2012-04-30 11:52:30 -05:00
Taylor Otwell
48dae0c3d9 Merge pull request #578 from cviebrock/asset-url
Configuration option to set different base URL for assets
2012-04-30 09:49:06 -07:00
Taylor Otwell
5591307099 update toc. 2012-04-30 11:22:33 -05:00
Taylor Otwell
13f30262d9 Fix table of contents. 2012-04-30 11:19:48 -05:00
Taylor Otwell
d9bdb4f9ba Fix conflict text. 2012-04-30 11:16:31 -05:00
Taylor Otwell
bb4bf88c6f Updated change log. 2012-04-30 11:15:41 -05:00
Taylor Otwell
ba9a7263b0 Allow the registration of third party cache and session drivers. 2012-04-30 11:15:23 -05:00
Taylor Otwell
c49c60365f Cleaned up the section able implementation. 2012-04-30 10:17:59 -05:00
Taylor Otwell
9dea22c3eb require_once on error class. 2012-04-30 10:09:38 -05:00
Taylor Otwell
aaeb7bc3be More work on sectionable caches. 2012-04-28 22:46:25 -05:00
Taylor Otwell
31106a9211 Support implicit sectioned caching using :: syntax. 2012-04-28 22:40:11 -05:00
Taylor Otwell
4d2ecdbff2 Tweaking response->render() location. 2012-04-28 14:01:10 -05:00
Taylor Otwell
80448c3341 Fix typo in change log. 2012-04-28 11:14:08 -05:00
Taylor Otwell
aff9e194d9 Implement sectionable caching in array cache driver. 2012-04-28 11:12:44 -05:00
Taylor Otwell
68d9210ef5 Added array_pluck method. 2012-04-27 14:26:46 -05:00
Taylor Otwell
e9bcbeac8f Change location of when $response->render() is called. Make memory cache storage array public. 2012-04-27 13:30:03 -05:00
Taylor Otwell
b0fd803297 Updated change log. 2012-04-26 20:49:56 -05:00
Taylor Otwell
a892b85e8b Added new Sectionable interface to allow cache drivers to expose "namespace" type functionality. 2012-04-26 20:49:03 -05:00
Taylor Otwell
9057c60a5f Merge pull request #584 from bencorlett/develop
Adding having() support to the Fluent query builder.
2012-04-26 18:26:19 -07:00
Koen Schmeets
33c6027476 Adding has_file method
Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
2012-04-26 21:24:06 +02:00
Taylor Otwell
86fce099b3 Fixed belongs_to primary key bug. 2012-04-26 11:25:47 -05:00
Alex Whitman
14961350d0 Automatically wrap numeric routes in parentheses 2012-04-26 16:32:02 +01:00
Taylor Otwell
ca06582369 Add some events to Eloquent models. 2012-04-26 09:30:34 -05:00
Taylor Otwell
3a62036a9c fix urlencode prob 2012-04-24 22:47:35 -05:00
Taylor Otwell
9cee86ffb9 use array_values on relationship matches. 2012-04-24 22:38:30 -05:00
Taylor Otwell
b8b0c08495 fix html class. 2012-04-24 21:51:19 -05:00
Ben Corlett
af6d76f713 Adding having() support to the Fluent query builder.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-04-25 11:18:50 +10:00
Taylor Otwell
589b86ff3e remove unnecessary code in input class. 2012-04-24 13:41:19 -05:00
Taylor Otwell
e55cf31578 dont cast to string in str::words method. 2012-04-24 11:48:47 -05:00
Taylor Otwell
68834a47d9 fixing conflicts. 2012-04-24 10:42:57 -05:00
Taylor Otwell
a994c30ab3 fixed str::words php notice. 2012-04-24 10:40:20 -05:00
Taylor Otwell
1dea9852a9 fix eager loading of belongs_to relationships when all keys are null. 2012-04-24 10:37:40 -05:00
Taylor Otwell
47b60135bb fix possible error loading error class. 2012-04-24 08:57:31 -05:00
Taylor Otwell
39601e8a78 fix bugs in input class. 2012-04-24 08:37:37 -05:00
Taylor Otwell
3241de0cc1 fix Input::merge method. 2012-04-24 08:27:29 -05:00
Colin Viebrock
11b0d243ff Fixes 2012-04-23 23:43:09 -05:00
Colin Viebrock
71d361e071 Configuration option to set different server for asset files. 2012-04-23 22:48:16 -05:00
Taylor Otwell
94948cf675 Fix Eloquent eager loading matching. 2012-04-23 16:08:57 -05:00
Taylor Otwell
b65fa7040d tweak the status method.: 2012-04-23 13:36:25 -05:00
Taylor Otwell
f1feb467f1 added Input::merge method. 2012-04-23 13:33:48 -05:00
Julien TANT
8eae68bde0 Change htmlentities to urlencode for link
Signed-off-by: Julien TANT <julien@ao6-labs.eu>
2012-04-21 14:51:03 +02:00
Taylor Otwell
bb506bb30b Updating change log and docs for Schema::drop. 2012-04-20 11:37:05 -05:00
Taylor Otwell
a92ab1ca30 Fixing bugs. 2012-04-20 11:35:47 -05:00
Taylor Otwell
98ea9ac41f Fix bug in core script. 2012-04-20 10:54:40 -05:00
Pavel
1b9566070b File::delete() now returns result of unlink().
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-20 00:07:15 +04:00
Pavel
5019d05ed2 Lang::__construct() now converts $replacements into an array.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-19 23:40:38 +04:00
Taylor Otwell
7b65dc30a0 updated change log. 2012-04-19 14:32:59 -05:00
Taylor Otwell
58f69fdf47 fixing some issues related to environment. 2012-04-19 14:32:27 -05:00
Taylor Otwell
9a90d303c7 return empty string if no items in html list. 2012-04-19 08:45:56 -05:00
Taylor Otwell
09e456d2bf fix docblock. 2012-04-19 08:41:23 -05:00
Taylor Otwell
92e482de0d updating documentation. 2012-04-19 08:39:30 -05:00
Taylor Otwell
798b76d8d0 update change log. 2012-04-19 08:38:06 -05:00
Taylor Otwell
a150a7d457 allow multiple views to be registered for a single composer. 2012-04-19 08:37:42 -05:00
Taylor Otwell
d1428948ea fix docblock. 2012-04-19 08:28:22 -05:00
Taylor Otwell
cac5ebad4a Merge pull request #507 from sparksp/develop-patch-2
Don't show the trace on shutdown, it's useless.
2012-04-19 06:26:59 -07:00
Taylor Otwell
3670423da6 Merge pull request #558 from ProgerXP/patch-locks-dev
Fixing "Cannot remove ...: Permission denied" in File and bundle:: task
2012-04-19 06:23:42 -07:00
Taylor Otwell
affcad0948 fix bug surrounding cookie session driver. 2012-04-19 08:19:15 -05:00
Taylor Otwell
45c9d15442 Merge pull request #559 from ProgerXP/patch-ioc-resolve
IoC::resolve() - call_user_func_ARRAY()
2012-04-19 06:13:39 -07:00
Taylor Otwell
ed2df89c3e fix double return. 2012-04-19 08:11:29 -05:00
Pavel
3f5a92ea5c Fixed wrong calling of the IoC resolver.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-19 10:47:50 +04:00
Pavel
5db3743702 Fixing "Cannot remove ...: Permission denied" in File and bundle:: task
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-19 10:36:28 +04:00
Taylor Otwell
a19b8b9675 tweaking the value method. 2012-04-18 20:53:26 -05:00
Taylor Otwell
d91da7d80a update change log. 2012-04-18 20:51:15 -05:00
Taylor Otwell
b9d573467a Merge pull request #531 from markhuot/develop
Syncing Up Magic Methods
2012-04-18 18:50:19 -07:00
Taylor Otwell
bee2a273bc added default option to bundle::option method. 2012-04-18 20:47:29 -05:00
Taylor Otwell
3f2bdb7695 only write file caches if minutes is greater than zero. 2012-04-18 20:43:25 -05:00
Taylor Otwell
78243fedba Merge branch 'develop' of github.com:laravel/laravel into develop 2012-04-18 20:39:18 -05:00
Taylor Otwell
ff94d16630 Merge branch 'staging' of github.com:laravel/laravel into staging 2012-04-18 20:38:46 -05:00
Taylor Otwell
51f5fdd0c9 fix conflicts. 2012-04-18 20:38:36 -05:00
Taylor Otwell
9c823d42be Merge branch 'master' of github.com:laravel/laravel 2012-04-18 20:36:51 -05:00
Taylor Otwell
24e382848c add response to done event. 2012-04-18 20:36:38 -05:00
Taylor Otwell
5b7f3f66f2 update change log. 2012-04-17 20:48:17 -05:00
Taylor Otwell
4f3dbf2ec4 document the view::exists method. 2012-04-17 20:15:08 -05:00
Taylor Otwell
ae2dc6a7e2 cleaning up view code. 2012-04-17 20:13:42 -05:00
Taylor Otwell
42f8914611 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-04-17 20:11:08 -05:00
Taylor Otwell
66cf43de6c update change log. 2012-04-17 20:10:56 -05:00
Taylor Otwell
8c4170491e use memcached instead of memcache. 2012-04-17 20:09:41 -05:00
Taylor Otwell
7ba97bc3b5 Merge pull request #550 from davzie/develop
Implemented View::exists function
2012-04-17 17:55:52 -07:00
Taylor Otwell
b7ac667405 tweak belongs to eager constraining. 2012-04-17 14:33:17 -05:00
David Thorpe
ee5386e3b2 Implemented View::exists function
magical

Signed-off-by: David Thorpe <davzie@davzie.com>
2012-04-17 19:25:41 +01:00
Taylor Otwell
f6388e26be added dd helper. 2012-04-16 20:38:31 -05:00
Taylor Otwell
62935964eb update chang elog 2012-04-16 14:50:32 -05:00
Taylor Otwell
11aabe4a84 move back to memcache 2012-04-16 14:50:06 -05:00
Pavel
482aed9379 Corrected typos in the comments.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-16 18:44:11 +04:00
Taylor Otwell
1192abe39c update change log. 2012-04-16 08:37:15 -05:00
Taylor Otwell
f316553bb7 use memcached api instead of memcache. 2012-04-16 08:36:44 -05:00
Taylor Otwell
5d52da696f use injection on the request::detect_env method for better testability. 2012-04-13 20:34:13 -05:00
Taylor Otwell
44dbbe01da added support for bundles outside of the bundle directory using 'path: ' syntax like views. 2012-04-13 13:54:56 -05:00
Taylor Otwell
0f483fb390 cleaning up the autoloader> 2012-04-13 13:33:54 -05:00
Taylor Otwell
7b7f154edd Merge branch 'staging' into develop 2012-04-13 08:25:51 -05:00
Taylor Otwell
e16ab6f3d4 fixing conflicts. 2012-04-13 08:25:40 -05:00
Taylor Otwell
f45330a006 call render method on view when including in blade. 2012-04-13 08:23:11 -05:00
Mark Huot
49384514ef The __get() magic method runs three checks before giving up but the __isset() method only runs two checks. This syncs the logic to ensure that __get() and __isset() are looking at the same possibilities. 2012-04-13 10:20:34 -03:00
Taylor Otwell
9daa919f4b updated change log. 2012-04-12 23:36:45 -05:00
Taylor Otwell
ab6e364546 added simpler and easier environment handling. 2012-04-12 23:35:41 -05:00
Taylor Otwell
34cb9a00f4 move 'is' method to the str class where it belongs. 2012-04-12 22:54:50 -05:00
Taylor Otwell
2b88c78896 simplified the paths.php file. 2012-04-12 22:33:45 -05:00
Taylor Otwell
1847a369fb fixed eloquent datetime bug when determining dirty attributes. 2012-04-11 16:08:15 -05:00
Taylor Otwell
8bc128fdaa cleaning up code. 2012-04-10 22:36:20 -05:00
Taylor Otwell
9ad6fabc02 Updated change log.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-10 15:04:39 -05:00
Taylor Otwell
94b8582865 Add DateTime support to database binding layer.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-10 15:03:42 -05:00
Taylor Otwell
7d5b6b3748 added blade comments and documentation. 2012-04-10 11:46:55 -05:00
Taylor Otwell
222383c83b check application.ssl in request::secure. 2012-04-10 11:41:02 -05:00
Taylor Otwell
d5b9f3c604 cleaning up section class. 2012-04-10 11:37:38 -05:00
Taylor Otwell
78a2bce820 Merge pull request #509 from cviebrock/section-append
Make Section::append public, and do a true append. Other methods are renamed but unchanged.
2012-04-10 09:36:49 -07:00
Taylor Otwell
f7b1a72f3c added unless structure to blade. 2012-04-10 11:33:55 -05:00
Taylor Otwell
fda19731c5 Fixing update handling in Has_Many and Has_One relationships.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-10 11:26:03 -05:00
Taylor Otwell
8e988192a1 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-04-10 10:10:51 -05:00
Taylor Otwell
0eb79a5b8d Merge branch 'staging' into develop 2012-04-10 10:10:41 -05:00
Taylor Otwell
1a5d4250d1 fix conflicts. 2012-04-10 10:10:31 -05:00
Taylor Otwell
bcca8be072 Merge branch 'master' of github.com:laravel/laravel 2012-04-10 10:09:43 -05:00
Taylor Otwell
2e7cca1d0b Merge pull request #512 from Mikaweb/patch-1
Misspelt word corrected!
2012-04-10 07:49:05 -07:00
Taylor Otwell
60b5e38ca0 return after loading mapped class in autoloader. 2012-04-10 09:48:54 -05:00
Taylor Otwell
b370549d80 Merge pull request #517 from joecwallace/migrate-resolver-classify-fix
Resolver::resolve() bug fix
2012-04-10 07:47:34 -07:00
Taylor Otwell
a3e0c7c0c4 Merge pull request #522 from kloy/master
Custom validation messages in language file fix.
2012-04-10 07:43:49 -07:00
Keith Loy
53e8f9b774 Fixing bug where custom validation messages in bundle language files were not getting picked up. 2012-04-09 21:11:54 -05:00
Joe Wallace
f7aee0ca2a Model::table() uses class_basename() helper - which properly discards namespaces on *nix systems
Signed-off-by: Joe Wallace <joew@atiba.com>
2012-04-09 11:28:40 -05:00
Joe Wallace
201732135d Resolver::resolve() uses Str::classify() to determine class names
Signed-off-by: Joe Wallace <joew@atiba.com>
2012-04-09 11:02:11 -05:00
Greg Aker
88dd2f3232 Altering visibility of Crypter::randomizer() to public. 2012-04-07 14:09:22 -05:00
Maxime Dizerens
3850f575f0 Misspelt word corrected! 2012-04-07 00:03:33 +03:00
Colin Viebrock
f0f9d7b256 make Section::append public, and do a true append. Other methods are renamed but unchanged. 2012-04-06 11:50:01 -05:00
Phill Sparks
56fac668b3 Don't show the trace on shutdown, it's useless.
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-04-06 10:41:10 +01:00
Taylor Otwell
825e8b2d49 cleaning up code and comments. 2012-04-05 21:40:56 -05:00
Taylor Otwell
a77196db86 cleaning up code. 2012-04-05 21:30:53 -05:00
Taylor Otwell
8a687053a8 fix conflicts. 2012-04-05 09:33:50 -05:00
Taylor Otwell
cc4514e8f6 Fix bug in many to many eager loading.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-05 09:21:28 -05:00
Taylor Otwell
ee288a7709 updated changelog. 2012-04-04 22:32:25 -05:00
Taylor Otwell
6dd709ccaa move vendors folder under laravel. 2012-04-04 22:16:34 -05:00
Taylor Otwell
fe36d7fdfb Added total SQL execution time to profiler.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-04 17:08:16 -05:00
Taylor Otwell
01a7991bd5 fix artisan. 2012-04-04 16:57:18 -05:00
Taylor Otwell
4bee6d1bca put str_object back in. 2012-04-04 14:48:51 -05:00
Taylor Otwell
609920b0d0 Allow str_contains to take an array.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-04 14:30:32 -05:00
Dayle Rees
b5847c1f3a fixed logo bug 2012-04-04 20:14:20 +01:00
Dayle Rees
95b4b0924b added logo base64d to profiler 2012-04-04 20:05:38 +01:00
Dayle Rees
ad57ae4fdf jquery loading and css fixes 2012-04-04 18:25:29 +01:00
Taylor Otwell
1c26ce8ce5 Fix bug in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-04 11:37:46 -05:00
Taylor Otwell
98fa907805 Use array_merge_recursive in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-04 11:30:19 -05:00
Taylor Otwell
04eea426e8 tweaking. 2012-04-04 11:19:52 -05:00
Taylor Otwell
9499758806 Merge branch 'develop' into feature/http-foundation 2012-04-04 11:16:44 -05:00
Taylor Otwell
02ad4c5c47 adjusting comments. 2012-04-04 11:09:44 -05:00
Taylor Otwell
c31f001f22 fix url https bug. 2012-04-04 11:08:14 -05:00
Taylor Otwell
63e6d143fb updated change log. 2012-04-04 10:36:48 -05:00
Taylor Otwell
d1adc8c181 Merge pull request #484 from kbanman/bugfix-pivot
Timestamps are optional in many-to-many pivot table
2012-04-04 08:36:01 -07:00
Taylor Otwell
e78c90b993 Merge branch 'develop' into feature/http-foundation 2012-04-04 10:34:16 -05:00
Taylor Otwell
250541b22b updated change log. 2012-04-04 10:33:49 -05:00
Taylor Otwell
eda46a815e fix eloquent model attribute resolution. 2012-04-04 10:33:24 -05:00
Taylor Otwell
232bf01ae2 fix secure cookie issue. 2012-04-04 10:28:06 -05:00
Taylor Otwell
ffb4034631 fix url parsing. 2012-04-04 10:16:15 -05:00
Taylor Otwell
a85945561c fixing conflicts. 2012-04-04 10:09:27 -05:00
Taylor Otwell
7f9e38a770 Merge branch 'staging' into develop 2012-04-04 09:57:16 -05:00
Taylor Otwell
10d9cd33ad fixing conflicts. 2012-04-04 09:57:08 -05:00
Taylor Otwell
3e00ce2efb fix bug regarding SSL cookies. 2012-04-04 09:50:01 -05:00
Taylor Otwell
8f24d83233 fixing profiler. 2012-04-04 08:59:44 -05:00
Taylor Otwell
17bd505ff6 pass response in laravel done event. 2012-04-04 08:36:43 -05:00
Taylor Otwell
507bba60ca dont show profiler bar on ajax request. 2012-04-03 20:22:01 -05:00
Taylor Otwell
b58c6370ee fixing template. 2012-04-03 17:07:37 -05:00
Taylor Otwell
e0e0b51b9b tweaking profiler. 2012-04-03 16:57:55 -05:00
Taylor Otwell
e1d49749a3 fixing conflicts. 2012-04-03 16:54:28 -05:00
Taylor Otwell
1ca7d799af changes 2012-04-03 16:53:15 -05:00
Taylor Otwell
43a3635722 move documentation markdown to system directory. 2012-04-03 11:20:20 -05:00
Taylor Otwell
6fdccd7496 Fixing bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-03 11:00:45 -05:00
Taylor Otwell
517da41a72 Tweaking has_many "save" method.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-03 10:56:55 -05:00
Taylor Otwell
d0a701e8f7 Tweaking has_many "save" method.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-03 10:55:04 -05:00
Taylor Otwell
df70987679 added sync method to has_many relationship. 2012-04-03 10:48:01 -05:00
Jason Lewis
3d23303aea Includes use render to prevent WSOD 2012-04-03 19:57:01 +10:00
Taylor Otwell
9f80351916 Merge branch 'develop' into feature/http-foundation 2012-04-02 20:45:24 -05:00
Taylor Otwell
4c2406db29 fixing base url generation. 2012-04-02 20:45:20 -05:00
Kelly Banman
587a80acbb Timestamps are optional in many-to-many pivot table
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
2012-04-02 14:59:44 -07:00
Taylor Otwell
6a9cc48164 fix handling of hash Urls. 2012-04-02 13:02:49 -05:00
Colin Viebrock
7293c0448d One more change (comments may need to be altered)
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-04-02 11:38:12 -05:00
Colin Viebrock
7d4a346f84 Adding Schema::rename('oldtable','newtable') support
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-04-02 11:30:53 -05:00
Taylor Otwell
6dd8063646 adding doc routes. 2012-04-02 11:02:09 -05:00
Taylor Otwell
2276c6705c use http foundation to create content-disposition headers. 2012-04-01 23:19:45 -05:00
Taylor Otwell
8e80756b08 Merge branch 'develop' into feature/http-foundation 2012-04-01 21:31:20 -05:00
Taylor Otwell
d41b1db722 fixing bug in view class. 2012-04-01 21:13:07 -05:00
Taylor Otwell
cfce823095 improved view file loading performance. 2012-04-01 21:11:45 -05:00
Taylor Otwell
963426cb9e building on http foundation. 2012-04-01 15:33:35 -05:00
Taylor Otwell
97ac2c8dbf added languages method to the request class. 2012-04-01 15:17:41 -05:00
Taylor Otwell
f97f73a835 fixing merge conflicts. 2012-04-01 13:51:59 -05:00
Taylor Otwell
363b7c54df Merge branch 'staging' into develop 2012-04-01 13:51:05 -05:00
Taylor Otwell
63ff04991b fixing merge conflicts. 2012-04-01 13:50:55 -05:00
Taylor Otwell
d2f35900cd fix where in shortcut and response header casing problem. 2012-04-01 13:48:27 -05:00
Taylor Otwell
369ecd80f7 Merge branch 'staging' into develop 2012-03-30 08:45:16 -05:00
Taylor Otwell
636d05665c fix merge conflicts. 2012-03-30 08:44:23 -05:00
Taylor Otwell
75f6384767 fix eloquent->delete bug. 2012-03-30 08:41:52 -05:00
Taylor Otwell
8d16916630 fix magic quotes. 2012-03-29 22:50:14 -05:00
Taylor Otwell
6234905e4c Merge branch 'develop' into feature/http-foundation 2012-03-29 22:13:13 -05:00
Taylor Otwell
3e0d468470 Merge branch 'staging' into develop 2012-03-29 22:11:42 -05:00
Taylor Otwell
062ae8756c fix conflicts. 2012-03-29 22:11:30 -05:00
Taylor Otwell
b5dd77d387 Fixing Eloquent constructor bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-29 22:04:04 -05:00
Taylor Otwell
579bc8719f cleaning up code. 2012-03-29 17:13:13 -05:00
Taylor Otwell
144117c0a1 cleaning up the eloquent model class. 2012-03-29 16:58:08 -05:00
Taylor Otwell
cd71c1e517 added sync method to has many and belongs to entity relationship. 2012-03-29 16:20:38 -05:00
Dayle Rees
daea5fee2d changed anbu to load automatically at end of request- taylors idea 2012-03-29 21:18:06 +01:00
Taylor Otwell
c6125edc66 fix bug in input::except method when passing a string. 2012-03-29 15:14:46 -05:00
Taylor Otwell
17cabd47e6 Added to_array() and $hidden variable to the Eloquent base model.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-29 14:12:03 -05:00
Taylor Otwell
9e8acd1eda fix some input stuff and revert paginator changes. 2012-03-28 23:56:20 -05:00
Taylor Otwell
77fe8b6706 moved input over to httpfoundation. 2012-03-28 23:46:16 -05:00
Taylor Otwell
bcd3bd8591 adding header support. 2012-03-28 22:58:49 -05:00
Taylor Otwell
730808fb02 converting cookies to use http foundation. 2012-03-28 22:43:58 -05:00
Taylor Otwell
ad41be0eed working on stuff. 2012-03-28 22:06:56 -05:00
Taylor Otwell
89766bef84 converting to httpfoundation response. 2012-03-28 17:11:55 -05:00
Taylor Otwell
573725ade7 use symfony http foundation where applicable. 2012-03-28 16:15:21 -05:00
Taylor Otwell
023dacf5e0 fix replacement of optional parameters in the URL::transpose method. 2012-03-28 13:58:02 -05:00
Taylor Otwell
720d9de582 Fix bug in eloquent model hydration.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-28 11:07:26 -05:00
Dayle Rees
66ff8a4076 integrated a simple version of anbu into the laravel core
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-03-28 10:30:51 +01:00
Taylor Otwell
2c12be305d register symfony console namespace with autoloader. 2012-03-27 22:40:13 -05:00
Taylor Otwell
9dee79ba00 Fixing SQLite connector.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-27 10:25:42 -05:00
Taylor Otwell
8af11e6d61 Fix bug in eloqueny hydrator. 2012-03-26 16:49:31 -05:00
Taylor Otwell
5a59c5f317 Don't use mass assignment in hydrator. 2012-03-26 16:36:23 -05:00
Taylor Otwell
55669ee0ae added redirect::back method. 2012-03-26 15:30:01 -05:00
Taylor Otwell
37fd54b848 Merge pull request #448 from danielboendergaard/patch-1
Fixed problem with Eloquent2 pivot tables
2012-03-26 13:26:46 -07:00
Taylor Otwell
ba4d1a89c8 Removed add_ magic method from eloquent model as this will be a 3.2 feature. 2012-03-26 10:56:42 -05:00
Taylor Otwell
973da34bc0 Pass directory into View:: file method. 2012-03-26 08:27:53 -05:00
Daniel Bondergaard
3639d2c46f Fixed pivot model hydration loading in Eloquent2
Signed-off-by: Daniel Bondergaard <danielboendergard@gmail.com>
2012-03-26 14:17:49 +02:00
Taylor Otwell
263d6145a7 cleaning up code. 2012-03-25 22:38:35 -05:00
Taylor Otwell
d558387b85 added docblock to blade function. 2012-03-25 22:17:55 -05:00
Taylor Otwell
3ba6342cf5 fixing loading of namespaced classes. 2012-03-25 13:23:09 -05:00
Taylor Otwell
991fc70275 Make view::with value optional. 2012-03-24 22:39:23 -05:00
Taylor Otwell
9dbbc5848b Fix blade @includes. 2012-03-24 22:37:15 -05:00
Taylor Otwell
1383edde39 Return empty string when null is passed to render helper. 2012-03-24 09:25:33 -05:00
Taylor Otwell
91998735b9 Improve the @layout blade expression, allow dynamic specification of templates. 2012-03-24 09:22:05 -05:00
Taylor Otwell
e8e7db687c Fix bug in fluent class. 2012-03-23 22:54:09 -05:00
Taylor Otwell
31786c96e9 Cleaning up the Blade class. 2012-03-23 17:05:44 -05:00
Taylor Otwell
93e21e9255 Added support for true tempting.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 17:03:27 -05:00
Taylor Otwell
8e8b0b8cb3 More Blade improvements… adds template inheritance.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 13:01:36 -05:00
Taylor Otwell
b07ee31f3a Added support for Twig style {{ include() }} blade structures that inherit the data from the view.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-22 22:14:20 -05:00
Taylor Otwell
57cf817de4 Fix pivot constraints on ->pivot() method of many-to-many.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-22 21:47:35 -05:00
Taylor Otwell
879e56df75 Merge branch 'master' into develop 2012-03-22 21:26:32 -05:00
Taylor Otwell
0e4a63606f Added render_each helper. 2012-03-22 16:05:33 -05:00
Taylor Otwell
727b064bf7 Added View::render_each and Blade shortcut. 2012-03-22 15:45:26 -05:00
Taylor Otwell
9df88c461b Use Str::lower in pluralizer. 2012-03-22 15:11:19 -05:00
Taylor Otwell
e942c2032f Added macro support to HTML class to match Form class. 2012-03-22 15:06:36 -05:00
Taylor Otwell
0455c10ae0 Added "for else" support to Blade. 2012-03-22 15:02:06 -05:00
Taylor Otwell
090bf9b3f8 Added "shares" method to view instance. 2012-03-22 13:38:22 -05:00
Taylor Otwell
e96f75e8cc Fixing bugs in database layer. 2012-03-22 13:12:27 -05:00
Taylor Otwell
35e53b8cef Reintegrating Blade with Laravel using View engine event. 2012-03-22 11:48:07 -05:00
Taylor Otwell
b6615ddbee Fixing a few things in Eloquent 2. 2012-03-22 11:00:13 -05:00
Phill Sparks
d1de7b9ffe Fix named keys on Schema columns.
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-03-22 14:27:37 +00:00
Phill Sparks
f27027d3a8 Added __isset and __unset to Fluent
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-03-22 14:27:04 +00:00
Taylor Otwell
268e6e460d Updating $eloquent->dirty() method. 2012-03-22 09:18:11 -05:00
Taylor Otwell
e5b3b196ab Updated change-log. Prepend table names to default index names in schema. 2012-03-22 09:11:51 -05:00
Taylor Otwell
453d4154f2 Added "pivot" method to has_many_and_belongs_to. 2012-03-22 09:07:21 -05:00
Taylor Otwell
5cbebb99d3 Merge pull request #436 from daylerees/date-filters
Date before and after filters
2012-03-21 20:29:33 -07:00
Taylor Otwell
0961f8f766 Fixing eloquent 2 query->first method. 2012-03-21 22:00:30 -05:00
Dayle Rees
533112e2f5 added before and after date filters
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-03-21 21:07:10 +00:00
Taylor Otwell
30204e082b Fixing bugs in eloquent relating to namespaces. 2012-03-21 15:45:05 -05:00
Taylor Otwell
8457238ab1 Revert back APC and Memcached drivers. 2012-03-21 14:45:05 -05:00
Taylor Otwell
2809eb260f Merge pull request #435 from cviebrock/develop
Fix for Issue #433
2012-03-21 12:37:48 -07:00
Taylor Otwell
bb2f458304 Added "add_" magic method to eloquent model. 2012-03-21 14:23:46 -05:00
Colin Viebrock
1d5ad48998 Fix APC and Memcached drivers -- fixes #433
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-03-21 14:18:25 -05:00
Colin Viebrock
aa27df8bcb Merge remote-tracking branch 'laravel/develop' into develop
Conflicts:
	laravel/form.php
2012-03-21 14:10:24 -05:00
Taylor Otwell
52091bda5f Added "match" validation rule for regular expression checks. 2012-03-21 13:40:52 -05:00
Taylor Otwell
afb33c1775 Fix bug with table prefix and columns. 2012-03-21 13:10:59 -05:00
Taylor Otwell
91a6cb882e Added wrap_value function to grammar. 2012-03-21 12:06:31 -05:00
Taylor Otwell
033455cc51 Make migration table column lengths more realistic. 2012-03-21 11:48:14 -05:00
Taylor Otwell
e8fe1f172c Removed extra PHP_EOL from Form class. 2012-03-21 11:41:31 -05:00
Taylor Otwell
244d4bfd07 Fix bugs in Redis class. 2012-03-21 11:38:30 -05:00
Taylor Otwell
13a70bcc3a Added File::mkdir. 2012-03-21 11:28:22 -05:00
Taylor Otwell
3c7a1270a7 Added File::move and File::copy methods. 2012-03-21 11:25:37 -05:00
Taylor Otwell
b41bba45d7 Added File::cleandir. 2012-03-21 11:23:26 -05:00
Taylor Otwell
0637042c01 Added preserve option to File::rmdir. 2012-03-21 11:22:16 -05:00
Taylor Otwell
3c3e913689 Renamed Route::load to Route::forward. 2012-03-21 11:19:29 -05:00
Taylor Otwell
6e82a4ac8d Merge pull request #359 from akuzemchak/feature/load-route
Load designated route's response
2012-03-21 09:15:42 -07:00
Taylor Otwell
0893f3cca6 Merge branch 'master' into develop 2012-03-21 10:59:35 -05:00
Taylor Otwell
ea8d80d67d Merge pull request #371 from daylerees/patch-1
Allow File::cpdir() to return false on failure.
2012-03-21 08:57:38 -07:00
Taylor Otwell
41e066e2ee Fix macros method. 2012-03-21 10:49:09 -05:00
Taylor Otwell
52ca2d35e7 Tweaking the Form::macro method. 2012-03-21 10:48:49 -05:00
Taylor Otwell
c18dcecb00 Merge pull request #420 from kyledecot/develop
Form::register
2012-03-21 08:44:59 -07:00
Taylor Otwell
43212f8505 Fix bug in eloquent model. 2012-03-21 10:38:39 -05:00
Taylor Otwell
ce9f4f1db7 Added support for on_delete and on_cascade of foreign keys. 2012-03-21 10:33:06 -05:00
Colin Viebrock
8f103cdeae Remove PHP_EOL, fixes #430.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-03-20 22:30:20 -05:00
Colin Viebrock
f16ac134ee Merge remote-tracking branch 'laravel/develop' into develop 2012-03-20 22:29:26 -05:00
Taylor Otwell
4336bb885a Fix attribute retrieval bug in Eq2. 2012-03-20 11:43:11 -05:00
Taylor Otwell
079400ff3d Allow passing in a model instance to relationship insert / update methods. 2012-03-20 09:03:31 -05:00
Taylor Otwell
e540fd3b6d Automatically detect eloquent table names. 2012-03-19 14:11:11 -05:00
Taylor Otwell
26afb000bf Added in automatic inflection on english strings. Non-english strings may be added to the "irregular" array. 2012-03-19 13:51:44 -05:00
Taylor Otwell
d80730cf0d Removed transaction method from Eloquent model since it is made pointless by DB::transaction. 2012-03-19 08:43:07 -05:00
Anton Khodakivskiy
1044367c1e added default values to the signature of Query::left_join to allow closure-based join conditions 2012-03-19 07:47:20 -04:00
Taylor Otwell
0455438ebe Added transaction method to database connection and eloquent model. 2012-03-18 22:39:04 -05:00
Colin Viebrock
7c7734d8e2 Typo? 2012-03-18 20:30:21 -05:00
Taylor Otwell
fcff36a0ac Added related model updating from belongs_to relationship. 2012-03-17 23:14:01 -05:00
Taylor Otwell
68b4e55336 Cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-17 16:12:26 -05:00
Taylor Otwell
8c209a7a61 Just cleaning up some code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-17 15:42:01 -05:00
Taylor Otwell
762f2402c3 Fixing bugs and improving.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 15:32:26 -05:00
Taylor Otwell
b5e75f6fcf Fixing bugs and improving.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 14:08:28 -05:00
Taylor Otwell
dc92dd264d Adding auto detection of intermediate table names.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 13:01:48 -05:00
Kyle Decot
95ba416f3c Adds Form::register which allows Bundles (or anything for that matter) to register custom form inputs which then can be called like Form::xxx 2012-03-16 13:35:15 -04:00
Taylor Otwell
c3d95122e4 Fixing bugs… adding better pivot support.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 11:29:21 -05:00
Taylor Otwell
c9c0ddf569 Fixing bugs in Eq2.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 10:29:43 -05:00
Taylor Otwell
e857505e35 Map eloquent classes.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 09:04:14 -05:00
Taylor Otwell
d6d667af90 Added Eloquent 2.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-16 08:37:31 -05:00
Taylor Otwell
3de0d1af66 Make the query where_nested method public.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-15 16:12:18 -05:00
Taylor Otwell
da67b1bc66 Fix typo in memory driver.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-14 14:18:19 -05:00
Taylor Otwell
a61f51fa93 Add forever and flush methods to memory driver.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-14 14:08:52 -05:00
Taylor Otwell
2f4d896958 Added proper cache::forever implementations to each driver.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-14 09:02:24 -05:00
Taylor Otwell
873dd1534c Added Cache::forever method to cache something for five years.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-14 08:54:00 -05:00
Taylor Otwell
b65380d6ff Added automatic controller detection.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-12 17:03:09 -05:00
Taylor Otwell
c514ca1e34 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-03-12 10:50:22 -05:00
Taylor Otwell
5c8527f579 Use str_getcsv instead of explode in validator to allow commas in in and not_in rules.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-12 10:50:04 -05:00
Taylor Otwell
d8683bcf5b Merge pull request #397 from maxzender/develop
Helper method for rendering views
2012-03-12 08:44:12 -07:00
Taylor Otwell
ea820add35 Make headers case-insensitive.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-12 10:40:50 -05:00
Taylor Otwell
afcb60ec60 Adding comment in database grammar.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-12 10:31:12 -05:00
Kelly Banman
17f7389bc5 Fix prefixing raw tables 2012-03-09 08:48:20 -08:00
Max Zender
5eece1f33f Added a helper method to render a given view
Signed-off-by: Max Zender <maxzender@gmail.com>
2012-03-09 17:05:29 +01:00
Colin Viebrock
42edf70b10 Make the key optional for has() too ... like a "has_any()" method
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-03-08 13:11:09 -06:00
Taylor Otwell
3c9a4b1aad Added "memory" (array based) session driver to ease the unit testing of session reliant operations.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-07 22:16:02 -06:00
Taylor Otwell
51183c348d Added "memory" (array based) cache driver for easier unit testing of application cache operations for developers.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-07 21:59:54 -06:00
Taylor Otwell
6f7780a0f8 Merge branch 'refs/heads/master' into develop 2012-03-07 14:13:01 -06:00
Shawn McCool
17ac74d7f8 made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality 2012-03-07 20:52:17 +01:00
Taylor Otwell
6535fca31c fixing bug in event class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-06 17:27:41 -06:00
Taylor Otwell
48b8791c62 Added Event::until method.
Allows execution of events up until first non-null response is returned.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-06 16:28:55 -06:00
Taylor Otwell
8da1c16c8b Tweak controller layout resolution.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-05 13:31:30 -06:00
Taylor Otwell
5b3031adb0 Fix output buffer checking bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 23:06:17 -06:00
Taylor Otwell
b549e30c7c Merge remote-tracking branch 'origin/master' into develop 2012-03-04 22:04:50 -06:00
Taylor Otwell
638032f4c0 Fix bug in IoC singleton checking.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 22:02:11 -06:00
Taylor Otwell
46595ce55e Unsigned only supported by MySQL.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 14:28:49 -06:00
Taylor Otwell
f3df013753 Added support for decimal data type in schema.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 14:23:59 -06:00
Taylor Otwell
f110ccde4f Fixing spacing.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 13:59:32 -06:00
Taylor Otwell
9ab1144f78 Merge pull request #379 from jasonlewis/patch-6
Allow no key in $messages->first()
2012-03-04 11:59:00 -08:00
Taylor Otwell
8607fcc933 Merge pull request #382 from daylerees/fetching-notice
Added bundle fetching notification for bundle:install
2012-03-04 11:57:53 -08:00
Taylor Otwell
893f65fc02 Fix bundle publishing bug.
If the bundle was not registered, crazy stuff would happen. We just won't publish for non-existent bundles.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 13:56:12 -06:00
Taylor Otwell
aeaebead18 Just tweaking comments.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 15:46:08 -06:00
Taylor Otwell
4e656f02fe general code cleanup.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 15:17:47 -06:00
Taylor Otwell
c4594afce1 cleaning up the validator.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 15:12:30 -06:00
Taylor Otwell
8104862667 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-03-03 14:49:10 -06:00
Taylor Otwell
606b8ceada Fixed typo in comment.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 14:48:45 -06:00
Taylor Otwell
d43157b61f Fix drop_foreign SQL grammar for MySQL.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:27:37 -06:00
Taylor Otwell
1d93cab0d0 Cleaning up foreign key support. Added drop_foreign command.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:23:27 -06:00
Taylor Otwell
c002ae6337 Use constraints for "unique" on Postgres schemas.
Previous was using CREATE INDEX, should be using ADD CONSTRAINT as this will create the index automatically per Postgres documentation.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:54:43 -06:00
Taylor Otwell
1302ded5f8 Added foreign key support to schema builder for MySQL, Postgres, and SQL Server.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:41:30 -06:00
Dayle Rees
601b29a9d1 added bundle fetching notification for bundle:install
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-03-02 11:40:16 +00:00
Jason Lewis
aac2507858 When no key is provided to first it returns the first message from all the messages. 2012-03-02 18:04:57 +11:00
Taylor Otwell
028703d9d5 Clean up the life-cycle file.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 13:30:02 -06:00
Taylor Otwell
f473e4418a Cleaning up the core bootstrap file.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 13:06:27 -06:00
Taylor Otwell
fdcebc1bcb Added override and clear methods to event class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 12:02:16 -06:00
Taylor Otwell
2331ae18cf Added lang and view loader events.
Added lang and view loader events similar to the configuration loader.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 11:52:05 -06:00
Taylor Otwell
16fa094cc3 Setting up default config loader event.
Went ahead and just register the config.load event with Laravel on every request and default to the file implementation.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 11:21:11 -06:00
Taylor Otwell
be95496158 Allowing for config.load event.
Moved more basic logic into application start to make it easier to hook into early life cycle events such as configuration loading while not introducing extra files into the framework.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 10:55:37 -06:00
Dayle Rees
2c4d35e6a4 allow File::cpdir() to fail (and return false) 2012-03-01 12:12:39 +00:00
Colin Viebrock
b7d068f2f2 Move method into grammar.php instead of duplicating in each grammar 2012-02-29 15:21:20 -06:00
Colin Viebrock
26c7273493 Add unsigned() modifier, so you can create unsigned integer columns 2012-02-29 15:09:13 -06:00
Taylor Otwell
b37c966aea improve session ID assignment to avoid possible overlaps.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-28 10:06:53 -06:00
Taylor Otwell
425192a05d fix bug in route. 2012-02-28 09:30:43 -06:00
Taylor Otwell
5325acac64 adding support for attaching filters based on URI routing.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-28 09:28:23 -06:00
Taylor Otwell
01ddff5cdc adding support for filter patterns.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 22:36:28 -06:00
Taylor Otwell
9954482194 added search and extension functions to view class for registering them.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 16:27:28 -06:00
Taylor Otwell
64b61abcd5 added paths and extensions options to view class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 15:29:11 -06:00
Taylor Otwell
ca5dfa4061 fixing underscored library auto-loading.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 14:08:01 -06:00
Taylor Otwell
621fee09be cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 09:28:21 -06:00
Taylor Otwell
d87b01ad6c cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 09:26:51 -06:00
Taylor Otwell
a08537335a simplify autoloader namespace mapping.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:41:19 -06:00
Taylor Otwell
909413916c cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:32:12 -06:00
Taylor Otwell
2a02b9f6ac cleaning up view code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:30:35 -06:00
Taylor Otwell
484a737382 make the pdo fetch style configurable. 2012-02-24 11:35:02 -06:00
Taylor Otwell
9804bb55dc comment cleanup. 2012-02-24 11:17:56 -06:00
Taylor Otwell
97cb0035f4 clarify cookie comment. 2012-02-24 10:31:43 -06:00
Taylor Otwell
c9bb800ee9 cleaning up the cookie class. 2012-02-24 10:29:20 -06:00
Taylor Otwell
9019c6e2f6 added link_to_action method to html class. 2012-02-24 08:08:56 -06:00
Taylor Otwell
d6fba0ade1 blade ext constant no longer needed. 2012-02-23 22:35:33 -06:00
Taylor Otwell
49d3c5251b removed blade from core and extracted it into bundle. added view engine event to hook in any view engine to the core. 2012-02-23 22:34:42 -06:00
Aaron Kuzemchak
115eb8d085 Added shortcut method to load a designated route's response 2012-02-23 20:08:12 -05:00
Taylor Otwell
441a9e206f working on view engine event. 2012-02-23 17:00:36 -06:00
Taylor Otwell
2b4ab94e6b trimming up comment bloat. 2012-02-23 16:29:30 -06:00
Taylor Otwell
753c769d10 fixing comment. 2012-02-23 16:19:00 -06:00
Taylor Otwell
160e839e81 cleaning up classes. 2012-02-23 16:18:08 -06:00
Taylor Otwell
fadadd0f62 allow events to override the log class. 2012-02-23 14:50:07 -06:00
Taylor Otwell
157f619e98 basic code cleanup. 2012-02-23 14:02:59 -06:00
Taylor Otwell
e69f988fe5 improving some comments. 2012-02-23 09:09:56 -06:00
Taylor Otwell
d29a127948 allow multiple request methods for uri. 2012-02-23 09:09:00 -06:00
Taylor Otwell
f624a6849f fix handling of HEAD http requests. 2012-02-23 08:43:55 -06:00
Taylor Otwell
e70261e962 added support for controller factories. 2012-02-22 15:09:04 -06:00
Taylor Otwell
86fa595317 set application key by default. 2012-02-22 11:00:02 -06:00
Taylor Otwell
f84bdb98a1 cleaning up code. 2012-02-21 10:52:38 -06:00
Taylor Otwell
271e73462d cleaning up code. 2012-02-21 10:52:19 -06:00
Taylor Otwell
ca40180b54 cleaning up code. 2012-02-21 10:51:31 -06:00
Taylor Otwell
353c7c527f cleaning up code. 2012-02-21 10:50:25 -06:00
Taylor Otwell
f6ef233d39 alias aggregate column in query grammar. 2012-02-21 09:23:24 -06:00
William Cahill-Manley
6bed34fb8b Use rtrim instead of prepending DS to avoid Windows issues 2012-02-20 14:52:32 -08:00
William Cahill-Manley
dd5ff5f12b Trimmed Directory separator produces relative (and wrong) paths for bundles 2012-02-20 14:44:13 -08:00
Taylor Otwell
4e9369f5bf rename autoloading method. 2012-02-20 15:50:58 -06:00
Taylor Otwell
1ff9deb150 clean up auto-loader registrations. 2012-02-20 15:50:09 -06:00
Taylor Otwell
e996093b72 cleaning up bundle registration. 2012-02-20 15:33:19 -06:00
Taylor Otwell
5c66658428 remove bundle guessing in autoloader in preference of explicit config. 2012-02-20 15:27:01 -06:00
Taylor Otwell
16dca5e74e updating bundle class loading. 2012-02-20 14:40:24 -06:00
Taylor Otwell
ec84d3f90d added ability to specify autoloader configuration for bundles in bundles.php 2012-02-20 14:00:11 -06:00
Taylor Otwell
a88511428a silently flush output buffer on error. 2012-02-20 09:28:12 -06:00
Taylor Otwell
1098d50aff cleaning. 2012-02-20 09:07:56 -06:00
Taylor Otwell
ea358eb371 cleaning up code. 2012-02-19 22:56:59 -06:00
Taylor Otwell
b262e743c0 autoload bundles based on namespace. 2012-02-19 21:59:57 -06:00
Taylor Otwell
106b5dc1e1 tweaks. 2012-02-19 09:43:34 -06:00
Taylor Otwell
22e5d8e425 tweaking autoloader variables. 2012-02-19 08:49:59 -06:00
Taylor Otwell
2f66c97806 changes 2012-02-18 13:37:02 -06:00
Taylor Otwell
fe0b4b287d cleaning up code. 2012-02-17 16:30:11 -06:00
Taylor Otwell
33e4914634 random cleanup. 2012-02-17 14:47:46 -06:00
Taylor Otwell
3507d15323 fix charset in mysql and pgsql connectors. 2012-02-17 14:38:25 -06:00
Taylor Otwell
bf6313e50b cleaning up code. 2012-02-17 14:02:53 -06:00
Taylor Otwell
ba3f62f79a added auto_key config option. 2012-02-17 09:00:53 -06:00
Taylor Otwell
faa2eec3b9 consolidate database methods into db::query. 2012-02-17 08:47:06 -06:00
Taylor Otwell
42b9d1e097 import router. 2012-02-17 08:33:46 -06:00
Taylor Otwell
ed72448fb0 Merge pull request #343 from sparksp/patch-4
Consolidate Bundle::path and Bundle::location
2012-02-17 06:32:42 -08:00
Taylor Otwell
2296f63b8f tweak bundle:assets. 2012-02-17 08:31:17 -06:00
Phill Sparks
aa9d790a15 Consolidate Bundle::path and ::location 2012-02-17 11:18:55 +00:00
Taylor Otwell
e828b6c0c3 all database exceptions now include SQL and bindings in message for easier debugging. 2012-02-16 22:32:09 -06:00
Taylor Otwell
dd6402c648 prefix built-in events with laravel. 2012-02-16 16:26:39 -06:00
Taylor Otwell
7aa78e1a3c change done event name. 2012-02-16 16:24:52 -06:00
Taylor Otwell
0e63717be9 use default index names on implicit indexes. 2012-02-16 15:37:06 -06:00
Taylor Otwell
62d8c09cce trim a long ling. 2012-02-16 15:31:07 -06:00
Taylor Otwell
851db1703e dont register session in ioc. 2012-02-16 15:14:31 -06:00
Taylor Otwell
0e4f726874 cleaning up code before release. 2012-02-16 15:12:42 -06:00
Taylor Otwell
bb0967cceb throw exception if padding is invalid. 2012-02-16 14:53:22 -06:00
Taylor Otwell
1324ba368c tweak provider to use temp directory to avoid latest confusions. 2012-02-16 14:35:32 -06:00
Taylor Otwell
ab5ce2a7eb added pkcs7 compliant padding to encryption class instead of default 0 padding. 2012-02-16 14:31:11 -06:00
Taylor Otwell
49d9666958 final code cleanup 2012-02-16 13:59:48 -06:00
Taylor Otwell
f41717dcb1 dont try to guess the bundle of classes. 2012-02-16 13:53:19 -06:00
Taylor Otwell
5cfe371360 null should return default bundle path. 2012-02-16 13:02:40 -06:00
Taylor Otwell
86102ac417 update test runner. 2012-02-16 10:32:39 -06:00
Taylor Otwell
317e8db81f change query event name. 2012-02-16 09:08:00 -06:00
Taylor Otwell
36834c1118 add database.profile config option. 2012-02-16 08:46:48 -06:00
Taylor Otwell
b29f8a88fe add default value for index names. 2012-02-15 16:17:47 -06:00
Taylor Otwell
b73a60de2a rearrange str class. 2012-02-15 13:51:18 -06:00
Taylor Otwell
ab17ea674a fix bug in db profiling. 2012-02-15 13:29:37 -06:00
Taylor Otwell
6e83add76f tweaking key setting. 2012-02-15 13:17:45 -06:00
Taylor Otwell
82315f31d5 added configurable automatic key generation. 2012-02-15 13:02:38 -06:00
Taylor Otwell
6b14bd394e change psr method to directories. 2012-02-15 11:12:23 -06:00
Taylor Otwell
188394bae1 added url::home 2012-02-15 08:27:10 -06:00
Taylor Otwell
75280a9fea cleaning up validator method. 2012-02-14 16:53:08 -06:00
Taylor Otwell
e1c8928550 added passes and fails method to validtor. 2012-02-14 15:19:01 -06:00
Taylor Otwell
642b0f17f0 link_to_secure_route no longer needed. 2012-02-14 11:35:22 -06:00
Taylor Otwell
9f60c5e15a https option no longer needed on path helpers. 2012-02-14 11:34:43 -06:00
Taylor Otwell
3f44103760 added redirect::home 2012-02-14 09:38:08 -06:00
Taylor Otwell
14c9d38270 add facade for filter::register. 2012-02-14 08:22:10 -06:00
Taylor Otwell
479b3f6773 cleaning up various codes. 2012-02-13 23:51:33 -06:00
Taylor Otwell
f27ec7ab95 cleaning up the session cli task. 2012-02-13 23:26:17 -06:00
Taylor Otwell
6ced385d20 use 'as' instead of 'name'. 2012-02-13 16:50:41 -06:00
Taylor Otwell
86e109b7bc simplify route parameter parsing and fix default value bug. 2012-02-13 14:42:38 -06:00
Taylor Otwell
2713ee9b87 use is_callable instead of method_exists. 2012-02-13 11:06:27 -06:00
Taylor Otwell
09da91501d update comment and add check to command metho_exists. 2012-02-13 09:19:02 -06:00
Dayle Rees
29d062da75 better handling of undefined task methods 2012-02-13 15:07:52 +00:00
Taylor Otwell
620f3ba91f fixing a bug and cleaning. 2012-02-12 21:52:28 -06:00
Taylor Otwell
b0a223aa4b cleaning up comment. 2012-02-12 21:27:07 -06:00
Taylor Otwell
b353afdc79 fixing router bugs. 2012-02-12 20:09:27 -06:00
Taylor Otwell
0438c69648 added better random sources in crypter, seed random number generator on every call. 2012-02-12 19:45:04 -06:00
Taylor Otwell
74887986a7 fixing bugs in router. 2012-02-12 19:26:16 -06:00
Taylor Otwell
775b97ee76 load controller file before checking in ioc container. 2012-02-12 19:15:13 -06:00
Taylor Otwell
3d1a44028a added route::share method. 2012-02-12 16:41:03 -06:00
Taylor Otwell
0f2d311739 cleaning up some code. 2012-02-12 16:34:11 -06:00
Taylor Otwell
aed1443bf1 cleaning up the cookie class. 2012-02-12 16:15:17 -06:00
Taylor Otwell
ae544b85da fix bug in router::route method. 2012-02-12 15:39:53 -06:00
Taylor Otwell
597feed4a7 fix bug with root routing. 2012-02-12 15:23:20 -06:00
Taylor Otwell
89ea17d9d9 fleshed out redirect::to_action 2012-02-12 14:53:54 -06:00
Taylor Otwell
3a92facc76 updated routing to fix several issues. 2012-02-12 14:48:36 -06:00
Taylor Otwell
31cf44c374 working on routing. 2012-02-09 23:43:02 -06:00
Taylor Otwell
4330124d79 added route:destination method. 2012-02-09 23:36:08 -06:00
Taylor Otwell
8737dde682 making changes to routing. 2012-02-09 23:35:08 -06:00
Taylor Otwell
38da9f47b9 added bundle option 2012-02-09 23:32:19 -06:00
Taylor Otwell
ebcf34e3b4 cleaning up crypter. 2012-02-08 21:31:27 -06:00
Taylor Otwell
874f02c759 fix comment typo. 2012-02-08 14:37:58 -06:00
Taylor Otwell
0e66517ec9 simplify with ternary shortcut. 2012-02-08 14:35:30 -06:00
Taylor Otwell
a216af62dc add more portable uri support. 2012-02-08 14:27:22 -06:00
Taylor Otwell
490eb0f5bf remove die. 2012-02-08 11:35:29 -06:00
Taylor Otwell
5e59a72b5b fix bug in paginator. 2012-02-08 11:16:55 -06:00
Taylor Otwell
e88d2213ab added support for complex joins on query builder. 2012-02-08 10:53:58 -06:00
Taylor Otwell
326b5929e9 cleaning up bundler. 2012-02-08 09:12:09 -06:00
Taylor Otwell
fb516f83ca added bundle:make command 2012-02-08 08:58:42 -06:00