Commit Graph

2030 Commits

Author SHA1 Message Date
Jason Funk 96e44d908c Allow the developer to set the Content-Disposition header in Response::download() 2013-05-07 09:16:13 -05:00
Taylor Otwell cffded660c Merge pull request #1959 from dotramses/patch-1
Update migrator.php
2013-05-04 17:26:19 -07:00
Taylor Otwell 3d533f03e6 Fix method override. 2013-05-04 19:25:53 -05:00
dotramses 852937baf4 Update migrator.php
when used in a setup task. The output created didn't add a line ending.
2013-05-04 22:28:09 +03:00
Taylor Otwell b9cf8dfb71 Upgrade to latest Symfony HttpFoundation tag. Closes #1865. 2013-05-01 14:19:14 -05:00
Max e1fde01e9d IoC::registered check fixed
Returns true if the instance was registered with IoC::instance
2013-04-12 16:35:33 +03:00
aeberhardo 87bf2402d4 Fixed a typo in Contributing chapter
Signed-off-by: aeberhardo <aeberhard@gmx.ch>
2013-04-09 10:38:34 +02:00
Taylor Otwell 936160f907 Merge pull request #1850 from rk/patch-1
Check application.ssl when setting a secure cookie
2013-04-06 18:27:53 -07:00
Taylor Otwell 9c9b6eed10 Merge remote-tracking branch 'origin/master' 2013-04-06 20:27:07 -05:00
Taylor Otwell 5ddeab6051 pass exception to 500 event correctly. 2013-04-06 20:27:00 -05:00
jan e4080c02f5 get_cli_option() is called outside Laravel app, so namespace prefix must be left there 2013-04-05 09:48:49 +02:00
jan 3cd624eac8 Changed Laravel\ namespace prefix in some classes calls in helpers to
global, to allow aliases to work, and allow class extending.
2013-04-05 09:18:51 +02:00
Taylor Otwell 4ecbef68a0 Merge pull request #1853 from cviebrock/table-macros
Add Macros to tables
2013-04-04 10:41:39 -07:00
Bernardo Rittmeyer d46e19214b get_dirty() comparison is not type safe
get_dirty() must compare using Not Identical (!==) on place of Not Equal (!=).
For example, changing null to false don't make the model dirty.
2013-04-04 12:50:59 +03:00
Colin Viebrock 906d0d851e add macros to tables 2013-04-03 18:26:15 -05:00
Robert K 785e168f5e Check application.ssl when setting a secure cookie
Most SLL-related code in Laravel checks to see if `application.ssl`
is true before doing an action requiring it. `Cookie::put()` is the
only exception that I've found, to date, that doesn't test for SSL.

This checks to see that the SSL is enabled when attempting to set a
secure cookie.

To verify, set `application.ssl` to false (without this patch) then
run:

	Cookie::put('foo', 'bar', 0, '/', null, true);

You will get an exception because of line 90 in `cookie.php`:

		if ($secure and ! Request::secure())
		{
			throw new \Exception("Attempting to set secure cookie over HTTP.");
		}

With this patch you will not get this error unless both `application.ssl`
is true, and the cookie `$secure` flag is set.
2013-04-03 12:13:21 -03:00
Steven Klar 4086d130d1 Add unregister to IoC-Contrainer
Signed-off-by: Steven Klar <steven.klar@mayflower.de>
2013-04-02 11:09:40 +02:00
Pavel Puchkin bc6b786973 Exit with non-zero if command fails, useful in scripting and CI 2013-03-29 12:27:09 +11:00
Pavel Puchkin 0d99d13298 Ability to flush file-based cache storage 2013-03-29 11:02:26 +11:00
Taylor Otwell 92e3ae47bb Merge branch 'master' of github.com:laravel/laravel 2013-03-28 17:14:51 -05:00
Taylor Otwell 4046313ecd fix environment on tests. 2013-03-28 17:14:45 -05:00
Taylor Otwell f933db7a12 Merge pull request #1618 from demsey2/master
URI data available in the before filter.
2013-03-28 15:12:02 -07:00
Taylor Otwell 52e9cd5c09 Merge pull request #1639 from frankwong/master
Add calling class and function information in logs
2013-03-28 15:08:05 -07:00
Taylor Otwell 7888309502 Merge pull request #1663 from neoascetic/anbu_fix
Fix bug in ANBU that cause wrong total time showing on SQL tab
2013-03-28 14:53:50 -07:00
Taylor Otwell d293f9c6a8 Merge pull request #1676 from chrishow/form-label-html
Make HTML escaping optional for label contents.
2013-03-28 14:50:07 -07:00
Taylor Otwell 37503be75b Merge pull request #1685 from tzhuan/patch-1
Update laravel/session/drivers/cookie.php
2013-03-28 14:36:36 -07:00
Taylor Otwell ffd5769416 Merge pull request #1688 from Pasvaz/patch-2
Handles Redis password
2013-03-28 14:35:14 -07:00
Taylor Otwell e8834d764e Merge pull request #1692 from adityamenon/master
The tiniest PR you've ever seen.
2013-03-28 14:34:12 -07:00
Taylor Otwell e289bc4893 Merge pull request #1700 from davedx/master
Documentation update for Fluent
2013-03-28 14:30:22 -07:00
Taylor Otwell 7fe61b74d6 Merge pull request #1711 from torm3nt/master
Event firing of 500s now passes along the $exception object
2013-03-28 14:28:04 -07:00
Taylor Otwell 3f803d4eb3 Merge pull request #1719 from neoascetic/fix_custom_grammar
One more fix about custom query grammar
2013-03-28 14:23:47 -07:00
Taylor Otwell 158b81974a Merge pull request #1731 from dcelasun/master
Add flushing support to the Redis cache driver
2013-03-28 14:15:26 -07:00
Taylor Otwell 118555002f Merge pull request #1747 from voidman/patch-1
Update laravel/request.php
2013-03-28 14:04:05 -07:00
Taylor Otwell 4125438391 Merge branch 'master' of github.com:laravel/laravel 2013-03-28 15:50:36 -05:00
Taylor Otwell 15414808a1 fix padding bug in crypter. 2013-03-28 15:50:25 -05:00
Taylor Otwell dd7c317707 Merge pull request #1793 from alexgalletti/patch-1
Allow the renaming of the drivers remember cookie
2013-03-28 13:40:57 -07:00
Taylor Otwell 7244405868 Merge pull request #1806 from Gargron/patch-1
Fix for double escaping of queries in the profiler
2013-03-28 13:36:11 -07:00
Taylor Otwell 60ad02ad01 Merge branch 'master' of github.com:laravel/laravel 2013-03-28 15:35:25 -05:00
Taylor Otwell c1a8b83574 fix array input has. 2013-03-28 15:35:09 -05:00
bruston 53a14206b1 Minor correction to controllers documentation.
Signed-off-by: bruston <benjy.ruston@gmail.com>
2013-03-27 13:07:48 +00:00
Eugen 944d98d16e Fix for double escaping of queries in the profiler
Sometimes the logged queries would be rendered with visible
HTML entities in the profiler, due to double encoding (You know,
&amp;gt; stuff). I could not find out why it was being escaped
twice, but I found an easy fix: since PHP 5.2.3 the htmlspecialchars
function had a double_encoding parameter that could be set
to false. Voilà!
2013-03-23 00:58:43 +01:00
Jesse O'Brien 318bb36072 Adding PATCH to the route register.
Self-explanatory.
2013-03-22 17:04:15 -03:00
Taylor Otwell 88cde2c91d update change log. 2013-03-21 23:22:44 -05:00
Alex 7a289ac50a Fix for Postgresql PDO::FETCH_ASSOC 2013-03-21 23:13:51 -05:00
Alex f5997b7f97 Allow the renaming of the drivers remember cookie 2013-03-16 21:40:33 -05:00
Pavel Puchkin a0c2adecdc One more fix - wrong property name 2013-03-12 16:16:45 +11:00
Pavel Puchkin cf9013403b Syntax fix for PHP 5.3 (#1690) 2013-03-12 16:09:16 +11:00
David Lin 5929f8e537 Update laravel/request.php
When running nginx with php-cgi (Fast-CGI): 

spawn-fcgi -a 127.0.0.1 -p 10081 -C 50 -u nobody -f /usr/local/php5317/bin/php-cgi

The Request::cli() method will determine the web request as run from the command line.
Add ` PHP_SAPI != "cgi-fcgi" ` to resolve it.
2013-02-27 08:54:57 +08:00
Duru Can Celasun 31e21971a0 Add flushing support to the Redis cache driver 2013-02-20 09:17:59 +02:00
Pavel Puchkin 9003957b28 One more fix about custom query grammar 2013-02-18 15:18:10 +11:00