Commit graph

18523 commits

Author SHA1 Message Date
Christopher Hoskin
3bb5128f91 Merge pull request #203 from overleaf/jpa-issue-3895-node-10-23-1
[misc] bump the node version to 10.23.1
2021-01-05 19:10:20 +00:00
Eric Mc Sween
23b2b8aefb Merge pull request #142 from overleaf/jpa-issue-3895-node-12.20.1
[misc] bump the node version to 12.20.1
2021-01-05 13:51:33 -05:00
Eric Mc Sween
7b72a563e7 Merge pull request #141 from overleaf/spd-pin-fakegcs
pin fake-gcs to 1.21.2 to prevent acceptance-test errors
2021-01-05 13:49:56 -05:00
Jakob Ackermann
8ae3a43b79 Merge pull request #67 from overleaf/jpa-issue-3895-node-10-23-1
[misc] bump the node version to 10.23.1
2021-01-05 18:46:53 +00:00
Jakob Ackermann
c9cb5198e1 [misc] bump the node version to 12.20.1 2021-01-05 18:41:32 +00:00
Jakob Ackermann
9eb32e5900 [misc] bump the node version to 10.23.1 2021-01-05 18:38:55 +00:00
Jakob Ackermann
cac18ac4b9 [misc] bump the node version to 10.23.1 2021-01-05 18:32:01 +00:00
Jakob Ackermann
c2f8f26da4 [misc] bump the node version to 10.23.1 2021-01-05 18:26:52 +00:00
Paulo Jorge Reis
0507b5e1f0 Fix log hints for IE 11 (#3507)
* Fix log hints for IE 11

* Address PR feedback

GitOrigin-RevId: d5369e3dcd42970edbcf7bbd566e6e608ab90878
2021-01-05 03:07:35 +00:00
Jakob Ackermann
1edc628454 [misc] MongoManager: drop unused, potentially expensive default options
All call-sites specify an options object.
2021-01-04 16:07:14 +00:00
Jakob Ackermann
9298f486ad [app] add a new route for archiving a single doc
There is a minor opportunity for optimizing the mongo call(s) for
 archiving: we should include `{ inS3: false }` in the queries instead
 of filtering locally. It's been like that for years now, so it can
 stay a little longer.
2021-01-04 13:47:55 +00:00
Simon Detheridge
8989735c69 pin fake-gcs to 1.21.2 to prevent acceptance-test errors 2021-01-04 13:32:16 +00:00
Jakob Ackermann
bbcc47a2c4 [misc] fix ci -- pin fake-gcs to a compatible version 2021-01-04 11:57:35 +00:00
Jakob Ackermann
fcdc244a11 [misc] add --no-transfer-progress to all the mvn commands
Apparently `mvn clean` downloads all the packages when running
 `make package`.
2021-01-04 10:31:40 +00:00
Jakob Ackermann
275bb1b330 [misc] hide the download progress of dependencies 2021-01-04 10:31:39 +00:00
Jakob Ackermann
49b764a308 [misc] CompileController: exact match for output.pdf
The previous regex could mistake user provided pdf files, like
 `fake_output.pdf`, as the final output file.
The frontend expects to find a `output.pdf` file on success.
2020-12-28 13:16:31 +00:00
Brian Gough
e183fffa4b format fix 2020-12-18 16:15:06 +00:00
Brian Gough
dafe69b5e6 remove unused module var 2020-12-18 16:15:06 +00:00
Brian Gough
36b646bb84 remove comments 2020-12-18 16:15:06 +00:00
Brian Gough
f20a0d1a69 remove unused var 2020-12-18 16:15:03 +00:00
Brian Gough
df1caa14b8 remove unused require 2020-12-18 16:14:36 +00:00
Brian Gough
ca98ee5cff use a Set instead of an Object 2020-12-18 16:14:09 +00:00
Brian Gough
43b0429c28 clean up relative path checking 2020-12-18 16:14:05 +00:00
Brian Gough
73e09ff99f remove unnecessary requires 2020-12-18 15:28:06 +00:00
Brian Gough
cee93a0cd9 clean up unnecessary var 2020-12-18 15:28:06 +00:00
Brian Gough
4169f7fc73 use once for callback 2020-12-18 15:28:06 +00:00
Brian Gough
e84d6305f3 remove unnecessary return 2020-12-18 15:16:07 +00:00
Brian Gough
ae064e8997 lint fix 2020-12-18 15:11:29 +00:00
Brian Gough
323890cedb remove Array.from 2020-12-18 15:10:53 +00:00
Brian Gough
c044db4897 remove guard helper 2020-12-18 15:09:48 +00:00
Brian Gough
0bae53c7f3 remove unnecessary returns 2020-12-18 15:02:40 +00:00
Brian Gough
eaec57cd01 simplify null check 2020-12-18 15:01:25 +00:00
Brian Gough
411d69e36b remove unnecessary callback code 2020-12-18 14:59:48 +00:00
Brian Gough
11ef3c27ed use Set instead of object 2020-12-18 14:56:53 +00:00
Brian Gough
64ea22d259 remove unnecessary null checks 2020-12-17 12:05:17 +00:00
Brian Gough
299d7cc5fe remove unnecessary returns 2020-12-17 12:01:14 +00:00
Brian Gough
5a539b7f90 remove guard function 2020-12-17 11:59:15 +00:00
Brian Gough
4d8e4d54e5 remove Array.from 2020-12-17 11:49:02 +00:00
Alasdair Smith
2c556366e2 Merge pull request #3464 from overleaf/as-import-from-settings-macro
Load modules in React using importOverleafModules Babel macro

GitOrigin-RevId: 5553ede59d75306a7085424b5e0a20dabe0792f5
2020-12-17 03:07:42 +00:00
Alasdair Smith
d487ffea5c Merge pull request #3490 from overleaf/as-remove-eslint-disables
Remove empty eslint disable comments

GitOrigin-RevId: 5a0f3a5a9e4f20fdd8138ecc8c929a7587ccef66
2020-12-17 03:07:37 +00:00
Alasdair Smith
7cbf2cdd9e Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule

GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
2020-12-17 03:07:31 +00:00
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Shane Kilkelly
6d44851869 Merge pull request #88 from overleaf/jpa-docker-image
[misc] docker image
2020-12-15 09:54:33 +00:00
Miguel Serrano
1fcf94c3b9 Merge pull request #3436 from overleaf/msm-react-shared-context
React shared context

GitOrigin-RevId: ebc6fa90dd8c65ddf803fd457c99a30f0e8e3c9c
2020-12-15 03:05:07 +00:00
Brian Gough
c446f7712c Merge pull request #3487 from overleaf/bg-shut-down-connection-manager
shut down connection manager on out of sync

GitOrigin-RevId: e191ed62a49c72e8b8ed8c9ba57ed6e0b3606abe
2020-12-15 03:05:03 +00:00
Brian Gough
9a1ef37991 Merge pull request #3484 from overleaf/jpa-hide-ui-below-out-of-sync
[frontend] hide ui elements below the out-of-sync modal

GitOrigin-RevId: 4e48b402522531524f347c784c58f4589b753997
2020-12-15 03:04:58 +00:00
Brian Gough
ad8f7fbb5d Merge pull request #3483 from overleaf/jpa-leave-on-out-of-sync
[frontend] displaying the out-of-sync modal is a dead end

GitOrigin-RevId: 475bf851c9f07bb2a7b052879b98756881de44a2
2020-12-15 03:04:53 +00:00
Brian Gough
0b94c89990 Merge pull request #3482 from overleaf/jpa-cleanup-on-epoch-mismatch
[frontend] on editorOpenDocEpoch mismatch, cleanup the old doc

GitOrigin-RevId: b07beb33a17d218d7aa35961dee5e215bd82c315
2020-12-15 03:04:49 +00:00
Brian Gough
a393352516 Merge pull request #3479 from overleaf/jpa-ignore-error-of-other-doc
[frontend] do not process otUpdateError of other docs

GitOrigin-RevId: 95b43fbe1f24c1b60a0b9beeb3814645231e5063
2020-12-15 03:04:45 +00:00
Brian Gough
62dd773629 Merge pull request #3478 from overleaf/jpa-preseve-out-of-sync-trigger
[frontend] preserve the error handler that powers the out-of-sync modal

GitOrigin-RevId: 759ede691658d42cedec7c984b284e45d5c776e9
2020-12-15 03:04:40 +00:00