Commit graph

17087 commits

Author SHA1 Message Date
mark_story
95bc8be4d5 Make path to router script absolute in server shell.
Relative paths fail when you run the server from inside app/Console
or any other path.
2013-02-07 20:32:26 -05:00
Mark
abf1bd8d12 Merge pull request #1105 from dereuromark/master-fix-disabled
Resolve incomplete regression fix for FormHelper selection and disabled.
2013-02-07 07:09:16 -08:00
euromark
d522f412db Fix disabled elements as array for multiple select and make in_array() work properly here, fix same in_array issues for radio elements and move tests correctly - #1105 2013-02-07 15:36:00 +01:00
mark_story
1ceb17589a Merge branch 'master' into 2.4 2013-02-06 21:05:03 -05:00
mark_story
7d72a6f249 Fix issue where bake was missing habtm associations
If the current model is not the first table, habtm associations would be
missed. This was caused by eff4004261

Refs #3532
Fixes #3605
2013-02-06 20:31:15 -05:00
Marc Würth
94ca499dec Brought home.ctp in skel folder in sync 2013-02-06 03:16:48 +01:00
Marc Würth
5ce6542b98 Adjusted link for my docs-patch
https://github.com/cakephp/docs/pull/484

Moved url rewriting section
2013-02-06 03:14:33 +01:00
ADmad
758d717096 Remove banner from default homepage 2013-02-06 01:39:41 +05:30
ADmad
0b46b042b9 Changed params for HtmlHelper::css() to be consistent with HtmlHelper::script().
Closes #3593
2013-02-05 23:22:24 +05:30
José Lorenzo Rodríguez
1024a373da Merge pull request #1118 from ravage84/patch-1
Fixed wrong statement in Sqlserver class header
2013-02-05 09:40:40 -08:00
Marc Würth
02e2fbe800 Fixed wrong statement in Sqlserver class header
http://www.php.net/manual/en/ref.pdo-sqlsrv.php

--> PDO_SQLSRV is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MS SQL Server (starting with SQL Server 2005) and SQL Azure databases.
2013-02-05 18:32:40 +01:00
mark_story
0d1ee40f8f Merge branch 'cakeshell-indexes-fix'
Fix schema generation in SQLserver by returning the correct
empty type.

Fixes #3559
2013-02-04 21:24:10 -05:00
Marc Würth
fa118a73a9 Fix for CakeShell schema generate for Sqlsrv
Do not generate invalid schema.php when using SQLServer

Refs #3559
2013-02-04 21:19:56 -05:00
ADmad
afb62959ef Added JSONP support for JsonView 2013-02-04 23:20:49 +05:30
euromark
05546aff32 coding standards 2013-02-04 09:26:50 +01:00
José Lorenzo Rodríguez
64cf42bf42 Merge pull request #1116 from markstory/request-param
Add CakeRequest::param()
2013-02-04 00:13:29 -08:00
mark_story
103bbbc375 Add CakeRequest::param()
This method gives a read accessor to the data in $request->params.
It removes the need to use isset() and empty().
2013-02-03 22:09:52 -05:00
José Lorenzo Rodríguez
00c8c654fb Merge pull request #1114 from ravage84/config-sync
Brought \app\Config and \lib\Cake\Console\Templates\skel\Config in sync
2013-02-03 11:18:47 -08:00
Marc Würth
72765a2afc Brought \app\Config and \lib\Cake\Console\Templates\skel\Config in sync 2013-02-03 20:00:32 +01:00
ravage84
af8b1e22ef Added a note about plugin assets not working witout url rewrite
http://cakephp.lighthouseapp.com/projects/42880/tickets/25-i-installed-but-dont-see-the-images-and-css-of-debugkit

> Plugin assets do not work without url rewriting, this is in the
documentation for CakePHP itself. I guess it could be repeated for this
and every other plugin.

> I could have sworn it was with the Plugin Assets section, but
apparently its not there. Perhaps its just something I know from
experience.

See also:

* http://cakephp.lighthouseapp.com/projects/42648/tickets/1755-plugin-webroot-without-mod_rewrite-problem
* http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/500-plugin-css-directories-bug#ticket-500-8

Signed-off-by: mark_story <mark@mark-story.com>

Refs #GH-1113
2013-02-03 13:12:29 -05:00
mark_story
77a5adac6a Fix help & default properties file.
Having a totally useless default property makes doing releases hard.
Change it to a sane default.
2013-02-03 13:05:55 -05:00
Mark Story
80b8e7d98b Merge pull request #1112 from djbobke/2.4-dataavailable-squash
Backported dataAvailable to 2.4 from 3.0
2013-02-02 08:04:03 -08:00
Rik van der Heijden
67a2276763 Backported dataAvailable to 2.4 2013-02-02 14:39:16 +01:00
mark_story
ad3bfd7a5f CakePHP 2.2.7
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (Darwin)
 
 iQEcBAABAgAGBQJRDHxxAAoJEDwHD15Vs66gQbMIAK2hk9RX8iV26mpHhSAc6+BU
 w1WaCO1TMQShqHy8EzS4rCORbj+d8qIbYkVvmUKiMCRQf3GCXj4lsla8oUkW3W4T
 v6OR9txz3kIbEmWuPuAiddbzEmE9IK2YiAFrl1bS8UTMEPzAB/xOf0aqdVlp1t5B
 UHjSaF38RTsYFTItespw9uUOA5l3OtYzsTzTchkIeLxM5aftY4igc2OrUaKLFruR
 Iii7AY6kUM4CghNKt4e1aUkSZ7lYmHEGE7TF8bT2mE/WuL+1ZkR91nvWZoANreaf
 ZFPrWKe6Tl8XZ9T/OctcZEVuinaqELIfotaEKRdAEt8xUb63FW8r0eLLTNcHgy8=
 =+hp4
 -----END PGP SIGNATURE-----

Merge tag '2.2.7'

CakePHP 2.2.7

Conflicts:
	lib/Cake/VERSION.txt
2013-02-01 21:45:25 -05:00
mark_story
6a4160f2ae Update version number to 2.2.7 2013-02-01 21:39:45 -05:00
mark_story
cc361135e0 Add cacert.pem file to pear package.
Fixes #3591
2013-02-01 21:19:50 -05:00
Mark Story
73449cde4c Merge pull request #1108 from calinseciu/patch-1
Update lib/Cake/Utility/Sanitize.php
2013-02-01 11:22:48 -08:00
calinseciu
d2b97f12e8 Update lib/Cake/Utility/Sanitize.php
Correctly use the $start variable in Sanitize::escape().
2013-02-01 18:10:24 +02:00
mark_story
00078e007c Import ClassRegistry before using.
Fixes #3594
2013-02-01 10:46:25 -05:00
Mark Story
e0ce0ac8e3 Merge pull request #1103 from perrywky/master
fix a DboDataSource buildJoinStatement bug that table prefix is appended to subquery

Fixes #3579
2013-02-01 06:36:06 -08:00
Perry
af71d5528f apply code convention 2013-02-01 09:30:45 +08:00
Ceeram
fa1d22dc5e added test to disprove #3588 2013-01-31 16:21:01 +01:00
ADmad
fb7fbcf01b Added option to disable counter caches updating.
Closes #3109
2013-01-31 18:14:39 +05:30
ADmad
8ff59586f6 Merge branch 'master' into 2.4 2013-01-31 18:12:01 +05:30
Perry
5ac5e784de fix a DboDataSource buildJoinStatement bug that table prefix is appended to subquery 2013-01-31 17:01:59 +08:00
euromark
ee08fe5c1f BC fixes for disabled checkboxes
see: d504642
see: #3545

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
2013-01-31 09:44:35 +07:00
Rachman Chavik
1cb24384cd Merge branch '2.2' 2013-01-31 09:42:55 +07:00
euromark
d504642c9b BC fixes for habtm. Closes #3545.
Signed-off-by: Rachman Chavik <rchavik@xintesa.com>
2013-01-30 21:11:41 +07:00
mark_story
78b23d8e31 Fix issue with inputs() and plugin models.
inputs() should not trigger errors when generating inputs for plugin
models. Previously the internal state of FormHelper was incorrect as
model() returned the plugin name instead of the modelname.

Fixes #3571
2013-01-29 22:02:21 -05:00
José Lorenzo Rodríguez
7392138c49 Merge pull request #1099 from djbobke/2.4-crudauthorizetest
Fix CrudAuthorizeTest, added Router::reload() in setUp
2013-01-29 12:39:41 -08:00
Rik van der Heijden
e331ae64ee Fix CrudAuthorizeTest, added Router::reload() in setUp 2013-01-29 21:35:29 +01:00
Ceeram
46aabbd6ae Testsuite header using Configure for current version 2013-01-29 09:45:42 +01:00
Ceeram
267925e9b0 update version.txt to 2.4.0-dev 2013-01-29 09:06:16 +01:00
mark_story
410981296c Fix ServerShell not being able to handle plugin assets.
Fixes #3575
2013-01-28 22:21:58 -05:00
Jose Lorenzo Rodriguez
d3fdd2c911 Update version number to 2.3.0 2013-01-28 23:00:32 +01:00
Jose Lorenzo Rodriguez
57e7871142 Merge branch 'master' into 2.3 2013-01-28 22:57:34 +01:00
Jose Lorenzo Rodriguez
0a96e200a6 Update version number to 2.2.6 2013-01-28 22:55:39 +01:00
Mark Story
7a184708fc Merge pull request #1086 from burzum/refactor/controller-render
Refactoring the Controller::render method

Create Controller::_getViewObject() which is responsible for creating
the view instance. This gives an easier way to override view construction.
2013-01-27 17:49:29 -08:00
ADmad
bb767408d3 Fix cs errors 2013-01-27 23:03:06 +05:30
ADmad
04ec9dd614 Renamed AuthComponent::redirect() to AuthComponent::redirectUrl().
Closes #3268
2013-01-27 21:22:11 +05:30