Commit Graph

1562 Commits

Author SHA1 Message Date
Taylor Otwell a73a6fb6c4 Merge pull request #970 from franzliedke/patch-26
[Docs] Schema default helper
2012-07-17 17:15:30 -07:00
Franz Liedke 61364c553d Make sure default values in schema columns are always non-empty (especially booleans). 2012-07-17 23:47:05 +02:00
Franz Liedke 02e84eb5eb Documentation: fix menu link to "Bundle Routes" section. 2012-07-17 23:56:43 +03:00
Franz Liedke a03bcb521b Mention default value helper function in database schema documentation. 2012-07-17 23:51:00 +03:00
Rack Lin 096f9c2b78 Fixed IoC::resolve forces singleton issue.
Signed-off-by: Rack Lin <racklin@gmail.com>
2012-07-17 17:42:01 +08:00
Franz Liedke b973c25905 Add documentation about deleting files. 2012-07-16 14:57:35 +03:00
Shawn McCool 25b8bd889b add help:commands artisan task to documentation 2012-07-16 11:37:05 +03:00
Shawn McCool 186b0f2e24 Merge branch 'feature/artisan-tasklist' into develop 2012-07-16 10:29:12 +02:00
Shawn McCool 7dcbf33a80 cleaned up help task 2012-07-16 10:28:40 +02:00
Shawn McCool 1a1e74a90a Merge branch 'feature/eloquent-pagination' into develop 2012-07-16 10:07:29 +02:00
Shawn McCool dc6bcf0793 use global paginator alias in the query class 2012-07-16 10:05:07 +02:00
Loic Sharma eb76c34cd3 Added a missing parenthesis and semicolon. 2012-07-12 17:46:17 -05:00
Franz Liedke 6d23c4f5c6 Fix missing semicolon in laravel/cli/test/runner.php. 2012-07-13 00:21:18 +03:00
Franz Liedke 78920c5d27 Move automatic relationship parsing to Eloquent's query class. 2012-07-12 22:32:43 +02:00
Franz Liedke 8c2a4fba14 The Eloquent model includes can now be taken directly from the model when assembling the query. 2012-07-12 23:20:17 +03:00
Franz Liedke 71f8e4acc0 Fix a bug introduced in pull request #799 that caused eager loading constraints to stop working. 2012-07-12 23:16:22 +03:00
Colin Viebrock 4d44df4885 Allow second param of HTML::link* methods to be null, in which case the title of the link is the URL itself, similar to HTML::email() method.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-07-12 10:40:41 -05:00
Chris Berthe b325e954e3 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-12 11:15:43 -04:00
Shawn McCool 644ecfcc25 adding basic help functions to artisan 2012-07-12 13:00:35 +02:00
Shawn McCool 29b668b83d added help:commands task to artisan 2012-07-12 00:30:04 +02:00
Shawn McCool 1503aed7ce Merge branch 'hotfix/docs-nav-update' into develop 2012-07-11 22:43:18 +02:00
Shawn McCool 3acc64051f simplify navigation copy 2012-07-11 22:42:36 +02:00
Shawn McCool 05ada38d8f style update 2012-07-11 22:36:20 +02:00
Shawn McCool 95bb9dfee8 Merge branch 'hotfix/fix_markdown' into develop
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:35:58 +02:00
Shawn McCool a6c28050e6 style updates 2012-07-11 22:34:38 +02:00
Shawn McCool 85ec19367d fix merge 2012-07-11 22:31:46 +02:00
Shawn McCool ee6adc26d9 fix merge 2012-07-11 22:30:38 +02:00
Shawn McCool bcdde02229 Merge branch 'feature/docs-install' into develop
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:30:21 +02:00
Shawn McCool a66eb44809 fixed typo 2012-07-11 22:28:44 +02:00
Shawn McCool ce1392aa82 Merge branch 'feature/docs-install'
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:25:28 +02:00
Shawn McCool 49928b397a added server configuration to the documentation 2012-07-11 22:22:57 +02:00
Taylor Otwell e19e4ebd24 tweak url for languages. 2012-07-11 10:30:44 -05:00
Taylor Otwell 5f919d76a5 updated change log. 2012-07-11 10:20:12 -05:00
Taylor Otwell c8718a32ec added option for URI languages. 2012-07-11 10:18:48 -05:00
Anahkiasen 8a4aade8f7 Quick notes on Pivot tables 2012-07-11 16:27:11 +02:00
Tobsn 27fb9d0612 fixed "here" link 2012-07-11 12:27:29 +02:00
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
Franz Liedke 6b5cccc15f Move get_file_size() helper function to helpers.php. 2012-07-07 02:13:44 +02: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
Franz Liedke 94e9106b76 Display memory usage (and peak usage) in the profiler bar, too. 2012-07-02 03:42:43 +03:00
Franz Liedke 98b92185e3 Calculate memory and peak memory usage in profiler, too. 2012-07-02 03:38:58 +03:00
Chris Berthe 3b6191ec16 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-01 12:33:03 -04: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
Tobsn a04f38c262 Now with Balanced Parentheses!
it's not regex, its not posix, but it can fly… finally balanced
parentheses to fix all the () issue. it's ugly but it's fast and works
with all kinds of combinations.

it basically just counts open vs. closed and if they are even again it
knows exactly where the condition is and does not cut into html or cut
off too much.
2012-06-27 03:46:31 -07: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
Chris Berthe f3d756476b Merge remote-tracking branch 'upstream/develop' into develop 2012-06-25 13:11:54 -04:00
Franz Liedke bcd63ab5af We can be fairly sure the $time variable is set in the profiler view. 2012-06-25 14:56:42 +03:00
Franz Liedke 204a64f006 Simply use the LARAVEL_START constant for calculation page generation time in profiler. 2012-06-25 14:56:04 +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
Steve Frost a8b5231e57 Updated the dd function to var_dump inside pre tags, makes is a bit more readable 2012-06-25 12:16:14 +02:00
Franz Liedke 52f98b7cf6 Use start_time attribute like a static attribute (as it is). 2012-06-25 01:12:31 +03:00
Franz Liedke c74123098b Render page generation time on anbu profiler console. 2012-06-24 21:27:57 +03:00
Franz Liedke 59397eb726 Calculate the total render time in the profiler. 2012-06-24 21:17:32 +03: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