/mnt/data/shnoulle/nginx/www/master/application/core/LSSodium.php(112)
100 /** 101 * 102 * Decrypt encrypted string. 103 * @param string $sEncryptedString Encrypted string to decrypt 104 * @param bool $bReturnFalseIfError false by default. If TRUE, return false in case of error (bad decryption). Else, return given $encryptedInput value 105 * @return string Return decrypted value (string or unsezialized object) if suceeded. Return FALSE if an error occurs (bad password/salt given) or inpyt encryptedString 106 */ 107 public function decrypt($sEncryptedString, $bReturnFalseIfError=false){ 108 if ($this->bLibraryExists === true){ 109 if (!empty($sEncryptedString) && $sEncryptedString != 'null'){ 110 $plaintext = ParagonIE_Sodium_Compat::crypto_sign_open(base64_decode($sEncryptedString), $this->sEncryptionPublicKey); 111 if ($plaintext === false){ 112 throw new SodiumException(sprintf(gT("Wrong decryption key! Decryption key has changed since this data were last saved, so data can't be decrypted. Please consult our manual at %s.", 'unescaped'), 'https://manual.limesurvey.org/Data_encryption#Errors')); 113 } else { 114 return $plaintext; 115 } 116 } 117 } else { 118 return $sEncryptedString; 119 } 120 121 } 122 123 /** 124 *
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/LSActiveRecord.php(425): LSSodium->decrypt() 420 } 421 } 422 } else { 423 $attributes = $this->encryptAttributeValues($this->attributes, true, false); 424 foreach ($attributes as $key => $attribute) { 425 $this->$key = $sodium->$action($attribute); 426 } 427 } 428 } 429 /** 430 * Function to show encryption symbol in gridview attribute header if value ois encrypted |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/models/LSActiveRecord.php(335): LSActiveRecord->decryptEncryptAttributes() 330 $sodium = Yii::app()->sodium; 331 332 return $sodium->decrypt($value); 333 } else { 334 // decrypt attributes 335 $this->decryptEncryptAttributes('decrypt'); 336 337 return $this; 338 } 339 } 340 |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/LSCActiveDataProvider.php(59): LSActiveRecord->decrypt() 54 55 // decryption 56 if ($this->model->bEncryption){ 57 foreach ($data as $row){ 58 if (!empty($row)){ 59 $row->decrypt(); 60 } 61 62 // decrypt all related models 63 foreach ($row->relations() as $key => $related){ 64 if ($row->hasRelated($key) && !is_null($row->$key)){ |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CDataProvider.php(168): LSCActiveDataProvider->fetchData() 163 * @return array the list of data items currently available in this data provider. 164 */ 165 public function getData($refresh=false) 166 { 167 if($this->_data===null || $refresh) 168 $this->_data=$this->fetchData(); 169 return $this->_data; 170 } 171 172 /** 173 * Sets the data items for this provider. |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/CBaseListView.php(125): CDataProvider->getData() 120 public function init() 121 { 122 if($this->dataProvider===null) 123 throw new CException(Yii::t('zii','The "dataProvider" property cannot be empty.')); 124 125 $this->dataProvider->getData(); 126 127 if(isset($this->htmlOptions['id'])) 128 $this->id=$this->htmlOptions['id']; 129 else 130 $this->htmlOptions['id']=$this->id; |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridView.php(339): CBaseListView->init() 334 * Initializes the grid view. 335 * This method will initialize required property values and instantiate {@link columns} objects. 336 */ 337 public function init() 338 { 339 parent::init(); 340 341 if(empty($this->updateSelector)) 342 throw new CException(Yii::t('zii','The property updateSelector should be defined.')); 343 if(empty($this->filterSelector)) 344 throw new CException(Yii::t('zii','The property filterSelector should be defined.')); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/extensions/bootstrap/widgets/TbGridView.php(44): CGridView->init() 39 /** 40 * Initializes the widget. 41 */ 42 public function init() 43 { 44 parent::init(); 45 $classes = array('table'); 46 if (isset($this->type) && !empty($this->type)) { 47 if (is_string($this->type)) { 48 $this->type = explode(' ', $this->type); 49 } |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(147): TbGridView->init() 142 * @return CWidget the fully initialized widget instance. 143 */ 144 public function createWidget($className,$properties=array()) 145 { 146 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 147 $widget->init(); 148 return $widget; 149 } 150 151 /** 152 * Creates a widget and executes it. |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(181): CBaseController->createWidget() 176 } 177 return ob_get_clean(); 178 } 179 else 180 { 181 $widget=$this->createWidget($className,$properties); 182 $widget->run(); 183 return $widget; 184 } 185 } 186 |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/views/admin/token/browse.php(48): CBaseController->widget() 43 array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto'))), 44 'itemsCssClass' =>'table-striped', 45 'columns' => $model->attributesForGrid, 46 'ajaxUpdate' => 'token-grid', 47 'ajaxType'=>'POST', 48 'afterAjaxUpdate' => 'onUpdateTokenGrid' 49 )); 50 ?> 51 </div> 52 </div> 53 |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require() 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal() 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile() 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(240): CController->renderPartial() 235 } 236 237 } 238 } 239 240 return parent::renderPartial($view,$data,$return,$processOutput); 241 } 242 243 /** 244 * Routes all the actions to their respective places 245 * |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(274): AdminController->renderPartial() 269 $content = ""; 270 271 foreach ($aViewUrls as $sViewKey => $viewUrl) { 272 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { 273 if (is_numeric($sViewKey)) { 274 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); 275 } elseif (is_array($viewUrl)) { 276 foreach ($viewUrl as $aSubData) { 277 $aSubData = array_merge($aData, $aSubData); 278 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); 279 } |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(357): Survey_Common_Action->renderCentralContents() 352 353 354 } else { 355 $renderFile = $basePath.'/'.$sRenderFile; 356 } 357 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 358 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 359 360 App()->getClientScript()->render($out); 361 echo $out; 362 } |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/tokens.php(2605): Survey_Common_Action->_renderWrappedTemplate() 2600 { 2601 $aData['imageurl'] = App()->getConfig('adminimageurl'); 2602 $aData['display']['menu_bars'] = false; 2603 $aData['subaction'] = gT('Survey participants'); 2604 $aData['topBar']['type'] = 'tokens'; 2605 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 2606 } 2607 2608 /** 2609 * @return string SQL condition 2610 */ |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/admin/tokens.php(375): tokens->_renderWrappedTemplate() 370 Yii::app()->user->setState('pageSizeTokenView', (int) $_POST['pageSizeTokenView']); 371 } 372 373 $aData['massiveAction'] = App()->getController()->renderPartial('/admin/token/massive_actions/_selector', $aData, true, false); 374 375 $this->_renderWrappedTemplate('token', array('browse'), $aData); 376 } 377 378 /** 379 * The fields with a value "lskeep" will not be updated 380 */ |
#18 |
unknown(0): tokens->browse()
|
#19 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs() 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#20 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal() 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#21 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): Survey_Common_Action->runWithParams() 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#22 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction() 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#23 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters() 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#24 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(180): CController->run() 175 } 176 177 $this->runModuleController($action); 178 179 180 return parent::run($action); 181 } 182 183 /** 184 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 185 * |
#25 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): AdminController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#26 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController() 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#27 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#28 |
+
–
/mnt/data/shnoulle/nginx/www/master/index.php(182): CApplication->run() 177 require_once APPPATH . 'core/LSYii_Application' . EXT; 178 179 $config = require_once(APPPATH . 'config/internal' . EXT); 180 181 Yii::$enableIncludePath = false; 182 Yii::createApplication('LSYii_Application', $config)->run(); 183 184 /* End of file index.php */ 185 /* Location: ./index.php */ |