diff --git a/src/ep.json b/src/ep.json index b436a63be..aeda66fe2 100644 --- a/src/ep.json +++ b/src/ep.json @@ -1,33 +1,122 @@ { "parts": [ - { "name": "DB", "hooks": { "shutdown": "ep_etherpad-lite/node/db/DB" } }, - { "name": "Minify", "hooks": { "shutdown": "ep_etherpad-lite/node/utils/Minify" } }, - { "name": "express", "hooks": { - "createServer": "ep_etherpad-lite/node/hooks/express", - "restartServer": "ep_etherpad-lite/node/hooks/express", - "shutdown": "ep_etherpad-lite/node/hooks/express" - } }, - { "name": "static", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/static:expressCreateServer" } }, - { "name": "stats", "hooks": { "shutdown": "ep_etherpad-lite/node/stats" } }, - { "name": "i18n", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/i18n:expressCreateServer" } }, - { "name": "specialpages", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/specialpages:expressCreateServer" } }, - { "name": "padurlsanitize", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padurlsanitize:expressCreateServer" } }, - { "name": "padreadonly", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padreadonly:expressCreateServer" } }, - { "name": "webaccess", "hooks": { "expressConfigure": "ep_etherpad-lite/node/hooks/express/webaccess:expressConfigure" } }, - { "name": "apicalls", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/apicalls:expressCreateServer" } }, - { "name": "importexport", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/importexport:expressCreateServer" } }, - { "name": "errorhandling", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/errorhandling:expressCreateServer" } }, - { "name": "socketio", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/socketio:expressCreateServer" } }, - { "name": "tests", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/tests:expressCreateServer" } }, - { "name": "admin", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/admin:expressCreateServer" } }, - { "name": "adminplugins", "hooks": { - "expressCreateServer": "ep_etherpad-lite/node/hooks/express/adminplugins:expressCreateServer", - "socketio": "ep_etherpad-lite/node/hooks/express/adminplugins:socketio" } + { + "name": "DB", + "hooks": { + "shutdown": "ep_etherpad-lite/node/db/DB" + } }, - { "name": "adminsettings", "hooks": { - "expressCreateServer": "ep_etherpad-lite/node/hooks/express/adminsettings:expressCreateServer", - "socketio": "ep_etherpad-lite/node/hooks/express/adminsettings:socketio" } + { + "name": "Minify", + "hooks": { + "shutdown": "ep_etherpad-lite/node/utils/Minify" + } }, - { "name": "openapi", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/openapi:expressCreateServer" } } + { + "name": "express", + "hooks": { + "createServer": "ep_etherpad-lite/node/hooks/express", + "restartServer": "ep_etherpad-lite/node/hooks/express", + "shutdown": "ep_etherpad-lite/node/hooks/express" + } + }, + { + "name": "static", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/static" + } + }, + { + "name": "stats", + "hooks": { + "shutdown": "ep_etherpad-lite/node/stats" + } + }, + { + "name": "i18n", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/i18n" + } + }, + { + "name": "specialpages", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/specialpages" + } + }, + { + "name": "padurlsanitize", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padurlsanitize" + } + }, + { + "name": "padreadonly", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padreadonly" + } + }, + { + "name": "webaccess", + "hooks": { + "expressConfigure": "ep_etherpad-lite/node/hooks/express/webaccess" + } + }, + { + "name": "apicalls", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/apicalls" + } + }, + { + "name": "importexport", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/importexport" + } + }, + { + "name": "errorhandling", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/errorhandling" + } + }, + { + "name": "socketio", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/socketio" + } + }, + { + "name": "tests", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/tests" + } + }, + { + "name": "admin", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/admin" + } + }, + { + "name": "adminplugins", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/adminplugins", + "socketio": "ep_etherpad-lite/node/hooks/express/adminplugins" + } + }, + { + "name": "adminsettings", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/adminsettings", + "socketio": "ep_etherpad-lite/node/hooks/express/adminsettings" + } + }, + { + "name": "openapi", + "hooks": { + "expressCreateServer": "ep_etherpad-lite/node/hooks/express/openapi" + } + } ] }