Commit graph

17789 commits

Author SHA1 Message Date
Brian Gough
781e01b8b4 Merge pull request #95 from overleaf/bg-update-ioredis
update to ioredis 4.14.1
2019-10-14 09:21:39 +01:00
Brian Gough
75facb159d Merge pull request #2225 from overleaf/bg-validate-sessions
validate the session with a token derived from the sesionid

GitOrigin-RevId: d34a5bb1717a97138e11e7661f7288523199e0e2
2019-10-11 10:16:47 +00:00
Brian Gough
48b58899f7 Merge pull request #2224 from overleaf/bg-fix-use-of-parseint
fix setting for zero values

GitOrigin-RevId: e6037c6e9940421acea730fdc088d4cf230fdb11
2019-10-11 10:16:41 +00:00
Shane Kilkelly
2cc2be3d9c send messages to clients with concurrency of 2 2019-10-11 10:01:21 +01:00
Shane Kilkelly
06aa578bdc Make it an error when we get no data from joinProject 2019-10-11 09:57:16 +01:00
Simon Detheridge
85b23d7da7 Add maxRetriesPerRequest setting for redis 2019-10-10 16:56:58 +01:00
Brian Gough
9edb95b706 Merge pull request #2223 from overleaf/spd-redis-retries
Add maxRetriesPerRequest redis setting

GitOrigin-RevId: 69810e40eaedaf05d9e3397b59b26ea43ecbe9ce
2019-10-10 14:00:59 +00:00
Brian Gough
d376047c20 Merge pull request #2222 from overleaf/bg-invalidate-tokens
invalidate tokens

GitOrigin-RevId: b8a65846d2b671f7f7b8a2ab75f76bb8255bd73b
2019-10-10 11:39:18 +00:00
Shane Kilkelly
2078bb0cbe Merge pull request #2 from overleaf/sk-upgrade-node-10
Upgrade to node 10, specify digest in pbkdf2
2019-10-10 09:55:59 +01:00
Brian Gough
3813ff36fb Merge pull request #62 from overleaf/bg-fix-update-removal
fix performance of update removal
2019-10-09 14:39:02 +01:00
Jessica Lawshe
625b4c9339 Merge pull request #2216 from overleaf/jel-saml-beta-account-settings
Allow SAML beta testing on Account Settings

GitOrigin-RevId: 6a2c60a3cbab3d9d0cdcc72e23f5d75f7702f89c
2019-10-09 13:13:40 +00:00
Brian Gough
ebbe728ec1 fix performance of update removal 2019-10-09 11:11:15 +01:00
Shane Kilkelly
1735e8f56b Upgrade to node 10, specify digest in pbkdf2 2019-10-08 15:53:08 +01:00
Ersun Warncke
849f21fde3 add saml acceptance tests. get/set entitlement.
GitOrigin-RevId: 65721aadb91678eafaf5a214a2921fe3dd276efa
2019-10-08 13:29:32 +00:00
Jessica Lawshe
de8ac8ace7 Move add email function
GitOrigin-RevId: f45e28a9ed357427ae606ad5f8b59acaef54e31b
2019-10-08 13:29:23 +00:00
Jessica Lawshe
5c918bed94 Adding an institution email that must be linked
GitOrigin-RevId: 9ba42a07fb386275cf6d81a7d4b91a7f974faf15
2019-10-08 13:29:17 +00:00
Jessica Lawshe
ae423b5800 SAML feature by special link
Allows for testing SAML linking before release

GitOrigin-RevId: 8a8c01aa15f04ba1749e93f4feadb7bf1643c783
2019-10-08 10:52:30 +00:00
Jessica Lawshe
bf42f6c5b5 Update feature check
GitOrigin-RevId: 82ad7be9f619b03f4d02f39c37940b2040c11030
2019-10-08 10:52:24 +00:00
Miguel Serrano
7d3fa7a128 Merge pull request #131 from yuantailing/fix-compiler-manager
Fix synctex for LocalCommandRunner
2019-10-08 12:48:13 +02:00
Miguel Serrano
325c31d602 Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
Matthieu Simonin
de33a6a7b6 Fix the paths in grunt tasks (#643) 2019-10-08 12:46:53 +02:00
Miguel Serrano
fbd5e2a826 Delete aggregated error log (#117) 2019-10-08 11:54:49 +02:00
Ersun Warncke
3a7384c83f new UserHelper class for acceptance tests
GitOrigin-RevId: 194593b8b70c74d2771f8e6f695faa47c84beeca
2019-10-08 08:58:12 +00:00
Jessica Lawshe
61d895c8fc Merge pull request #2210 from overleaf/jel-provider-id-institution-registration
Include provider ID with email data for institution registrations

GitOrigin-RevId: a752005c03494bab717be0cbb915cbcb7a0aa729
2019-10-07 15:41:56 +00:00
Jessica Lawshe
e20c93b581 Merge pull request #2203 from overleaf/jel-registration-institution-sso
Registration request with an institution email

GitOrigin-RevId: c544d8af4f6ca91addb638e02e9fe26acad7fbdb
2019-10-07 15:41:47 +00:00
Eric Mc Sween
45e5808a35 Merge pull request #2202 from overleaf/em-collab-set-permissions
Endpoint for setting a collaborator's permissions

GitOrigin-RevId: eb4d4dcc476908f5a42fefd7b81ef6fcc000be5b
2019-10-07 12:29:00 +00:00
Henry Oswald
3f3c2136d7 Merge pull request #94 from overleaf/ho-log-redis-events
logs out when a redis event occurs
2019-10-07 10:32:14 +01:00
Timothée Alby
17babc034f Merge pull request #2204 from overleaf/ta-recurly-countries
Update Countries To Use Recurly's Countries List

GitOrigin-RevId: e6465af0bf4574f0bd45fc790f154d7a5ec1d889
2019-10-07 08:46:47 +00:00
Timothée Alby
4c055637a4 Merge pull request #2205 from overleaf/ta-replace-loadash-map
Replace Lodash's Map with Native Array's Map

GitOrigin-RevId: 17dac98c39e55b68a60fb0a61708a650e088853a
2019-10-07 08:46:41 +00:00
Timothée Alby
5f107374a6 Merge pull request #2195 from overleaf/em-collab-permissions
Move collaborators code to async/await

GitOrigin-RevId: 55b5dd8154d024e2cee738208c45a8139870b92b
2019-10-07 08:46:36 +00:00
Timothée Alby
b050de1645 Merge pull request #2208 from overleaf/ta-handle-express-uri-error
Handle Express URIError

GitOrigin-RevId: 6f22110971c8bdb1a7a2e5ba7043c37348b9092e
2019-10-07 08:46:30 +00:00
Tailing Yuan
68e842b12a fix CompileManager and LocalCommandRunner 2019-10-04 23:02:03 +08:00
Simon Detheridge
6c005da303 Merge pull request #2201 from overleaf/hb-relative-path-fix
Handle double slash case of safe redirect paths

GitOrigin-RevId: fb6e8ea9d736a65df61f07d563235262b8aaf0f3
2019-10-04 14:21:52 +00:00
Shane Kilkelly
df6cd4a054 Also block getConnectedUsers for restricted users.
Plus refactor to use a pass list instead of a deny list.
2019-10-04 13:41:49 +01:00
Brian Gough
5a62632cfd add ioredis option maxRetriesPerRequest: 0
see https://github.com/luin/ioredis/issues/965
2019-10-04 11:53:14 +01:00
Brian Gough
51a821c03c remove old unused ioredis keepalive option 2019-10-04 11:51:37 +01:00
Brian Gough
18ccd11224 update to ioredis 4.14.1 2019-10-04 11:32:08 +01:00
Shane Kilkelly
6765d03339 Track the isRestrictedUser flag on clients
Then, don't send new chat messages and new comments to those restricted clients.
We do this because we don't want to leak private information (email addresses
and names) to "restricted" users, those who have read-only access via a
shared token.
2019-10-04 10:30:24 +01:00
Jessica Lawshe
4cce43b8d2 Merge pull request #2198 from overleaf/ta-user-membership-template-graph-fix
New Approach to Template Graph Access Fix

GitOrigin-RevId: 5865d8cfaf6f825f8cb76724a04091f3659f9f0f
2019-10-03 14:35:13 +00:00
Jessica Lawshe
d8e6535691 Merge pull request #2184 from overleaf/jel-unlink-institution-and-email-notifications
Unlink institution login and send email link/unlink notifications

GitOrigin-RevId: d0fe96804d69e3c332c2b866fad5af026b5e2f8f
2019-10-03 14:34:58 +00:00
Jessica Lawshe
ea0270dbdd Merge pull request #2168 from overleaf/pr-restrict-main-file-options
Restrict main file options based on extension.

GitOrigin-RevId: f7d7a61c0454621dd8bc6ab5edce8a89721018ea
2019-10-03 14:34:41 +00:00
Henry Oswald
e9efd6b93b logs out when a redis event occurs 2019-10-03 11:10:31 +01:00
Brian Gough
672d03eae6 formatting fixes 2019-10-03 09:41:16 +01:00
Brian Gough
bb442866ba Merge pull request #36 from overleaf/bg-fix-aspell-pipe-encoding
fix aspell pipe encoding
2019-10-03 09:33:01 +01:00
Brian Gough
b63fc66588 Merge pull request #93 from overleaf/bg-flush-history-when-deleting-project
avoid project history queues building up with deferred flush
2019-10-03 08:37:45 +01:00
Brian Gough
d82b180b76 avoid project history queues building up with deferred flush 2019-10-03 04:05:24 +01:00
Brian Gough
c7a7887d67 remove decaff comments 2019-10-02 16:47:36 +01:00
Brian Gough
0e14ad50db fix eslint check 2019-10-02 16:34:15 +01:00
Brian Gough
1f861a6772 fix regex and add AspellWorker unit tests 2019-10-02 16:29:18 +01:00
Jessica Lawshe
6737637b39 Merge pull request #2190 from overleaf/as-invalid-password-errors
Throw Error instead of plain object if email/password is invalid

GitOrigin-RevId: 2a1b040b07834064d547cef7890676ca014ec0ae
2019-10-02 14:22:34 +00:00