Commit Graph

1503 Commits

Author SHA1 Message Date
Jeffrey Way c659a92603 Fix typo in comments 2012-07-10 11:03:55 -04:00
Taylor Otwell 1879e6575a tweak eloquent model change method to not check types. 2012-07-10 08:02:08 -05:00
Jeffrey Way ff525b995b Add "remember" to ignore list
Signed-off-by: Jeffrey Way <jeffrey@envato.com>
2012-07-09 22:18:32 -04:00
Jeffrey Way 9dd964c316 Extend Auth::laravel to accept multiple params to verify
Signed-off-by: Jeffrey Way <jeffrey@envato.com>
2012-07-09 21:34:17 -04:00
Taylor Otwell 82ababb4cb Add note about making view directory writable. 2012-07-09 09:54:56 -05:00
Taylor Otwell 845023fc80 Merge pull request #847 from tobsn/patch-1
NOT NULL order issue fixed!
2012-07-06 18:12:11 -07:00
Taylor Otwell 430eeb6da1 Merge pull request #798 from xsbeats/feature/validation_required_with
Added required_with validation rule...
2012-07-06 18:11:19 -07:00
Taylor Otwell 990f10f6de Merge pull request #854 from jasonlewis/feature/pattern-filters
Allow filter patterns to supply a name and callback as an easier alternative.
2012-07-06 17:57:46 -07:00
Taylor Otwell 4de201002d Merge pull request #862 from franzliedke/patch-15
[View] Pass variables with more expressive methods
2012-07-06 17:57:15 -07:00
Taylor Otwell 8198dc23f3 Merge pull request #874 from franzliedke/patch-16
[Eloquent] Constraining eager loads only allows WHERE clauses
2012-07-06 17:51:27 -07:00
Taylor Otwell 69e1ea939d Merge pull request #868 from lucadegasperi/bug/phpunit
Artisan test command fix
2012-07-06 17:50:13 -07:00
Taylor Otwell f338db50db Merge pull request #888 from TommyC81/patch-3
Documentation on how to attach data to pivot table
2012-07-06 17:49:20 -07:00
Taylor Otwell 90447e7183 Merge pull request #892 from jasonlewis/bug/database/select
Fixes #818, allows Query select to just be an Expression.
2012-07-06 17:14:20 -07:00
Taylor Otwell 06154abe8d Merge pull request #895 from TomorrowToday/develop
Eloquent docs update: eager loading using $includes example
2012-07-06 17:12:15 -07:00
Taylor Otwell e6ff7ba336 Merge pull request #901 from franzliedke/patch-18
Ignore NULL values when determining whether a model object is dirty
2012-07-06 17:07:58 -07:00
Taylor Otwell a9d27ba79c Merge pull request #902 from JesseObrien/feature/eloquent-update-timestamp
Feature/eloquent update timestamp
2012-07-06 17:07:34 -07:00
Taylor Otwell 6e9efb464d Merge pull request #903 from Lapayo/master
Fixed a little bug with the Input::has_file function
2012-07-06 17:06:33 -07:00
Taylor Otwell dcf1966c28 Merge pull request #910 from franzliedke/patch-20
Force UTF-8 charset on JSON responses
2012-07-06 17:04:55 -07:00
Taylor Otwell 5c44cf98cd Merge pull request #879 from franzliedke/patch-17
[Eloquent] Bug with eager loading relationships and isset()
2012-07-06 17:04:34 -07:00
Franz Liedke db9f220f57 Force UTF-8 charset on JSON responses. 2012-07-07 02:17:12 +03:00
Franz Liedke d7bbdd9735 Fix anchor name for "Retrieving a language line" section on localization page. 2012-07-05 01:52:30 +03:00
Simon f05148503e Input::has_file was not working properly.
This one should work perfect :)
2012-07-04 22:56:58 +03:00
Jesse O'Brien 1be274caa6 Change update function so it uses timestamp like save
Calling update() on an eloquent model has no way of overriding
the timestamp that should be set if $timestamps is set on the
model. This changes that so it uses the timestamp() function
which is an easy way to over ride the type of timestamps used.
2012-07-04 15:46:12 -04:00
Franz Liedke f2ccc688fe Ignore NULL values when determining whether a model object is dirty. 2012-07-04 21:44:11 +03:00
Steven Lischer 72558bda3b removed extra newline 2012-07-02 12:50:26 -05:00
Steven Lischer 550913843e Merge branch 'develop' of git://github.com/laravel/laravel into develop 2012-07-02 12:44:29 -05:00
Steven Lischer b28c5eb19f docs edit: eager loading using $includes in model 2012-07-02 12:32:14 -05:00
Jason Lewis 52f76b9d66 Fixes #818, wraps in an array instead of type casting.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-07-01 22:51:42 +09:30
TommyC81 f77b22eb45 Add documentation on how to attach pivot table fields to attach command. 2012-06-30 18:11:31 +03:00
TommyC81 110078d2af Fixed typo 2012-06-29 21:55:38 +03:00
TommyC81 2159596a83 Bold characters for reflash and keep. 2012-06-29 21:49:54 +03:00
TommyC81 26623c79ed Removed empty row. 2012-06-29 21:45:31 +03:00
TommyC81 837f617627 Re-organized and added some more help on the reflash() and keep() functions. 2012-06-29 21:42:06 +03:00
Franz Liedke a87bb86999 Fix a bug with Eloquent model classes and isset() when eager loading a relationship returns an empty result set. 2012-06-29 20:56:32 +03:00
TommyC81 3a504cfa8e Fixed small typo. 2012-06-29 20:34:00 +03:00
Taylor Otwell d53ac0e9d1 update change log 2012-06-28 15:28:03 -05:00
Taylor Otwell 8d17702b9c Merge branch 'staging' into develop 2012-06-28 15:26:25 -05:00
Taylor Otwell 14e9488cf9 Speed up eager loading of many to many. 2012-06-28 15:19:20 -05:00
Franz Liedke 39df69fdc1 Allow more than just WHERE clauses on eager load constraints. 2012-06-28 18:33:45 +03:00
Taylor Otwell 2d4fa7217a Merge pull request #867 from niallobrien/develop
Updated Validation docs
2012-06-27 20:41:19 -07:00
Taylor Otwell 1f93039ba7 Merge pull request #873 from dlpetrie/master
Adding support for '=', in (:any) and (:any?) route patterns
2012-06-27 20:39:59 -07:00
Daniel Petrie f640cd42ad adding in '=' to regex for (:any) / (:any?) calls. 2012-06-27 11:15:34 -07:00
Luca Degasperi 79a5dc1931 Using escapeshellarg instead of putting backshlashes in front of spaces
Signed-off-by: Luca Degasperi <dega.luca@gmail.com>
2012-06-27 17:31:38 +02:00
Luca Degasperi ad2540c979 Fixed the spaced directory when calling php unit via the command line
Signed-off-by: Luca Degasperi <dega.luca@gmail.com>
2012-06-27 15:20:28 +02:00
niallobrien 9858f8aa61 Added examples for using $errors in views. 2012-06-27 14:19:21 +02:00
Franz Liedke 5e2373817d Allow for passing variables to views with more expressive method calls.
Example: with_foo($bar) instead of with('foo', $bar)

Signed-off-by: Franz Liedke <franz@develophp.org>
2012-06-25 21:31:54 +03:00
Shawn McCool 0493431597 Merge branch 'feature/installation' into staging 2012-06-25 13:46:07 +02:00
Shawn McCool 4d7d67dd82 Merge branch 'feature/installation' into develop 2012-06-25 13:46:01 +02:00
Shawn McCool d08db5c26b added server configuration to install docs 2012-06-25 13:45:29 +02:00
Jason Lewis cea48d4fe5 Updated the documentation.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-24 19:37:08 +09:30
Jason Lewis ac810f8597 Allow filter patterns to supply a name and callback as an easier alternative.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-24 19:28:53 +09:30
Jeffrey Way 5a4d622bb7 Fix small typo in validation docs. 2012-06-23 14:32:27 -03:00
Tobsn 31abcd599b unique typo 2012-06-22 08:54:10 -07:00
Tobsn 0b9b102dc7 NOT NULL order issue fixed!
thanks @crynobone !!!
2012-06-22 08:50:09 -07:00
Dayle Rees 6415f1d2ac Merge pull request #846 from tobsn/patch-6
fixed link for query builder
2012-06-22 08:35:27 -07:00
Dayle Rees 8d13bf9c5a removing unsigned from mysql grammer due to bug
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-06-22 16:25:50 +01:00
Tobsn 36226b99bc fixed link for query builder /query -> /fluent
thanks to @NXB
2012-06-22 03:09:50 -07:00
Taylor Otwell 7af0304fe8 Merge branch 'master' into develop 2012-06-21 11:38:50 -05:00
Taylor Otwell 1b062499dd Merge pull request #774 from franzliedke/patch-8
Avoid unnecessary end() in Table::command() function
2012-06-20 09:59:50 -07:00
Taylor Otwell 3fcb3aac6c Merge pull request #775 from franzliedke/patch-9
Foreign key creation ignores database prefix
2012-06-20 09:58:38 -07:00
Taylor Otwell a203a12da4 Merge pull request #799 from Jelle-S/develop
Eloquent - simplify eager loading
2012-06-20 09:57:59 -07:00
Taylor Otwell 81efdcf157 Merge pull request #776 from JesseObrien/develop
Request::ip() doesn't return default
2012-06-20 09:56:01 -07:00
Taylor Otwell 6e28d0bf2c Merge pull request #812 from stefanneubig/patch-2
Fixed namespace issue when registering a session driver with the extend ...
2012-06-20 09:52:09 -07:00
Taylor Otwell 6405175dbd Merge pull request #819 from jasonlewis/patch-11
Allow checking of named view existance.
2012-06-20 09:49:12 -07:00
Taylor Otwell fc96014c4f Merge pull request #821 from daylerees/feature/clear-input
Added clear() method to the input class
2012-06-20 09:47:02 -07:00
Taylor Otwell 7354b5fc72 Merge pull request #824 from tobsn/patch-1
Added UNSIGNED to mysql grammar inrementer()
2012-06-20 09:46:16 -07:00
Taylor Otwell 1f9f064bf6 Merge pull request #831 from jasonlewis/feature/blade-break
Added an @break to blade to break out of loops.
2012-06-20 09:43:15 -07:00
Taylor Otwell 749a91f948 Merge pull request #840 from noor/develop
Fixed optgroup closing tag
2012-06-20 09:42:12 -07:00
Noor Alhiraki ec0128be8f fixed optgroup closing tag 2012-06-20 16:18:16 +03:00
SonicHedgehog ec4556321d Fixed typo 2012-06-20 13:01:52 +03:00
Tobias Orterer c6ebf685bf Added important note about @layout on first line
leads to confusion if not pointed out.
2012-06-18 21:55:35 -07:00
Jason Lewis b6cc836bf4 Added an @break to blade to break out of loops.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-19 01:58:14 +09:30
Tobias Orterer e0d491cb15 Added UNSIGNED to mysql grammar inrementer()
Added UNSIGNED to the mysql grammar file because auto increment fields
only run upwards, it's a waste of space to provide negative values by
the default SIGNED state of INT.
2012-06-16 19:46:50 -07:00
Taylor Otwell c92578b217 Merge branch 'master' of github.com:laravel/laravel 2012-06-16 15:08:38 -05:00
Taylor Otwell 681f80eafb update change log 2012-06-16 15:08:03 -05:00
Koen Schmeets aeeb010e0a Fixing reference issue in relationship matching 2012-06-16 17:52:07 +02:00
Dayle Rees e3317324b0 added clear() method to the input class
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-06-16 11:42:25 +01:00
Jason Lewis a5cc8616fc Fix bug where error is shown when named view isn't set.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-16 10:29:45 +09:30
Jason Lewis 5d6258a7b4 Can now check for existance of named views.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-15 10:29:09 +09:30
Stefan Neubig ac2e7c6a2d Fixed namespace issue when registering a session driver with the extend closure 2012-06-14 01:33:56 +03:00
Taylor Otwell b27b132128 update change log 2012-06-13 10:26:42 -05:00
Taylor Otwell 0a24189b0e added resolving event. 2012-06-13 10:25:14 -05:00
dlabs88 06d7abc2d4 Route::get('admin', array('before' => 'auth', function() {}));
forgot the last )
2012-06-12 04:00:15 +03:00
Jelle Sebreghts ac8bd0829e Fix for https://github.com/laravel/laravel/issues/789 2012-06-11 20:00:46 +02:00
Jason Walton 6881bdaf02 Added required_with validation rule to conditionally require an attribute based on the presence of another attribute
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-06-11 09:18:42 -07:00
Lucas Cherkewski 6c35bbade6 Fix typo. 2012-06-10 10:13:56 -04:00
Jesse O'Brien 67ac2f2f9a Default was never returned. If no IP was found it returns NULL.
While unit testing I found that providing a default IP address to
Request::ip() returns NULL in a CLI environment.
2012-06-06 15:10:06 -04:00
Franz Liedke 7ead1796d0 Apply prefix to foreign key's "on" attribute, too. 2012-06-06 12:33:50 +03:00
Franz Liedke 605be704ff Avoid unnecessary end() in Table::column() function. 2012-06-06 12:23:00 +03:00
Franz Liedke 8fc80c47d9 Avoid unnecessary end() in Table::command() function. 2012-06-06 12:20:30 +03:00
Taylor Otwell d9802fe656 flush output buffer in error class. 2012-06-04 09:04:20 -05:00
Colin Viebrock 1cc33dea26 Clean-up whitespace issues
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-06-03 21:32:03 -05:00
Taylor Otwell f595deea1e updated change log. 2012-06-03 19:53:44 -05:00
Taylor Otwell 9d99cfad7e added default to config call to get auth password for backwards compatibility. 2012-06-03 19:53:21 -05:00
Taylor Otwell 8205a21965 Merge pull request #707 from cviebrock/auth-pass-field
Allow password field to be configured for Authentication drivers
2012-06-03 17:51:15 -07:00
Taylor Otwell 84e8892c29 updating change log. 2012-06-03 17:45:08 -05:00
Taylor Otwell ba6590d7b1 cleaning up code. 2012-06-03 17:44:53 -05:00
Taylor Otwell f608157ffc Merge pull request #732 from franzliedke/patch-4
Add a last_query() function to Database connection class.
2012-06-03 15:43:44 -07:00
Taylor Otwell c9a4f5ea2f cast values when comparing. 2012-06-03 17:42:16 -05:00
Taylor Otwell 563568fbfe Merge branch 'staging', remote-tracking branch 'origin' into develop 2012-06-03 17:38:56 -05:00