Jessica Lawshe
30a2997b43
Merge pull request #2789 from overleaf/as-fix-no-undef
...
Enable no-undef linting rule for all frontend files and fix errors
GitOrigin-RevId: bf9c789a381af982bdece55a2f518a2b610c9202
2020-05-13 03:23:18 +00:00
Jessica Lawshe
3778c47aec
Merge pull request #2822 from overleaf/spd-oio-moreurls-redux
...
Allow opening of data URLs and snip arrays in Open-in-Overleaf
GitOrigin-RevId: bf51b1f9e2ef42889825d43303cfb6074fd569a6
2020-05-13 03:23:12 +00:00
Jessica Lawshe
a0c9b12204
Merge pull request #2824 from overleaf/jel-file-count
...
Exclude deleted files from getFullCount
GitOrigin-RevId: 2d01dc7aee50e8a237fe4c7dc9bbaae27ac53cc1
2020-05-13 03:23:06 +00:00
Jakob Ackermann
55af5e502f
[WebsocketController] skip leaveProject when joinProject didn't complete
...
Also drop dead code:
- user_id bailout
There is a check on a completed joinProject call now. It will always
set a user_id, see Router.coffee which has a fallback `{_id:"..."}`.
- late project_id bailout
WebsocketLoadBalancer.emitToRoom will not work without a project_id.
We have to bail out before the call.
2020-05-12 17:15:08 +02:00
Eric Mc Sween
a4de5848fb
Merge pull request #133 from overleaf/em-json-request-size
...
Make max JSON request size configurable and default to 8 MB
2020-05-12 08:02:25 -04:00
Jakob Ackermann
684cb3903c
[WebsocketController] handle redis subscribe error on joinProject
...
joinProject should not complete when the redis pub/sub subscribe request
failed.
2020-05-12 13:03:50 +02:00
nate stemen
f298787565
Merge pull request #2809 from overleaf/cmg-references-styling
...
Remove old ShareLaTeX style on reference search hover
GitOrigin-RevId: e4eed24dacc90a5649e0d994094e11dde316a6ca
2020-05-12 03:26:07 +00:00
nate stemen
186adf8410
Merge pull request #2816 from overleaf/jpa-fix-project-list-for-ce
...
[misc] fix project list for installations w/o affiliations feature
GitOrigin-RevId: 2fa2cf7ac5418e04ab876c7fffcd9614fe7af0b3
2020-05-12 03:26:00 +00:00
Eric Mc Sween
16c0ed23db
Fix tests after decaf cleanup
...
* Camel casing in logs
* The Express request object always has query and body properties
2020-05-11 11:37:59 -04:00
Eric Mc Sween
0b1c7e90af
Decaf cleanup: remove unused variables
2020-05-11 11:26:28 -04:00
Eric Mc Sween
3acb970442
Decaf cleanup: simplify stubbed class
2020-05-11 11:24:07 -04:00
Eric Mc Sween
526ef25fcf
Decaf cleanup: unnecessary returns
2020-05-11 11:20:55 -04:00
Eric Mc Sween
a2a1914a53
Use max_doc_length setting to limit incoming doc size
2020-05-11 11:15:37 -04:00
Eric Mc Sween
cb959ddfc1
Decaf cleanup: use arrow functions for callbacks
2020-05-11 11:14:37 -04:00
Eric Mc Sween
e4ac63dd19
Decaf cleanup: move functions to top level
2020-05-11 11:12:15 -04:00
Eric Mc Sween
64a881461f
Decaf cleanup: camel case variables
2020-05-11 11:07:15 -04:00
Eric Mc Sween
fc73bbe1a5
Decaf cleanup: simplify null checks
2020-05-11 10:52:06 -04:00
Eric Mc Sween
80ea49c69c
Decaf cleanup: remove __guard__
2020-05-11 10:47:27 -04:00
Eric Mc Sween
814ac40e07
Decaf cleanup: unnecessary returns
2020-05-11 10:45:39 -04:00
Eric Mc Sween
3385ec5f26
Decaf cleanup: unnecessary Array.from()
2020-05-11 10:43:22 -04:00
Eric Mc Sween
41c0899b0c
Add a test for document size slightly over max doc length
2020-05-11 10:41:32 -04:00
Soptq
f31d94c4a1
Update docker-compose.yml
...
Restrict redis version to 5.0.0
2020-05-09 14:36:59 +08:00
Eric Mc Sween
f99125c65a
Decaf cleanup: camel case variables
2020-05-08 15:01:34 -04:00
Eric Mc Sween
75f9b0ff10
Decaf cleanup: handle errors
2020-05-08 15:01:34 -04:00
Eric Mc Sween
150c4a88f1
Decaf cleanup: simplify null checks
2020-05-08 15:01:34 -04:00
Eric Mc Sween
dc5d77998c
Decaf cleanup: remove unnecessary returns
2020-05-08 15:01:34 -04:00
Eric Mc Sween
ff2d31c066
Decaf cleanup: remove Array.from()
2020-05-08 15:01:34 -04:00
Eric Mc Sween
e8f935d046
Make max JSON request size configurable and default to 8 MB
...
This is to allow multi-document updates, for example when creating a new
project from a zip file.
2020-05-08 15:01:34 -04:00
Eric Mc Sween
e60d9237d0
Decaf cleanup: simplify null checks
2020-05-08 15:01:34 -04:00
Eric Mc Sween
18b92adcef
Decaf cleanup: remove __guard__()
2020-05-08 15:01:34 -04:00
Eric Mc Sween
7b2420413c
Decaf cleanup: unnecessary returns and arrow functions in callbacks
2020-05-08 15:01:33 -04:00
Eric Mc Sween
53d79d86a9
Decaf cleanup: remove Array.from()
2020-05-08 14:54:54 -04:00
Brian Gough
4947abe88b
fix deprecated usage of Buffer constructor
2020-05-07 10:42:05 +01:00
Brian Gough
8e86f02c43
set encoding when reading from streams
...
using .toString() works most of the time but can lead to utf8 characters being
broken across chunk boundaries.
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding
2020-05-07 10:30:14 +01:00
Jessica Lawshe
4349e85444
Merge pull request #2813 from overleaf/ns-ta-group-account-admin
...
Add admin to group account when new group account is created
GitOrigin-RevId: 81c49a0b414896153a85a8ba1afc364164047c1c
2020-05-07 03:28:28 +00:00
Jessica Lawshe
43a88a0939
Merge pull request #2806 from overleaf/jel-add-space-change-plan
...
Add a space before "Change plan"
GitOrigin-RevId: 99e39a65c251d5a09964891b3355b919b06df877
2020-05-07 03:28:23 +00:00
Jessica Lawshe
b0b7e56770
Merge pull request #2803 from overleaf/jel-og-video
...
Include og:video in metadata
GitOrigin-RevId: ce49aad16eb29d22447f3206b7a1dc6accdf2933
2020-05-07 03:28:17 +00:00
Jessica Lawshe
e3fe498823
Merge pull request #2774 from overleaf/jel-cms-terms-pdf-via-filename
...
Legal terms PDF via CMS
GitOrigin-RevId: 06e7de6a2b3891e91ea662175fd57c95d01c5f79
2020-05-07 03:28:12 +00:00
Miguel Serrano
25ac89d8b0
Merge pull request #2758 from overleaf/sk-as-spd-remove-sl-css
...
Remove SL only styling variables
GitOrigin-RevId: 6673da6a0d6a9c0bd8f55fc4acbaf42d3e5cb7dd
2020-05-07 03:28:07 +00:00
Miguel Serrano
7658a515ba
Merge pull request #2790 from overleaf/ta-sso-notifications-no-dismiss
...
Don't Display Dismiss Button on SSO Notifications
GitOrigin-RevId: f578f57ac348fba4375abee9d842dce34b0c4271
2020-05-07 03:28:02 +00:00
Miguel Serrano
0583f7a667
Merge pull request #2746 from overleaf/ew-jpa-fix-deprecated-express-methods
...
[misc] fix express deprecations
GitOrigin-RevId: 78c730578c6a671f142837c98f98d5fd260332a5
2020-05-07 03:27:56 +00:00
Miguel Serrano
0ba6a1f11d
Merge pull request #2805 from overleaf/jpa-bg-bcrypt-rounds-env
...
[misc] configure the bcrypt rounds via the env variable BCRYPT_ROUNDS
GitOrigin-RevId: 68a2f5b491c7162e943edfbb7e05758114d2b3d8
2020-05-07 03:27:51 +00:00
Miguel Serrano
e1cc614da7
Merge pull request #2800 from overleaf/jpa-force-flush-onblur
...
[frontend] EditorManager: flush the documents as the editor looses focus
GitOrigin-RevId: 9157eba091e21c80202448b6c28c22dddd8cb687
2020-05-07 03:27:47 +00:00
Miguel Serrano
a9d107fbc9
updated webpack, less v3 and related dependencies ( #2808 )
...
GitOrigin-RevId: 4253b795637508d643790bc5fe4ce08049b492d1
2020-05-07 03:27:41 +00:00
Christopher Hoskin
6800b203a5
Merge pull request #733 from overleaf/csh-issue-2578-add-base-tag-arg
...
Try making the base image tag specifiable
2020-05-06 14:21:23 +01:00
Miguel Serrano
fdc29f7b8b
Merge pull request #732 from overleaf/msm-remove-doc-updater-compilation
...
Remove compilation step from document-updater
2020-05-06 14:42:18 +02:00
Miguel Serrano
34a4b12b8b
Remove compilation step from document-updater
2020-05-06 14:32:53 +02:00
Christopher Hoskin
0bcb552f6f
Try making the base image tag specifiable
2020-05-06 11:59:42 +01:00
Timothée Alby
5aeaa4b0c2
Merge pull request #107 from overleaf/ta-decaffeinate
...
Decaffeinate
2020-05-06 12:33:41 +02:00
Tim Alby
9f6ea07002
fix SyntaxError on export
var
2020-05-06 12:17:08 +02:00