2 Yii::setPathOfAlias(
'site',
'..');
5 'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..',
7 'name' =>
'Gentics Portal.Node',
10 'sourceLanguage' =>
'en_us',
13 'common' =>
'site.common',
16 'preload' => array(
'log',
'session',
'notificator',
'language',
'personalisation'),
29 'common.components.*',
30 'common.components.notification.*',
31 'common.extensions.*',
32 'common.components.content.*',
33 'common.modules.contentSource.components.*',
34 'common.modules.comments.*',
35 'common.modules.comments.models.*',
36 'common.modules.user.*',
37 'common.modules.user.models.*',
38 'common.modules.user.helpers.*',
39 'common.modules.user.components.*',
40 'common.modules.user.services.*',
41 'common.modules.user.widgets.*',
42 'common.modules.rights.*',
43 'common.modules.rights.models.*',
44 'common.modules.rights.components.*',
45 'common.extensions.eauth.*',
46 'common.extensions.eauth.services.*',
47 'common.modules.language.*',
48 'common.extensions.ExtendedClientScript.*',
49 'common.modules.vote.*',
50 'common.modules.vote.controllers.*',
51 'common.modules.vote.models.*',
52 'application.components.*',
53 'application.controllers.*',
54 'zii.widgets.jui.CJuiWidget',
57 'site.frontend.extensions.*'
64 'class' =>
'system.gii.GiiModule',
67 'ipFilters' => array(
'127.0.0.1',
'::1'),
71 'class' =>
'common.modules.comments.CommentsModule',
73 'hashSalt' =>
'h1ads29ds1a91hgj29jl451',
79 'class' =>
'common.modules.like.LikeModule',
89 'class' =>
'common.modules.remember.RememberModule',
90 'facebookApplicationId' =>
'441157159266533',
91 'signSalt' =>
'sign-salt',
92 'shareByMailEmail' =>
'portal.remember@gentics.com',
93 'shareByMailSubject' =>
'Remember subject',
94 'allowedURL' =>
'.gentics.com',
95 'pdfname' =>
'Remembered_Pages.pdf',
96 'tmpFolder' =>
'/tmp/'
99 'class' =>
'common.modules.history.HistoryModule',
104 'contentSource' => array(
106 'class' =>
'common.modules.contentSource.ContentSourceModule',
111 'sourceClass' =>
'FileSystemContentSource',
113 'sourceSettings' => array(
115 'DynamicContentSource' => array(
117 'cacheFolder' =>
'/opt/jenkins/.jenkins/jobs/portalnode-php-dev/workspace/target/checkout/build/..//tests/runtime/contentSource',
119 'usePersonalisation' =>
true,
122 'personalisationFields' => array(
'permissions')
125 'FileSystemContentSource' => array(
127 'contentFolder' =>
'/opt/jenkins/.jenkins/jobs/portalnode-php-dev/workspace/target/checkout/build/..//tests/runtime/contentSource',
129 'usePersonalisation' =>
true,
132 'personalisationFields' => array(
'permissions')
135 'homePage' =>
'Content.Node/index.html',
143 'class' =>
'common.modules.user.UserModule',
147 'sendActivationMail' =>
true,
149 'activationMailSubject' =>
"You registered from {site_name}",
151 'activationEmail' =>
'gportal.activation@example.com',
153 'loginNotActiv' =>
false,
158 'registrationUrl' => array(
159 'en' =>
'/Content.Node/service/Registration.en.html'
162 'recoveryUrl' => array(
163 'en' =>
'/Content.Node/service/Password-Recovery.en.html',
164 'de' =>
'/Content.Node/service/Password-Recovery.de.html'
168 'en' =>
'/Content.Node/service/Login.en.html',
169 'de' =>
'/Content.Node/service/Login.de.html',
170 'ru' =>
'/widgetsTests/userLogin?language=ru'
173 'returnUrl' => array(
174 'en' =>
'/Content.Node/service/Login.en.html',
175 'de' =>
'/Content.Node/service/Login.de.html',
178 'returnLogoutUrl' => array(
179 'en' =>
'/Content.Node/service/Login.en.html',
180 'de' =>
'/Content.Node/service/Login.de.html',
183 'noPermissionsUrl' => array(
184 'en' =>
'/site/noPermissions'
186 'homePageUrl' => array(
187 'en' =>
'/Content.Node/index.html'
191 'loggedInDuration' => 60 * 60 * 24 * 30,
193 'authField' =>
'username',
195 'usernameRequired' =>
true,
197 'usernameUnique' =>
true,
199 'relations' => array(
200 array(CActiveRecord::HAS_MANY,
'UserPersonalisationAttribute',
'user_id')
206 'class' =>
'common.modules.rights.RightsModule',
208 'userNameColumn' =>
'email'
212 'class' =>
'common.modules.language.LanguageModule',
214 'languages' => array(
224 'class' =>
'common.modules.updates.UpdatesModule',
225 'currentVersion' => 0.1
230 'class' =>
'common.modules.bulk.BulkModule',
233 'navigation' => array(
235 'class' =>
'common.modules.navigation.NavigationModule',
242 'class' =>
'common.modules.search.SearchModule',
246 'defaultLandingPage' =>
'Content.Node/service/search/search1.html',
248 'landingPages' => array(),
250 'personalisationDelimiter' =>
' ',
257 'showOnAdvancedSearchForm' =>
true,
268 'whereToSearch' => array(
270 'showOnAdvancedSearchForm' =>
true,
277 'default' =>
'content'
279 'searchType' => array(
280 'showOnAdvancedSearchForm' =>
true,
297 'staticString' =>
'',
299 'shoppingcart' => array(
300 'class' =>
'common.modules.shoppingcart.ShoppingCartModule',
301 'usermail_template' =>
'usermail_template',
302 'adminemail_template' =>
'adminemail_template',
303 'cookie_domain' =>
'.gentics.com',
304 'thankyoupage' => array(
305 'de'=>
'/Content.Node/service/Shopping_Cart_Thank_You.de.html',
306 'en'=>
'/Content.Node/service/Shopping_Cart_Thank_You.en.html',
308 'max_lifetime' => 50,
309 'shipping_costs' => 100,
310 'currency' =>
'€',
311 'notificationsEmail' =>
'portal.shoppingcart@gentics.com',
312 'captchaEnabled' =>
false
315 'personalisation' => array(
316 'class' =>
'common.modules.personalisation.PersonalisationModule',
317 'rule' =>
'personalisation.components.BasicPersonalisationRule',
322 'class' =>
'common.modules.settings.SettingsModule',
326 'class' =>
'common.modules.friends.FriendsModule',
327 'notificationsEmail' =>
'gportal.friends@gentics.com'
330 'class' =>
'common.modules.tagcloud.tagcloudModule',
332 'defaultOverviewPage' =>
'/Content.Node/testing/Overview.en.html',
333 'overviewPages' => array(
334 'en' =>
'/Content.Node/testing/Overview.en.html',
335 'de' =>
'/Content.Node/testing/Overview.de.html',
337 'tagsSeparator' =>
', ',
338 'tagstyles' => array(
348 'components' => array(
350 'repositoryApi' => array(
351 'class' =>
'common.components.RepositoryApi',
352 'url' =>
'http://gportal-dev.gentics.com:8080',
354 'navigation' =>
'/ccr/nav',
355 'binaryContent' =>
'/ccr/content',
356 'contentRepositorySearch' =>
'/ccr/ccr',
358 'search' =>
'/ccr/search',
360 'activePath' =>
'/ccr/ap',
362 'autosuggest' =>
'/ccr/autocomplete',
364 'additionalRequestParameters' => array(
369 'class' =>
'PhpMessageSource',
371 'customI18n' =>
true,
376 'class' =>
'rights.components.RWebUser',
378 'allowAutoLogin' =>
true,
383 'authManager' => array(
385 'class' =>
'RDbAuthManager',
390 'defaultRoles' => array(
'Guest',
'Authenticated')
393 'urlManager' => array(
395 'urlFormat' =>
'path',
397 'showScriptName' =>
false,
400 'user/assignment/<action:\w+>' =>
'user/rightsAssignment/<action>',
401 '<path:Content\.Node\/.+\.(php|html)>' =>
'contentSource/renderer/dynamic',
402 '<path:Content\.Node\/.+>' =>
'contentSource/renderer/static',
404 '<controller:\w+>/<id:\d+>' =>
'<controller>/view',
405 '<controller:\w+>/<action:\w+>/<id:\d+>' =>
'<controller>/<action>',
406 '<controller:\w+>/<action:\w+>' =>
'<controller>/<action>',
407 '<module:\w+>/<controller:\w+>/<action:\w+>' =>
'<module>/<controller>/<action>',
408 '<controller:\w+>' =>
'<controller>/index',
413 'assetManager' => array(
414 'class' =>
'common.components.AssetsManager',
415 'basePath' =>
'tests/assets'
419 'clientScript' => array(
420 'class' =>
'common.extensions.ExtendedClientScript.ExtendedClientScript',
423 'disableRegisterFiles' =>
true,
426 'combineCss' =>
true,
428 'compressCombinedCss' =>
true,
432 'compressCombinedJs' =>
true,
434 'jsMinPath' =>
'common.extensions.ExtendedClientScript.jsmin.*',
436 'cssMinPath' =>
'common.extensions.ExtendedClientScript.cssmin.*'
441 'class' =>
'DbConnectionMan',
443 'connectionString' =>
'mysql:host=qa-db-mysql.office;port=35521;dbname=gportal_unittests',
446 'emulatePrepare' =>
true,
448 'tablePrefix' =>
'gportal_',
450 'username' =>
'gportalunit',
453 'password' =>
'testix99',
457 'autoConnect' =>
false,
460 'enableProfiling' =>
true,
462 'enableParamLogging' =>
true,
464 'schemaCachingDuration' => 0,
466 'enableSlave' =>
false,
482 'class' =>
'system.caching.CMemCache',
489 'class' =>
'system.web.CCacheHttpSession',
513 'class' =>
'CLogRouter',
517 'class' =>
'CFileLogRoute',
518 'levels' =>
'error, warning',
519 'logPath' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'custom/runtime',
525 'notificationManager' => array(
527 'class' =>
'common.components.notification.NotificationManager',
531 'notificators' => array(
534 'class' =>
'common.components.notification.MailNotificator',
536 'phpMailer' => array(
537 'CharSet' =>
'UTF-8',
542 'class' =>
'common.components.notification.FileLogNotificator',
549 'class' =>
'common.extensions.eauth.EAuth',
553 'services' => array()
558 'class' =>
'common.extensions.lightopenid.loid',
561 'errorHandler' => array(
562 'class' =>
'ErrorHandler',
563 'errorAction' =>
'site/error',
564 'errorPages' => array(
565 400 =>
'/site/error400',
566 404 =>
'/site/error404'
570 'class' =>
'system.test.CDbFixtureManager',
571 'basePath' => dirname(__FILE__) .
'/../fixtures/'
577 'customViews' =>
true,
578 'emailForAllMails' => array(
'iaia@meta.ua'),
580 'host' =>
'mail.gentics.com',
582 'dc' => array(
'gentics',
'com')
584 'captcha' =>
'polomo'