mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
removed old getRawLogs socket.io endpoint
This commit is contained in:
@@ -314,11 +314,6 @@ module.exports = class Router
|
||||
AuthorizationManager.ensureClientCanViewProject client, (error, project_id) =>
|
||||
CompileManager.compile(project_id, user._id, opts, callback)
|
||||
|
||||
# This is deprecated and can be removed once all editors have had a chance to refresh
|
||||
client.on 'getRawLogs', (callback)->
|
||||
AuthorizationManager.ensureClientCanViewProject client, (error, project_id) =>
|
||||
CompileManager.getLogLines project_id, callback
|
||||
|
||||
client.on 'changeUsersPrivlageLevel', (user_id, newPrivalageLevel)->
|
||||
AuthorizationManager.ensureClientCanAdminProject client, (error, project_id) =>
|
||||
projectHandler.changeUsersPrivlageLevel project_id, user_id, newPrivalageLevel
|
||||
|
||||
Reference in New Issue
Block a user