Commit Graph
100 Commits
Author SHA1 Message Date
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 32e194ad21 Merge branch 'master' of github.com:laravel/laravel 2012-03-21 10:59:13 -05:00
Taylor Otwell 599c69b433 Updated .gitignore. 2012-03-21 10:59:09 -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 7e7f70dbdd Merge pull request #423 from akhodakivskiy/master
Query::left_join to accept closures
2012-03-21 08:50:17 -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 aadddcb1d5 Merge pull request #425 from loic-sharma/patch-1
Fixed typo
2012-03-21 08:37:07 -07:00
Taylor Otwell ce9f4f1db7 Added support for on_delete and on_cascade of foreign keys. 2012-03-21 10:33:06 -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
Taylor Otwell 0455438ebe Added transaction method to database connection and eloquent model. 2012-03-18 22:39:04 -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 <[email protected]>
2012-03-17 16:12:26 -05:00
Taylor Otwell 8c209a7a61 Just cleaning up some code.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-17 15:42:01 -05:00
Taylor Otwell 762f2402c3 Fixing bugs and improving.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 15:32:26 -05:00
Taylor Otwell b5e75f6fcf Fixing bugs and improving.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 14:08:28 -05:00
Taylor Otwell dc92dd264d Adding auto detection of intermediate table names.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 13:01:48 -05:00
Taylor Otwell c3d95122e4 Fixing bugs… adding better pivot support.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 11:29:21 -05:00
Taylor Otwell c9c0ddf569 Fixing bugs in Eq2.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 10:29:43 -05:00
Taylor Otwell e857505e35 Map eloquent classes.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 09:04:14 -05:00
Taylor Otwell 003f78cbbf Updated change log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 08:38:08 -05:00
Taylor Otwell d6d667af90 Added Eloquent 2.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-16 08:37:31 -05:00
Taylor Otwell 3de0d1af66 Make the query where_nested method public.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-15 16:12:18 -05:00
Taylor Otwell b755903de6 Updated change log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-15 12:57:12 -05:00
Taylor Otwell da67b1bc66 Fix typo in memory driver.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-14 14:18:19 -05:00
Taylor Otwell a61f51fa93 Add forever and flush methods to memory driver.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-14 14:08:52 -05:00
Taylor Otwell 338b6a8aba Updated change-log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-14 09:02:57 -05:00
Taylor Otwell 2f4d896958 Added proper cache::forever implementations to each driver.
Signed-off-by: Taylor Otwell <[email protected]>
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 <[email protected]>
2012-03-14 08:54:00 -05:00
Taylor Otwell cb5fdeaed6 Updated change log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-13 13:07:34 -05:00
Taylor Otwell b65380d6ff Added automatic controller detection.
Signed-off-by: Taylor Otwell <[email protected]>
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 <[email protected]>
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 <[email protected]>
2012-03-12 10:40:50 -05:00
Taylor Otwell afcb60ec60 Adding comment in database grammar.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-12 10:31:12 -05:00
Taylor Otwell d862a5181a Merge pull request #399 from kbanman/develop
Fix raw table expressions
2012-03-12 08:30:22 -07:00
Taylor Otwell 18f91414bb Merge pull request #396 from cviebrock/develop
Make key optional for Messages->has() as well
2012-03-08 11:16:39 -08:00
Taylor Otwell 968808f8d6 Updated change-log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-07 22:17: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 <[email protected]>
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 <[email protected]>
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
Taylor Otwell 20f62b5a1d Merge pull request #393 from ShawnMcCool/master
made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality
2012-03-07 12:12:34 -08:00
Taylor Otwell 6535fca31c fixing bug in event class.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-06 17:27:41 -06:00
Taylor Otwell cb8dbddccc Updated change-log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-06 16:29:25 -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 <[email protected]>
2012-03-06 16:28:55 -06:00
Taylor Otwell e57948185b Ignore DS_Store files.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-05 16:53:37 -06:00
Taylor Otwell 8da1c16c8b Tweak controller layout resolution.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-05 13:31:30 -06:00
Taylor Otwell 2b81497644 Merge branch 'refs/heads/master' into develop 2012-03-04 23:06:34 -06:00
Taylor Otwell 5b3031adb0 Fix output buffer checking bug.
Signed-off-by: Taylor Otwell <[email protected]>
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 89dc8903ec Updating version.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-04 22:03:59 -06:00
Taylor Otwell 638032f4c0 Fix bug in IoC singleton checking.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-04 22:02:11 -06:00
Taylor Otwell 46595ce55e Unsigned only supported by MySQL.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-04 14:28:49 -06:00
Taylor Otwell f3df013753 Added support for decimal data type in schema.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-04 14:23:59 -06:00
Taylor Otwell f110ccde4f Fixing spacing.
Signed-off-by: Taylor Otwell <[email protected]>
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 <[email protected]>
2012-03-04 13:56:12 -06:00
Taylor Otwell aeaebead18 Just tweaking comments.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-03 15:46:08 -06:00
Taylor Otwell 4e656f02fe general code cleanup.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-03 15:17:47 -06:00
Taylor Otwell c4594afce1 cleaning up the validator.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-03 15:12:30 -06:00
Taylor Otwell c433815fdf cleaning up the application start file.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-03 14:51:18 -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 <[email protected]>
2012-03-03 14:48:45 -06:00
Taylor Otwell 9bb69309f5 Display errors by default.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-02 22:54:29 -06:00
Taylor Otwell 76eef23f54 Check for CLI before starting session.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-02 17:12:43 -06:00
Taylor Otwell d43157b61f Fix drop_foreign SQL grammar for MySQL.
Signed-off-by: Taylor Otwell <[email protected]>
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 <[email protected]>
2012-03-02 10:23:27 -06:00
Taylor Otwell 2f2437a0e3 Updated change-log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-02 09:55:17 -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 <[email protected]>
2012-03-02 09:54:43 -06:00
Taylor Otwell fba6c303ea Updated change-log.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-02 09:42:52 -06:00
Taylor Otwell 1302ded5f8 Added foreign key support to schema builder for MySQL, Postgres, and SQL Server.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-02 09:41:30 -06:00
Taylor Otwell 2032dec0ea Update change-log
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-01 13:44:32 -06:00
Taylor Otwell 028703d9d5 Clean up the life-cycle file.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-01 13:30:02 -06:00
Taylor Otwell f473e4418a Cleaning up the core bootstrap file.
Signed-off-by: Taylor Otwell <[email protected]>
2012-03-01 13:06:27 -06:00
Taylor Otwell fdcebc1bcb Added override and clear methods to event class.
Signed-off-by: Taylor Otwell <[email protected]>
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 <[email protected]>
2012-03-01 11:52:05 -06:00
Taylor Otwell 32d4eeff14 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-03-01 11:24:04 -06:00
Taylor Otwell 5a25b5a714 Fix typo
Fix typo in the configuration loader event description.

Signed-off-by: Taylor Otwell <[email protected]>
2012-03-01 11:22:47 -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 <[email protected]>
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 <[email protected]>
2012-03-01 10:55:37 -06:00
Taylor Otwell d12f868f8c Merge branch 'master' into develop 2012-02-29 20:39:23 -06:00
Taylor Otwell e36dba4f10 default to showing all errors.
Signed-off-by: Taylor Otwell <[email protected]>
2012-02-29 20:39:02 -06:00
Taylor Otwell 871d205a35 Updated change-log.
Added note about cviebrock's unsigned method.

Signed-off-by: Taylor Otwell <[email protected]>
2012-02-29 15:32:59 -06:00