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
Liangjun Song
1af7e29d06
handle 410 errors from oauth/token ( #19996 )
...
GitOrigin-RevId: b4afe36db789959fa1496a15e0e604ae69969da4
2024-08-21 08:04:11 +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
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
Miguel Serrano
afeeb9be68
Merge pull request #13498 from overleaf/msm-git-logback-configurable
...
[git-bridge] Configurable `LOG_LEVEL`
GitOrigin-RevId: 5dc34a3c980d9fd83898b4f96a30f60a8f9201ad
2023-07-17 10:42:12 +00:00
Eric Mc Sween
4535364ee2
Merge pull request #13387 from overleaf/em-git-bridge-remove-v1-to-v2-conversions
...
Remove automatic conversion of v1 projects to v2 in git-bridge
GitOrigin-RevId: af0285d98c77f4c9014da5c1d20d7def4b866cde
2023-07-17 10:32:24 +00:00
Eric Mc Sween
a5834a0f8c
Merge pull request #13107 from overleaf/em-reenable-swap-job-test
...
Reenable swap job test in git bridge
GitOrigin-RevId: 4fcef9d1b9a6ef169b14ec490b785daeb80ab418
2023-05-17 12:05:20 +00:00
Eric Mc Sween
effccf2d3a
Merge pull request #12997 from overleaf/em-git-bridge-pat-messaging
...
Adapt git bridge messaging to personal access tokens
GitOrigin-RevId: 0b5d5ecbd97814c8b18827fe11e77513c11bab3a
2023-05-16 08:04:36 +00:00
Eric Mc Sween
cc604376c5
Merge pull request #12882 from overleaf/em-git-bridge-swap-job-config
...
Disable swap job when swap store is unsafe
GitOrigin-RevId: 104b03e378e7802f9ba6ff96b5a626a2fa7960fb
2023-05-02 19:45:48 +00:00
Miguel Serrano
0564532f92
[git-bridge] Add support for Oauth2 Personal Access Tokens ( #12795 )
...
* [git-bridge] Add support for Oauth2 Personal Access Tokens
Adds support for Personal Access Tokens by sending a Bearer
token authentication when the username is `git`.
The feature is controlled by `GIT_BRIDGE_ACCESS_TOKEN_ENABLED`
---------
Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com>
GitOrigin-RevId: 5553b0b68574158ede86ceec6c618cf4c4b09c92
2023-05-02 19:43:59 +00:00
Eric Mc Sween
c539e960e7
Merge pull request #12671 from overleaf/em-git-bridge-delete-project
...
Add endpoint to delete project data in git bridge
GitOrigin-RevId: bdc9701284255166bf4a122dad5fd89ced0c0ca2
2023-04-25 08:06:30 +00:00
June Kelly
7c1e91573c
Merge pull request #10784 from overleaf/jk-gitbridge-add-rate-limits
...
[git-bridge] Add rate-limits on GitBridgeRouter
GitOrigin-RevId: ec935fae39cc061cefe3c932304de8cde2fdd185
2022-12-14 09:02:57 +00:00
Miguel Serrano
e93a4336bc
Merge pull request #9309 from overleaf/msm-error-git-bridge-link
...
[git-bridge] replace error link with troubleshooting age
GitOrigin-RevId: 51853e6d65d7227685cb16f96fdf84678b01b710
2022-08-31 08:03:52 +00:00
June Kelly
7c809432db
Merge pull request #8409 from overleaf/jk-git-bridge-operation-in-progress
...
[git-bridge] Operation-in-progress message
GitOrigin-RevId: 2836c3917303f06c7ff2e0b91a36f88237276507
2022-07-13 08:04:46 +00:00
Miguel Serrano
d23874f04c
Merge pull request #6969 from overleaf/msm-fix-log-debug
...
[git-bridge] Fix `Log.debug()` sending `INFO` logs
GitOrigin-RevId: ef87b35ee3c6fa7659671a0a65545fa34f04dcd4
2022-03-08 09:03:17 +00:00
Miguel Serrano
fe35372d27
Merge pull request #6849 from overleaf/msm-git-bridge-log-level
...
[git-bridge] review logging levels
GitOrigin-RevId: beb6ce89ccdee7c60c4439d7a5252d7858956a9a
2022-03-02 09:02:40 +00:00
Miguel Serrano
de20b5b443
Merge pull request #6744 from overleaf/msm-update-async-http-client-vuln
...
[git-bridge] Bump `async-http-client` and `mockserver-netty`
GitOrigin-RevId: bcea12a01f3bbae6567b9f54567a1187e5a763f3
2022-02-16 11:39:21 +00:00
June Kelly
57613ba547
Merge pull request #6063 from overleaf/jk-gitbridge-rate-limit-429
...
[git-bridge] Pass 429 and message to client
GitOrigin-RevId: f751b27efdbad9d775dead2a209fd7468c253ad2
2021-12-15 09:03:03 +00:00
June Kelly
231ba305ed
Merge pull request #5477 from overleaf/jk-git-bridge-put-log-upgrade
...
[git-bridge] raise log level to error in put hook
GitOrigin-RevId: 45a4a77200f8e8490c4b70922614253c984c9d36
2021-10-15 08:03:12 +00:00
Simon Detheridge
1a8c5c9498
Set global logging limit to INFO
2021-07-27 09:55:04 +01:00
Simon Detheridge
4318dea5a0
Restore debug level to INFO
2021-07-19 10:54:59 +01:00
Shane Kilkelly
21c1378b4a
Drop the root log level to "DEGUG"
...
This allows our dependencies, such as jgit, to log
at the debug level
2021-07-09 11:11:52 +01:00
Simon Detheridge
087c076fcd
Enable more verbose logging
2021-07-08 12:32:15 +01:00
Simon Detheridge
c6d20faa34
Add debug logging to push mechanism
2021-07-08 12:32:10 +01:00
Simon Detheridge
5be3616109
Add debug logs to put hook
2021-07-08 12:15:46 +01:00
Simon Detheridge
3b27a2ee6a
Add debug logs to project lock mechanism
2021-07-08 12:15:00 +01:00
Simon Detheridge
a3c4f8c4e6
Add format-style Log.debug method
2021-07-08 12:14:29 +01:00
Shane Kilkelly
a8aa1dde79
Merge pull request #127 from overleaf/spd-reupgrade-jetty-again
...
Revert jetty downgrade
2021-07-01 15:59:37 +01:00
Shane Kilkelly
49aa2ef845
Fix query for oldest (un-swapped) project
2021-07-01 14:57:58 +01:00
Simon Detheridge
f8f60eabad
Revert "Merge pull request #125 from overleaf/spd-revert-jetty-changes"
...
This reverts commit 9c324c378c46aa8b4b14e529e90ad9cbfca969cd, reversing
changes made to 63ccd609405952aa8749299c8a5cf7895f14a1bd.
2021-07-01 11:45:16 +01:00
Simon Detheridge
a239b70bfc
Revert change to make Jetty idle timeout configurable
2021-06-28 17:00:52 +01:00
Shane Kilkelly
899e781b33
Set sqlite soft_heap_limit via pragma
2021-06-25 12:03:57 +01:00
Simon Detheridge
d12b564ec3
Use ServerConnector to specify bind IP and idle timeout
2021-06-24 17:20:43 +01:00
Simon Detheridge
cafa94fcba
Add support for bindIp and idleTimeout to config object
2021-06-24 17:00:04 +01:00
Simon Detheridge
ad8fafc5b4
Add http endpoint to print out native memory diagnostics
2021-06-23 12:43:30 +01:00
Simon Detheridge
1eb22a7d6d
Export prometheus metrics directly from handler
2021-06-22 16:40:18 +01:00
Simon Detheridge
63ca055637
Use ServletHolder lifecycle more carefully
...
Fixes metrics with Jetty > 9.4.20
2021-06-22 15:41:24 +01:00
Simon Detheridge
eb9cf6f256
Export prometheus metrics
2021-06-22 13:06:40 +01:00
Shane Kilkelly
82ab89fab3
Remove exception from signature
2021-05-21 09:57:28 +01:00
Shane Kilkelly
2efc7f22a7
Remove old username/password settings
...
These were once used to secure interactions with the web api, back when
we allowed anonymous access to git repositories. This feature was
dropped in the migration to Overleaf v2, and we use OAuth on those
interactions anyway, so these settings are not actually used for
anything, and keeping these around is just confusing.
2021-05-20 15:59:26 +01:00
Shane Kilkelly
465a39c564
Wait one second between checks in swap test
2021-02-04 09:52:13 +00:00
Shane Kilkelly
b92c737814
Use configured compression method in swap job
2021-02-04 09:52:13 +00:00
Shane Kilkelly
c67014b859
Update SqliteDBStoreTest with swap/compression
2021-02-04 09:52:13 +00:00
Shane Kilkelly
961cec5bc8
Implement swap/restore in SqliteDBStore
2021-02-04 09:52:13 +00:00
Shane Kilkelly
a3d4976ce2
Implement swap/restore on NoopDbStore
2021-02-04 09:52:13 +00:00
Shane Kilkelly
83d9d122bf
Add swap/restore methods to DBStore interface
2021-02-04 09:52:13 +00:00
Shane Kilkelly
21c524d8b6
Log actions when (un)compressing project
2021-02-04 09:52:13 +00:00
Shane Kilkelly
eba7cbe696
Implement gzip in FSGitRepoStore
2021-02-04 09:52:13 +00:00