Initial commit

This commit is contained in:
root
2026-01-19 17:44:46 +01:00
commit 823af8b11d
8721 changed files with 1130846 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
"mandatory": {
"scopeLevel": {
"MassEmail": "Campaign",
"CampaignLogRecord": "Campaign",
"CampaignTrackingUrl": "Campaign",
"EmailQueueItem": "Campaign"
}
},
"strictDefault": {
"scopeFieldLevel": {
"Meeting": {
"uid": false
},
"Call": {
"uid": false
}
}
}
}

View File

@@ -0,0 +1,54 @@
{
"mandatory": {
"scopeLevel": {
"MassEmail": "Campaign",
"CampaignLogRecord": "Campaign",
"CampaignTrackingUrl": "Campaign",
"EmailQueueItem": false
},
"scopeFieldLevel": {
"Case": {
"isInternal": false
},
"Meeting": {
"uid": false
},
"Call": {
"uid": false
}
}
},
"strictDefault": {
"scopeFieldLevel": {
"KnowledgeBaseArticle": {
"portals": false,
"order": {
"read": "yes",
"edit": "no"
},
"status": false,
"assignedUser": false
},
"Call": {
"users": {
"read": "yes",
"edit": "no"
},
"leads": false
},
"Meeting": {
"users": {
"read": "yes",
"edit": "no"
},
"leads": false
},
"Case": {
"status": {
"read": "yes",
"edit": "no"
}
}
}
}
}

View File

@@ -0,0 +1,5 @@
{
"additionalAttributeList": [
"color"
]
}

View File

@@ -0,0 +1,16 @@
{
":entityType/activities/:id/:targetEntityType": {
"params": {
"controller": "Activities",
"action": "activities"
},
"order": 1
},
":entityType/history/:id/:targetEntityType": {
"params": {
"controller": "Activities",
"action": "history"
},
"order": 1
}
}

View File

@@ -0,0 +1,15 @@
{
"entityLinkMapping": {
"Contact": {
"Account": "account"
},
"Opportunity": {
"Account": "account",
"Contact": "contact"
},
"Case": {
"Account": "account",
"Contact": "contact"
}
}
}

View File

@@ -0,0 +1,348 @@
{
"Account": {
"updateDuplicateCheck": {
"location": "recordDefs",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"duplicateCheckFieldList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"tooltip": true,
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
}
},
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Contact": {
"updateDuplicateCheck": {
"location": "recordDefs",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"duplicateCheckFieldList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"tooltip": true,
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
}
},
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Lead": {
"updateDuplicateCheck": {
"location": "recordDefs",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"duplicateCheckFieldList": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true,
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
}
},
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Opportunity": {
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Document": {
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Case": {
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"KnowledgeBaseArticle": {
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"Meeting": {
"activityStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"historyStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"completedStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"canceledStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
}
},
"Call": {
"activityStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"historyStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"completedStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"canceledStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
}
},
"Task": {
"completedStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"canceledStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"TargetList": {
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
}
},
"@Event": {
"activityStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"historyStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"completedStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"canceledStatusList": {
"location": "scopes",
"fieldDefs": {
"type": "multiEnum",
"required": true,
"tooltip": true,
"view": "crm:views/admin/entity-manager/fields/status-list"
}
},
"collaborators": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"assignedUsers": {
"location": "scopes",
"fieldDefs": {
"type": "bool",
"tooltip": true
}
},
"aclContactLink": {
"location": "aclDefs",
"param": "contactLink",
"fieldDefs": {
"type": "enum",
"tooltip": true,
"view": "views/admin/entity-manager/fields/acl-contact-link"
}
},
"aclAccountLink": {
"location": "aclDefs",
"param": "accountLink",
"fieldDefs": {
"type": "enum",
"tooltip": true,
"view": "views/admin/entity-manager/fields/acl-account-link"
}
}
}
}

View File

@@ -0,0 +1,19 @@
{
"functionClassNameMap": {
"ext\\account\\findByEmailAddress": "Espo\\Modules\\Crm\\Classes\\FormulaFunctions\\ExtGroup\\AccountGroup\\FindByEmailAddressType",
"ext\\calendar\\userIsBusy": "Espo\\Modules\\Crm\\Classes\\FormulaFunctions\\ExtGroup\\CalendarGroup\\UserIsBusyType"
},
"functionList": [
"__APPEND__",
{
"name": "ext\\account\\findByEmailAddress",
"insertText": "ext\\account\\findByEmailAddress(EMAIL_ADDRESS)",
"returnType": "string"
},
{
"name": "ext\\calendar\\userIsBusy",
"insertText": "ext\\calendar\\userIsBusy(USER_ID, FROM, TO)",
"returnType": "bool"
}
]
}

View File

@@ -0,0 +1,34 @@
{
"fullcalendar": {
"path": "client/modules/crm/lib/fullcalendar.js",
"devPath": "client/modules/crm/lib/original/fullcalendar.js",
"exportsTo": "window",
"exportsAs": "FullCalendar",
"sourceMap": true
},
"@fullcalendar/moment": {
"path": "client/modules/crm/lib/fullcalendar-moment.js",
"devPath": "client/modules/crm/lib/original/fullcalendar-moment.js",
"exportsTo": "FullCalendar",
"exportsAs": "Moment",
"sourceMap": true
},
"@fullcalendar/moment-timezone": {
"path": "client/modules/crm/lib/fullcalendar-moment-timezone.js",
"devPath": "client/modules/crm/lib/original/fullcalendar-moment-timezone.js",
"exportsTo": "FullCalendar",
"exportsAs": "MomentTimezone",
"sourceMap": true
},
"vis-timeline": {
"path": "client/modules/crm/lib/vis-timeline.js",
"devPath": "client/modules/crm/lib/original/vis-timeline.js",
"sourceMap": true
},
"vis-data": {
"path": "client/modules/crm/lib/vis-data.js",
"devPath": "client/modules/crm/lib/original/vis-data.js",
"aliases": ["vis-data/peer/umd/vis-data.js"],
"sourceMap": true
}
}

View File

@@ -0,0 +1,7 @@
{
"aclDependencies": {
"Meeting": {
"anyScopeList": ["Call"]
}
}
}

View File

@@ -0,0 +1,7 @@
{
"aclDependencies": {},
"frontendHiddenPathList": [
"__APPEND__",
["app", "calendar", "additionalAttributeList"]
]
}

View File

@@ -0,0 +1,9 @@
{
"event": {
"grouped": true,
"providerClassName": "Espo\\Modules\\Crm\\Tools\\Activities\\PopupNotificationsProvider",
"useWebSocket": true,
"portalDisabled": true,
"view": "crm:views/meeting/popup-notification"
}
}

View File

@@ -0,0 +1,14 @@
{
"invitation": {
"scopeList": ["Meeting", "Call"],
"module": "Crm"
},
"cancellation": {
"scopeList": ["Meeting", "Call"],
"module": "Crm"
},
"reminder": {
"scopeList": ["Meeting", "Call", "Task"],
"module": "Crm"
}
}

View File

@@ -0,0 +1,8 @@
{
"categories": {
"popupNotifications.event": {},
"calendarUpdate": {
"accessCheckCommand": "AclCheck --userId=:userId --scope=Calendar"
}
}
}