Files
crm.clientright.ru/layouts/vlayout/modules/Calendar/CalendarSharedUsers.tpl
Fedor ac7467f0b4 Major CRM updates: AI Assistant, Court Status API, S3 integration improvements, and extensive file storage system
- 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.
2025-10-16 11:17:21 +03:00

102 lines
5.2 KiB
Smarty

{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
{strip}
<div name='calendarViewTypes'>
{assign var=SHARED_USER_INFO value= Zend_Json::encode($SHAREDUSERS_INFO)}
{assign var=CURRENT_USER_ID value= $CURRENTUSER_MODEL->getId()}
<div id="calendarview-feeds" style="margin-left:10px;">
<!--Adding or Editing Users Modal in Shared Calendar-->
<div class="modal addViewsToCalendar hide">
<div class="modal-header contentsBackground">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>{vtranslate('LBL_ADD_CALENDAR_VIEW', $MODULE)}</h3>
</div>
<div class="modal-body">
<form class="form-horizontal">
<input type="hidden" class="selectedUser" value="" />
<input type="hidden" class="selectedUserColor" value="" />
<input type="hidden" class="userCalendarMode" value="" />
<div class="control-group addCalendarViewsList">
<label class="control-label">{vtranslate('LBL_SELECT_USER_CALENDAR', $MODULE)}</label>
<div class="controls">
<select class="select2" name="usersCalendarList" style="min-width: 250px;">
{foreach key=USER_ID item=USER_NAME from=$SHAREDUSERS}
{if $SHAREDUSERS_INFO[$USER_ID]['visible'] == '0'}
<option value="{$USER_ID}">{$USER_NAME}</option>
{/if}
{/foreach}
</select>
</div>
</div>
<div class="control-group editCalendarViewsList">
<label class="control-label">{vtranslate('LBL_EDITING_CALENDAR_VIEW', $MODULE)}</label>
<div class="controls">
<select class="select2" name="editingUsersList" style="min-width: 250px;">
<option value="{$CURRENT_USER_ID}" data-user-color="{$SHAREDUSERS_INFO[$CURRENT_USER_ID]['color']}">{vtranslate('LBL_MINE',$MODULE)}</option>
{foreach key=USER_ID item=USER_NAME from=$SHAREDUSERS}
{if $SHAREDUSERS_INFO[$USER_ID]['visible'] != '0'}
<option value="{$USER_ID}">{$USER_NAME}</option>
{/if}
{/foreach}
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">{vtranslate('LBL_SELECT_CALENDAR_COLOR', $MODULE)}</label>
<div class="controls">
<p class="calendarColorPicker"></p>
</div>
</div>
</form>
</div>
{include file='ModalFooter.tpl'|@vtemplate_path:$MODULE}
</div>
<!--Adding or Editing Users Modal in Shared Calendar-->
<div class="labelModal hide">
<label class="checkbox addedCalendars" style="text-shadow: none">
<input type="checkbox" />
&nbsp;<span class="label" style="text-shadow: none"></span>
&nbsp;<i class="icon-pencil editCalendarColor cursorPointer actionImage" title="{vtranslate('LBL_EDIT_COLOR',$MODULE)}"></i>
&nbsp;<i class="icon-trash cursorPointer actionImage deleteCalendarView" title="{vtranslate('LBL_DELETE_CALENDAR',$MODULE)}"></i>
</label>
</div>
<input type="hidden" class="sharedUsersInfo" value= {Zend_Json::encode($SHAREDUSERS_INFO)} />
<label class="checkbox addedCalendars" style="text-shadow: none">
<input type="checkbox" data-calendar-sourcekey="Events33_{$CURRENT_USER_ID}" data-calendar-feed="Events"
data-calendar-userid="{$CURRENT_USER_ID}" data-calendar-feed-color="{$SHAREDUSERS_INFO[$CURRENT_USER_ID]['color']}" >
&nbsp;<span class="label" style="text-shadow: none; background-color: {$SHAREDUSERS_INFO[$CURRENT_USER_ID]['color']};">{vtranslate('LBL_MINE',$MODULE)}</span>
&nbsp;<i class="icon-pencil editCalendarColor cursorPointer actionImage" title="{vtranslate('LBL_EDIT_COLOR',$MODULE)}"></i>
</label>
{assign var=INVISIBLE_CALENDAR_VIEWS_EXISTS value='false'}
{foreach key=ID item=USER from=$SHAREDUSERS}
{if $SHAREDUSERS_INFO[$ID]['visible'] != '0'}
<label class="checkbox addedCalendars">
<input type="checkbox" data-calendar-sourcekey="Events33_{$ID}" data-calendar-feed="Events" data-calendar-userid="{$ID}" data-calendar-feed-color="{$SHAREDUSERS_INFO[$ID]['color']}">
&nbsp;<span class="label" style="text-shadow: none; background-color: {$SHAREDUSERS_INFO[$ID]['color']};">{$USER}</span>
&nbsp;<i class="icon-pencil editCalendarColor cursorPointer actionImage" title="{vtranslate('LBL_EDIT_COLOR',$MODULE)}"></i>
&nbsp;<i class="icon-trash cursorPointer actionImage deleteCalendarView" title="{vtranslate('LBL_DELETE_CALENDAR',$MODULE)}"></i>
</label>
{else}
{assign var=INVISIBLE_CALENDAR_VIEWS_EXISTS value='true'}
{/if}
{/foreach}
<input type="hidden" class="invisibleCalendarViews" value="{$INVISIBLE_CALENDAR_VIEWS_EXISTS}" />
</div>
</div>
{/strip}
<script type="text/javascript">
jQuery(document).ready(function() {
SharedCalendar_SharedCalendarView_Js.initiateCalendarFeeds();
});
</script>