Commit Graph

3453 Commits

Author SHA1 Message Date
Ore Landau
a9f97961ef Update laravel/documentation/views/templating.md
Fixed a false example.
2012-11-27 13:15:14 +02:00
Sony?
62f25c718c Added a pretty_print option to the log class
It isn't useful to log arrays if the result is 'Array'.

I noticed that I often use `Log::info(print_r($array, true));` and I'am probably not alone, so why not add this as a feature to the framework?
2012-11-25 10:34:05 +01:00
Franz Liedke
f0cd43a20d Fix unit test - relationships are now properly hidden, too. 2012-11-24 22:11:30 +01:00
Taylor Otwell
d1efd44c7c Merge pull request #1467 from franzliedke/patch-60
[Eloquent] Allow hiding relationships
2012-11-23 20:46:03 -08:00
Franz Liedke
ff4b43c72f Ignore hidden relationships in to_array(). 2012-11-23 03:23:13 +01:00
Nimit Suwannagate
6a8a3bca2b Update laravel/validator.php
Fix: Replace :other with Validation Attributes (from validation.php in language folder)
2012-11-23 00:42:55 +07:00
anaxamaxan
0bea2fb0b6 Fix typo and update 2nd example comment for filter 2012-11-19 17:00:31 -08: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
NetPuter
b48621901f Use mb_substr instead of sub_str in order to resolve multi-language problem. 2012-11-16 17:41:37 +08:00
Edward Mann
c6290d11fa Fixed connector options merge bug.
Fixed issue with options ordering when merging the default and user values into one array.
2012-11-14 18:57:46 +00:00
Dejan Geci
cf1ed5ba44 Changed DB config hosts to IP addresses
Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
2012-11-12 21:17:39 +01:00
Franz Liedke
172ebcb00d Fix Pivot table losing its connection.
This hopefully fixes #1198 and while it doesn't solve the underlying problem mentioned in #1429, it does the tackle the resulting mess. :)
2012-11-09 02:15:28 +01:00
Dejan Geci
de5658f5a7 Added return value from PDO::commit
Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
2012-11-07 21:45:44 +01:00
Taylor Otwell
d2fefa65aa Work on section handling. 2012-11-06 15:04:13 -06:00
Dayle Rees
49b2d4ab1a Merge pull request #1423 from laravie/feature/html-testcase
Add unit testing coverage for Laravel\HTML
2012-11-06 07:08:27 -08: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
Dayle Rees
d20add8f75 Merge pull request #1422 from laravie/feature/form-testcase
Add full code coverage for Laravel\Form
2012-11-06 01:46:58 -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
j20
39320dc847 Update laravel/documentation/localization.md
Updated to use the two-letter, ISO standard language code for Spanish--'es' instead of 'sp'.
2012-11-03 14:54:38 -05:00
Taylor Otwell
5059ced2e1 Merge pull request #1413 from machuga/develop
Add 500 response code to exception handler. -- machuga, JesseOBrien, sde...
2012-11-02 19:09:11 -07:00
Matthew Machuga
24ba947d10 Add 500 response code to exception handler. -- machuga, JesseOBrien, sdeinum 2012-11-02 21:58:24 -04:00
Franz Liedke
b88c9144ec Make insert_get_id() work with non-auto-incrementing columns. 2012-11-01 18:16:44 +01:00
Austin White
4cbc363e2d Merge branch 'master' of github.com:AustinW/laravel 2012-10-31 15:01:00 -07:00
Austin White
aa37c82650 fixed issue #1206 2012-10-31 15:00:41 -07:00
Austin White
6f30ed7a79 fixed issue #1206 2012-10-31 14:43:53 -07:00
Taylor Otwell
d693a82615 Merge pull request #1408 from cartalyst/develop
Allowing use of third party Routers to handle Routing.
2012-10-31 14:31:50 -07:00
Ben Corlett
79ff05bcd4 Merge branch 'develop' of github.com:cartalyst/laravel into develop 2012-11-01 08:20:50 +11: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
Ben Corlett
41e8384d7b 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 <ben@bens-macbook-pro.lan>
2012-11-01 08:18:08 +11:00
Taylor Otwell
4c53b9d94d remove artisan change. 2012-10-31 08:54:35 -05: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
Taylor Otwell
4d0bc9e251 Merge pull request #1389 from Anahkiasen/feature/migrate_rebuild
Added migrate:rebuild command to clean and reconstruct the database
2012-10-30 06:06:57 -07:00
sdbondi
fab42949dc Added documentation for where_between suite of methods
Signed-off-by: sdbondi <sdbondi@gmail.com>
2012-10-30 09:08:51 +02:00
Hirohisa Kawase
6bef39b0f1 Correct document page of HTML page.
No exist secure_link() function, so changed to link_to_secure().
The 2nd parameter of HTML::style() is array, but passed a string in sample code.
Signed-off-by:Hirohisa Kawase <hiro.soft@gmail.com>
2012-10-30 13:17:33 +09:00
Taylor Otwell
115f59b4ff Merge pull request #1392 from mynameiszanders/patch-1
Update "docs/views/html.md", parse error in example code.
2012-10-26 18:48:43 -07: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
Austin White
921e232d9d Typo corrections 2012-10-26 16:59:33 -07:00
Anahkiasen
89e3bf1fbd Add URL::to_language and HTML::link_to_language localization helpers
Signed-off-by: Anahkiasen <ehtnam6@gmail.com>
2012-10-26 22:32:52 +01: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
Tibo
5a082257b7 improve french translation for validation 2012-10-26 15:12:29 +02:00