Commit Graph

715 Commits

Author SHA1 Message Date
renovate[bot]
0a21aa3b35 [CoreII] Update dependency io.netty:netty-codec-http2 to v4.1.132.Final from 4.1.130.Final [SECURITY]
GitOrigin-RevId: 283016277183cdc366de4c9b24982a0d70a34c63
2026-04-10 08:03:59 +00:00
Miguel Serrano
251ccbf1ad [git-bridge] Downgrade info logs to debug (#32470)
* [git-bridge] Downgrade `info` logs to `debug`

Moving most `info` logs to `debug` to reduce log noise.

GitOrigin-RevId: 21f8d11ba950078b5e3a88a245e8ed68f2548141
2026-03-30 08:05:23 +00:00
Miguel Serrano
a6fd4c4f5a [git-bridge] Added warning on non-fresh repo initialisations (#32432)
* [git-bridge] Added warning on non-fresh repo initialisations

Addresses a TODO by adding a warning when trying to initialise a repo that already exists and is not fresh.

GitOrigin-RevId: f801df9e1c77bfbc8a9a4101f01d5a71c383dc0f
2026-03-26 09:06:56 +00:00
Mathias Jakobsen
3b2cbdd20e Merge pull request #32066 from overleaf/renovate-jetty.version
[Core] Update dependency org.eclipse.jetty:jetty-server to v12.1.6 from 12.1.5 [SECURITY]

GitOrigin-RevId: 68d1b10a9ecafe42d8da07753d4222079c0aa02c
2026-03-13 09:05:15 +00:00
Jakob Ackermann
49c1c65dd8 [e2e] e2e_test_setup: perform health check on all the services (#31311)
* [e2e] e2e_test_setup: perform health check on all the services

* [monorepo] install curl in nginx-proxy

GitOrigin-RevId: 0d04e2b1012e8b0349cdb297b43a303797fb1968
2026-02-05 09:05:53 +00:00
Rebeka Dekany
a648015db8 Centralize prettier configuration to root level (#30501)
* Merge all .prettierignore files into top-level config

* Merge all .prettierrc files into top-level config

* Replace service-specific glob patterns in package.json format scripts with `prettier .`

* Add template files with Jinja2, Go template, envsubst, and Handlebars syntax to .prettierignore

* Ignore GitHub templates

* Ignore PUG templates to format them separately with `format:pug`

* Encourage double quotes for YAML, YML files

* Move prettier for PUG source format script to the root

* Move prettier for styles source format script to the root

* Remove prettier for jenkins files from web

* Remove prettier source format script from all services

* Make .prettierrc more readable

* Update format scripts by file type

* Organise `.prettierignore`

* Add `--cache` flag to prettier scripts for faster runs

* Format all files with prettier

* Format all or format services

* Remove `format`/`format:fix` scripts from services since now it runs from root `package.json`

* Avoid conlficts with yamllint configuration

* Remove `--cache` flag from prettier scripts

* Update all service Makefiles to use root-level prettier configuration

* Update all Jenkinsfile to use root-level prettier configuration

* Ignore auto-generated files by build_scripts

* Update package-lock.json

* Update root Makefile format targets

* Update SP Jenkinsfile format target

* Update E2E Makefile format script

* Udpate `format_js` to work in both local and CI env

* Add docker-mailtrap to .prettierignore

docker-mailtrap is a third-party git-ignored directory used for testing

* Added Docker env detection to prevent nested Docker spawning

* Ignore handlebars templates

* Add cryptographic files and test output to `.prettierignore`

* Add terraform modules to `.gitignore`

* Remove prettier-plugin-groovy

* Use npx directly instead of Docker for local formatting for faster formatting

* Auto-generate Makefiles

* Revert "Remove prettier-plugin-groovy"

This reverts commit 194a33589a2e1e4d2225d10c67e9f025e4222025.

* Mount monorepo root in RUN_LINT_FORMAT for prettier config access

* Prettier ignores all `node_modules` by default regardless of location

* Show only changed files in format output

* Ignore LICENSE files

* Enable prettier on rendered build_scripts outputs

* Ignoring all the template folders by prettier

* Remove the public/minjs entry since it does not exist

* Remove all non-existent paths

* Sync `.prettierignore` with ignored files by `.gitignore` and `.dockerignore` files

* Revert "Auto-generate Makefiles"

This reverts commit c0233e490de1bc95fe437219d65e0b66e0331ec9.

* Revert "Use npx directly instead of Docker for local formatting for faster formatting"

This reverts commit 1d2b2cf1a6c6974c76885852a90dd55e84167e41.

* Ignore dashboard JSON files

* Ignore files generated by bin/update_build_scripts

* Remove unsupported file types from `.prettierignore`

* Ignore test fixture generated files

* Ignore README file types by prettier

* Ignore generate snapshots by prettier

* Allow to format generated bin/update_build_scripts by prettier

* Ensure build script outputs prettier-compatible tsconfig.json

* Fix build script output to match prettier formatting
- Fix Jinja2 whitespace in docker-compose templates
- Change YAML quotes from single to double

* Don't read cryptographic files by prettier

* Ignore google verification files by prettier

* Revert npx prettier formatting

* Ignore domain verification files

* Show only changed files in format output

* Make `.github` prettier

* Allow all files to be formatted in jobs by prettier

* Allow server-ce/server-pro files to be formatted by prettier

* Ignore more folders in clsi, filestory, git-bridge by prettier

* Update build script with `RUN_LINTING_CI_MONOREPO`

* Ignore docker-mailtrap and downloads in server-ce by prettier

* Restore prettier configs and prettierignore for V1 since it has its own prettier (an older version)

* Source format

GitOrigin-RevId: 637adc3cc422d1f20c86d6ebc8ec514d60758287
2026-02-04 09:08:22 +00:00
Miguel Serrano
af2be7c074 [git-bridge] Update envsubst and dependencies (#30747)
Updates patch versions of stable dependencies, and rebuilds
envsubst

GitOrigin-RevId: f55bc2d5c00aef110cf6a8ba89e8529211d560cb
2026-01-15 09:05:37 +00:00
Mathias Jakobsen
0fc0e54cf5 Merge pull request #29325 from overleaf/dp-git-bridge-aws-sdk
[git-bridge] Update AWS S3 SDK

GitOrigin-RevId: c40f6c0c3eef6e45e27a57462a7a4732d5151c26
2026-01-07 09:05:57 +00:00
Mathias Jakobsen
750ef6ca19 Merge pull request #30510 from overleaf/mj-git-bridge-persistent-swap-local
[git-bridge] Make git-bridge data persistent

GitOrigin-RevId: e5e7ec613db455b21b4f96c9bf8e6829cc02a4ce
2026-01-07 09:05:43 +00:00
Mathias Jakobsen
bf662f74f5 Merge pull request #30458 from overleaf/mj-git-bridge-local-swap
[git-bridge] Mock S3 locally with minio

GitOrigin-RevId: d56659d601e4450f69332202b86e61a443375101
2026-01-07 09:05:38 +00:00
Mathias Jakobsen
32845170ff Merge pull request #30497 from overleaf/mj-git-bridge-staging-swap
[git-bridge] Reduce amount of projects on staging git bridge disk

GitOrigin-RevId: 428825f354487ece20b2538e7d312186d56cc03a
2026-01-07 09:05:33 +00:00
Miguel Serrano
48e7f8042b [git-bridge] Update jetty to v12 (#30221)
GitOrigin-RevId: 44b3f754b3dbced8a2ac47472e113ef4cae30c50
2025-12-18 09:05:13 +00:00
Miguel Serrano
a3ec5b2797 Merge pull request #30018 from overleaf/msm-fix-esm-import
[web] Fix ESM import

GitOrigin-RevId: 887f4927248241cb3d237e0bdad36b05928657ef
2025-12-03 09:05:32 +00:00
Thomas
c059a3c5b0 Handle slashes in branch names for docker build tags (#29529)
* Refactor v1 Makefile to use DOCKER_COMPOSE variable for Docker commands with tag safe branch name

* Handle slashes in branch names for docker build tags

GitOrigin-RevId: 463940e8435845978aced745575905f3bfbb8e1c
2025-11-14 09:05:25 +00:00
Gernot Schulz
bed63fd954 Merge pull request #29586 from overleaf/gs-jenkins-pr-build-tags-git-br
Include commit look-up stage in git-bridge Jenkinsfile

GitOrigin-RevId: 993cabcafd057dc6767a2780c2dd11708482d536
2025-11-10 09:05:12 +00:00
Miguel Serrano
6ca1a9e472 [git-bridge] Update dependency versions (#29484)
GitOrigin-RevId: 1640ea71798f650196f20f656f8656f3abeee7e5
2025-11-04 09:06:15 +00:00
Miguel Serrano
7f4d947b56 [git-bridge] Updated envsubst builder (#29286)
GitOrigin-RevId: 8da435aea673f6e73666f0fb7dfd8522312e5f48
2025-10-24 08:05:26 +00:00
Jakob Ackermann
15a6e8ba04 [monorepo] use content hash as docker image cache key (#29046)
* [monorepo] remove docker-repos flag from build scripts

* [monorepo] use content hash as docker image cache key

* [packer] jenkins-worker: populate build cache for all services

* [v1] adopt smarter docker caching

* [latexqc] adopt smarter docker caching

* [monorepo] refresh docker cache in Jenkins

* [packer] jenkins-worker: increase disk size

* [monorepo] run jenkins_docker_build_cache as Jenkins user for v1

* [monorepo] define MONOREPO at the top of all the Makefiles

* [monorepo] add --build-arg BUILDKIT_INLINE_CACHE=1 everywhere

GitOrigin-RevId: 8110c6e68727a52ea80f3ec71711d30e17d69499
2025-10-15 08:06:41 +00:00
Jakob Ackermann
2390823a30 [monorepo] run Jenkins cleanup in parallel (#29015)
GitOrigin-RevId: 5e0df1cec874950b91edf86a2ca40b358366a897
2025-10-13 08:06:58 +00:00
Jakob Ackermann
d7623b576f [monorepo] refactor retries in Jenkins to step level (#29008)
* [monorepo] refactor retries in Jenkins to step level

Change the junit reports to use step specific file names. The [hash]
template option was neat in getting unique file names, but results in
duplicate test reports on retry.

* [patches] add support for .cjs config files for mocha-multi-reporters

GitOrigin-RevId: 3a749441470b5ba633e71319589606cfbe860952
2025-10-13 08:06:37 +00:00
Jakob Ackermann
c621d0f318 [git-bridge] migrate pipeline to Jenkins (#28763)
* [git-bridge] migrate pipeline to Jenkins

* [terraform] remove cloud build trigger for git-bridge

GitOrigin-RevId: fdf842a561c00a609f2de0cab894a761900322c6
2025-10-07 08:06:48 +00:00
Mathias Jakobsen
838731af8b Merge pull request #28343 from overleaf/mj-git-bridge-logs
[git-bridge] Restore git bridge logs

GitOrigin-RevId: fd4360ea3b38e3c412bb535811ffc704b78ccf95
2025-09-10 08:05:53 +00:00
Mathias Jakobsen
cf74e8084e Merge pull request #28228 from overleaf/mj-git-bridge-bouncycastle
[git-bridge] Upgrade bouncycastle dependency

GitOrigin-RevId: e55185947f0156bf2b87d294d3603a9d0f9f1d12
2025-09-10 08:05:48 +00:00
Mathias Jakobsen
ad7afc7594 Merge pull request #28231 from overleaf/mj-git-bridge-git-upgrade
[git-bridge] Update git message version in tests

GitOrigin-RevId: b0834ac6bf1e6bdb3126dc1720c53e2968b5630e
2025-09-10 08:05:43 +00:00
Mathias Jakobsen
3b1abf92c9 Merge pull request #27092 from overleaf/renovate-commons.lang3.version
[Core] Update dependency org.apache.commons:commons-lang3 to v3.18.0 from 3.17.0

GitOrigin-RevId: b1049a07a2c96f47217e839a5ab58473a102aa3c
2025-08-13 08:05:46 +00:00
Miguel Serrano
b8816848a0 Merge pull request #25972 from overleaf/msm-unvendor-envsubst
[git-bridge] Un-vendor `envsubst`

GitOrigin-RevId: 02abdd20aede8b6fd90013f4841ad3375997335c
2025-05-30 08:05:00 +00:00
Miguel Serrano
1ea7a6f33f Merge pull request #25968 from overleaf/msm-git-bridge-bump-async-handler
[git-bridge] Bump `async-http-client` to 3.0.2

GitOrigin-RevId: 659e997b0403e9eb5af03ce398a84730661ff66a
2025-05-30 08:04:55 +00:00
Miguel Serrano
4315777638 Merge pull request #25916 from overleaf/msm-git-bridge-bump-jgit
[git-bridge] bump `jgit` to `6.10.1`

GitOrigin-RevId: a1ffaa68a2eaca278c48acaf8e9d72b06c0cf29a
2025-05-28 08:05:19 +00:00
Jakob Ackermann
07b2255426 [misc] cleanup .dockerignore and .gitignore files (#25312)
- Remove settings ignore, they are inconsistent and break local prettier
- Remove .dockerignore files, only root ignore file is used
- Move .idea/.run/*.swp/coverage to root
- Remove .npmrc entries, we are no longer writing the rc file
- Remove node_modules/.DS_Store, is contained in root
- Remove cruft

GitOrigin-RevId: 3025fd5acaef343312f55149466c638e759a6e1f
2025-05-07 08:05:24 +00:00
Miguel Serrano
44926d3519 Merge pull request #24721 from overleaf/msm-cleanup-git-oauth-secret
[git-bridge] Cleanup `oauth` clientID/secret

GitOrigin-RevId: 48144d928119782d1c7b048b0cb6a4afb6072f28
2025-04-09 08:04:48 +00:00
Jakob Ackermann
14d9874b68 [git-bridge] add CORS support (#23892)
GitOrigin-RevId: 9e3d85e479746affd047434ec9ce2588b60ca76c
2025-02-28 09:06:10 +00:00
Miguel Serrano
1a5db4b385 Merge pull request #23551 from overleaf/msm-git-bridge-update-deps
[git-bridge] Upgrade dependencies, use aws-s3 lib

GitOrigin-RevId: a542810d425309e8356ebc77752266b41f6006f4
2025-02-13 09:05:49 +00:00
Miguel Serrano
e5cdc768b3 Merge pull request #22507 from overleaf/dependabot-maven-services-git-bridge-org.asynchttpclient-async-http-client-3.0.1
Bump org.asynchttpclient:async-http-client from 2.12.3 to 3.0.1 in /services/git-bridge

GitOrigin-RevId: cc375ff1ad1a3127aad2ac8b2987f1af3b1643b9
2024-12-16 09:04:29 +00:00
Miguel Serrano
4fd0c41665 Merge pull request #21239 from overleaf/msm-jetty-update
[git-bridge] Update Jetty `9.x` to the latest version

GitOrigin-RevId: b9571ed368c159ee8d7d8f22fefc5c33559f8c6f
2024-10-22 08:06:49 +00:00
Liangjun Song
51b46f3909 Merge pull request #20996 from overleaf/ls-proper-error-for-wrong-git-url-format
proper error message for wrong git url format

GitOrigin-RevId: a6278850c2eca7e85c2526135d1c769fcbe94729
2024-10-14 11:10:14 +00:00
Liangjun Song
180718678c Merge pull request #20498 from overleaf/ls-remove-pw-grant-logic
remove password grant logic

GitOrigin-RevId: ba42deea5824e6f91affceaa19c4d523ec73ce4c
2024-09-25 08:05:11 +00:00
Alf Eaton
2976fd0b44 Fix Dockerfile FromAsCasing warnings (#20388)
GitOrigin-RevId: 6d6be3ba17eec695907dde25da2dbe98818fae10
2024-09-23 08:04:52 +00:00
Liangjun Song
1af7e29d06 handle 410 errors from oauth/token (#19996)
GitOrigin-RevId: b4afe36db789959fa1496a15e0e604ae69969da4
2024-08-21 08:04:11 +00:00
Miguel Serrano
184edf9eae Merge pull request #19428 from overleaf/msm-git-bridge-linux-utils
[git-bridge] install `setpriv` via `util-linux` package

GitOrigin-RevId: 707b7095c06575d5232e251da987cd6be2b4bfc1
2024-07-17 08:04:29 +00:00
Miguel Serrano
3e81e212f3 Merge pull request #19054 from overleaf/msm-fit-bridge-java-21
[git-bridge] Update Java 21

GitOrigin-RevId: 67429a15e484947b9109ceedc303b3a3c8d32911
2024-07-04 08:05:47 +00:00
Miguel Serrano
da5846209f Merge pull request #18402 from overleaf/msm-git-bridge-pom
* [git-bridge] Extracted pom versions to properties

Managing versions as properties is a best practice
with pom files. An advantage in our case is ensuring
dependency groups (as simpleclient) are upgraded
together.

* [git-bridge] Remove '_' as keyword

* [git-bridge] Added formatting with 'fmt-maven-plugin'

* Remove java from .editorconfig

No longer needed as a formatter is now available

* Replace javadoc comments with multiline comments

Replaces "/**" with "/*", which then prevents the formatter
from adding HTML elements to comments

* [git-bridge] Formatted .java files

GitOrigin-RevId: 0997b838cee88c290d824a74444295e26392f26b
2024-06-17 08:04:21 +00:00
Gernot Schulz
e8fe5abc82 Merge pull request #18312 from overleaf/gs-git-bridge-bash
Install bash in git-bridge Docker image

GitOrigin-RevId: 2ed599c3c2a3a1c3e66845d4d17d6ac36d925d70
2024-05-17 08:05:19 +00:00
Christopher Hoskin
9278788bee Merge pull request #18028 from overleaf/csh-issue-18027-git-bridge-image
Run git-bridge on an image which is supported going forward

GitOrigin-RevId: be4d9ad5b8c11f206a9c5519fc016075c3114aff
2024-04-23 08:04:24 +00:00
Christopher Hoskin
5855ba7b49 Merge pull request #15241 from overleaf/em-gcp-opentelemetry
Replace the GCP trace agent with OpenTelemetry

GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
2023-10-19 08:02:52 +00:00
Alf Eaton
20e7d73b19 Upgrade Apache Commons Compress to 1.24.0 (#14981)
GitOrigin-RevId: dc7516060565ce7610ce7a903fb76a97aa4f5db3
2023-09-29 08:04:01 +00:00
ilkin-overleaf
97303c8a43 Merge pull request #14937 from overleaf/ii-git-access-link
Change docs link on project clone failure

GitOrigin-RevId: 930db8a771e00adf15f83d7740e289a8a868f62d
2023-09-25 08:04:35 +00:00
Eric Mc Sween
fdfc371639 Merge pull request #14891 from overleaf/jlm-jgit-fix
Bump jgit for security fix

GitOrigin-RevId: ed90b39b7e4283b6a981d38ab3ff501b8f0f6899
2023-09-21 08:03:48 +00:00
Jakob Ackermann
d73f77e88e Merge pull request #14446 from overleaf/jpa-fix-mvn-warning
[git-bridge] set maven-surefire-plugin version

GitOrigin-RevId: 37a178405106ce7070cb6abddda3ab64b595e86f
2023-08-23 08:05:02 +00:00
Dr. Sasha Göbbels
c7465bc23e Merge pull request #14196 from overleaf/sg-guava-version-bump
Removal of guava, version bumps for jetty servlet, jetty server and sqlite-jdbc (#13519)

GitOrigin-RevId: 1ec77529c4b2d010bfebf41d59e6713554c4c53c
2023-08-14 08:05:18 +00:00
Eric Mc Sween
e33bf3e450 Merge pull request #13711 from overleaf/em-fix-git-bridge-dev-env
Fix git-bridge client secret in dev env

GitOrigin-RevId: 385ccfacd3d41ad855f1d41e483bf0b762e5665b
2023-07-17 10:54:14 +00:00