Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
511 commits
Select commit Hold shift + click to select a range
ed21f84
Backport _xmlOptions
May 2, 2015
cdbf5a0
Correct brackets.
May 2, 2015
8e618ed
Fix documentation regarding attributes
May 2, 2015
f510dac
fix cs
May 2, 2015
4915e80
Fix tableCells()
May 2, 2015
f82280f
Merge pull request #6466 from cakephp/2.6-xml-options
markstory May 3, 2015
ca76839
Merge pull request #6468 from cakephp/2.7-html-table-cell
lorenzo May 3, 2015
6cb21e6
Change default value to allow code coverage on non-app files.
markstory May 11, 2015
4b3386c
Replace rtrim with preg_replace in SchemaShell
ovidiupruteanu May 11, 2015
a55685c
Replace preg_replace with basename in SchemaShell
ovidiupruteanu May 11, 2015
efe82ea
Merge pull request #6535 from ovidiupruteanu/patch-4
markstory May 11, 2015
d4740c9
Fix incorrect handling of irregular values.
markstory May 12, 2015
323e8d8
Add underscore support for multi word irregulars.
May 12, 2015
918c20c
Merge pull request #6544 from ndm2/2.6-multi-word-irregulars
markstory May 12, 2015
6ffc967
Document missing option in loadAll().
markstory May 14, 2015
8662426
Deprecate notEmpty in favor of notBlank.
May 17, 2015
4f3602a
Adjust bake, docblocks and tests for notBlank.
May 17, 2015
f742fa5
Dont include deprecated options for bake
May 17, 2015
2974799
Add missing minimizable HTML attributes
May 18, 2015
d18748a
Merge pull request #6584 from cakephp/2.6-html-attributes
markstory May 18, 2015
83e5425
Merge pull request #6579 from cakephp/2.7-validation-depr
markstory May 19, 2015
508b9d1
Rename test methods after notBlank change
ravage84 May 19, 2015
138adf0
Merge pull request #6591 from ravage84/2.7-testnotblank
markstory May 19, 2015
52a0d64
Fix incorrectly quoted table aliases in virtual fields.
markstory May 21, 2015
4a3b2e2
Fix failing test in SQLite.
markstory May 22, 2015
d236cff
Merge pull request #6605 from cakephp/issue-6602
markstory May 22, 2015
9626f0e
Exclude deprecated validators from bake.
markstory May 23, 2015
8299906
Merge pull request #6619 from cakephp/issue-6581
lorenzo May 23, 2015
15f8853
Update version number to 2.6.5
markstory May 25, 2015
8ebc9cd
refs #6635 FormHelper::radio() return collect id attributes with mult…
nojimage May 25, 2015
c6e4208
refs #6635 Inflector::underscore, humanize support multibyte string i…
nojimage May 26, 2015
bf550d1
preventing error on trying to delete unexiting buffer
igorpadovan May 26, 2015
0c9fea8
Merge pull request #6645 from igorpadovan/2.6
markstory May 27, 2015
733ddc7
Use mb* functions in Inflector humanize/underscore.
markstory May 27, 2015
dddc504
Merge branch 'issue-6635' into 2.6
markstory May 27, 2015
995d8d2
Disable reading XML files and URLs when handling user data.
markstory May 27, 2015
b66c1ce
Update version number to 2.6.6
markstory May 28, 2015
6569183
Fix syntax errors in PHP <5.4
markstory May 28, 2015
523597d
Update version number to 2.6.7
markstory May 28, 2015
d7d8b90
Merge branch '2.6' into 2.7
markstory May 28, 2015
2a5cbb8
Add missing static keyword.
May 31, 2015
670d93b
Extract formatTreeList() from generateTreeList().
Jun 1, 2015
4ad001b
Use options array.
Jun 1, 2015
0524eb9
Documentation update
Jun 1, 2015
9d1db96
Merge pull request #6704 from cakephp/2.7-tree
lorenzo Jun 1, 2015
df0f229
Fix issue with overlapping irregular inflections.
markstory Jun 3, 2015
b8b5243
Merge pull request #6723 from cakephp/issue-6659
markstory Jun 4, 2015
239c839
Fix regression in camelize().
markstory Jun 5, 2015
0e6fcc0
Add/correct some tests for humanize.
markstory Jun 5, 2015
6d60e6a
Backport 7eec48268ebb6a17656df4a059f9e7b43991472f to 2.x
markstory Jun 7, 2015
c47196f
Merge branch '2.6' into 2.7
markstory Jun 7, 2015
56143c6
Update doc blocks for CakePlugin::load().
markstory Jun 12, 2015
90da605
Re-enable 5.2 as travis still supports it for now.
markstory Jun 13, 2015
f3099fe
Define code coverage explicitly
ravage84 Jun 14, 2015
ebb01f0
Merge branch '2.6' into 2.7
markstory Jun 15, 2015
947262e
Fix PHPCS errors.
markstory Jun 15, 2015
0b20f6d
PHP5.2 has no composer.
markstory Jun 15, 2015
5f9473e
Merge branch '2.6' into 2.7
markstory Jun 15, 2015
0d3057b
Re-remove 5.2 from travis.yml
markstory Jun 15, 2015
c308087
Update version number to 2.7.0-RC
markstory Jun 15, 2015
32fe098
Merge pull request #6809 from ravage84/2.7-code-coverage
markstory Jun 15, 2015
86c358f
Fix Validation::multiple() regarding 0 value.
Jun 15, 2015
97be9b9
Fix PHPCS errors.
markstory Jun 15, 2015
65b64e0
Merge pull request #6816 from cakephp/2.6-fix-validation-multiple
markstory Jun 15, 2015
ccac3b3
Allow deep options for radio() just as for select().
Jun 16, 2015
2d0374e
Remove 5.2.
markstory Jun 16, 2015
8ecda6b
Merge pull request #6821 from cakephp/2.6-radio
lorenzo Jun 16, 2015
51d75bc
Remove overhead whitespace in templates.
Jun 17, 2015
2d7487d
img tag needs manual space
Jun 17, 2015
7dedf7f
Refactor cleanly.
Jun 17, 2015
1b81323
Use strict check
Jun 17, 2015
4025f2f
add cast for clarification and to allow int 0.
Jun 17, 2015
c7b0d03
Merge pull request #6831 from cakephp/2.7-notblank
markstory Jun 17, 2015
6ba9d9e
Merge pull request #6830 from cakephp/2.6-templates
markstory Jun 17, 2015
705f44e
Fix regression where attributes were created with no whitespace.
markstory Jun 20, 2015
1d03d5b
Consolidate template whitespace
Jun 20, 2015
3495ea1
Merge pull request #6849 from cakephp/2.6-template
markstory Jun 20, 2015
664ba53
Merge branch '2.6' into 2.7
markstory Jun 20, 2015
26b3713
Merge branch '2.7' of github.com:cakephp/cakephp into 2.7
markstory Jun 20, 2015
6e5381a
Cleanup method calls.
Jun 20, 2015
2663099
CakeShells should not print html in case of a error
Jun 13, 2015
77150eb
fixed tests cases to print html
Jun 13, 2015
bf82c95
Fix Debugger error output in CLI when Debugger is used as the error h…
markstory Jun 21, 2015
fc57e43
Adjust tests.
Jun 21, 2015
0841c04
Merge pull request #6853 from cakephp/2.6-template
markstory Jun 22, 2015
58983f7
2.7.0-RC Auth doesn't use the new Flash component
highstrike Jun 24, 2015
7cdf193
Tab instead of space
highstrike Jun 24, 2015
833c747
Test append PR to Issue
highstrike Jun 24, 2015
ef1fc7d
PHPCS
highstrike Jun 24, 2015
8257100
How about this?
highstrike Jun 24, 2015
1c56c72
Backport param() access.
Jun 24, 2015
ab2f4c2
Merge pull request #6884 from cakephp/2.7-shell
markstory Jun 25, 2015
2f616a9
Fix greedy regex operators in Postgres driver.
markstory Jun 25, 2015
74c0e81
Merge pull request #6886 from cakephp/issue-6877
lorenzo Jun 25, 2015
a9d77d2
fix failing tests
highstrike Jun 25, 2015
ae2ea1e
Merge branch '2.6' into 2.7
markstory Jun 26, 2015
0b28c2e
Added negative lookahead
larryb82 Jun 24, 2015
e651d15
Add tests for less greedy field parsing in SQLite.
markstory Jun 26, 2015
5eb27c7
Merge pull request #6454 from cakephp/2.7-composer-requirement
markstory Jun 27, 2015
97c5463
Fix failing tests.
markstory Jun 27, 2015
cbd45f7
Make FlashComponent/FlashHelper more backwards compatible.
markstory Jun 27, 2015
b9e6179
Merge branch '2.7' of github.com:cakephp/cakephp into 2.7
markstory Jun 27, 2015
c037e04
Update version number to 2.6.8
markstory Jun 30, 2015
deb62c8
#6935 Fix deep saving for hasMany could not handle validation errors …
hiromi2424 Jul 4, 2015
5b31eff
Merge pull request #6947 from hiromi2424/2.6-fix-deep-validation
markstory Jul 7, 2015
4102961
Add tests for #6879
markstory Jul 7, 2015
94fbc6e
Don't map text/plain to csv. Backport from 3.0. Refs #1696
dy-dx Jul 7, 2015
59a18e7
Merge branch '2.6' into 2.7
markstory Jul 8, 2015
7613e72
Fix PHPCS errors.
markstory Jul 8, 2015
97656d8
Merge pull request #6965 from dy-dx/backport-csv-mapping
markstory Jul 8, 2015
64951a3
Added return types in PHP documenation in basics.php, since it raises…
annuh Jul 8, 2015
1beb8ae
Merge pull request #6973 from annuh/6972-Documentation-for-some-trans…
markstory Jul 8, 2015
b4b10e7
Added return types in PHP documenation in basics.php, since it raises…
annuh Jul 8, 2015
d451f52
Merge branch '2.6' into 2.7
markstory Jul 8, 2015
4a131bd
Capitalize Windows, the OS
ravage84 Jul 9, 2015
77ee00e
Merge pull request #6988 from ravage84/2.6-windows
lorenzo Jul 9, 2015
65c1745
Add missing parameter to rawQuery()
markstory Jul 10, 2015
a5209dc
Merge pull request #6996 from cakephp/issue-6992
lorenzo Jul 11, 2015
4737842
Merge branch '2.6' into 2.7
markstory Jul 12, 2015
e07b64f
Update version number to 2.7.0
markstory Jul 12, 2015
2eea245
Backport utf fix for CakeText::tokenize().
Jul 13, 2015
d98e7d8
Fix tests.
Jul 13, 2015
a322813
Merge pull request #7006 from cakephp/2.7-caketext
markstory Jul 13, 2015
8717352
Update version number to 2.6.9
markstory Jul 16, 2015
0d0d1e1
Merge branch '2.6' into 2.7
markstory Jul 16, 2015
1922a18
Ajax requests not properly returning 403
Jul 16, 2015
9b313f8
Add tests for #7034
markstory Jul 17, 2015
1a1363f
Merge branch 'authfix' into 2.7
markstory Jul 17, 2015
4af2e54
Update deprecated method in docblocks
davidyell Jul 16, 2015
23b3b1a
Merge pull request #7052 from ravage84/2.7-cherry-pick-issue-7037
markstory Jul 17, 2015
7b2d7ad
Test Case for Hash::maxDimensions
Jul 16, 2015
64f0ca0
Fix Hash::maxDimensions
Jul 16, 2015
bd23fde
Simplify code and reduce test redundancy.
markstory Jul 21, 2015
27e40f0
Merge branch 'hash-maxdim' into 2.7
markstory Jul 21, 2015
52e7998
Replacing self with static due to PHP5.3+. Following #7040.
Jul 21, 2015
e4b2428
Fix PHPCS errors.
markstory Jul 21, 2015
c6e5026
Fix issues saveMany & saveAssociated with boolean values.
markstory Jul 22, 2015
e25be3a
Add failing test for FormHelper::input
yskkin Jul 21, 2015
00919c5
Fix FormHelper::input ignoring value option.
yskkin Jul 21, 2015
e19f621
Merge pull request #7086 from cakephp/issue-7069
markstory Jul 23, 2015
94b2ea2
enable colors for windows ConEmu user
antograssiot Jul 23, 2015
6c53f8b
Merge pull request #7097 from antograssiot/conEmu
markstory Jul 23, 2015
71e4ed9
Slightly improve the bake templates
ravage84 Jul 23, 2015
b412b40
Make fixture import from table aware of records found
ravage84 Jul 23, 2015
92ac2bc
Merge pull request #7101 from ravage84/2.7-bake-templates
markstory Jul 23, 2015
45877df
Update version number to 2.7.1
markstory Jul 24, 2015
418dcfd
Consistently remove plugin names in object collections.
markstory Jul 24, 2015
b3a192a
Add warning for irregular method.
markstory Jul 24, 2015
de4b44a
Merge pull request #7077 from dereuromark/2.7-static
markstory Jul 24, 2015
a239324
use constant PHP_SAPI
Jul 26, 2015
b16d627
Disable SNI in HttpSocket
DT-Tijme Jul 27, 2015
6e16f78
Merge pull request #7114 from cakephp/2.7-nano-opt
markstory Jul 27, 2015
97be4f8
Merge pull request #7117 from Tijme/2.7
markstory Jul 27, 2015
58ea40e
Don't stop reading when only a '0' has been read.
markstory Jul 28, 2015
d5cc45c
Merge pull request #7124 from cakephp/issue-7121
lorenzo Jul 28, 2015
355eb18
Merge pull request #7106 from cakephp/issue-7098
lorenzo Jul 28, 2015
00d0a50
Add "Reporting a Security Issue"
ravage84 Jul 28, 2015
003a0dd
Merge pull request #7129 from ravage84/patch-3
ADmad Jul 28, 2015
a3bb420
Set .htaccess indentation to 4 spaces
luissquall Jul 28, 2015
4d45281
Merge pull request #7131 from luissquall/fix-htaccess-indentation
markstory Jul 28, 2015
26ab829
Bootstrap Configure after the mb_* shims have been defined.
markstory Jul 30, 2015
eddb2be
Merge pull request #7141 from cakephp/issue-7135
lorenzo Jul 30, 2015
a73fc25
Fix incorrectly parsed mo file context.
markstory Jul 31, 2015
27c88a8
Use tabs and single spaces in all .htaccess files
ravage84 Jul 31, 2015
b6cd200
Merge pull request #7156 from ravage84/2.7-htaccess
markstory Aug 1, 2015
b89ac18
Merge pull request #7147 from cakephp/issue-7118
lorenzo Aug 2, 2015
58bede7
Merge pull request #7103 from ravage84/2.7-fixture-import-record-aware
markstory Aug 3, 2015
3f15c8a
fix templates
Aug 5, 2015
01b6374
Merge pull request #7175 from cakephp/2.7-hotfix
markstory Aug 5, 2015
9f20330
Fix fatal error on null subject.
markstory Aug 6, 2015
056f24a
Forbid direct prefix access with mixed casing.
markstory Aug 6, 2015
2fe2f6e
Merge pull request #7179 from cakephp/issue-7176
lorenzo Aug 6, 2015
b7c9ac9
Backport fixes for comparison() and range() to 2.x
markstory Aug 7, 2015
07c2047
Merge branch '2.7' of github.com:cakephp/cakephp into 2.7
markstory Aug 7, 2015
f959b76
Update version number to 2.7.2
markstory Aug 7, 2015
a7b5f8c
DboSource now check the actual status of connection by executing a du…
pbaire Aug 6, 2015
f3e590a
Annotate test coverage
ravage84 Aug 11, 2015
979820b
Merge pull request #7214 from ravage84/2.7-caktetext-coverage
markstory Aug 11, 2015
90a77f6
Alter model exists to consider useTable
tanuck Aug 16, 2015
0df7bcd
Adding Flash element template files.
mattmemmesheimer Aug 16, 2015
604cb0e
Including the FlashComponent by default in the controller when baking.
mattmemmesheimer Aug 16, 2015
d3cf879
Updating deprecated SessionComponent::setFlash calls to FlashComponen…
mattmemmesheimer Aug 16, 2015
fd198ce
Edits to tests to cover the changes to Model::exists
tanuck Aug 17, 2015
2f7cc05
Typo in tests docblock
tanuck Aug 17, 2015
fdb41e0
Alter Model::exists() to return false with no table
tanuck Aug 18, 2015
5b92c90
Missing test fix ModelIntegration
tanuck Aug 18, 2015
daa795d
Merge pull request #7242 from tanuck/2.7-no-table-validation-fail
markstory Aug 19, 2015
d4467f9
Fixing unit tests.
mattmemmesheimer Aug 19, 2015
8fe9535
Fix path traversal check for Windows based systems
Aug 19, 2015
3532619
Merge pull request #7260 from ndm2/2.7-fix-path-traversal-protection-…
markstory Aug 19, 2015
7d5e6e3
Reverting accidental chmod.
mattmemmesheimer Aug 19, 2015
70feb52
Changing the default layout to use FlashComponent::render instead of …
mattmemmesheimer Aug 21, 2015
d05727b
Merge pull request #7265 from mattmemmesheimer/issue-7048
markstory Aug 21, 2015
0df0f1a
Don't use short tags.
markstory Aug 21, 2015
f154a8f
Fix MediaView extension handling as documented and expected.
Aug 21, 2015
a44d17d
Merge pull request #7277 from cakephp/2.7-mediaview
markstory Aug 21, 2015
143c34b
Handle case where a visible input shares a name with an invisible one.
markstory Aug 23, 2015
c2d94e8
Merge pull request #7289 from cakephp/issue-7274
lorenzo Aug 23, 2015
0dbabce
Update version number to 2.7.3
markstory Aug 24, 2015
60d7bba
Always update updated/modified columns when a fieldList is used.
markstory Sep 6, 2015
e4cce7a
Fix errors in PHP <5.4
markstory Sep 7, 2015
2d2c5be
Merge pull request #7357 from cakephp/issue-7076
lorenzo Sep 7, 2015
9eafde1
Set the `key` variable in the SessionHelper.
markstory Sep 10, 2015
a4a63bf
Merge pull request #7379 from cakephp/issue-7365
lorenzo Sep 11, 2015
5a7507d
Fix issue "Debugger class not found"
SanderSander Sep 11, 2015
e8ce841
Merge branch '2.7-sander' into 2.7
markstory Sep 12, 2015
450a544
Backport 3.x limit of fixture data generation.
Sep 13, 2015
4a316b1
Merge pull request #7387 from cakephp/2.7-fixture
markstory Sep 13, 2015
d8a55ad
Allow CURRENT_TIMESTAMP for datetime columns - MySQL5.6+.
dereuromark Sep 16, 2015
e7d6319
Skip test for versions of < MySQL5.6.
dereuromark Sep 17, 2015
c87de2a
Fix CS
dereuromark Sep 17, 2015
e176e2f
Merge pull request #7408 from cakephp/2.7-mysql-datetime
markstory Sep 17, 2015
97b6f86
Fix CS
Sep 21, 2015
da969bb
Merge pull request #7427 from cakephp/2.7-cs
ADmad Sep 21, 2015
8fae10a
Set DboSource::$_connection to null on disconnect
graemetait Sep 21, 2015
1b33efa
Check $_connection is not null before trying to use it
graemetait Sep 21, 2015
dc856b8
Switch out is_null()
graemetait Sep 21, 2015
9208a08
Merge pull request #7428 from burriko/fix-dbo-connection-issues
markstory Sep 22, 2015
c14d1ff
Add tests for #7428
markstory Sep 22, 2015
fd2dd41
Add cakephp/cakephp-codesniffer as dev dependency
ravage84 Sep 25, 2015
e690662
Various improvments to the CakePH Plib files
ravage84 Sep 25, 2015
1ede742
Various improvements to the CakePHP test files
ravage84 Sep 25, 2015
dbfd2c4
App & skel folder sync + some improvements
ravage84 Sep 25, 2015
5eedc0f
Fix broken test
ravage84 Sep 25, 2015
bd46191
Correct return type
ravage84 Sep 25, 2015
f7c472e
Add note to param
ravage84 Sep 25, 2015
1267586
Re-add closing tags to ctp files
ravage84 Sep 25, 2015
41abccc
Update param annotation
ravage84 Sep 25, 2015
12f5aee
Merge pull request #7447 from ravage84/2.7-lib-improvements
markstory Sep 25, 2015
c6c88fe
Merge pull request #7446 from ravage84/patch-3
markstory Sep 25, 2015
3aec527
Merge pull request #7449 from ravage84/2.7-app-skel-sync
markstory Sep 25, 2015
a6d62cb
Removed $stringClean
ravage84 Sep 25, 2015
0da9c49
Merge pull request #7448 from ravage84/2.7-tests-improved
markstory Sep 25, 2015
ab7e8f8
Update debugkit links to 2.x compatible branch
ADmad Sep 28, 2015
f1160b7
Update link to DebugKit 2.2 branch
ravage84 Sep 28, 2015
2d82a12
CS
ravage84 Sep 28, 2015
7b20c80
Use caret operator for depending on DebugKit
ravage84 Sep 28, 2015
26a05a4
Update another link to DebugKit 2.2 branch
ravage84 Sep 28, 2015
8e82993
Merge pull request #7464 from ravage84/2.7-debugkit-link
lorenzo Sep 28, 2015
dad9eaa
Merge pull request #7463 from cakephp/ADmad-patch-1
markstory Sep 28, 2015
c3e08fd
Load config file before checking class existence.
ADmad Sep 28, 2015
5a8a780
Merge pull request #7469 from cakephp/issue-7465
markstory Sep 28, 2015
13f1479
Correct inflection of virus.
markstory Sep 29, 2015
0502e07
Update version number to 2.7.4
markstory Sep 29, 2015
17c3358
Revert part of the changes in 1ede742d92
markstory Sep 30, 2015
3fa5c4f
Update version number to 2.7.5
markstory Oct 2, 2015
96b32b0
Merge branch 'v2.7.5' into feature/2.7
vpmv Oct 30, 2015
f27324c
Merge cakephp/cakephp (v2.7.5) into dehare/cakephp (develop)
vpmv Oct 30, 2015
4e774e8
Merge branch 'master' into develop
vpmv Oct 30, 2015
0908b9a
Finish upgrade
vpmv Oct 30, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@
*.ico binary
*.mo binary
*.pdf binary
*.woff binary
*.ttf binary
*.eot binary
6 changes: 3 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.2
- 5.3
- 5.4
- 5.5
Expand All @@ -27,8 +26,8 @@ matrix:


before_script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then composer global require 'phpunit/phpunit=3.7.33'; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ./vendors/PHPUnit; fi"
- sh -c "composer global require 'phpunit/phpunit=3.7.33'"
- sh -c "ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ./vendors/PHPUnit"
- sudo locale-gen de_DE
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test2;'; fi"
Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ To run the sniffs for CakePHP coding standards:
phpcs -p --extensions=php --standard=CakePHP ./lib/Cake

Check the [cakephp-codesniffer](https://github.com/cakephp/cakephp-codesniffer)
repository to setup the CakePHP standard. The [README](https://github.com/cakephp/cakephp-codesniffer/blob/master/README.mdown) contains installation info
repository to setup the CakePHP standard. The [README](https://github.com/cakephp/cakephp-codesniffer/blob/master/README.md) contains installation info
for the sniff and phpcs.

## Reporting a Security Issue

If you've found a security related issue in CakePHP, please don't open an issue in GitHub. Instead contact us at security@cakephp.org. For more information on how we handle security issues, [see the CakePHP Security Issue Process](http://book.cakephp.org/2.0/en/contributing/tickets.html#reporting-security-issues).

# Additional Resources

* [CakePHP coding standards](http://book.cakephp.org/2.0/en/contributing/cakephp-coding-conventions.html)
Expand Down
6 changes: 3 additions & 3 deletions app/.htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
1 change: 0 additions & 1 deletion app/Config/Schema/db_acl.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
/**
* Using the Schema command line utility
* cake schema run create DbAcl
*
*/
class DbAclSchema extends CakeSchema {

Expand Down
10 changes: 10 additions & 0 deletions app/Config/Schema/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
*/
class I18nSchema extends CakeSchema {

/**
* The name property
*
* @var string
*/
public $name = 'i18n';

/**
Expand All @@ -48,6 +53,11 @@ public function before($event = array()) {
public function after($event = array()) {
}

/**
* The i18n table definition
*
* @var array
*/
public $i18n = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
'locale' => array('type' => 'string', 'null' => false, 'length' => 6, 'key' => 'index'),
Expand Down
14 changes: 11 additions & 3 deletions app/Config/Schema/sessions.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

/*
*
/**
* Using the Schema command line utility
* cake schema run create Sessions
*
*/
class SessionsSchema extends CakeSchema {

/**
* Name property
*
* @var string
*/
public $name = 'Sessions';

/**
Expand All @@ -47,6 +50,11 @@ public function before($event = array()) {
public function after($event = array()) {
}

/**
* The cake_sessions table definition
*
* @var array
*/
public $cake_sessions = array(
'id' => array('type' => 'string', 'null' => false, 'key' => 'primary'),
'data' => array('type' => 'text', 'null' => true, 'default' => null),
Expand Down
2 changes: 1 addition & 1 deletion app/Config/acl.ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
; * @license http://www.opensource.org/licenses/mit-license.php MIT License
; */

; acl.ini.php - Cake ACL Configuration
; acl.ini.php - CakePHP ACL Configuration
; ---------------------------------------------------------------------
; Use this file to specify user permissions.
; aco = access control object (something in your application)
Expand Down
5 changes: 1 addition & 4 deletions app/Config/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
* 'Vendor' => array('/path/to/vendors/', '/next/path/to/vendors/'),
* 'Plugin' => array('/path/to/plugins/', '/next/path/to/plugins/'),
* ));
*
*/

/**
Expand All @@ -57,7 +56,6 @@
*
* Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
* Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
*
*/

/**
Expand All @@ -66,8 +64,7 @@
* advanced ways of loading plugins
*
* CakePlugin::loadAll(); // Loads all plugins at once
* CakePlugin::load('DebugKit'); //Loads a single plugin named DebugKit
*
* CakePlugin::load('DebugKit'); // Loads a single plugin named DebugKit
*/

/**
Expand Down
7 changes: 3 additions & 4 deletions app/Config/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

//setLocale(LC_ALL, 'deu');
//Configure::write('Config.language', 'deu');

/**
* CakePHP Debug Level:
*
Expand Down Expand Up @@ -147,13 +150,11 @@
* Enables:
* `admin_index()` and `/admin/controller/index`
* `manager_index()` and `/manager/controller/index`
*
*/
//Configure::write('Routing.prefixes', array('admin'));

/**
* Turn off all caching application-wide.
*
*/
//Configure::write('Cache.disable', true);

Expand All @@ -164,7 +165,6 @@
* public $cacheAction inside your controllers to define caching settings.
* You can either set it controller-wide by setting public $cacheAction = true,
* or in each action using $this->cacheAction = true.
*
*/
//Configure::write('Cache.check', true);

Expand Down Expand Up @@ -213,7 +213,6 @@
*
* To use database sessions, run the app/Config/Schema/sessions.php schema using
* the cake shell command: cake schema create Sessions
*
*/
Configure::write('Session', array(
'defaults' => 'php'
Expand Down
2 changes: 0 additions & 2 deletions app/Config/database.php.default
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
Expand Down
3 changes: 0 additions & 3 deletions app/Config/email.php.default
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
Expand Down Expand Up @@ -35,7 +33,6 @@
*
* from =>
* The origin email. See CakeEmail::from() about the valid values
*
*/
class EmailConfig {

Expand Down
1 change: 1 addition & 0 deletions app/Config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* @since CakePHP(tm) v 0.2.9
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

/**
* Here, we are connecting '/' (base path) to controller called 'Pages',
* its action called 'display', and we pass a param to select the view file
Expand Down
Empty file removed app/View/Elements/empty
Empty file.
2 changes: 1 addition & 1 deletion app/View/Layouts/default.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
</div>
<div id="content">

<?php echo $this->Session->flash(); ?>
<?php echo $this->Flash->render(); ?>

<?php echo $this->fetch('content'); ?>
</div>
Expand Down
1 change: 0 additions & 1 deletion app/View/Layouts/rss/default.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ echo $this->Rss->document(
array(), $channel, $this->fetch('content')
)
);
?>
4 changes: 2 additions & 2 deletions app/View/Pages/home.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ endif;
echo '<span class="notice">';
echo __d('cake_dev', 'DebugKit is not installed. It will help you inspect and debug different aspects of your application.');
echo '<br/>';
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit'));
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit/tree/2.2'));
echo '</span>';
endif;
?>
Expand Down Expand Up @@ -178,7 +178,7 @@ You can also add some CSS styles for your pages at: %s.',
<p>
<ul>
<li>
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit') ?>:
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit/tree/2.2') ?>:
<?php echo __d('cake_dev', 'provides a debugging toolbar and enhanced debugging tools for CakePHP applications.'); ?>
</li>
<li>
Expand Down
8 changes: 4 additions & 4 deletions app/webroot/.htaccess
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
33 changes: 16 additions & 17 deletions app/webroot/css/cake.generic.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@charset "utf-8";
/**
*
* Generic CSS for CakePHP
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
Expand Down Expand Up @@ -84,7 +83,7 @@ p {
line-height:20px;
background: #003d4c url('../img/cake.icon.png') no-repeat left;
color: #fff;
padding: 0px 30px;
padding: 0 30px;
}
#header h1 a {
color: #fff;
Expand Down Expand Up @@ -174,7 +173,7 @@ td.actions {
white-space: nowrap;
}
table td.actions a {
margin: 0px 6px;
margin: 0 6px;
padding:2px 5px;
}

Expand Down Expand Up @@ -336,7 +335,7 @@ option {
input[type=checkbox] {
clear: left;
float: left;
margin: 0px 6px 7px 2px;
margin: 0 6px 7px 2px;
width: auto;
}
div.checkbox label {
Expand Down Expand Up @@ -365,7 +364,7 @@ form .submit input[type=submit] {
background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
border-color: #2d6324;
color: #fff;
text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px;
text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
padding: 8px 10px;
}
form .submit input[type=submit]:hover {
Expand Down Expand Up @@ -527,11 +526,11 @@ input[type=submit],
-moz-border-radius: 4px;
border-radius: 4px;
text-decoration: none;
text-shadow: #fff 0px 1px 0px;
text-shadow: #fff 0 1px 0;
min-width: 0;
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-user-select: none;
user-select: none;
}
Expand All @@ -551,7 +550,7 @@ input[type=submit]:active,
background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
background-image: -o-linear-gradient(top, #dfdfdf, #eee);
background-image: linear-gradient(top, #dfdfdf, #eee);
text-shadow: #eee 0px 1px 0px;
text-shadow: #eee 0 1px 0;
-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
Expand Down Expand Up @@ -627,15 +626,15 @@ pre {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
margin: 0px 4px 10px 2px;
margin: 0 4px 10px 2px;
font-family: sans-serif;
font-size: 14px;
line-height: 14px;
display: inline-block;
text-decoration: none;
-moz-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
-webkit-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
}
.cake-code-dump pre {
position: relative;
Expand All @@ -647,13 +646,13 @@ pre {
.cake-stack-trace pre {
color: #000;
background-color: #F0F0F0;
margin: 0px 0 10px 0;
margin: 0 0 10px 0;
padding: 1em;
overflow: auto;
text-shadow: none;
}
.cake-stack-trace li {
padding: 10px 5px 0px;
padding: 10px 5px 0;
margin: 0 0 4px 0;
font-family: monospace;
border: 1px solid #bbb;
Expand Down Expand Up @@ -709,7 +708,7 @@ pre {
}
.code-coverage-results div.start {
border:1px solid #aaa;
border-width:1px 1px 0px 1px;
border-width:1px 1px 0 1px;
margin-top:30px;
padding-top:5px;
}
Expand Down
Loading