From b617266c6d3650bee0e5a7a73966c54e7f0dcda0 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 18 Nov 2024 13:41:30 +0000 Subject: [PATCH] Merge pull request #21916 from overleaf/ae-spelling-cleanup Spelling service cleanup GitOrigin-RevId: 429071c6ad3cf55ae3cc6688cd1216ea7e9108fb --- README.md | 4 ++-- server-ce/Dockerfile-base | 1 - server-ce/config/env.sh | 1 - services/web/app/src/Features/Project/ProjectController.js | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 05462d8723..7e15159eb9 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ This repo contains two dockerfiles, [`Dockerfile-base`](server-ce/Dockerfile-bas `sharelatex/sharelatex-base` image, and [`Dockerfile`](server-ce/Dockerfile) which builds the `sharelatex/sharelatex` (or "community") image. -The Base image generally contains the basic dependencies like `wget` and -`aspell`, plus `texlive`. We split this out because it's a pretty heavy set of +The Base image generally contains the basic dependencies like `wget`, plus `texlive`. +We split this out because it's a pretty heavy set of dependencies, and it's nice to not have to rebuild all of that every time. The `sharelatex/sharelatex` image extends the base image and adds the actual Overleaf code diff --git a/server-ce/Dockerfile-base b/server-ce/Dockerfile-base index 9fd60ce886..b2c4227e89 100644 --- a/server-ce/Dockerfile-base +++ b/server-ce/Dockerfile-base @@ -25,7 +25,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ unattended-upgrades \ build-essential wget net-tools unzip time imagemagick optipng strace nginx git python3 python-is-python3 zlib1g-dev libpcre3-dev gettext-base libwww-perl ca-certificates curl gnupg \ qpdf \ - aspell aspell-en aspell-af aspell-am aspell-ar aspell-ar-large aspell-bg aspell-bn aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-1901 aspell-el aspell-eo aspell-es aspell-et aspell-eu-es aspell-fa aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-gu aspell-he aspell-hi aspell-hr aspell-hsb aspell-hu aspell-hy aspell-id aspell-is aspell-it aspell-kk aspell-kn aspell-ku aspell-lt aspell-lv aspell-ml aspell-mr aspell-nl aspell-no aspell-nr aspell-ns aspell-pa aspell-pl aspell-pt aspell-pt-br aspell-ro aspell-ru aspell-sk aspell-sl aspell-ss aspell-st aspell-sv aspell-tl aspell-tn aspell-ts aspell-uk aspell-uz aspell-xh aspell-zu \ # upgrade base-image, batch all the upgrades together, rather than installing them on-by-one (which is slow!) && unattended-upgrade --verbose --no-minimal-upgrade-steps \ # install Node.js https://github.com/nodesource/distributions#nodejs diff --git a/server-ce/config/env.sh b/server-ce/config/env.sh index 2dee36a151..b12ca242d3 100644 --- a/server-ce/config/env.sh +++ b/server-ce/config/env.sh @@ -9,6 +9,5 @@ export HISTORY_V1_HOST=127.0.0.1 export NOTIFICATIONS_HOST=127.0.0.1 export PROJECT_HISTORY_HOST=127.0.0.1 export REALTIME_HOST=127.0.0.1 -export SPELLING_HOST=127.0.0.1 export WEB_HOST=127.0.0.1 export WEB_API_HOST=127.0.0.1 diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js index e068ac32f7..827c78418a 100644 --- a/services/web/app/src/Features/Project/ProjectController.js +++ b/services/web/app/src/Features/Project/ProjectController.js @@ -348,8 +348,6 @@ const _ProjectController = { 'write-and-cite-ars', 'default-visual-for-beginners', 'hotjar', - 'spell-check-client', - 'spell-check-no-server', 'ai-add-on', ].filter(Boolean)