diff --git a/custom/Espo/Custom/Hooks/CDokumente/CDokumente.php b/custom/Espo/Custom/Hooks/CDokumente/CDokumente.php index c61165d5..66463fc2 100644 --- a/custom/Espo/Custom/Hooks/CDokumente/CDokumente.php +++ b/custom/Espo/Custom/Hooks/CDokumente/CDokumente.php @@ -53,7 +53,7 @@ class CDokumente extends \Espo\Core\Hooks\Base if ($oldMd5 !== $newMd5 || $oldSha256 !== $newSha256) { $entity->set('fileStatus', 'changed'); } else { - $entity->set('fileStatus', 'unchanged'); + $entity->set('fileStatus', 'synced'); } } } diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json b/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json index 4c7c8ea3..8f145790 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CDokumente.json @@ -43,7 +43,7 @@ "xaiId": "Eindeutige ID für x.AI Synchronisation", "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", - "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": { "syncStatus": { @@ -63,7 +63,7 @@ "fileStatus": { "new": "Neu", "changed": "Geändert", - "unchanged": "Unverändert" + "synced": "Synchronisiert" } } } \ No newline at end of file diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json b/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json index ea4759d6..904d4ef9 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CDokumente.json @@ -46,7 +46,7 @@ "xaiId": "Unique ID for x.AI synchronization", "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", - "fileStatus": "File status: new = newly uploaded, changed = modified, unchanged = unchanged" + "fileStatus": "File status: new = newly uploaded, changed = modified, synced = synchronized" }, "options": { "syncStatus": { @@ -66,7 +66,7 @@ "fileStatus": { "new": "New", "changed": "Changed", - "unchanged": "Unchanged" + "synced": "Synchronized" } } } \ No newline at end of file diff --git a/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json b/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json index e02ce754..a5f088d9 100644 --- a/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json +++ b/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json @@ -150,12 +150,12 @@ "options": [ "new", "changed", - "unchanged" + "synced" ], "style": { "new": "info", "changed": "warning", - "unchanged": "success" + "synced": "success" }, "default": "new", "readOnly": false, diff --git a/data/config.php b/data/config.php index e3d355b7..13b0486e 100644 --- a/data/config.php +++ b/data/config.php @@ -358,7 +358,7 @@ return [ 0 => 'youtube.com', 1 => 'google.com' ], - 'microtime' => 1772999883.405378, + 'microtime' => 1773002102.630821, 'siteUrl' => 'https://crm.bitbylaw.com', 'fullTextSearchMinLength' => 4, 'webSocketUrl' => 'ws://api.bitbylaw.com:5000/espocrm/ws', diff --git a/data/state.php b/data/state.php index d2490867..705ee18a 100644 --- a/data/state.php +++ b/data/state.php @@ -1,7 +1,7 @@ 1772999883, - 'microtimeState' => 1772999883.544947, + 'cacheTimestamp' => 1773002102, + 'microtimeState' => 1773002102.752942, 'currencyRates' => [ 'EUR' => 1.0 ],