Commit graph

17755 commits

Author SHA1 Message Date
Christopher Hoskin
db5084d30f Updrade runtime dependencies 2020-07-02 11:08:10 +01:00
Christopher Hoskin
bcaee67a5c Bump sinon and sandboxed-module 2020-07-02 11:04:21 +01:00
Christopher Hoskin
fcd4a60657 Make prettier 2020-07-02 11:01:23 +01:00
Christopher Hoskin
4c8d29af59 Update mocha and prettier 2020-07-02 11:00:28 +01:00
Christopher Hoskin
edbf7220df 2.1.1 2020-07-02 10:53:42 +01:00
Christopher Hoskin
d695a40a61 Lint 2020-07-02 10:51:37 +01:00
Christopher Hoskin
b932a8127b Bump eslint plugins 2020-07-02 10:46:37 +01:00
Chrystal Maria Griffiths
b1b0d54285 Merge pull request #2965 from overleaf/cmg-ns-no-question-mark-create-project
Specify owner when creating new project

GitOrigin-RevId: cf0505767a3eabbbbf7c6a429ee449c5dad14e4c
2020-07-02 02:10:15 +00:00
Chrystal Maria Griffiths
0da739fdc4 Merge pull request #2967 from overleaf/cmg-covid-july-copy
Change copy for WFH group user notifications

GitOrigin-RevId: 4b163a807e8c3b00b922d90e3fb7c57c5989c495
2020-07-02 02:10:10 +00:00
Christopher Hoskin
19177b68dd Update logger to 2.1.0 2020-07-01 15:57:13 +01:00
Christopher Hoskin
8774d39a1e Update logger to 2.1.0 2020-07-01 15:56:47 +01:00
Jakob Ackermann
8601084a2e [misc] WebsocketControllerTests: remove debugging code 2020-07-01 11:36:36 +01:00
Jakob Ackermann
f703b2ca41 [misc] move the image check prior to the base image override 2020-07-01 10:01:25 +01:00
Eric Mc Sween
bd7bddc2d6 Merge pull request #2960 from overleaf/jpa-remove-carriage-return-char
[frontend] ShareJsDoc: remove carriage return char from initial snapshot

GitOrigin-RevId: c4a2efaa9c1a372bfe7503ab5a55171c7c76b113
2020-07-01 02:10:54 +00:00
Eric Mc Sween
42c7fbf38c Merge pull request #2959 from overleaf/em-admin-only-texlive-images
Admin only TeX Live images

GitOrigin-RevId: 428896c4e5512053bd7fa6c618ff64efd1a6141a
2020-07-01 02:10:49 +00:00
Eric Mc Sween
fdb79de3a6 Merge pull request #2947 from overleaf/as-migrate-publish-modal-fetch
Migrate publish modal requests from $.ajax to fetch

GitOrigin-RevId: de9fe1884fef5c8f375b820907720beba1a641e4
2020-07-01 02:10:43 +00:00
Eric Mc Sween
3b69a3fc1d Merge pull request #2938 from overleaf/jpa-simple-sampled-socket-io-error
[misc] emit 'socket-io-error' event on connection setup errors

GitOrigin-RevId: 3054da8ec692574f8383fd6cff8788165cbad89b
2020-07-01 02:10:36 +00:00
Eric Mc Sween
770bd16ed3 Merge pull request #2927 from overleaf/ta-remove-dead-card-validation-code
Remove Dead Card Validation Code

GitOrigin-RevId: c8c8ed34191e8b72722e6966966d99c35b866a02
2020-07-01 02:10:31 +00:00
Eric Mc Sween
6be41f858a Merge pull request #2964 from overleaf/em-expire-projects
Limit batch size when expiring projects

GitOrigin-RevId: 492c318e3f07c08b451d0894ff2754402677f75f
2020-07-01 02:10:21 +00:00
Brian Gough
2895b867cf Merge pull request #18 from overleaf/jpa-csh-tracing-end-time-from-fs
[checkLogLevel] read the updated tracing end time from disk
2020-06-30 16:04:34 +01:00
Christopher Hoskin
52649c9d0b 2.1.0 2020-06-30 14:00:15 +01:00
Christopher Hoskin
fa8df5cc0b Format:fix 2020-06-30 13:56:13 +01:00
Christopher Hoskin
9e54503d1b Add prettier-eslint-cli to dev-dependencies 2020-06-30 13:55:24 +01:00
Christopher Hoskin
c93ee44879 Update acorn dependency (via eslint) https://github.com/advisories/GHSA-6chw-6frg-f759 2020-06-30 13:53:34 +01:00
Jakob Ackermann
aa02df7b81 [misc] apply review feedback
- move setting into clsi.docker namespace
- rename the variable for images to allowedImages / ALLOWED_IMAGES
- add an additional check for the image name into the DockerRunner

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
2020-06-30 12:01:21 +01:00
Miguel Serrano
522e04d769 Merge pull request #86 from overleaf/msm-remove-source-maps
Remove source maps
2020-06-30 12:24:06 +02:00
Miguel Serrano
af3be13cf3 Merge pull request #87 from overleaf/msm-set-s3mock-image-latests
Removed pinned version of adobe/s3mock docker image
2020-06-30 12:18:28 +02:00
Timothée Alby
1012dbc3c4 Merge pull request #2961 from overleaf/ta-spike-outline
Document Outline Spike

GitOrigin-RevId: adc315a3546147eb10c7a40ae70f9cab1cbf7b8d
2020-06-30 02:10:19 +00:00
Chrystal Maria Griffiths
05abdd18d7 Merge pull request #2935 from overleaf/cmg-covid-upgrades
Add script for WFH offer ending

GitOrigin-RevId: b9291824a0712740d5d40439f759eb8a7d11d9ca
2020-06-30 02:10:14 +00:00
Jakob Ackermann
a77222470b [misc] WebsocketControllerTests: always pass cb to updateClientPosition
...and fix the inconsistent async behaviour for logged-in vs anonymous
 users in the app.
2020-06-29 18:11:33 +01:00
Jakob Ackermann
4d01c02946 [misc] WebsocketControllerTests: explicitly pass a cb to leaveProject
...and fix the stubbing of `io.sockets.clients`.

We were running the assertions prior to the actual completion of the
 leaveProject. Which in turn shadowed the broken test setup --
 `io.sockets.clients()` was returning the `this.clientsInRoom=[]` from a
 previous context.
2020-06-29 17:38:22 +01:00
Jakob Ackermann
bea0e9beb7 [misc] RoomManagerTests: explicitly pass a cb to joinProject/joinDoc 2020-06-29 17:12:26 +01:00
Miguel Serrano
39069e6b52 Merge pull request #757 from overleaf/msm-hotfix-2.3.1
Hotfix 2.3.1: Fixed synctex
2020-06-29 17:10:26 +02:00
Miguel Serrano
4dba0a3170 Removed pinned version of adobe/s3mock docker image 2020-06-29 12:59:38 +02:00
Jakob Ackermann
153a9c5790 Merge pull request #2953 from overleaf/jpa-nocache
[misc] Server: invoke the nocache middleware explicitly and add test

GitOrigin-RevId: 3238b07ebf5963ae95ef3f353e4745d283795fba
2020-06-27 02:10:30 +00:00
Jakob Ackermann
ccb5811cb6 Merge pull request #2945 from overleaf/jpa-pug-compileDebug-false
[misc] disable debug mode for pre-compile of pug templates by default

GitOrigin-RevId: 0a6798eec577f1be24017ba91f1378b16d80b528
2020-06-27 02:10:24 +00:00
Shane Kilkelly
395c558d77 Merge pull request #80 from overleaf/sk-health-check-trailing-slash
Handle HEAD method, and trailing slash on status and health-check calls
2020-06-26 14:52:22 +01:00
Shane Kilkelly
e7b19ea4a0 Update src/main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java
Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
2020-06-26 13:37:18 +01:00
Shane Kilkelly
4161416659 Update src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java
Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
2020-06-26 13:37:09 +01:00
Jakob Ackermann
c857371fed [misc] wordcount: restrict image to an allow list and add tests 2020-06-26 13:28:12 +01:00
Jakob Ackermann
8846efe7ce [misc] RequestParser: restrict imageName to an allow list and add tests 2020-06-26 13:28:09 +01:00
Shane Kilkelly
5e31a11938 Respond to HEAD request in /status, /health_check 2020-06-26 11:54:18 +01:00
Jessica Lawshe
176c0f3742 Merge pull request #2942 from overleaf/jel-css-is-overleaf
Start removing is-overleaf from CSS

GitOrigin-RevId: fa37bedd857fc492f8d2e1df1758e2e5f924f000
2020-06-26 02:10:02 +00:00
Shane Kilkelly
a9a7f54a96 Handle trailing slash on status and health_check 2020-06-25 16:43:57 +01:00
Ersun Warncke
e83f6b609b pr fixes 2020-06-25 08:27:14 -04:00
Miguel Serrano
f8ca906393 Fixed NPE when Settings.clsi is defined but Settings.clsi.docker is not 2020-06-25 12:31:10 +02:00
Miguel Serrano
c2575ad666 Fixed syntex 2020-06-25 12:29:29 +02:00
Ersun Warncke
0e4be81406 upgrade to o-error v3 2020-06-24 22:40:04 -04:00
Jakob Ackermann
5e191be171 [misc] replace console logging with logger-sharelatex 2020-06-24 11:12:22 +01:00
Jakob Ackermann
fa42166be3 [misc] ignore camelcase warning in settings (key_schema parameter) 2020-06-24 10:52:38 +01:00