overleaf/services/document-updater/app/js
Domagoj Kriskovic 7e8e2b0585 Send origin metadata through docupdater and project-history when restoring files (#18721)
* add RestoreFileOrigin in overleaf-editor-core

* support source to be an object

* use sourceOrOrigin as param

* rename to originOrSource so the priority is more clear

* get timestamp from version

* fix test

* include version and min_count in getUpdatesFromHistory

* extractOriginOrSource util function

* fix RestoreManagerTests

GitOrigin-RevId: 0ace05a6ade2794c753a9d0bffb4f858ecc6899a
2024-06-18 08:04:34 +00:00
..
sharejs
DeleteQueueManager.js
DiffCodec.js
DispatchManager.js
DocumentManager.js
Errors.js
HistoryConversions.js
HistoryManager.js
HttpController.js
Limits.js
LockManager.js
LoggerSerializers.js
Metrics.js
mongodb.js
PersistenceManager.js
Profiler.js
ProjectFlusher.js
ProjectHistoryRedisManager.js
ProjectManager.js
RangesManager.js
RateLimitManager.js
RealTimeRedisManager.js
RedisManager.js
ShareJsDB.js
ShareJsUpdateManager.js
SnapshotManager.js
types.ts
UpdateKeys.js
UpdateManager.js
Utils.js