Cauan Cabral
|
28bd6880df
|
Make Validation::decimal accept integers
Fix #2800
Force locale of ValidationTests with en_US to ensure decimal dot separator
|
2012-04-17 20:22:22 -04:00 |
|
Jose Lorenzo Rodriguez
|
826699a670
|
Extracting asset dispatcher and cache dispatcher into separate classes to provide examples on how to use Dispatcher
Filters
|
2012-04-17 00:42:18 -04:30 |
|
Jose Lorenzo Rodriguez
|
70f3cc579c
|
Renaming a few things in dispatcher filters to maccht general naming style in CakePHP
|
2012-04-16 23:41:32 -04:30 |
|
Ceeram
|
388b20dd9d
|
fix error in previous commit
|
2012-04-17 00:22:13 +02:00 |
|
Ceeram
|
a84597784d
|
avoid warning when saveAll() data has empty hasMany data, fixes #2792
|
2012-04-16 22:46:58 +02:00 |
|
Jose Lorenzo Rodriguez
|
565a58f784
|
Introducing dispatcher filters and adding tests for them
|
2012-04-16 00:36:08 -04:30 |
|
mark_story
|
8639d5af84
|
Fix mistakes.
|
2012-04-15 22:54:13 -04:00 |
|
mark_story
|
72c3059d94
|
Add missing parent calls.
Fixes piles of failing tests.
|
2012-04-15 22:20:34 -04:00 |
|
Jose Lorenzo Rodriguez
|
05b88f3f0e
|
Fixed another failing test case
|
2012-04-15 12:52:34 -04:30 |
|
Jose Lorenzo Rodriguez
|
d17a471451
|
Initial middelware implementation
|
2012-04-15 11:39:08 -04:30 |
|
mark_story
|
f990ecfff3
|
Add Configure::clear()
Refs #2767
|
2012-04-14 23:32:29 -04:00 |
|
Juan Basso
|
37157806b9
|
Removing some dup code in nested transaction tests.
|
2012-04-14 16:46:47 -04:00 |
|
Juan Basso
|
7be5349b0c
|
Added configuration to disable nested transaction, even if the db supports it.
|
2012-04-14 16:43:24 -04:00 |
|
Juan Basso
|
b0a3a1a5aa
|
Added test to check when driver do not support nested support.
|
2012-04-14 16:25:23 -04:00 |
|
Juan Basso
|
79f7ca7d33
|
Oops, forgot one change in last commit.
|
2012-04-14 16:23:51 -04:00 |
|
Juan Basso
|
a512d46679
|
Sqlite is failing in PHP 5.2, re-adding the check for driver support.
|
2012-04-14 16:23:51 -04:00 |
|
Juan Basso
|
ffe0a18495
|
ReflectionMethod::setAccessible() is not compatible with PHP 5.2, causing fatal error in CI. Assuming that the db servers support nested transaction.
|
2012-04-14 16:23:51 -04:00 |
|
Juan Basso
|
22cd65b7d8
|
Added tests in each datasource to test the nested transactions.
|
2012-04-14 16:23:51 -04:00 |
|
Juan Basso
|
30258ac817
|
Added test for nested methods sequence.
|
2012-04-14 16:22:36 -04:00 |
|
Juan Basso
|
9beaa9602f
|
Unified error handlers. Now the regular error handler will receive the fatal errors too.
|
2012-04-14 16:08:36 -04:00 |
|
Juan Basso
|
eeec217992
|
Added tests to fatal error handler.
|
2012-04-14 16:08:35 -04:00 |
|
mark_story
|
f818caf47c
|
Remove duplicate code / skipped tests.
|
2012-04-14 12:20:05 -04:00 |
|
Mark Story
|
6167529d4d
|
Merge pull request #605 from shama/patch-datasource-test
Add checks for startQuote & endQuote.
Fixes #2769
|
2012-04-14 08:08:05 -07:00 |
|
mark_story
|
5bb8c3a942
|
Fix code standards.
|
2012-04-14 10:49:25 -04:00 |
|
mark_story
|
0f2100767b
|
Add failing test for #2661
|
2012-04-14 10:24:20 -04:00 |
|
Renan Gonçalves
|
b0b36e8fba
|
Defining default values for CakeRequest, those params are present anywhere except when there isn't a Route match.
|
2012-04-13 15:58:45 +02:00 |
|
Kyle Robinson Young
|
6cf73c763c
|
Tests for a generic custom datasource
Default startQuote and endQuote to avoid error with non-database datasources
|
2012-04-11 10:08:45 -07:00 |
|
Kyle Robinson Young
|
8bbe250bec
|
Correct method descriptions and remove unused property
|
2012-04-11 07:50:54 -07:00 |
|
mark_story
|
f677bfea7d
|
Remove duplicated test code.
|
2012-04-10 22:26:33 -04:00 |
|
mark_story
|
a4f0399f74
|
Fix coding standards warnings.
|
2012-04-10 22:16:14 -04:00 |
|
mark_story
|
9f9feec222
|
Merge branch '2.2-hash' into 2.2
Conflicts:
lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
lib/Cake/View/Helper/FormHelper.php
|
2012-04-10 21:32:37 -04:00 |
|
mark_story
|
45e3414d49
|
Add test for query string encoding.
Closes #2768
|
2012-04-10 20:08:12 -04:00 |
|
mark_story
|
f8966a64f2
|
Merge branch '2.1' into 2.2
Conflicts:
lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
|
2012-04-09 21:55:02 -04:00 |
|
mark_story
|
81208d1fa7
|
Fix failing test.
|
2012-04-09 21:46:38 -04:00 |
|
mark_story
|
67743c8079
|
Fix missing Html escaping on string urls for assets.
Add HTML escaping for asset paths provided as strings.
Split existing tests up.
Fixes #2766
|
2012-04-09 21:20:11 -04:00 |
|
mark_story
|
c718a18218
|
Fix coding standards errors.
|
2012-04-08 21:01:25 -04:00 |
|
mark_story
|
c6d62884c1
|
Fix whitespace errors.
|
2012-04-08 20:40:30 -04:00 |
|
ADmad
|
1949a20b5a
|
Ensure L10n::get() consistently returns the set language. Closes #2737
|
2012-04-09 00:49:24 +05:30 |
|
mark_story
|
15c94dee4d
|
Fix whitespace and remove duplicate method calls.
|
2012-04-07 14:42:25 -04:00 |
|
mark_story
|
a24aca6ffc
|
Fix a few code standards errors.
|
2012-04-06 22:56:01 -04:00 |
|
mark_story
|
ff35762e92
|
Fix coding standards warnings.
|
2012-04-06 22:34:29 -04:00 |
|
mark_story
|
38b7ae3c67
|
Coding standards cleanup.
Fix coding standards
Simplify addition of empty.
Add doc block for new feature.
|
2012-04-06 21:47:02 -04:00 |
|
Clément Hallet
|
613e3824e0
|
add tests for the 'empty radio option' feature
|
2012-04-06 21:37:19 -04:00 |
|
mark_story
|
4eea72205b
|
Merge branch '2.1' into 2.2
|
2012-04-06 21:34:11 -04:00 |
|
mark_story
|
fe1a6d7d7e
|
Fragments should not be urlencoded()
encoding them breaks fragments for client side
applications like backbone.js
Fixes #2755
|
2012-04-06 21:32:37 -04:00 |
|
Ceeram
|
c2a8fca00c
|
Merge branch '2.1' into 2.2
Conflicts:
lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
|
2012-04-05 23:27:21 +02:00 |
|
Ceeram
|
8c631fa022
|
add test to show label options in inputDefaults
|
2012-04-05 17:47:08 +02:00 |
|
Ceeram
|
2b7fe21ee0
|
remove all Set::extract() from core and tests
|
2012-04-05 01:33:57 +02:00 |
|
Ceeram
|
7700a0261b
|
only use and test SORT_NATURAL on PHP 5.4
|
2012-04-04 18:21:52 +02:00 |
|
ADmad
|
1cc5206442
|
Merge branch '2.1-dbosource' into 2.1
|
2012-04-04 19:58:48 +05:30 |
|
ADmad
|
93639a7c43
|
Fixed bug where associated model's afterfind was not triggered in particular case
|
2012-04-04 19:48:37 +05:30 |
|
Ceeram
|
d2098828c6
|
Fix fullTablename(), ensure prefix prepending is only skipped when not on position 0 in tablename. Fixes #2750
|
2012-04-04 15:07:45 +02:00 |
|
mark_story
|
72cb96b727
|
Fix a few more coding standards errors.
|
2012-04-02 23:23:53 -04:00 |
|
mark_story
|
18296d2bf6
|
Fix a few coding standards errors.
|
2012-04-02 23:19:05 -04:00 |
|
Ceeram
|
34a730dfd8
|
ensure buildJoinStatement() does not add schemaname when table value is a subquery, fixes #2709
|
2012-04-02 18:48:02 +02:00 |
|
mark_story
|
e5ca80b711
|
Add additional sort flag support.
Add natural, numeric, and string sorting to Hash.
Fixes #1700
|
2012-04-01 23:09:15 -04:00 |
|
mark_story
|
4e67698506
|
Fix issues with SQLServer + boolean columns.
SQLServer should not have lengths applied to BIT column types.
Remove any length that could have been provided.
Fixes #2439
|
2012-04-01 22:10:05 -04:00 |
|
Norio Suzuki
|
26b93afc3c
|
fixed CakeEmail::reset, no initialized charset and headerCharset property
|
2012-04-01 23:42:18 +00:00 |
|
mark_story
|
475a1596b7
|
Merge branch '2.1' into 2.2
|
2012-04-01 15:37:21 -04:00 |
|
mark_story
|
990fbcdea0
|
Remove duplicated code backup.
This restoration/backup is done in the parent class.
|
2012-03-31 13:32:44 -04:00 |
|
Mark Story
|
54bfa4cc05
|
Merge pull request #587 from shama/patch-mb-number
Support multiple bytes with thousands/decimals in CakeNumber::format < PHP5.4
|
2012-03-31 10:22:25 -07:00 |
|
mark_story
|
a463033ee9
|
Set -> Hash
|
2012-03-31 08:49:04 -04:00 |
|
ADmad
|
04c30238cb
|
Merge pull request #585 from shama/patch-auth-redirect
Default to loginRedirect, if set, on authError in AuthComponent
|
2012-03-30 23:19:22 -07:00 |
|
ADmad
|
1763219053
|
Adding tests for getting session id when using DatabaseSession. Disproves #2734
|
2012-03-31 00:40:44 +05:30 |
|
Ceeram
|
65f25ed910
|
test added to show pagination conditions will not result in incorrect count, refs #2736
|
2012-03-30 19:06:01 +02:00 |
|
Jose Lorenzo Rodriguez
|
f105abde4e
|
Implementing Redis cache engine
|
2012-03-28 23:30:33 -04:30 |
|
Jose Lorenzo Rodriguez
|
18b843467f
|
Making lazy loader throw an exception for missing helpers
|
2012-03-28 22:12:46 -04:30 |
|
Ceeram
|
7df6477526
|
add test to prove #2723
|
2012-03-28 22:24:02 +02:00 |
|
ADmad
|
47558e8db5
|
Revert "Merge pull request #538 from mcammaert/2.1". Closes #2723
This reverts commit 96f73d6392 , reversing
changes made to 9d017c2b5c .
Conflicts:
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
|
2012-03-29 01:33:21 +05:30 |
|
Kyle Robinson Young
|
4370bf280a
|
Support multiple bytes with thousands/decimals in CakeNumber::format < PHP5.4
Fixes #2602
|
2012-03-28 10:46:31 -07:00 |
|
Rachman Chavik
|
6fa30db504
|
CakeEmail can use theme when rendering template
|
2012-03-28 22:01:30 +07:00 |
|
Kyle Robinson Young
|
319d154aee
|
Default to loginRedirect, if set, on authError in AuthComponent
Implements #2390
Based on the patch written by @dereuromark
|
2012-03-27 22:51:47 -07:00 |
|
Jose Lorenzo Rodriguez
|
c270e7ffda
|
Adding test for lazy loading helpers in views
|
2012-03-27 23:43:41 -04:30 |
|
Jose Lorenzo Rodriguez
|
f009e96a69
|
Adding test for lazy loading helpers using the collection
|
2012-03-27 23:36:16 -04:30 |
|
Mark Story
|
0443fe1507
|
Merge pull request #584 from shama/patch-inpath-test
Add test/doc for reverse Folder::inPath()
|
2012-03-27 16:50:38 -07:00 |
|
Kyle Robinson Young
|
deb5a57cb9
|
Add test/doc for reverse Folder::inPath()
|
2012-03-27 11:55:13 -07:00 |
|
Jose Lorenzo Rodriguez
|
4f6f041730
|
Using same serialization strategy for request object in cached views, this prevents some failing tests in environments
with different charsets
|
2012-03-27 00:57:15 -04:30 |
|
Jose Lorenzo Rodriguez
|
e5cc7d0f73
|
Fixed failing test
|
2012-03-27 00:20:35 -04:30 |
|
Jose Lorenzo Rodriguez
|
2100a64ffd
|
Prefixing group names in XcacheEngine
|
2012-03-27 00:00:52 -04:30 |
|
Jose Lorenzo Rodriguez
|
ffdd98be1b
|
Prefixing group names in WincacheEngine
|
2012-03-26 23:35:15 -04:30 |
|
Jose Lorenzo Rodriguez
|
98b14ff144
|
Prefixing group names in MemcacheEgine
|
2012-03-26 23:34:03 -04:30 |
|
Jose Lorenzo Rodriguez
|
957322ec82
|
Prefixing group names with the cache enging prefix to avoid possible conflicts with shared servers
|
2012-03-26 23:02:26 -04:30 |
|
mark_story
|
c1531d3faa
|
Fix a few small code standards issues.
|
2012-03-26 23:04:32 -04:00 |
|
mark_story
|
95d4549c9b
|
Docs + coding standards.
|
2012-03-26 22:57:50 -04:00 |
|
mark_story
|
c087576f20
|
Port changes done to Set into Hash
See #2722
|
2012-03-26 22:39:13 -04:00 |
|
mark_story
|
66eabe462a
|
Copy Set::expand into Hash class.
|
2012-03-26 22:32:58 -04:00 |
|
mark_story
|
9015d78017
|
Port most recent changes in Set to Hash.
See [68eeee80d8 ] and
[af575027da ]
|
2012-03-26 22:32:56 -04:00 |
|
mark_story
|
0ef9adba93
|
Move and rename pushDiff onto Hash.
Its used internally in a number of places and diff() + merge()
are not an resonable replacement.
|
2012-03-26 22:32:54 -04:00 |
|
mark_story
|
19e0d8d946
|
Switch usage to Hash where possible.
|
2012-03-26 22:32:53 -04:00 |
|
mark_story
|
8becc4c985
|
Fix misnamed method calls.
|
2012-03-26 22:25:40 -04:00 |
|
mark_story
|
2231087ba3
|
Rename Set2 -> Hash.
|
2012-03-26 22:25:40 -04:00 |
|
mark_story
|
239f52c48c
|
Move nest() over
Make get() able to take arrays for $path.
|
2012-03-26 22:25:40 -04:00 |
|
mark_story
|
afa0329330
|
Fix incomplete test.
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
ae66682c35
|
Add apply(), map() and reduce()
Add tests as well.
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
8cadac3ee5
|
Add tests for issue #104
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
ff5e72c9a7
|
Move Set::format across.
Remove the {0} style of formatting. Custom formatting
syntax is a bit silly. sprintf() is more than expressive enough
for this method.
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
e4a505797d
|
Move combine() across.
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
aa4dca6c0c
|
Move Set::check across.
|
2012-03-26 22:25:39 -04:00 |
|
mark_story
|
771efd950e
|
Fix sort() not working.
|
2012-03-26 22:25:38 -04:00 |
|
mark_story
|
3d8a955043
|
Add remove() and insert()
Also add support for multi insert and multi remove.
|
2012-03-26 22:25:38 -04:00 |
|