fix: Update fileStatus to 'synced' in CDokumente hooks and translations; adjust microtime and cacheTimestamp in config and state files
This commit is contained in:
@@ -53,7 +53,7 @@ class CDokumente extends \Espo\Core\Hooks\Base
|
|||||||
if ($oldMd5 !== $newMd5 || $oldSha256 !== $newSha256) {
|
if ($oldMd5 !== $newMd5 || $oldSha256 !== $newSha256) {
|
||||||
$entity->set('fileStatus', 'changed');
|
$entity->set('fileStatus', 'changed');
|
||||||
} else {
|
} else {
|
||||||
$entity->set('fileStatus', 'unchanged');
|
$entity->set('fileStatus', 'synced');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"xaiId": "Eindeutige ID für x.AI Synchronisation",
|
"xaiId": "Eindeutige ID für x.AI Synchronisation",
|
||||||
"xaiCollections": "Liste der x.AI Collections für dieses Dokument",
|
"xaiCollections": "Liste der x.AI Collections für dieses Dokument",
|
||||||
"xaiSyncStatus": "Status der x.AI Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert",
|
"xaiSyncStatus": "Status der x.AI Synchronisation: pending_sync = Warte auf Sync, clean = erfolgreich synchronisiert, unclean = Änderungen ausstehend, failed = Fehler, no_sync = Nicht synchronisiert",
|
||||||
"fileStatus": "Status der Datei: new = neu hochgeladen, changed = geändert, unchanged = unverändert"
|
"fileStatus": "Status der Datei: new = neu hochgeladen, changed = geändert, synced = synchronisiert"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"syncStatus": {
|
"syncStatus": {
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"fileStatus": {
|
"fileStatus": {
|
||||||
"new": "Neu",
|
"new": "Neu",
|
||||||
"changed": "Geändert",
|
"changed": "Geändert",
|
||||||
"unchanged": "Unverändert"
|
"synced": "Synchronisiert"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
"xaiId": "Unique ID for x.AI synchronization",
|
"xaiId": "Unique ID for x.AI synchronization",
|
||||||
"xaiCollections": "List of x.AI collections for this document",
|
"xaiCollections": "List of x.AI collections for this document",
|
||||||
"xaiSyncStatus": "x.AI synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized",
|
"xaiSyncStatus": "x.AI synchronization status: pending_sync = Waiting for sync, clean = successfully synchronized, unclean = changes pending, failed = error, no_sync = Not synchronized",
|
||||||
"fileStatus": "File status: new = newly uploaded, changed = modified, unchanged = unchanged"
|
"fileStatus": "File status: new = newly uploaded, changed = modified, synced = synchronized"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"syncStatus": {
|
"syncStatus": {
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
"fileStatus": {
|
"fileStatus": {
|
||||||
"new": "New",
|
"new": "New",
|
||||||
"changed": "Changed",
|
"changed": "Changed",
|
||||||
"unchanged": "Unchanged"
|
"synced": "Synchronized"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -150,12 +150,12 @@
|
|||||||
"options": [
|
"options": [
|
||||||
"new",
|
"new",
|
||||||
"changed",
|
"changed",
|
||||||
"unchanged"
|
"synced"
|
||||||
],
|
],
|
||||||
"style": {
|
"style": {
|
||||||
"new": "info",
|
"new": "info",
|
||||||
"changed": "warning",
|
"changed": "warning",
|
||||||
"unchanged": "success"
|
"synced": "success"
|
||||||
},
|
},
|
||||||
"default": "new",
|
"default": "new",
|
||||||
"readOnly": false,
|
"readOnly": false,
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ return [
|
|||||||
0 => 'youtube.com',
|
0 => 'youtube.com',
|
||||||
1 => 'google.com'
|
1 => 'google.com'
|
||||||
],
|
],
|
||||||
'microtime' => 1772999883.405378,
|
'microtime' => 1773002102.630821,
|
||||||
'siteUrl' => 'https://crm.bitbylaw.com',
|
'siteUrl' => 'https://crm.bitbylaw.com',
|
||||||
'fullTextSearchMinLength' => 4,
|
'fullTextSearchMinLength' => 4,
|
||||||
'webSocketUrl' => 'ws://api.bitbylaw.com:5000/espocrm/ws',
|
'webSocketUrl' => 'ws://api.bitbylaw.com:5000/espocrm/ws',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
'cacheTimestamp' => 1772999883,
|
'cacheTimestamp' => 1773002102,
|
||||||
'microtimeState' => 1772999883.544947,
|
'microtimeState' => 1773002102.752942,
|
||||||
'currencyRates' => [
|
'currencyRates' => [
|
||||||
'EUR' => 1.0
|
'EUR' => 1.0
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user