Commit graph

20 commits

Author SHA1 Message Date
mariano.iglesias
cc0e7a6c42 Changing forward slash for system slash. Releasing lock on created file in test, fixes #4684
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6944 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 04:45:39 +00:00
DarkAngelBGE
010a083d1c bringing the folder class to 84% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6924 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 11:26:00 +00:00
phpnut
657c28403a "Fixes #4377, Folder class bug for non-existent path"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:05:05 +00:00
gwoo
be09e5a90d closes #3915, Folder delete does not require path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6542 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:14:12 +00:00
gwoo
03a7ca842f updating folder test for inPath, fixes #3922
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6487 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:35:00 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
ef3b73d690 adding plugin task, closes #965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
phpnut
de8e7d8b01 "Closes #1854, Core.po not loaded when using /app/locale/..../default.po
Closes #3539
Fixes #3611, Cannot redeclare loadmodels
Fixes #3622, loadControllers() and loadModels() look in wrong folders for AppController resp. AppModel
Added trigger_error to all deprecated functions in basics.php
Refactored I18n class to remove debug_backtrace() usage in basics.php, all translations should be placed in a default.po or .mo file from this point forward.
_ _d() function should be used if domain specific translations are used.
Core translations can be placed in app/locales/{lang}/LC_MESSAGES/core.po or .mo these will now be merged with the specified language strings from default.po will replace the core message strings
All translations are now cached to improve performance.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 08:16:23 +00:00
gwoo
9ba2857f0d updating folder test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:37:31 +00:00
phpnut
1aa1164b1d Closes #3394, applied test patch
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
phpnut
7e42c6cf12 Fixes #3240, Wrong permissions are set when baking a project.
Added Folder::tree() that will return an array of nested directories and files in each directory.
Refactored Folder::chmod() to allow changing permission recursively on a directory structure

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5666 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-17 06:02:44 +00:00
phpnut
b91f9b087d Fixes #1166, bake.php ability to supply alternate database configurations.
Removed debug code from FolderTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:23:30 +00:00
gwoo
d64636796e fixes #3183, Folder::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:41:57 +00:00
gwoo
2d7be853ce adding fix for Folder path, #2983
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 05:31:36 +00:00
phpnut
1df4249d54 Adding fix for #2882, Sanitize::escape() fails for numbers.
Added test for #2882.
Corrected header files in tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5428 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:02:55 +00:00
gwoo
16332140bf updating most tests with fixes to coding standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:17:57 +00:00
gwoo
cec34ae6df updated folder class and test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 07:09:42 +00:00
mariano.iglesias
37daaf6dfe Fixed folder test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5004 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:38:26 +00:00
mariano.iglesias
74d9a205ec Adding tests for Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5003 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:29:33 +00:00
mariano.iglesias
383c8d36d3 Adding empty test cases for File and Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 23:25:21 +00:00