Commit Graph

3546 Commits

Author SHA1 Message Date
Taylor Otwell
5d63d5ad52 Consider protocoless URLs as valid. Closes. #1966. 2013-05-14 00:51:08 -05:00
Taylor Otwell
1fdd186dde Merge pull request #1974 from neoascetic/belongs_to_call_a_getter
Access foreign property in Belongs_To through a getter
2013-05-13 22:49:36 -07:00
Taylor Otwell
3965429176 Merge pull request #1970 from jasonlfunk/master
Allow developers to set the Content-Disposition header in Response::download()
2013-05-13 22:47:15 -07:00
Taylor Otwell
86fc0ca7cb Merge pull request #1976 from neoascetic/more_fluent_eloquent
Even more fluent eloquent model via magic setters
2013-05-13 22:43:15 -07:00
Taylor Otwell
727b69494b Check arrays on Input::had. Closes #1988. 2013-05-14 00:41:42 -05:00
Taylor Otwell
6891fb7b21 Merge pull request #1963 from EvgenyKovalev/master
Language fix for Validation.
2013-05-13 22:35:07 -07:00
Taylor Otwell
7fb445b107 Merge pull request #1987 from netflam/patch-1
Update .htaccess
2013-05-13 22:32:14 -07:00
Taylor Otwell
348feccd3e Merge pull request #1989 from juukie14/master
Added Dutch translation for validation rules "date_format" and "required_with".
2013-05-13 22:32:01 -07:00
Jürgen van Dijk
b894cde4ba Added Dutch translations for validation rules "date_format" and "required_with". 2013-05-13 12:00:09 +02:00
Maciej Czyżewski
ae61b601b6 Update .htaccess
Change link in comment. (2.2 -> current)
2013-05-11 14:16:41 +03:00
Pavel Puchkin
f2f1d4d173 Return $this in set_attribute 2013-05-08 20:11:44 +10:00
Pavel Puchkin
3a46721eca Even more fluent eloquent model via magic setters
Now it is possible to use Eloquent's magic setters in chains. For example:

    $model->set_foo('foo')->take(10)->set_bar(some_function());
    // ...even though setters 'foo' and 'bar' are not defined on the model
2013-05-08 18:28:22 +11:00
Pavel Puchkin
641ac8d69c Access foreign property in Belongs_To through a getter 2013-05-08 11:39:51 +11:00
Jason Funk
96e44d908c Allow the developer to set the Content-Disposition header in Response::download() 2013-05-07 09:16:13 -05:00
Evgeny Kovalev
accbcabfcf Fixes 'greater' to 'not greater'.
Signed-off-by: Evgeny Kovalev <Evgeny.Kovalev@gmail.com>
2013-05-06 00:01:57 +04:00
Evgeny Kovalev
bd6289b118 Fixes error messages. Validation allows max number.
Fix for both Russian and English.
NB The bug is fixed for English version V4 already. No language files for other languages for V4.
Signed-off-by: Evgeny Kovalev <Evgeny.Kovalev@gmail.com>
2013-05-05 23:51:46 +04: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
Taylor Otwell
92f602edbf Merge pull request #1875 from effenberger/master
modified IoC::registred()
2013-05-01 09:41:58 -07: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
Taylor Otwell
23464cac25 Merge pull request #1868 from aeberhardo/bug/version-bump-3.2.14
Incremented version from 3.2.13 to 3.2.14
2013-04-10 20:11:34 -07:00
Taylor Otwell
64953eb196 Merge pull request #1869 from aeberhardo/docs/contributing-typo
Fixed a typo in "Contributing" chapter
2013-04-10 20:11:15 -07:00
aeberhardo
87bf2402d4 Fixed a typo in Contributing chapter
Signed-off-by: aeberhardo <aeberhard@gmx.ch>
2013-04-09 10:38:34 +02:00
aeberhardo
44f82b18d8 Incremented version from 3.2.13 to 3.2.14
Signed-off-by: aeberhardo <aeberhard@gmx.ch>
2013-04-09 10:23:07 +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
Taylor Otwell
0008a2324f Merge pull request #1857 from doubleking/master
Changed Laravel\ namespace prefix in some classes calls in helpers to global.
2013-04-05 06:49:55 -07: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
Taylor Otwell
78af4569de Merge pull request #1855 from rittme/patch-1
get_dirty() comparison is not type safe
2013-04-04 10:40:18 -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
Taylor Otwell
5dd3ec6f1e Merge pull request #1845 from stevenklar/master
Add unregister IoC
2013-04-02 09:38:59 -07: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
Taylor Otwell
e86532e095 Merge pull request #1829 from neoascetic/return_non_0_on_command_fail
Exit with non-zero if command fails, useful in scripting and CI
2013-03-29 05:54:48 -07:00
Pavel Puchkin
bc6b786973 Exit with non-zero if command fails, useful in scripting and CI 2013-03-29 12:27:09 +11:00
Taylor Otwell
778a97b319 Merge pull request #1827 from neoascetic/flush_file_cache
Ability to flush file-based cache storage
2013-03-28 17:50:00 -07: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
ba3e481d4a Merge pull request #1621 from mtthlm/master
Add Command alias to application configuration
2013-03-28 15:11:23 -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
b914d07948 Merge pull request #1662 from fla/master
Romanian language
2013-03-28 14:54:02 -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