Commit Graph

3409 Commits

Author SHA1 Message Date
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
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
Dayle Rees 5e3a8de1ba Merge pull request #1384 from machuga/patch-1
Update LaravelRequest.php to alllow PUT/DELETE/PATCH on PHP5.4 built-in server
2012-10-24 10:51:16 -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
Vincent Klaiber 8bcfd52233 add swedish language
fix misspelling

add special html chars

fix misspelling

changed folder name from se to sv

removed se folder
2012-10-21 13:32:26 +11:00
Jason Lewis acbffcec50 Merge pull request #1321 from dejangeci/feature/serbian-translation
Added Serbian translation
2012-10-20 19:05:07 -07:00
serafino lillo f549839b35 added italian language
Added italian language for pagination and default validation messages.
2012-10-21 13:00:36 +11:00
Jason Lewis e5b7ef42a4 Added missing semi colon. Closes #1334.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-10-21 12:31:51 +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 e842095fa7 Merge pull request #1351 from everclear/patch-1
link_to_route requires 3 parameters if wildcard values are required
2012-10-20 07:30:27 -07: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
Jason Lewis 73d4b0b2a1 Merge pull request #1363 from franzliedke/patch-55
Many-to-many sync: always work with arrays
2012-10-20 07:15:06 -07:00
Jason Lewis aa902def30 Merge pull request #1367 from vFragosop/language/pt/consistence
Improving consistence of portuguese validation message
2012-10-20 07:10:29 -07:00
Jason Lewis 301c61fb1a Merge pull request #1370 from gkunno/lang/fi
Added finnish langauge
2012-10-20 07:03:54 -07:00
gkunno 1d3201eb4a Added finnish langauge
Signed-off-by: gkunno <storm.patrik@gmail.com>
2012-10-19 16:35:00 +03:00
Vinícius Fragoso 043bd4ee04 Improving consistence of pt validations 2012-10-18 18:25:17 -03: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
Dejan Geci 9fc53588e3 Small tweaks to semantics
Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
2012-10-08 17:49:29 +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