snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
202
application/Espo/Resources/metadata/entityDefs/EmailAccount.json
Normal file
202
application/Espo/Resources/metadata/entityDefs/EmailAccount.json
Normal file
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"maxLength": 100,
|
||||
"tooltip": true,
|
||||
"view": "views/email-account/fields/email-address"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": ["Active", "Inactive"],
|
||||
"style": {
|
||||
"Inactive": "info"
|
||||
},
|
||||
"default": "Active"
|
||||
},
|
||||
"host": {
|
||||
"type": "varchar",
|
||||
"massUpdateDisabled": true
|
||||
},
|
||||
"port": {
|
||||
"type": "int",
|
||||
"min": 0,
|
||||
"max": 65535,
|
||||
"default": 993,
|
||||
"disableFormatting": true,
|
||||
"massUpdateDisabled": true
|
||||
},
|
||||
"security": {
|
||||
"type": "enum",
|
||||
"default": "SSL",
|
||||
"options": ["", "SSL", "TLS"]
|
||||
},
|
||||
"username": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"password": {
|
||||
"type": "password"
|
||||
},
|
||||
"monitoredFolders": {
|
||||
"type": "array",
|
||||
"default": ["INBOX"],
|
||||
"view": "views/email-account/fields/folders",
|
||||
"displayAsList": true,
|
||||
"noEmptyString": true,
|
||||
"duplicateIgnore": true,
|
||||
"tooltip": true,
|
||||
"fullNameAdditionalAttributeList": ["folderMap"]
|
||||
},
|
||||
"sentFolder": {
|
||||
"type": "varchar",
|
||||
"view": "views/email-account/fields/folder",
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"folderMap": {
|
||||
"type": "jsonObject",
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Classes\\FieldValidators\\EmailAccount\\FolderMap\\Valid"
|
||||
]
|
||||
},
|
||||
"storeSentEmails": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
"keepFetchedEmailsUnread": {
|
||||
"type": "bool"
|
||||
},
|
||||
"fetchValidityNumber": {
|
||||
"type": "int",
|
||||
"readOnly": true,
|
||||
"default": 0
|
||||
},
|
||||
"fetchSince": {
|
||||
"type": "date",
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Classes\\FieldValidators\\InboundEmail\\FetchSince\\Required"
|
||||
],
|
||||
"forceValidation": true
|
||||
},
|
||||
"fetchData": {
|
||||
"type": "jsonObject",
|
||||
"readOnly": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"emailFolder": {
|
||||
"type": "link",
|
||||
"view": "views/email-account/fields/email-folder",
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"connectedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"useImap": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"useSmtp": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
"smtpHost": {
|
||||
"type": "varchar",
|
||||
"massUpdateDisabled": true
|
||||
},
|
||||
"smtpPort": {
|
||||
"type": "int",
|
||||
"min": 0,
|
||||
"max": 65535,
|
||||
"default": 587,
|
||||
"disableFormatting": true,
|
||||
"massUpdateDisabled": true
|
||||
},
|
||||
"smtpAuth": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"smtpSecurity": {
|
||||
"type": "enum",
|
||||
"default": "TLS",
|
||||
"options": ["", "SSL", "TLS"]
|
||||
},
|
||||
"smtpUsername": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"smtpPassword": {
|
||||
"type": "password"
|
||||
},
|
||||
"smtpAuthMechanism": {
|
||||
"type": "enum",
|
||||
"options": ["login", "crammd5", "plain"],
|
||||
"default": "login"
|
||||
},
|
||||
"imapHandler": {
|
||||
"type": "varchar",
|
||||
"readOnly": true
|
||||
},
|
||||
"smtpHandler": {
|
||||
"type": "varchar",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"filters": {
|
||||
"type": "hasChildren",
|
||||
"foreign": "parent",
|
||||
"entity": "EmailFilter"
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasMany",
|
||||
"entity": "Email",
|
||||
"foreign": "emailAccounts"
|
||||
},
|
||||
"emailFolder": {
|
||||
"type": "belongsTo",
|
||||
"entity": "EmailFolder"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "name",
|
||||
"order": "asc"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user