Jason Walton
19cd539586
added validation message to language file for required_with
...
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-12-19 12:05:51 -07:00
JoostK
fd1b76a296
Added ability to call Eloquent::with on a Relationship instance
...
Signed-off-by: JoostK <joost.koehoorn@gmail.com>
2012-12-18 16:21:06 +01:00
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
James Spibey
dcc5649318
validate_required_with fix
2012-12-17 11:33:38 +00:00
theshiftexchange
8fe6158058
Automatically apply entitiesto output using blade
...
By using 3 braces instead of 2, you can now automatically apply
HTML::entities() to any output
2012-12-17 02:38:06 +11:00
Oliver Vogel
3e4eb5fc3d
added lists() method to the fluent documentation
2012-12-06 20:44:39 +01:00
Jesse O'Brien
4f5cc0cd97
Add semi-colon onto padding to be safe.
2012-12-06 12:04:06 -05:00
Jesse O'Brien
404b59730a
Added callback wrapper for JSONP auto wrapping.
2012-12-06 11:57:26 -05:00
Jesse O'Brien
cf6e2a768b
Add documentation for JSONP Response
2012-12-06 11:22:48 -05:00
Jesse O'Brien
1beea5d594
Add JSONP as a default response.
2012-12-06 11:19:39 -05:00
Ben Corlett
438caf2631
Allow forward slash separators in Str::classify()
2012-12-06 11:32:18 +11:00
Adam Becker
742eb4ea8d
fix link to #route-groups
2012-12-03 13:24:46 -05:00
Taylor Otwell
8ff052cbdb
Merge pull request #1180 from unikent/master
...
Performance enhancement for HTML Class.
2012-12-03 07:04:23 -08:00
crynobone
590872d3c6
Update auth test case
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-29 22:18:24 +08:00
crynobone
ba661e5768
Add 'laravel.auth: login' and 'laravel.auth: logout' events.
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-29 22:14:16 +08:00
José M
a9760ecdbe
Added the possibility to pass the parameter of JSON options like JSON_PRETTY_PRINT or JSON_UNESCAPED_UNICODE to the Response::json method.
2012-11-28 20:48:14 +01: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
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
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
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
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
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
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
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
aa37c82650
fixed issue #1206
2012-10-31 15:00:41 -07: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
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
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
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
Blaine Schmeisser
81a2f5b919
Pass the response by reference so it can be overwritten in filters
...
You can edit the response but you can't overwrite it:
~~~ php
<?php
// https://gist.github.com/3896743
$response = new stdClass();
echo '1): ' . spl_object_hash($response) . PHP_EOL; // 0000000021e89fcd00000000e93b17ba
call_user_func_array(function($response) {
$response = new stdClass();
echo '2): ' . spl_object_hash($response) . PHP_EOL; // 0000000021e89fcf00000000e93b17ba
}, array($response));
echo '3): ' . spl_object_hash($response) . PHP_EOL; // 0000000021e89fcd00000000e93b17ba
call_user_func_array(function($response) {
$response = new stdClass();
echo '4): ' . spl_object_hash($response) . PHP_EOL; // 0000000021e89fcf00000000e93b17ba // hash descoped and reused
}, array(&$response));
echo '5): ' . spl_object_hash($response) . PHP_EOL; // 0000000021e89fcf00000000e93b17ba
~~~
Otherwise you'd make the new response object and overwrite the values one at a time:
~~~ php
<?php
// https://gist.github.com/3897032
Route::filter('after', function($response)
{
$params = \Laravel\Request::$route->parameters;
// The 'type' is the last param
// example: /product/(:num).(:any)
$type = array_pop($params);
if($type == 'json') {
$res = Response::json($response->content->data);
foreach($response as $key => &$value) {
$response->$key = $res->$key;
}
}
});
~~~
Signed-off-by: Blaine Schmeisser <blaine.schmeisser@vitals.com>
2012-10-16 09:12:29 -05: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
Vincent Talbot
6a14705a63
Merge pull request #8 from laravel/develop
...
Develop
2012-10-15 05:09:22 -07: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
Franz Liedke
d7dfd4f915
Use DB::escape() shortcut in profiler.
2012-10-11 18:24:43 +03:00
Shawn McCool
2e8364994f
changed date format in validation documentation to match ISO8601
2012-10-11 08:14:55 +02:00
Taylor Otwell
d55328cc52
Merge pull request #1320 from dejangeci/feature/dbexception-inner
...
Added a getInner method for retrieving the inner exception
2012-10-07 12:05:01 -07:00
Taylor Otwell
3416506194
increment version. refactor eloquent eager loading matching.
2012-10-07 14:04:29 -05:00
Taylor Otwell
1df8fa91fc
Merge pull request #1322 from vFragosop/eloquent/relationship_performance
...
Fixing has_one iterations
2012-10-07 11:56:24 -07:00
Vinícius Fragoso
f6c7cf2dcd
Fixing pivot on has_one aswell as properly indenting
2012-10-07 12:15:57 -03:00
Dejan Geci
165da94aee
Added a getInner method for retrieving the inner exception
...
Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
2012-10-07 13:55:32 +02:00
Taylor Otwell
790a540620
Merge pull request #1294 from danielboendergaard/phpdoc-fix
...
Fixed wrong return type in phpdoc
2012-10-06 12:39:23 -07:00
Taylor Otwell
7555fda589
Merge pull request #1307 from tillsanders/develop
...
Update laravel/helpers.php
2012-10-06 12:38:26 -07:00
Vinícius Fragoso
f36446bd10
Improving laravel relationship performance
2012-10-05 10:35:48 -03:00
Franz Liedke
1081ac1b8a
Implement DB::escape().
2012-10-05 14:38:13 +03:00
tillsanders
00d1baf69e
Update laravel/helpers.php
...
The e-helper and the __-Helper used the core-classes.
So if I would like to override them, the helpers would still use the core-classes.
See this thread for further explanation: http://forums.laravel.com/viewtopic.php?id=2656
2012-10-03 15:35:34 +03:00
Shawn McCool
f53f07df4a
Update laravel/documentation/database/eloquent.md
...
minor grammar update in docs
2012-10-03 13:24:05 +03:00
Shawn McCool
00edb1db8c
clarified table naming conventions
2012-10-03 12:19:11 +02:00
Nathan Malcolm
2d5cc12b7b
Fixes XSS vulnerability in Profiler
2012-10-03 00:53:20 +01:00
Daniel Bøndergaard
54397e1bf2
Fixed wrong return type in phpdoc
...
Signed-off-by: Daniel Bøndergaard <db@helmstmt.com>
2012-09-28 10:10:35 +02:00
Taylor Otwell
d1c1fe4446
fix bug in eloquent model and update version.
2012-09-27 17:45:12 -04:00
Taylor Otwell
02cb96a008
fix bug in eloquent model.
2012-09-27 17:44:03 -04:00
Vincent Talbot
c55a8f49dd
Update laravel/cli/tasks/migrate/migrator.php
2012-09-27 11:57:34 -03:00
Vincent Talbot
a5c5d70bd6
Merge pull request #5 from laravel/develop
...
Develop
2012-09-27 06:44:30 -07:00
Taylor Otwell
ae5331b312
Merge branch 'staging'
2012-09-27 09:08:20 -04:00
Taylor Otwell
4de8e2d717
Update change log.
2012-09-27 09:05:29 -04:00
Taylor Otwell
b043482905
Improve view errors.
2012-09-26 16:20:56 -04:00
Taylor Otwell
633c2bde83
Pass the path to the filter event.
2012-09-26 11:20:03 -04:00
Taylor Otwell
a976c555e6
Added "view.filter" event so we can hook in final filters.
2012-09-26 10:43:34 -04:00
Taylor Otwell
14c6ff1692
Increment version and change log.
2012-09-26 10:13:30 -04:00
Taylor Otwell
3e3ee870ea
Merge branch 'develop' of github.com:laravel/laravel into develop
2012-09-26 10:11:46 -04:00
Taylor Otwell
d64d6c9092
Fix logging issue when using the laravel.log event.
2012-09-26 10:11:24 -04:00
Taylor Otwell
09500818e0
Merge pull request #1204 from bryantebeek/optimisation/str-class
...
Performance enhancement for Str Class (see pull request #1180 )
2012-09-25 18:37:53 -07:00
Taylor Otwell
fc9b0e1636
Merge pull request #1201 from JoostK/fix-1
...
Fixed a problem with `Eloquent::get_dirty`
2012-09-25 18:37:09 -07:00
Taylor Otwell
4b7dc2e824
Merge pull request #1226 from akuzemchak/bug/language-routes
...
Fixes language URI routing issue
2012-09-25 18:34:40 -07:00
Taylor Otwell
439f9c8055
Merge pull request #1236 from kuroi/patch-1
...
Correct broken links in docs
2012-09-25 18:33:48 -07:00
Taylor Otwell
dad0bbc688
Merge pull request #1247 from dcelasun/patch-1
...
Fix a tiny typo
2012-09-25 18:33:14 -07:00
Taylor Otwell
9acf541653
Merge pull request #1255 from joual/develop
...
Auth token now nulled on logout
2012-09-25 18:32:36 -07:00
Taylor Otwell
5a1741e9d5
Merge pull request #1276 from rk/rk-issue-1261
...
[#1261 ] get_key now pulls from $original instead
2012-09-25 18:31:34 -07:00
Taylor Otwell
4eac00a009
Use hash_hmac on cookie hashes.
2012-09-25 16:43:58 -04:00
Taylor Otwell
04f22f086d
Update change log.
2012-09-25 08:42:03 -05:00
Taylor Otwell
ad313198df
working on cookie fingerprinting.
2012-09-25 08:40:48 -05:00
Jakobud
e67ddd86dd
Added output from String documentation examples.
2012-09-24 14:02:50 -06:00
RK
f148f6211c
Fixing the array_get misspelling.
2012-09-24 10:35:07 -04:00
RK
258169ea00
[ #1261 ] get_key now pulls from $original instead
...
This is in reference to issue #1261 , where Model->get_key() returns
the key from the $attributes instead of from the $original property.
This breaks the functionality of a model with a primary key that may
change, as the SQL generated will be something like:
UPDATE `model` SET `key` = 'new-key' WHERE `key` = 'new-key';
Which won't update the model in the database.
2012-09-24 09:58:20 -04:00
Mohammad Sadeghi
9d28938d55
.
2012-09-24 16:42:09 +03:30
Mohammad Sadeghi
7647c3fcba
added 'u' flag for preg_match to match UTF-8 URIs.
2012-09-24 16:39:28 +03:30
Mohammad Sadeghi
9df9a5df04
segment pattern to match a single segment, also matches UTF-8 segments.
2012-09-24 16:15:11 +03:30
Jason Lewis
9fae4dc8d7
Merge branch 'master' into develop
2012-09-24 01:01:53 +09:30
Jason Lewis
8c580d17fb
You can only pass the ID of a user, not an object.
...
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-09-24 01:01:14 +09:30
Franz Liedke
de53feb07e
Fix validation tests one more time.
2012-09-21 13:11:54 +02:00
Franz Liedke
f77041ced9
Add another test with quotes around the validation rule's parameter.
2012-09-21 12:31:49 +02:00
vtalbot
8931369665
Add task bundle:uninstall, bundle:unpublish, migrate:rollback bundle, migrate:reset bundle.
2012-09-20 22:15:29 -04:00
Joel Marcotte
3d51200a88
Auth token now nulled on logout
...
Signed-off-by: Joel Marcotte <skaner@gmail.com>
2012-09-20 17:54:28 -04:00
Duru Can Celasun
2b787763aa
Fix a tiny typo
2012-09-20 10:13:01 +03:00
Shawn McCool
33b5f6377c
Update laravel/documentation/routing.md
...
Added a warning about using Controller::detect() for routing.
2012-09-19 18:13:31 +03:00
Dayle Rees
0dc124d342
Merge pull request #1210 from franzliedke/patch-44
...
Definition list support (#1202 )
2012-09-19 06:29:31 -07:00
Boris Strahija
925e5bed73
Trimming whitespace before doctype tag
...
When using layouts and sections
2012-09-18 17:22:45 +03:00
Peter Coles
184b2989e2
Correct correction
2012-09-18 11:59:11 +02:00
Peter Coles
14eebab94a
Correct broken links in docs
2012-09-18 05:54:41 +02:00
Patrick Romowicz
966e8462c9
Update laravel/database/connection.php
2012-09-17 21:49:17 +03:00
Patrick Romowicz
5f9a26bae3
Undefined namespace Grammars
2012-09-17 21:42:47 +03:00
Patrick Romowicz
034c63b39d
add use Closure;
2012-09-17 21:34:13 +03:00
Franz Liedke
b1e4cf9d29
Use Request helper to determine whether we're in CLI mode.
2012-09-17 18:42:25 +03:00
Aaron Kuzemchak
581fcc5c47
Cleaner regex
...
Signed-off-by: Aaron Kuzemchak <aaron@kuzemchak.net>
2012-09-15 20:48:18 -04:00
Aaron Kuzemchak
03acf9ca50
Fixes language URI routing issue
...
Signed-off-by: Aaron Kuzemchak <aaron@kuzemchak.net>
2012-09-15 18:57:29 -04:00
Franz Liedke
65d4b2448b
Fix closing tag in definition list helper.
2012-09-14 22:21:35 +03:00
Duru Can Celasun
1ee55a3b38
Fix a tiny typo
...
s/encourage/encouraged
2012-09-14 13:28:02 +03:00
arisk
752161cae3
Setting the exception code in the constructor
2012-09-14 16:47:55 +07:00
arisk
e541cf9ebd
Added PDO error code
2012-09-14 11:16:46 +07:00
Franz Liedke
d051994e2c
Fix CLI mode detection for some shared hosts.
2012-09-12 14:56:46 +03:00
Franz Liedke
fedc9fc45e
Fix hardcoded "id" column in Eloquent auth driver.
2012-09-12 14:48:07 +03:00
Franz Liedke
5942771ce9
Add documentation for definition list helper.
2012-09-12 14:42:20 +03:00
Franz Liedke
c7763a23bd
Add definition list helper to HTML class.
2012-09-12 14:40:55 +03:00
Dayle Rees
38562d5007
Merge pull request #1160 from kapv89/patch-2
...
Updated Paginator to fit better with bootstrap 2.1
2012-09-11 03:20:44 -07:00
kapil verma
b63b0c0829
Updated Documentation for Bootstrap-y Pagination
...
The Docs now show bootstrap style Pagination
2012-09-11 08:09:30 +05:30
kapil verma
85cab82f37
Fixed 2 stupid bugs for better markup
...
Thats it .. pulling on the docs now
2012-09-11 07:48:01 +05:30
Bryan te Beek
01ba355787
Optimize Str-helper (see pull request #1180 )
...
Signed-off-by: Bryan te Beek <bryantebeek@gmail.com>
2012-09-10 21:11:20 +02:00
Jason Walton
adc23dc964
Added traffic and chassis as uncountable words to properly feed pluralizer
...
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-09-10 11:25:08 -07:00
Alex Andrews
f02e7dc4ca
Reformatted return
...
Changed the return of the method in line with suggestions from @JoostK.
2012-09-10 12:27:50 +01:00
Dayle Rees
a5bb035e4c
Merge pull request #1165 from JoostK/develop
...
Problem with manual running of Artisan tasks
2012-09-10 03:37:24 -07:00
Dayle Rees
666db87137
Merge pull request #1169 from mcintyre94/minor/add-touch-eloquent
...
Added new touch function to eloquent, updates timestamps and immediately saves
2012-09-10 03:30:32 -07:00
Dayle Rees
f004ddcea7
Merge pull request #1189 from kapv89/patch-5
...
Turn profiler off using runtime Config
2012-09-10 03:23:36 -07:00
kapil verma
4de8921f2d
Fixed The $dots property
...
So that it doesn't screw up pagination
2012-09-10 12:02:55 +05:30
JoostK
147e0ec656
Implementation of Eloquent tests
...
Basic Eloquent unit tests.
Lacks database operations, relationship testing and some magic method
calls.
2012-09-10 00:51:02 +02:00
JoostK
5f99c81035
Fixed a problem whith `Eloquent::get_dirty`
...
When you had a synched Eloquent model (e.g. without changed values) but
one of those values is `null`, then that value would be considered as
dirty. `Eloquent::changed` returns false, but the value is present in
`Eloquent::get_dirty`.
This fix makes sure that a `null` value in `$attributes` is only
present in `get_dirty` when it wasn't at all *set* in `$original`.
2012-09-09 20:52:33 +02:00
thybag
aa32e4cf72
Rename static::get_encoding() method to static::encoding() to fit better with style.
2012-09-09 14:24:52 +01:00
Neo Ighodaro
f0a2ffef2b
The bundle variable is not defined anywhere in the method scope.
...
Signed-off-by: Neo Ighodaro <thecreativityteam@yahoo.com>
2012-09-09 09:09:41 +01:00
Neo Ighodaro
f7cdb76f36
The bundle variable is not defined anywhere in the method scope.
2012-09-09 09:08:55 +01:00
Jason Lewis
afbae10345
Merge pull request #1175 from franzliedke/patch-42
...
Fix #1140 : Auth / Eloquent / Custom password getter
2012-09-07 23:49:11 -07:00
Jason Lewis
56f665bf6d
Merge pull request #1193 from franzliedke/patch-43
...
Delete phpunit.xml when unit testing
2012-09-07 23:41:08 -07:00
Franz Liedke
9348046d0e
Fix dynamically generated phpunit.xml file not being deleted automatically in the test runner.
2012-09-07 14:32:37 +02:00
Franz Liedke
e407e67559
Add documentation for date_format validation rule.
2012-09-07 14:03:23 +02:00
Franz Liedke
a40aabbb05
Implement date_format validation rule.
2012-09-07 14:02:04 +02:00
Franz Liedke
49331d74e2
Add unit tests for date_format validator rule.
2012-09-07 14:01:45 +02:00
kapil verma
c1bcfec3d2
Turn profiler off using runtime Config
...
just added a check in Profiler's render method to also look at Config::get('application.profiler') as laravel allows changing config during runtime. This allows turning off profiler for certain actions
2012-09-06 04:42:58 +05:30
Aaron Kuzemchak
69ebe6d56a
Allow Input::json() to return array instead of object
2012-09-05 16:07:20 -04:00
thybag
f55bb85c6f
Update to conform better with laravels coding style.
2012-09-05 09:49:04 +01:00
thybag
a9be66d41a
Refactor changes into single get_encoding() method within the HTML Class (in order to remove duplication of logic). All tests continue to pass.
2012-09-05 09:35:54 +01:00
thybag
6e44b4080a
Cache application.encoding within HTML class to avoid unnecessary calls to Config::get();
...
Calling the "Config::get('application.encoding')" is expensive and within a large form (using the form builder) having it requested multiple times can result in a significant performance drag.
Caching this value reduced calls to Config:get within our project from 1200+ to 125. All core tests appear to pass with this change in place.
2012-09-04 16:09:56 +01:00
Franz Liedke
8e145e6c11
Make Eloquent auth driver respect a model's custom password getter.
...
This fixes #1140 .
2012-09-04 16:36:17 +03:00
Callum McIntyre
c8ee7ca614
Added documentation regarding the newly public timestamp() function
...
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 23:23:36 +01:00
kapil verma
2773e317ea
Removed a Useless if conditional from bind method
2012-09-04 02:54:21 +05:30
Callum McIntyre
0161273010
Added documentation for the touch() function
...
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 22:23:58 +01:00
kapil verma
55ad4e9a6d
Added a method to fluently set belongs-to relation
...
This method spun off from a discussion in IRC. What this enables is this:
$user->comments()->insert($comment_data)->article()->bind($article->id)
2012-09-04 02:40:28 +05:30
Callum McIntyre
6b73974505
Added new touch function to eloquent, updates timestamps and immediately saves
...
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 21:44:16 +01:00
Joost Koehoorn
a1c7dde08b
Fixed problem with manual running of Artisan tasks
...
When running an Artisan task from within your application using `Command::run`, it fails when the same task is ran more than once. Every time the task is resolved, its file is included using `require` leading to duplicate class definitions. By using `require_once` this problem is avoided.
2012-09-03 16:42:14 +03:00
kapil verma
2a5d7c3080
Fixed the use of 5.4 array syntax in one place
...
SO that things dont break for 5.3 peeps
2012-09-02 12:27:06 +05:30
Taylor Otwell
07bec5c043
Merge branch 'master' into staging
2012-09-01 22:16:46 -05:00
Taylor Otwell
8afab342c6
Incrementing version and updating change log.
2012-09-01 22:09:47 -05:00
Taylor Otwell
4e21cfce39
Fixing a double slash bug in URL generation with languages. add tests.
2012-09-01 22:07:01 -05:00
Taylor Otwell
8a9acbccf0
Merge branch 'staging'
2012-09-01 21:50:41 -05:00
Taylor Otwell
cfe5fa109a
Add fix to change log.
2012-09-01 21:50:14 -05:00
Taylor Otwell
2e01c58f92
Fix error handling.
2012-09-01 21:48:37 -05:00
Taylor Otwell
b061b9b21c
Merge pull request #1150 from franzliedke/patch-40
...
Get rid of duplicate code for DROP TABLE in schema grammars.
2012-09-01 18:05:29 -07:00
Taylor Otwell
852b10e836
Merge pull request #1143 from franzliedke/patch-38
...
Fix insert() method for related models.
2012-09-01 18:02:41 -07:00
Taylor Otwell
1b475d8f9c
Merge pull request #1142 from HendrikJan/master
...
Improved code examples for inserting related models
2012-09-01 18:01:20 -07:00
Taylor Otwell
50b10fca95
Merge pull request #1132 from cmenke/master
...
Add Routing Wildcard '(:all)' to Documentation
2012-09-01 17:56:31 -07:00
Taylor Otwell
c17c872b6a
Merge pull request #1123 from daris/patch-1
...
Update laravel/documentation/database/fluent.md
2012-09-01 17:53:14 -07:00
Taylor Otwell
db48fa4140
Merge pull request #1121 from mcintyre94/minor/unprotect-eloquent-timestamps
...
Minor/unprotect eloquent timestamps
2012-09-01 17:52:53 -07:00
Taylor Otwell
c974052c13
Merge pull request #1115 from HiroKws/delete-top-anchor/doc-session.config
...
Deleted an anchor of top of line. Defined "config", but it was reffered ...
2012-09-01 17:50:46 -07:00
Taylor Otwell
5e11cb91ed
Merge pull request #1112 from HiroKws/fix-markdown/git-docs
...
Change some Markdown to fit other md files' format.
2012-09-01 17:50:04 -07:00
Taylor Otwell
b3319f5d36
Merge pull request #1051 from franzliedke/patch-30
...
[Session] Trigger garbage collection (sweep) manually
2012-09-01 17:47:45 -07:00
Taylor Otwell
4db08087f7
Merge pull request #1089 from kbanman/fix-query-lists
...
Fix Query::lists() for empty resultsets
2012-09-01 17:41:49 -07:00
Taylor Otwell
4a60981582
Merge pull request #1084 from joecwallace/pivot_fix
...
Fixing a bug with saving data to pivot table
2012-09-01 17:40:14 -07:00