Commit graph

18779 commits

Author SHA1 Message Date
Jakob Ackermann
7b5aa23285 Merge pull request #4251 from overleaf/jpa-compile-request-timeout
[ClsiManager] timeout compile request

GitOrigin-RevId: 0213bb93bbdc9a75c07b27226b780dff5ee6f732
2021-06-24 02:07:05 +00:00
Alf Eaton
7c97f8ab6e Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports

GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
2021-06-24 02:06:59 +00:00
Alf Eaton
94641f737c Merge pull request #4243 from overleaf/as-fix-webpack-public-path
Configure webpack public path for gallery search bundle, fixing translations failing to load

GitOrigin-RevId: e785ccac2bbba7ff9d929730c6ea84249f6db109
2021-06-24 02:06:54 +00:00
Alf Eaton
bb55fc2e32 Add useDropdown hook (#4228)
GitOrigin-RevId: a16762139049aed1e309b1330602c3b291d41f81
2021-06-24 02:06:49 +00:00
Alf Eaton
2328dd1705 Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
2021-06-24 02:06:45 +00:00
Simon Detheridge
cf7d7878a1 Merge pull request #112 from overleaf/spd-gprof
Add Google debug and profiling agents to Git Bridge
2021-06-23 15:27:56 +01:00
Simon Detheridge
72233ec334 Add parameters to enable debug agent to startup script 2021-06-23 15:05:21 +01:00
Brian Gough
3185bdacf7 Merge pull request #254 from overleaf/jpa-caching-processing-deadline
[misc] bail out from pdf caching processing after 10s or earlier
2021-06-23 14:59:02 +01:00
Simon Detheridge
9c8ff2f022 Add cloud debug agent to Docker image 2021-06-23 14:58:49 +01:00
Simon Detheridge
a469bc6732 Add parameters to enable profile agent to startup script 2021-06-23 14:58:25 +01:00
Jakob Ackermann
743bfced64 [misc] ContentCacheManager: apply review feedback
- count stages
- lower bound is 1s

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
2021-06-23 14:42:39 +01:00
Simon Detheridge
c46f460527 Add cloud profiler to Docker image 2021-06-23 14:22:04 +01:00
Jakob Ackermann
b09e52510f [misc] bail out from pdf caching processing after 10s or earlier
...for fast compiles.
2021-06-23 14:20:04 +01:00
Simon Detheridge
de5903a6e9 Merge pull request #111 from overleaf/spd-native-mem-diags
Add diagnostics endpoint to debug native memory usage
2021-06-23 13:44:47 +01:00
Simon Detheridge
ad8fafc5b4 Add http endpoint to print out native memory diagnostics 2021-06-23 12:43:30 +01:00
Simon Detheridge
f51b8139e9 Allow overriding JVM args with an environment variable 2021-06-23 12:43:00 +01:00
Jakob Ackermann
c3dba7f74d Merge pull request #253 from overleaf/jpa-debug-slow-pdf-caching
[misc] ContentCacheMetrics: log slow pdf caching performance
2021-06-23 12:39:13 +02:00
Jakob Ackermann
97693b49c2 [ContentCacheMetrics] add new metric for absolute time spent in PDF.js 2021-06-23 11:28:31 +01:00
Jakob Ackermann
11a44ff07c [misc] ContentCacheMetrics: apply review feedback: ignore fast compiles
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
2021-06-23 11:27:19 +01:00
Jakob Ackermann
a4389fb761 [misc] ContentCacheMetrics: log slow pdf caching performance 2021-06-23 09:25:16 +01:00
Jakob Ackermann
7e88b4f746 Merge pull request #252 from overleaf/jpa-flag-empty-outout-pdf
[CompileController] emit status=failure for an empty output.pdf file
2021-06-23 10:11:29 +02:00
Jakob Ackermann
cc83d640f0 Merge pull request #4237 from overleaf/jpa-pdf-caching-full
[misc] roll out pdf caching in full -- send metrics for 5% of users

GitOrigin-RevId: 12ae5a61ef39d206980681b54fe9c871ca1b86b4
2021-06-23 02:05:57 +00:00
Jakob Ackermann
b2bc589ad1 Merge pull request #4236 from overleaf/jpa-cleanup-metrics
[PdfJsMetrics] drop unused metrics

GitOrigin-RevId: 377cb4c97746bb81b9cf90e1d48e0050a8d05893
2021-06-23 02:05:52 +00:00
Simon Detheridge
830b7f54fc Merge pull request #110 from overleaf/spd-prom-metrics-handler
Export prometheus metrics directly from handler
2021-06-22 16:48:49 +01:00
Simon Detheridge
1eb22a7d6d Export prometheus metrics directly from handler 2021-06-22 16:40:18 +01:00
Simon Detheridge
da8476b008 Merge pull request #109 from overleaf/spd-metrics-fix
Fix /metrics endpoint in latest Jetty.
2021-06-22 15:47:06 +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
70f4e5801d Merge pull request #107 from overleaf/sk-upgrade-jetty-2106
Upgrade jetty and jetty-servlet
2021-06-22 13:15:03 +01:00
Simon Detheridge
b2bc6ac0eb Merge pull request #106 from overleaf/spd-prometheus
Export prometheus metrics
2021-06-22 13:13:15 +01:00
Simon Detheridge
eb9cf6f256 Export prometheus metrics 2021-06-22 13:06:40 +01:00
Jakob Ackermann
ffaff1bd72 [CompileController] emit status=failure for an empty output.pdf file 2021-06-22 12:15:12 +01:00
Jakob Ackermann
fb3966ef35 [misc] CompileController: simplify composing of outputFiles 2021-06-22 12:15:12 +01:00
Shane Kilkelly
c29795f043 Upgrade jetty-servlet to 9.4.38.v20210224 2021-06-22 11:33:14 +01:00
dependabot[bot]
c6897d3b42 Bump jetty-server from 9.4.8.v20171121 to 9.4.38.v20210224
Bumps [jetty-server](https://github.com/eclipse/jetty.project) from 9.4.8.v20171121 to 9.4.38.v20210224.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.8.v20171121...jetty-9.4.38.v20210224)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 10:36:28 +01:00
Henry Oswald
8e2cd57cb9 very basic mvp for shedding load
When the box is over 100% capacity start to shed load.

Use 5 min load average to make the system less likely to start moving
projects off after a temporary cpu spike
2021-06-22 09:46:24 +01:00
Timothée Alby
0ed07ec0b6 Merge pull request #4214 from overleaf/ta-inbound-register
Track Inbound Properties on Registration

GitOrigin-RevId: b7ff041ef6a2401683bdbf55756f332d78768f11
2021-06-22 02:07:34 +00:00
Timothée Alby
834c7181e5 Merge pull request #4230 from overleaf/msm-prevent-chat-render
Prevent chat-pane from being rendered when user is not defined

GitOrigin-RevId: d044c5d9dc7f07fa535bed746b46a6cff1f78dff
2021-06-22 02:07:28 +00:00
Timothée Alby
1c24ecd33e Merge pull request #4208 from overleaf/jel-admin-must-reconfirm
Relabel "Must Reconfirm" and add details

GitOrigin-RevId: 04b981b7d7a92d896faf59301a02e05267062941
2021-06-22 02:07:21 +00:00
Timothée Alby
866e2f0aab Merge pull request #4223 from overleaf/bg-load-server-worker-timeout
add timeout on loading of service worker

GitOrigin-RevId: d2153c9abf1dbd6eee3b2fcfd770a21766ebb84e
2021-06-22 02:07:16 +00:00
Timothée Alby
392b854f49 Merge pull request #4224 from overleaf/as-symbol-palette-tweaks
2 minor symbol palette tweaks

GitOrigin-RevId: a1e8a1994330735f9cdb154743f679b02213ccb0
2021-06-22 02:07:12 +00:00
Alf Eaton
eebeffc1c5 Merge pull request #4188 from overleaf/ae-memo
Improve React performance by memoizing components and values

GitOrigin-RevId: 805278b8b7ac04c3dc4b078fa53cc0e3770d261b
2021-06-22 02:07:08 +00:00
Alf Eaton
d64172cfff Merge pull request #4226 from overleaf/ae-jsdom-upgrade
Upgrade jsdom to 16.6.0

GitOrigin-RevId: 748324dff7198b8f3db4c86b54814d97b79d51c3
2021-06-22 02:07:04 +00:00
Alf Eaton
754fe8bff6 Merge pull request #4227 from overleaf/ae-enable-file-upload-test
Enable file drop/paste upload tests

GitOrigin-RevId: 90d4fc3621cee7142c1016aa8637bea2620b6ad0
2021-06-22 02:07:00 +00:00
Alf Eaton
03b11b2b6c Improve bibliography import tests (#4217)
GitOrigin-RevId: 25ddff808a8b427e024d9d1375a24fc86305c38e
2021-06-22 02:06:56 +00:00
Simon Detheridge
d5fa029b54 Merge pull request #105 from overleaf/spd-update-and-debug
Update JVM and add GC logging
2021-06-21 13:41:15 +01:00
Simon Detheridge
7a934b8eba Update mockito 2021-06-21 11:22:44 +01:00
Simon Detheridge
6009393013 Add some core tools for debugging processes 2021-06-21 11:21:58 +01:00
Simon Detheridge
bce5af615f Add gc logging to the Git Bridge 2021-06-21 11:21:58 +01:00
Simon Detheridge
9ef4d1ee5c Update Java to 11 2021-06-21 11:21:53 +01:00
Alf Eaton
1760d93fc4 Upgrade React to v17 (#4201)
* Upgrade react and react-dom
* Fix test
* Ensure that the "history:toggle" event is broadcast when switching in or out of history view
* Add ControlledDropdown
* Remove DropdownButton stories

GitOrigin-RevId: 3810f6986bb60e59af31f960f431c31be16554f5
2021-06-19 02:08:29 +00:00