Commit graph

3338 commits

Author SHA1 Message Date
Juan Basso
89be9b0986 Added test to generate Rss from array using namespaces. 2010-09-12 11:54:11 -03:00
Juan Basso
46f784f956 Support to DOMDocument/DOMNode in Xml::toArray(). 2010-09-12 11:25:37 -03:00
Juan Basso
7237713a30 Added test to dont use encoding in XML. 2010-09-11 22:12:54 -03:00
Juan Basso
2e7851c2be Support to namespaces in Xml::fromArray(). 2010-09-11 21:51:49 -03:00
Juan Basso
c8c20eafdc Xml::build now supports options and can return DOMDocument. 2010-09-08 21:47:55 -03:00
Juan Basso
071ff04556 Xml::fromArray now receives a list of options unless simple format. 2010-09-08 19:40:33 -03:00
Juan Basso
c1a75cbc47 Support to namespaces in Xml::toArray(). 2010-09-07 00:31:50 -03:00
Juan Basso
5f902d42e0 Changing the default format of fromArray from attributes to tags. 2010-09-06 23:11:45 -03:00
Juan Basso
87604f92c7 Adding a missing assert to tests. 2010-09-06 20:17:30 -03:00
Juan Basso
9239caa589 Added tests to use Xml with SOAP. 2010-09-01 21:37:32 -03:00
Juan Basso
a1eeb03e36 Added tests to use Xml with XML-RPC. 2010-09-01 21:14:21 -03:00
Juan Basso
ff29897bad Moving the rss content to a file. 2010-09-01 20:22:39 -03:00
Juan Basso
26b514e2cd Chaning tests of Xml to public. 2010-09-01 20:09:03 -03:00
Juan Basso
edcb5e4370 Added tests to use Xml with RSS. 2010-09-01 20:06:56 -03:00
Juan Basso
52b09188f7 Adding fail tests to Xml::toArray(). 2010-08-23 18:33:24 -03:00
Juan Basso
84cf5d599c Changing to use array in tests. 2010-08-23 18:23:53 -03:00
Juan Basso
65726841cd Merge branch 2.0-xml of github.com:cakephp/cakephp into 2.0-xml 2010-08-23 01:49:42 -03:00
Juan Basso
f8b4d92a34 Arrays with @ as key now is the value of tag in Xml. 2010-08-23 01:33:06 -03:00
Juan Basso
f777bd983f Making Xml::fromArray() parse @ in attibutes keys. 2010-08-23 00:48:34 -03:00
Juan Basso
9611ab1027 Changing to Xml::toArray() return @ after attributes to dont conflict with tags with same name. 2010-08-23 00:24:56 -03:00
mark_story
b1c41e5e18 Making tests use dataProviders instead of repeated test methods. 2010-08-22 23:19:54 -04:00
Juan Basso
53f8353f92 Updating Set to use new Xml class. 2010-07-28 19:53:52 -03:00
Juan Basso
b862d68016 Support to namespaces in Xml::toArray. 2010-07-28 19:46:35 -03:00
Juan Basso
f4d5230dfa Fixing the read for toArray of content when have child or attribute in xml. 2010-07-28 18:53:36 -03:00
Juan Basso
8f1bdd5378 Change to RssHelper use Xml class instead XmlHelper. 2010-07-28 17:47:02 -03:00
Juan Basso
921dfb259f Split of exception tests by tests using @expectedException 2010-07-26 23:25:55 -03:00
Juan Basso
9725d12ccb Adding sample.xml and changing the path in tests. 2010-07-26 23:16:23 -03:00
Juan Basso
43d49095ae Removing xml helper. Use SimpleXML instead. 2010-07-26 21:39:45 -03:00
Juan Basso
294bef6c46 Refactory of Xml class. Now uses SimpleXMLElement to manipulate XML data. 2010-07-26 21:31:39 -03:00
mark_story
d28f7f4144 Fixing failing test. 2010-07-10 11:32:12 -04:00
Juan Basso
09e04c5c1c Removed old use of Configure class in tests. 2010-07-05 23:52:15 -03:00
mark_story
b8085cddce Removing PHP5 and all its uses. 2010-07-05 22:19:22 -04:00
mark_story
02e25f7557 Changing Configure::read() to not have a default value, and instead return all values in configure when no param is supplied. Test cases updated. Fixes #503 2010-07-05 21:50:36 -04:00
mark_story
90b2123656 Updating Inflector to use static methods and properties.
Reducing the number of cache properties to one.
Deleting PHP4 specific tests.
2010-07-04 21:46:48 -04:00
mark_story
9e3a41e013 Fixing failing tests. 2010-06-30 22:51:42 -04:00
mark_story
2020675078 Merge branch '1.3' into 2.0
Conflicts:
	cake/dispatcher.php
	cake/tests/cases/libs/controller/components/request_handler.test.php
2010-06-30 22:47:27 -04:00
mark_story
991d035806 Fixing respondAs() so it can be called multiple times. Test cases added for respondAs. Fixes #842 2010-06-30 22:34:33 -04:00
mark_story
dc72529648 Implementing assettimestamps for themes and plugins. Tests added. Fixes #804, #879 2010-06-30 20:47:54 -04:00
mark_story
91f8e220e4 Adding App::themePath(). Will be used to reduce code duplication in a variety of places. 2010-06-30 20:17:17 -04:00
mark_story
1c47702cb9 Updating formatting to match coding standards. 2010-06-28 22:53:33 -04:00
Leszek Stachowski
68a9c9c5ab Added HtmlHelper::getCrumbList() to generate semantically correct
(x)html breadcrumb navigation path and a test to it. Fixes #856

Signed-off-by: mark_story <mark@mark-story.com>
2010-06-28 22:36:28 -04:00
mark_story
cd8dff362d Merge branch '2.0-phpunit' into 2.0
Conflicts:
	cake/libs/controller/components/email.php
	cake/tests/cases/libs/cake_test_fixture.test.php
	cake/tests/cases/libs/controller/components/email.test.php
2010-06-28 22:31:35 -04:00
mark_story
94965f0f6c Adding an additional test for View::entity().
Fixing issue where nulls would be shifted onto the entity array causing incorrect name attributes.  Fixes #867
2010-06-28 21:38:17 -04:00
mark_story
f11f9ebc68 Adding test case for #867. 2010-06-28 21:32:49 -04:00
mark_story
4b93e61ed3 Adding cookieLifeTime var declaration as it was omitted.
Updating session timeout values so they reflect their values in the past.
Making cookieLifeTime configurable in the medium/low security levels.
Fixing Config.timeout setting to go back to 10.
Fixes #798
2010-06-27 12:52:18 -04:00
mark_story
c119ec4d23 Merging in changes from Voidet to correct session times. Minutes were
being used instead of seconds, for a value that expected seconds.

Conflicts:
	cake/libs/cake_session.php
	cake/tests/cases/libs/controller/components/session.test.php
2010-06-27 12:17:37 -04:00
mark_story
929bb5769e Merge branch '1.3' into 2.0
Conflicts:
	app/webroot/index.php
	cake/console/templates/skel/webroot/index.php
	cake/libs/cake_session.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_oracle.php
	cake/libs/model/model_behavior.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/libs/controller/components/acl.test.php
	cake/tests/cases/libs/file.test.php
2010-06-26 12:29:20 -04:00
mark_story
a166ea78cb Fixing fails in dbo source test caused by not enough fixtures being loaded. 2010-06-25 23:40:29 -04:00
mark_story
c084456a08 Moving console and database groups to PHPUnit.
Both have some fails caused by the current fixture implementation.
Removing groups folder as its no longer used.
2010-06-25 23:36:08 -04:00
José Lorenzo Rodríguez Urdaneta
052f64b6cd Merge branch '2.0-phpunit' of github.com:cakephp/cakephp into 2.0-phpunit 2010-06-25 00:04:22 -04:30