Commit Graph

1155 Commits

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