mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
CE/SP hotfixes 2.7.1
and 3.0.1
(#5046)
Removes `/disconnectAllUsers`, that was exposed to all users Fixes broken image when `ENABLE_CONVERSIONS` is set to `false` GitOrigin-RevId: 6ef04e1bff91ac46d3587075328bba2636bb23e2
This commit is contained in:
parent
931760629b
commit
4ee76cf2b4
4 changed files with 38 additions and 0 deletions
5
server-ce/hotfix/2.7.1/Dockerfile
Normal file
5
server-ce/hotfix/2.7.1/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FROM sharelatex/sharelatex:2.7.0
|
||||||
|
|
||||||
|
# Patch: fixes overleaf.com onboarding email being sent in CE/SP
|
||||||
|
COPY remove-disconnect-endpoint.patch .
|
||||||
|
RUN patch -p0 < remove-disconnect-endpoint.patch
|
14
server-ce/hotfix/2.7.1/remove-disconnect-endpoint.patch
Normal file
14
server-ce/hotfix/2.7.1/remove-disconnect-endpoint.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- /var/www/sharelatex/web/app/src/router.js
|
||||||
|
--- /var/www/sharelatex/web/app/src/router.js
|
||||||
|
@@ -995,11 +995,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||||
|
AdminController.unregisterServiceWorker
|
||||||
|
)
|
||||||
|
|
||||||
|
- privateApiRouter.post(
|
||||||
|
- '/disconnectAllUsers',
|
||||||
|
- AdminController.disconnectAllUsers
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
privateApiRouter.get('/perfTest', (req, res) => res.send('hello'))
|
||||||
|
|
||||||
|
publicApiRouter.get('/status', (req, res) => {
|
5
server-ce/hotfix/3.0.1/Dockerfile
Normal file
5
server-ce/hotfix/3.0.1/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FROM sharelatex/sharelatex:3.0.0
|
||||||
|
|
||||||
|
# Patch: fixes overleaf.com onboarding email being sent in CE/SP
|
||||||
|
COPY remove-disconnect-endpoint.patch .
|
||||||
|
RUN patch -p0 < remove-disconnect-endpoint.patch
|
14
server-ce/hotfix/3.0.1/remove-disconnect-endpoint.patch
Normal file
14
server-ce/hotfix/3.0.1/remove-disconnect-endpoint.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- /var/www/sharelatex/web/app/src/router.js
|
||||||
|
--- /var/www/sharelatex/web/app/src/router.js
|
||||||
|
@@ -995,11 +995,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||||
|
AdminController.unregisterServiceWorker
|
||||||
|
)
|
||||||
|
|
||||||
|
- privateApiRouter.post(
|
||||||
|
- '/disconnectAllUsers',
|
||||||
|
- AdminController.disconnectAllUsers
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
privateApiRouter.get('/perfTest', (req, res) => res.send('hello'))
|
||||||
|
|
||||||
|
publicApiRouter.get('/status', (req, res) => {
|
Loading…
Reference in a new issue