- Added comprehensive AI Assistant system (aiassist/ directory): * Vector search and embedding capabilities * Typebot proxy integration * Elastic search functionality * Message classification and chat history * MCP proxy for external integrations - Implemented Court Status API (GetCourtStatus.php): * Real-time court document status checking * Integration with external court systems * Comprehensive error handling and logging - Enhanced S3 integration: * Improved file backup system with metadata * Batch processing capabilities * Enhanced error logging and recovery * Copy operations with URL fixing - Added Telegram contact creation API - Improved error logging across all modules - Enhanced callback system for AI responses - Extensive backup file storage with timestamps - Updated documentation and README files - File storage improvements: * Thousands of backup files with proper metadata * Fix operations for broken file references * Project-specific backup and recovery systems * Comprehensive file integrity checking Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
42 lines
1.7 KiB
PHP
42 lines
1.7 KiB
PHP
<?php
|
|
|
|
class EMAILMaker_Index_View extends Vtiger_Index_View
|
|
{
|
|
public function preProcess(Vtiger_Request $request, $display = true)
|
|
{
|
|
Vtiger_Basic_View::preProcess($request, false);
|
|
|
|
$EMAILMakerModel = new EMAILMaker_EMAILMaker_Model();
|
|
$moduleName = $request->getModule();
|
|
$linkParams = array('MODULE' => $moduleName, 'ACTION' => $request->get('view'));
|
|
$linkModels = $EMAILMakerModel->getSideBarLinks($linkParams);
|
|
|
|
$viewer = $this->getViewer($request);
|
|
$viewer->assign('QUALIFIED_MODULE', $moduleName);
|
|
$viewer->assign('QUICK_LINKS', $linkModels);
|
|
$viewer->assign('CURRENT_USER_MODEL', Users_Record_Model::getCurrentUserModel());
|
|
$viewer->assign('CURRENT_VIEW', $request->get('view'));
|
|
|
|
|
|
$settingsLinks = array();
|
|
$basicLinks = array();
|
|
$moduleModel = Vtiger_Module_Model::getInstance($moduleName);
|
|
|
|
foreach ($moduleModel->getSettingLinks() as $settingsLink) {
|
|
$settingsLink['linklabel'] = sprintf(vtranslate($settingsLink['linklabel'], $moduleName), vtranslate($moduleName, $moduleName));
|
|
$settingsLinks[] = Vtiger_Link_Model::getInstanceFromValues($settingsLink);
|
|
}
|
|
|
|
foreach ($moduleModel->getModuleBasicLinks() as $basicLink) {
|
|
$basicLink['linklabel'] = sprintf(vtranslate($basicLink['linklabel'], $moduleName), vtranslate($moduleName, $moduleName));
|
|
$basicLinks[] = Vtiger_Link_Model::getInstanceFromValues($basicLink);
|
|
}
|
|
|
|
$viewer->assign('MODULE_BASIC_ACTIONS', $basicLinks);
|
|
$viewer->assign('MODULE_SETTING_ACTIONS', $settingsLinks);
|
|
|
|
if ($display) {
|
|
$this->preProcessDisplay($request);
|
|
}
|
|
}
|
|
} |