Преглед изворни кода

[CE/SP] Hotfix 5.3.1 (#23008)

* [CE/SP] Hotfix 5.3.1

* Added mongoose upgrade for services/templates

* Fix mongodb transitive dependency

* cleaned npm cache and /tmp

GitOrigin-RevId: 139cf7776ba053c3763613cc3a6cdea4dfd3db44
Miguel Serrano пре 1 година
родитељ
комит
f157dd419e
2 измењених фајлова са 47 додато и 0 уклоњено
  1. 14 0
      server-ce/hotfix/5.3.1/Dockerfile
  2. 33 0
      server-ce/hotfix/5.3.1/pr_22950.patch

+ 14 - 0
server-ce/hotfix/5.3.1/Dockerfile

@@ -0,0 +1,14 @@
+FROM sharelatex/sharelatex:5.3.0
+
+# Update copyright year
+COPY pr_22950.patch .
+RUN patch -p0 < pr_22950.patch && rm pr_22950.patch
+
+
+# Update Mongoose
+RUN npm install mongoose@^8.9.5 --save -w services/web \
+  && npm install mongodb@6.12.0 --save \
+    -w services/chat -w services/contacts -w services/docstore \
+    -w services/history-v1 -w libraries/mongo-utils \
+  && npm install mongodb@6.12.0 --save \
+  && rm -rf /root/.cache /root/.npm $(find /tmp/ -mindepth 1 -maxdepth 1)

+ 33 - 0
server-ce/hotfix/5.3.1/pr_22950.patch

@@ -0,0 +1,33 @@
+--- services/web/app/views/layout/thin-footer-bootstrap-5.pug
++++ services/web/app/views/layout/thin-footer-bootstrap-5.pug
+@@ -7,7 +7,7 @@ footer.site-footer
+ 				if !settings.nav.hide_powered_by
+ 					li
+ 						//- year of Server Pro release, static
+-						| © 2024
++						| © 2025
+ 						|
+ 						a(href='https://www.overleaf.com/for/enterprises') Powered by Overleaf
+
+--- services/web/app/views/layout/thin-footer.pug
++++ services/web/app/views/layout/thin-footer.pug
+@@ -9,7 +9,7 @@ footer.site-footer
+ 				else if !settings.nav.hide_powered_by
+ 					li
+ 						//- year of Server Pro release, static
+-						| © 2024
++						| © 2025
+ 						|
+ 						a(href='https://www.overleaf.com/for/enterprises') Powered by Overleaf
+
+--- services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx
++++ services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx
+@@ -60,7 +60,7 @@ function ThinFooter({
+             {showPoweredBy ? (
+               <>
+                 <li>
+-                  {/* year of Server Pro release, static */}© 2024{' '}
++                  {/* year of Server Pro release, static */}© 2025{' '}
+                   <a href="https://www.overleaf.com/for/enterprises">
+                     Powered by Overleaf
+                   </a>