Commit Graph

1824 Commits

Author SHA1 Message Date
Jason Lewis
a422e06989 Find no longer needs to be defined on the model since the query catches it correctly.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-12-18 19:21:05 +11:00
Jason Lewis
a68d2242d3 Add the find method to the Eloquent Query class.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-12-18 19:14:51 +11:00
Taylor Otwell
8ff052cbdb Merge pull request #1180 from unikent/master
Performance enhancement for HTML Class.
2012-12-03 07:04:23 -08:00
Dayle Rees
f7d82412fa Merge pull request #1451 from Chrty/master
CSS resets for the profiler bar
2012-11-27 05:46:25 -08:00
Dayle Rees
6ae889e5b8 Merge pull request #1472 from franzliedke/patch-61
Fix pull request #1467
2012-11-27 05:44:45 -08:00
Phill Sparks
8296f30c82 Update laravel/database/eloquent/model.php
Make query() available publicly via object and statically.
2012-11-27 12:33:01 +00:00
Franz Liedke
f0cd43a20d Fix unit test - relationships are now properly hidden, too. 2012-11-24 22:11:30 +01:00
Franz Liedke
ff4b43c72f Ignore hidden relationships in to_array(). 2012-11-23 03:23:13 +01:00
Josh Betz
113dcc9b37 Reset the profiler bar
We want to reset the profiler bar so that it's still readable even if the page's font color is light or borders are added to links.
2012-11-17 10:41:48 -06:00
Taylor Otwell
d2fefa65aa Work on section handling. 2012-11-06 15:04:13 -06:00
crynobone
56eca662cc Session unit test giving a weird output
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 22:56:04 +08:00
crynobone
0d8a4ffbdd Add unit testing coverage for Laravel\HTML and improve setUp and tearDown for Form unit-test
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 22:33:29 +08:00
crynobone
6dc6b2b5ae Rename TestForm class to FormTest, to make it consistent with all other
testcases. Also remove tearDown method, as it doesn't do anything at
this moment.

Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 19:43:13 +08:00
crynobone
72dbf5ddeb Add full code coverage for Laravel\Form
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 17:42:35 +08:00
Taylor Otwell
1ddb4bb6cd Merge pull request #1419 from laravie/feature/blade-testcase
Improve Blade unit-test code coverage
2012-11-05 06:46:12 -08:00
crynobone
dace3d5091 Add additional tests
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-05 22:33:34 +08:00
crynobone
915becdb69 Improve Blade unit-test code coverage
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-05 22:07:19 +08:00
Shawn McCool
e714c0b487 Update laravel/helpers.php
fixed example code in docblock for url()
2012-11-05 09:28:48 +01:00
Jason Lewis
436672c33c Merge branch 'master' into develop 2012-11-04 15:43:10 +11:00
Jason Lewis
1559a6bbc8 Use the public facing URL for fetching bundles stored on GitHub.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-11-04 15:43:03 +11:00
Matthew Machuga
24ba947d10 Add 500 response code to exception handler. -- machuga, JesseOBrien, sdeinum 2012-11-02 21:58:24 -04:00
Ben Corlett
9f138aa979 Allowing use of third party Routers to handle Routing.
A class alias has always been provided in applications/config/application.php, however it is never called as the Router class is always directly targeting the Laravel namespaced class.

Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-11-01 08:20:30 +11:00
Taylor Otwell
c69c7cac1a Merge branch 'master' of github.com:laravel/laravel 2012-10-31 08:54:26 -05:00
Taylor Otwell
b386eeec8a update change log. 2012-10-31 08:54:07 -05:00
Taylor Otwell
355cbe35a5 use hostname in environment detection. 2012-10-31 08:53:01 -05:00
Zander Baldwin
a7ea27d0a0 Update "docs/views/html.md", parse error in example code.
The example code for the `HTML::entities()` method in the documentation had unescaped apostrophes (single quotes) in the string passed as the first parameter.
A parse error would have resulted should someone try to use that code.
2012-10-27 01:09:54 +00:00
Anahkiasen
e2b7d65c18 Added migrate:rebuild command to clean and reconstruct the database
Signed-off-by: Anahkiasen <ehtnam6@gmail.com>
2012-10-26 19:45:32 +01:00
Taylor Otwell
37cd08faea Merge pull request #1357 from aebersold/master
documentation fix on validators
2012-10-25 06:14:55 -07:00
Taylor Otwell
205cc4869d Merge pull request #1356 from helmut/patch-1
Update laravel/file.php
2012-10-25 06:12:42 -07:00
Taylor Otwell
0a0eb3779c Merge pull request #1365 from sdbondi/develop
Ref #649 - Added query builder support for BETWEEN clauses
2012-10-25 06:11:15 -07:00
Taylor Otwell
ca44c93ca4 Merge pull request #1375 from christianzt19/develop
beautifies profiler tabs to cursor:pointer
2012-10-25 06:08:12 -07:00
Taylor Otwell
2914471de1 Merge pull request #1381 from vFragosop/documentation/improvements
Improving documentation about Input::file()
2012-10-25 06:07:15 -07:00
Matthew Machuga
1a6b7e3d73 Update laravel/vendor/Symfony/Component/HttpFoundation/LaravelRequest.php
This will allow the built in PHP 5.4 server to interpret PUT, DELETE, and PATCH content.

It uses the HTTP_CONTENT_TYPE variable instead of CONTENT_TYPE; Symfony hasn't adapted for this yet.
2012-10-24 14:41:58 -03:00
Vinícius Fragoso
e8f08ce1f4 Fixing smal typo 2012-10-22 17:10:46 -02:00
Vinícius Fragoso
7c3d278283 Improving documentation on file uploads
Adding information about setting multipart/form-data on forms in order
to use file uploads.
2012-10-22 16:58:32 -02:00
helmut
1d725b2788 Update laravel/file.php
Yep... good pick up jason.
2012-10-22 10:09:53 +12:00
Maksim Surguy
e684aa3c00 Added file input form element docs
The file input is in the API but not in the documentation.
2012-10-21 13:38:27 +11:00
Jason Lewis
d164cca4aa Merge pull request #1211 from franzliedke/patch-45
[Auth] Fix hardcoded "id" column in Eloquent driver (#1207)
2012-10-20 17:29:37 -07:00
Jason Lewis
e531cd6300 Merge pull request #1348 from matz3/master
Spelling mistake correction in documentation
2012-10-20 07:31:53 -07:00
Christian Tamayo
a6db03d700 beautifies profiler tabs to cursor:pointer
Signed-off-by: Christian Tamayo <christianzt19@yahoo.com>
2012-10-20 22:30:59 +08:00
Jason Lewis
1a7f2bf27f Merge pull request #1352 from laravie/patch/code-standard
[Code Standard] Slight improvement to use of tab over space and curly bracket
2012-10-20 07:29:39 -07:00
Stan Bondi
5f4838726e Ref #649 - Added query builder support for BETWEEN clauses
Signed-off-by: Stan Bondi <stan@stanley-pc.(none)>
2012-10-17 23:36:18 +02:00
Franz Liedke
2d052a3222 Get rid of duplicate function call. 2012-10-17 18:28:42 +03:00
Franz Liedke
a6c681db39 Make sure sync() always works with arrays. 2012-10-17 18:27:35 +03:00
aebersold
7eb5be794c documentation error, wrong date format 2012-10-16 17:55:50 +02:00
helmut
ee18da9b73 Update laravel/file.php
Fixed bug that was causing the latest function to return the 'last' file rather than the actual 'latest' file.
2012-10-16 21:08:58 +12:00
crynobone
fd86aef25a Trivial improvement to Laravel, while it is not documented, it has been a standard in Laravel to use tab as indentation and new line for curly bracket
Signed-off-by: crynobone <crynobone@gmail.com>
2012-10-15 23:35:53 +08:00
everclear
9b63f65408 link_to_route requires 3 parameters if wildcard values are required 2012-10-15 15:50:10 +02:00
matz3
97013cd816 Spelling mistake correction in documentation
Added missing 's' in the word 'is' (Laravel Overview).

Signed-off-by: matz3 <osswaldm94@gmail.com>
2012-10-14 18:48:25 +02:00
Shawn McCool
2e8364994f changed date format in validation documentation to match ISO8601 2012-10-11 08:14:55 +02:00