libreoffice-online/loleaflet/build/adminDeps.js
Marco Viscido 0bb650e7c4 keep expired document and query them to get the historical content
A Document has its own snapshots set.
A snapshot is a string representation of a JSON object.
AdminModel keeps also the expired document objects.
Query each document object in order to get their own history.
Admin accepts an "history" command then returns a json object.
An administrator checks the history by dashboard.

Change-Id: I73c87eff334cdb5a4a58043b2b66f18a56240b3a
Reviewed-on: https://gerrit.libreoffice.org/35926
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-04-19 04:08:38 +02:00

42 lines
904 B
JavaScript

var adminDeps = {
AdminCore: {
src: ['admin/Base.js',
'admin/Admin.js',
'admin/AdminSocketBase.js'],
desc: 'Core admin scripts infrastructure'
},
Util: {
src: ['admin/Util.js'],
desc: 'Utility class',
deps: ['AdminCore']
},
AdminSocketOverview: {
src: ['admin/AdminSocketOverview.js'],
desc: 'Socket to handle messages in overview page.',
deps: ['AdminCore']
},
AdminSocketAnalytics: {
src: ['admin/AdminSocketAnalytics.js'],
desc: 'Socket to handle messages in analytics page.',
deps: ['AdminCore']
},
AdminSocketSettings: {
src: ['admin/AdminSocketSettings.js'],
desc: 'Socket to handle settings from server',
deps: ['AdminCore']
},
AdminSocketHistory: {
src: ['admin/AdminSocketHistory.js'],
desc: 'Socket to query document history.',
deps: ['AdminCore']
}
};
if (typeof exports !== 'undefined') {
exports.adminDeps = adminDeps;
}