mark_story
|
eb38b8b60c
|
Fixing more boundary issues with first() and last(). When you entered a first/last range a wonky page link would be generated. Tests added.
|
2010-12-27 23:40:10 -05:00 |
|
mark_story
|
e003bd6ea9
|
Adding rel attributes for first and last links. These attribute values are part of the html5 spec, and fit with the intention of #370
|
2010-12-27 10:48:38 -05:00 |
|
mark_story
|
af608f68ef
|
Updating test cases for the addition of rel attributes to links generated by PaginatorHelper. Also removed rel attributes for disabled elements, as they are probably not link tags. Fixes #370
|
2010-12-27 10:38:30 -05:00 |
|
mark_story
|
edf567b9f9
|
Adding convertKeys to PaginatorHelper::options().
Added a test case.
Fixes #1390
|
2010-12-26 13:24:05 -05:00 |
|
mark_story
|
ee3017599d
|
Merge branch '2.0' into 2.0-pagination
Conflicts:
cake/libs/controller/components/paginator.php
cake/libs/router.php
|
2010-12-24 14:43:11 -05:00 |
|
mark_story
|
ef77e60cb0
|
Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
|
2010-12-24 14:09:57 -05:00 |
|
mark_story
|
e20ea8ad72
|
Renaming Dispatcher::__loadRoutes -> Dispatcher::_loadRoutes to match naming conventions.
Updating method name usage, as assertType is deprecated as of PHPUnit 3.5.6
|
2010-12-24 12:54:04 -05:00 |
|
mark_story
|
f85567a566
|
Removing @author tags that snuck in.
|
2010-12-21 21:58:20 -05:00 |
|
mark_story
|
6f62c22cbc
|
Fixing fencepost errors.
Splitting tests up into smaller groups.
|
2010-12-20 20:27:27 -05:00 |
|
mark_story
|
abc6a28eca
|
Increasing code coverage.
|
2010-12-20 14:02:12 -05:00 |
|
mark_story
|
0b90195a52
|
Adding tests for creating next/prev links with querystrings.
Removing code that doesn't seem to do anything, no tests fail when its removed.
|
2010-12-20 13:59:09 -05:00 |
|
mark_story
|
d7e411650f
|
Moving some tests around so its easier to figure out what's being tested.
Adding a querystring test.
|
2010-12-20 13:39:22 -05:00 |
|
mark_story
|
e5588f746c
|
Reversing changes that required a : sigil for named parameters. Also removing ?foo style parameters for querystring args. Having two ways to create querystring args was not sitting well with me.
Tests updated.
|
2010-12-19 23:11:02 -05:00 |
|
mark_story
|
4c3736a68a
|
Making more tests pass with the named parameter changes.
|
2010-12-19 17:38:21 -05:00 |
|
mark_story
|
c83a4703a3
|
Implementing ability to change pagination params to use querystring variables.
Tests added.
|
2010-12-19 16:47:22 -05:00 |
|
mark_story
|
cc2d8e2fec
|
Moving limit from the options to the normal paging params. This fixes a few notice errors.
|
2010-12-19 13:15:04 -05:00 |
|
mark_story
|
176d5520f6
|
Making paging params match those that would be generated by PaginatorComponent.
|
2010-12-19 13:09:52 -05:00 |
|
mark_story
|
833bdbcc0b
|
Reformatting paging params.
Removing defaults from the paging params as they are no longer being used.
|
2010-12-19 12:43:29 -05:00 |
|
mark_story
|
b1630d4f07
|
Removing garbage from Paginator test cases.
|
2010-12-18 15:48:14 -05:00 |
|
mark_story
|
1531a7226e
|
Removing duplicated tests, and tests for methods that are not implemented in the subclasses.
|
2010-12-14 23:26:24 -05:00 |
|
mark_story
|
017385d61c
|
Fixing most of the strict errors in the helper test suite.
|
2010-12-12 20:21:14 -05:00 |
|
mark_story
|
dc7ff8911d
|
Fixing tests in ComponentCollection and HelperCollection as return of trigger now depends on the triggered objects.
Removing annoying test that broke anytime something changed in Model.
|
2010-12-12 18:02:45 -05:00 |
|
mark_story
|
44c080d5ad
|
Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch.
Adding package specific exceptions.
Replacing generic exceptions in the codebase with CakeException + package exceptions.
|
2010-12-11 19:26:10 -05:00 |
|
mark_story
|
ceca179184
|
Fixing more tests that were failing post merge.
|
2010-12-10 23:17:42 -05:00 |
|
mark_story
|
b9f0fc0724
|
Merge branch '1.3' into merger
Conflicts:
cake/dispatcher.php
cake/libs/cake_session.php
cake/libs/controller/components/cookie.php
cake/libs/controller/components/email.php
cake/libs/controller/controller.php
cake/libs/controller/scaffold.php
cake/libs/set.php
cake/libs/validation.php
cake/libs/view/view.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/validation.test.php
cake/tests/cases/libs/view/view.test.php
|
2010-12-10 22:24:31 -05:00 |
|
Juan Basso
|
d97103d739
|
Making the format attribute customizable in helpers.
|
2010-12-10 02:42:38 -02:00 |
|
mark_story
|
a830632071
|
Changing View::element() to not overwrite viewVars with helpers that
have the same name.
Test added.
Fixes #1354
|
2010-12-09 22:06:23 -05:00 |
|
dogmatic69
|
96b30f0547
|
adding tests for places that will leave a trailing 0 because of the way phps number_format() method works
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-12-01 22:08:26 -05:00 |
|
mark_story
|
4c0e69b8fc
|
Removing constant checks, they aren't used anymore.
|
2010-11-21 15:13:33 -05:00 |
|
mark_story
|
79aafda698
|
Removing use of serialize() for locked fields. This removes any
possible exploit related to serialize()/unserialize(). Instead values
are passed as | delimited.
|
2010-11-21 00:09:45 -05:00 |
|
mark_story
|
ba10003ef2
|
Fixing failing tests when HtmlHelper test was run by itself.
|
2010-11-16 22:52:49 -05:00 |
|
mark_story
|
d12c232d8a
|
Merge branch '1.3' into merger
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/dispatcher.php
cake/libs/controller/components/auth.php
cake/libs/view/helpers/form.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/model/models.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
cake/tests/lib/cake_test_case.php
|
2010-11-16 21:48:13 -05:00 |
|
mark_story
|
f0ac462775
|
Updating test cases with failing tests.
|
2010-11-15 22:53:49 -05:00 |
|
mark_story
|
9b08b725fe
|
Merge branch '2.0' into 2.0-view
Conflicts:
cake/libs/controller/controller.php
cake/libs/view/helpers/cache.php
|
2010-11-13 21:03:54 -05:00 |
|
mark_story
|
e63f81c12a
|
Fixing test case that was missing request access.
|
2010-11-12 23:23:08 -05:00 |
|
mark_story
|
18bb5f6b8b
|
Removing =& operators for construction of objects.
|
2010-11-12 23:05:44 -05:00 |
|
mark_story
|
d044cdd02f
|
Fixing test case that was missing request access.
|
2010-11-12 22:50:15 -05:00 |
|
mark_story
|
6c2b088706
|
Merge branch '2.0' into 2.0-view
|
2010-11-10 23:41:44 -05:00 |
|
mark_story
|
f4b0ec1d20
|
Updating E_STRICT issues in view test.
Removing dead methods and classes.
|
2010-11-10 23:40:56 -05:00 |
|
mark_story
|
1f5999f388
|
Adding some tests for element caching.
|
2010-11-09 22:31:05 -05:00 |
|
mark_story
|
1cf5e72054
|
Removing duplicated calls to slug()
Extracting getElementFilename() into a method, this should allow developers to more easily replace how elements are found.
Refs #1268
|
2010-11-09 22:16:45 -05:00 |
|
mark_story
|
dfefc2d97b
|
Very initial pass at getting elements cached with Cache. Refs #1268
|
2010-11-08 00:06:10 -05:00 |
|
mark_story
|
a9a9bc0e2e
|
Removing bogus crud in the test.
|
2010-11-07 23:48:14 -05:00 |
|
Jeremy Harris
|
060f149a84
|
Added configurable ellipsis on Paginator::numbers(), Paginator::first(), Paginator::last(). Fixes #1086
|
2010-11-07 17:08:01 -08:00 |
|
mark_story
|
3216c902cd
|
Removing the enable parameter on HelperCollection, BehaviorCollection, and ComponentCollection. They all now support the enabled option that Behaviors have historically supported. This provides a simpler API with fewer arguments, and allows callbacks to be disabled on objects in their declared arrays.
Test cases updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
1ba28c246b
|
Adding settings['callbacks'] as a way to define enabled/disabled state of helpers in settings arrays. This should replace the separate parameter.
Tests updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
4c0fd76a2e
|
Changing <cake:nocache></cake:nocache> into <!--nocache--><!--/nocache--> This makes no cache tags valid html/xml at all times, and will not interfere with validation.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
4739d7f955
|
Adding tests for CacheHelper callback methods.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
f7f9c3f6a2
|
Removing a test case that doesn't need to exist anymore as the conditions for cache generation are now in CacheHelper.
|
2010-11-07 13:23:44 -05:00 |
|
mark_story
|
2e140a9fd3
|
Adding tests for element callbacks.
|
2010-11-07 13:23:43 -05:00 |
|