Leo R. Lundgren
7a194496a5
Fix a bunch of @param and @return phpdoc errors in various files.
2012-08-03 16:17:58 +02:00
Carsten Brandt
c9bcab1af2
removed unused CModelEvent::$criteria
...
as a result of discussion in 7d4a0c717d
2012-08-03 15:12:11 +03:00
Carsten Brandt
a50d332baf
added version to deprecated annotation
2012-08-02 14:41:30 +02:00
Carsten Brandt
e85a464d95
fixed doc comment on ModelEvent
...
ModelEvent::$criteria is not used anymore since yii 1.1.7 so its
comment should not confuse people.
2012-08-02 12:52:56 +02:00
Qiang Xue
2951f4e962
Replaced is_callable with function_exists because the former may trigger autoloading and thus cause error.
2012-07-29 16:27:49 -04:00
Ekstazi
3af0e26d32
Enh #1053 : CComponent::evaluateExpression allow using global functions as callbacks fixed 2
2012-07-29 20:45:53 +03:00
Ekstazi
1cbbebd2d4
Enh #1053 : CComponent::evaluateExpression allow using global functions as callbacks fixed
2012-07-29 16:34:54 +03:00
Ekstazi
b5fe088971
Enh #1053 : CComponent::evaluateExpression allow using global functions as callbacks
2012-07-29 15:49:35 +03:00
CeBe
d0bdf7be0c
fixed CErrorHandler discardOutput for php <5.3
...
only reset headers when there was an ob_gzhandler to avoid trouble with
apache mod_deflate
2012-07-16 04:26:53 +02:00
CeBe
85498dd1bf
improved CErrorHandler::discardOutput in case of gzipped output
...
when output is gzipped with zlib.output_compression set to On
ob_end_clean will not succeed so we try to ob_clean()
when output is gzipped by calling `ob_start("ob_gzhandler");` on
application startup we have to reset Content-Encoding and Vary header
when ob_end_clean kills that output handler.
this would work with `header('Content-Encoding:');` but when apache
module mod_deflate is activated a broken Content-Encoding header is
added:
`Content-Encoding: ,gzip`, so we try header_remove which is available
since php 5.3.
for php < 5.3 and mod_deflate there is not practial solution.
btw: php documentation says zlib.output_compression set to On is the
recomented way for output compression
2012-07-16 03:57:58 +02:00
CeBe
3eed35ceb8
CErrorHandler only set headers if not sent
2012-07-15 02:37:50 +02:00
CeBe
657d57e4f8
Merge branch 'master' into 684-logfilter-interface
...
* master: (58 commits)
removed testCheckIntegrity() because of superadmin permission need
Enable PostgreSQL
Additional test for CMemCacheTest.
CMemCache::setValue() and CMemCache::addValue() change: expiration time for Memcache::set() and Memcached::set() now passed as seconds amount. Was UNIX timestamp. This is a documented feature of the memcache PHP extension, but now CMemCacheTest passes without fails.
Print coverage to stdin instead of creating unreachable html-files.
Removed branch whitelist from the .travis.yml.
CMemCacheTest fix.
CMemCacheTest fix.
CMemCacheTest fix.
CMemCacheTest fix.
pecl install prompt.
.travis.yml pecl install options.
Added memcache configuration to the .travis.yml.
Possible fix of CHtml's tests failings.
travis-ci's MySQL CREATE SCHEMA collation and character set specified.
travis-ci testing branch specified.
*very* subtle error
fixed nasty typo
Let mysql connect as `root` within travis-ci
This should enable MySQL-based testcases. Validates with [travis-lint](http://lint.travis-ci.org/), so I assume all is fine.
...
2012-07-05 21:26:31 +02:00
mdomba (mdlap)
7652d63189
set proper header value
2012-07-03 16:51:32 +02:00
mdomba (mdwork)
717b296adc
(Fixes issue #901 ) set proper content encoding on exception
2012-07-03 15:50:14 +02:00
Carsten Brandt
450614319e
better doc text
2012-06-29 19:13:50 +02:00
Carsten Brandt
59ac7782b8
added ILogFilter interface
...
according to discussion in issue #684
2012-06-29 17:28:25 +02:00
mdomba (mdwork)
3e971ed7e7
(Fixes issue #717 ) doc typo
2012-05-16 14:26:52 +02:00
mdomba (mdwork)
c6d1e466e6
Merge branch 'feature/fixHttpExceptions' of https://github.com/pgaultier/yii into pgaultier-feature/fixHttpExceptions
...
Conflicts:
CHANGELOG
2012-05-07 15:37:50 +02:00
mdomba (mdlap)
22a5213ece
Fixes issue #601 added loginRequired() to the IWebUser interface
2012-04-12 23:23:11 +02:00
Elvan
cec5e96a76
Small refactoring on CModel
2012-03-03 16:21:57 +07:00
mdomba
5398fff916
added docs
2012-02-09 10:29:44 +00:00
keyboard.idol@gmail.com
acf6d62e97
(Fixes issue 3101)
2012-01-22 12:29:18 +00:00
mdomba
e61abe052c
(Fixes issue 3112) Fixed exception error display on ajax calls
2012-01-16 10:17:01 +00:00
mdomba
f25a991236
(Fixes issue 3054) CComponent::__isset properly checks for null values
2011-12-29 22:10:57 +00:00
mdomba
a7ef3d5d02
removed 1.0.x reference from documentation
2011-12-28 12:29:24 +00:00
mdomba
ee9d1b79ac
(Fixes issue 3020) Added HTTP_REFERER information to the exception log
2011-12-16 13:18:12 +00:00
alexander.makarow
9cfa9b045c
fixed regression in dealing with zlib.output_compression
2011-12-15 15:34:52 +00:00
alexander.makarow
bf5769d14a
(Fixes issue 2643) Output buffer wasn't properly cleaned on displaying error screen
2011-12-06 21:55:28 +00:00
alexander.makarow
01f284aaee
better phpdoc for behaviors
2011-12-05 18:18:47 +00:00
mdomba
ffa494ca73
added proper message to Yii error screen
2011-11-08 14:50:20 +00:00
alexander.makarow
5a90468c93
More accessors docs, a script to re-generate docs automatically
2011-10-25 00:03:52 +00:00
alexander.makarow
646cbb2b9a
Documented component accessors with @property for significantly better IDE autocomplete
2011-10-25 00:01:09 +00:00
mdomba
65b9912457
removed checking for ajax calls in CErrorHandler::handleException() - was preventing to customize the display of the exception during an ajax call.
2011-08-25 11:20:33 +00:00
alexander.makarow
4acef346e5
(Fixes issue 2631)
2011-08-05 23:20:09 +00:00
alexander.makarow
a65817318b
Documented CModule accessors with @property for better IDE autocomplete
2011-07-27 14:02:57 +00:00
mdomba
855de765f6
better description for unsetAttributes()
2011-07-08 11:27:53 +00:00
alexander.makarow
304c0c2b0f
2011-07-06 08:52:38 +00:00
alexander.makarow
116ba3384f
(Fixes issue 2387) Numeric keys are now displayed in error/exception stacktrace call argument if array isn't 0..X indexed
2011-07-06 00:22:47 +00:00
qiang.xue
4d64bfac97
(Fixes issue 2571)
2011-06-24 14:47:47 +00:00
qiang.xue
c131147408
(Fixes issue 2436)
2011-06-23 15:08:27 +00:00
qiang.xue
0d6ead0368
(Fixes issue 2556)
2011-06-22 15:19:00 +00:00
alexander.makarow
0050917775
reverted 2498 fix
2011-06-15 14:21:12 +00:00
alexander.makarow
20d3489b32
(Fixes issue 2498) When no value is returned from before* event-methods, it now always behaves the same way as when true was returned
2011-06-13 16:02:22 +00:00
alexander.makarow
05e4112842
(Fixes issue 2341) More verbose log message for CModel::onUnsafeAttribute. Added model class
2011-05-12 23:57:08 +00:00
alexander.makarow
e7b6883ebb
PhpDoc corrections
2011-05-05 21:36:32 +00:00
alexander.makarow
f7505c00f9
(Fixes issue 2319) Added support to call behavior scope through criteria 'with'=>array('scopes'=>'behaviorScope')
2011-04-17 10:38:14 +00:00
mdomba
b7aa167bdd
(Fixes issue 2291) doc/typo fix
2011-04-06 08:27:40 +00:00
qiang.xue
087d471362
(Fixes issue 2206)
2011-03-15 02:08:53 +00:00
qiang.xue
26df6b9520
(Fixes issue 1816)
2011-03-13 14:22:55 +00:00
qiang.xue
c9b740f131
Added CEvent::$params
2011-03-13 14:08:31 +00:00