Commit graph

17888 commits

Author SHA1 Message Date
Simon Detheridge
216a977922 Add try/catch around all client emissions 2020-02-04 12:13:03 +00:00
Brian Gough
ebb83e4633 use diconnected property, not connected 2020-02-04 11:59:25 +00:00
Brian Gough
7380d523d5 avoid emitting when client not connected
the emit is happening asynchronously after the client list is computed,
so clients may have disconnected in the intervening time.
2020-02-04 11:39:37 +00:00
Brian Gough
d12e056f08 Merge pull request #89 from overleaf/bg-improve-shutdown-logging
improve shutdown logging
2020-02-04 11:19:50 +00:00
Brian Gough
e263d37476 pass the signal correctly to the shutdown handler 2020-02-04 11:14:53 +00:00
Brian Gough
1fc8cc44c3 log shutdown messages as warnings 2020-02-04 11:14:14 +00:00
Simon Detheridge
a7ec454ed3 Merge pull request #88 from overleaf/spd-socketio-bump
Update socket.io to latest patch release
2020-02-04 10:44:28 +00:00
Simon Detheridge
c7e2b99a7b Update hybi-16 patch to work with socket.io 0.9.19 2020-02-04 10:43:06 +00:00
Simon Detheridge
ef852dfa33 Update socket.io to latest patch release 2020-02-04 10:32:54 +00:00
nate stemen
60554cb634 Merge pull request #2543 from overleaf/hb-remove-unused-v1-endpoints
Remove unused v1 endpoints

GitOrigin-RevId: b7d629b42f10074cf17dfb1d851316f970584a81
2020-02-04 04:19:13 +00:00
nate stemen
1f514ec603 Merge pull request #2550 from overleaf/jpa-strip-tex
[autocomplete] input/include: strip the .tex extension

GitOrigin-RevId: 15ae910e38717382a734848c33cbdb3c66a75ac9
2020-02-04 04:19:09 +00:00
nate stemen
ab175a340b Merge pull request #2554 from overleaf/jpa-explicitly-polyfill-array-from
[frontend] libraries: explicitly request the Array.from polyfill

GitOrigin-RevId: cec64e4e94623b454de1103580f58de9a61d12f5
2020-02-04 04:19:03 +00:00
nate stemen
dda4ce18d3 Merge pull request #2556 from overleaf/cmg-missing-analytics
Add missing Google Analytics events

GitOrigin-RevId: 37f8ca52829ea00bd73b2cd1e0045c48839ea970
2020-02-04 04:18:59 +00:00
nate stemen
aa48d639a0 Merge pull request #2560 from overleaf/ta-group-admin-no-features
Don't Give Features To Group Admins

GitOrigin-RevId: 3588aff773bdc4cf18d18ce52f2c1b73462d806e
2020-02-04 04:18:55 +00:00
nate stemen
44f7053e87 Merge pull request #2564 from overleaf/revert-2497-pr-add-dropbox-survey-link
Revert "Add dropbox survey link."

GitOrigin-RevId: c2c67843ed9d311193ccc526142d97c1730034c0
2020-02-04 04:18:50 +00:00
Jakob Ackermann
d51d119e02 Merge pull request #68 from overleaf/jpa-node-10
[misc] upgrade node to version 10.18.1
2020-02-03 16:58:14 +01:00
Brian Gough
4f94110225 Merge pull request #84 from overleaf/spd-catch-errors
Bump to Node 10 and add error handlers for socket.io
2020-02-03 14:59:04 +00:00
Brian Gough
49a8e1214b use a separate field for client errors 2020-02-03 14:47:45 +00:00
Brian Gough
e04b6e1e49 Update app/coffee/Router.coffee
Co-Authored-By: Jakob Ackermann <das7pad@outlook.com>
2020-02-03 14:46:14 +00:00
Jakob Ackermann
ac4361d560 [misc] dockerignore: hide the local data dirs 2020-01-31 15:50:53 +01:00
Jakob Ackermann
c1d81dc1ea [misc] install a maintained ghostscript version and delete package lists
also do not install vim and bail out in case any command exited with a
 non zero exit code.
2020-01-31 15:50:53 +01:00
Jakob Ackermann
732860a49e [misc] upgrade node to version 10.18.1 2020-01-31 15:40:19 +01:00
Jakob Ackermann
e0d3b3fe17 Merge pull request #67 from overleaf/jpa-offline-s3
Add support for offline s3 tests
2020-01-31 15:25:53 +01:00
Ersun Warncke
aadfcc89a8 remove scripts that are no longer used
GitOrigin-RevId: 3f6c69d856bb16e56759b7947b099293163c4615
2020-01-31 04:16:53 +00:00
Ersun Warncke
76b88a87b6 remove UserStub related code
GitOrigin-RevId: df2559395d1c7f386a07feb5a2ff3c07b6922350
2020-01-31 04:16:49 +00:00
Brian Gough
338d3609f5 add comment about null byte check 2020-01-30 15:17:13 +00:00
Brian Gough
f01df58a04 Merge pull request #2558 from overleaf/bg-add-user-info-to-client-error-reports
add user_id and project_id to client side error reports

GitOrigin-RevId: 3966e9a6c969e198bd333c1ce6687d58b6fa0128
2020-01-30 04:16:39 +00:00
Brian Gough
327f8979b6 Merge pull request #2551 from overleaf/bg-fix-race-condition-in-open
fix worst case of race condition in EditorManager.openNewDocument

GitOrigin-RevId: 24cbc87de2e420c35ffd6a82a2cd761229fd03e1
2020-01-30 04:16:35 +00:00
Brian Gough
4bbc745f4a Merge pull request #2546 from overleaf/bg-update-filetree-on-open
update the file tree selection whenever a document is opened

GitOrigin-RevId: 88d7b651b43d0a0ca5fa9998d4c42c7b1d3effc5
2020-01-30 04:16:30 +00:00
Simon Detheridge
cd8693db40 Merge pull request #2540 from overleaf/spd-saml-post-gateway
Add generic POST gateway to handle samesite=lax session cookies

GitOrigin-RevId: e50a0fde63659a77a047e545a22fba5339f16427
2020-01-30 04:16:26 +00:00
Alasdair Smith
0d6cd8fca6 Merge pull request #2523 from overleaf/revert-2520-revert-2488-as-import-pr-708
Bring back reverted Vendor web fonts PR

GitOrigin-RevId: 7430df7cefca120def048f8bbe2799b30772c686
2020-01-29 12:07:22 +00:00
Jakob Ackermann
16ca8f25c4 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
John Lees-Miller
2a5b6ccd98 Merge pull request #7 from overleaf/fix-expect
Fix incorrect expect
2020-01-28 13:44:15 +00:00
Jakob Ackermann
f9bc6dc51b Merge pull request #109 from overleaf/jpa-node-10
[misc] upgrade node to 10.18.1
2020-01-28 10:40:14 +01:00
Miguel Serrano
6a5f1588cc Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Simon Detheridge
4fb76e6cc5 Merge pull request #2548 from overleaf/update-latex-slides
Update latex slides

GitOrigin-RevId: 14cbf0ea91fb692f86e998b6d66d8931af589717
2020-01-28 04:19:03 +00:00
Simon Detheridge
fce70774cc Merge pull request #2542 from overleaf/ns-fix-import-w-readtoken
skip existence check if importing with read token

GitOrigin-RevId: 70d045be8415d7e0850347bdf9113b5ec3f310d0
2020-01-28 04:18:59 +00:00
Simon Detheridge
34d3671640 Merge pull request #2533 from overleaf/revert-2460-hb-remove-personal-plan-code
Add back specific logic for old default personal plan code

GitOrigin-RevId: 36aa2ab2be06c27faa6ffca7f2dacdf8aef9322f
2020-01-28 04:18:53 +00:00
Simon Detheridge
08a35b8998 Merge pull request #2541 from overleaf/revert-2382-msm-remove-recaptcha-default-config
Revert "Remove Recaptcha default config"

GitOrigin-RevId: 70e5b7b1f52e89a676fc0cea3654fbe5f59739ce
2020-01-28 04:18:49 +00:00
Simon Detheridge
c35ae7024f Merge pull request #2524 from overleaf/sk-add-aria-attribs-on-close-buttons
Add aria labels to close buttons ("X" on modal)

GitOrigin-RevId: 4255844e29d4b0eedb0acb36bb2356337c543bcd
2020-01-28 04:18:45 +00:00
Simon Detheridge
dc35a7f75e Merge pull request #2536 from overleaf/spd-projectstructuretests-cleanup
Clean up ProjectStructureTests helper methods

GitOrigin-RevId: bc2b5bd66fc875442a703a57ee79b3cca8585ba5
2020-01-28 04:18:40 +00:00
Jakob Ackermann
ca668ad657 [misc] test/acceptance: wait for the s3 container to start 2020-01-27 12:21:31 +01:00
Jakob Ackermann
b0b96ee014 [misc] add support for offline s3 tests
update the build scripts to 1.3.4
2020-01-27 12:21:30 +01:00
Jakob Ackermann
265e30df3d [misc] update build scripts to version 1.3.3 2020-01-27 12:17:52 +01:00
John Lees-Miller
59156ec89e Fix incorrect expect 2020-01-27 10:45:31 +00:00
Jakob Ackermann
9e28ceb9db [misc] test/acceptance: do not hard code the logging level
There is an environment variable LOG_LEVEL to set it.
2020-01-24 18:30:03 +01:00
Brian Gough
544ae05212 added note about rollback 2020-01-23 16:22:26 +00:00
Brian Gough
626e19ed1a add logging of migration phase at startup 2020-01-23 15:46:54 +00:00
Jakob Ackermann
2630aa7367 Merge pull request #133 from overleaf/jpa-dump-all-git-shas
[misc] export all git repository revisions
2020-01-23 15:37:48 +01:00
Brian Gough
d5a2b96df9 add note about deleting the migration key entries 2020-01-23 14:36:59 +00:00