Commit graph

521 commits

Author SHA1 Message Date
Ersun Warncke
a581ef7609 Revert "Revert "decaf clean up""
This reverts commit 669ce8b6411309cbab3162cf94bd03399581eeb4.

GitOrigin-RevId: 4a3933668a0d01912e748c164581bcb9bbded0dd
2020-02-12 04:19:36 +00:00
Jessica Lawshe
f2636e0555 Merge pull request #2572 from overleaf/ta-personal-plan-test
Personal Plan Filter Test

GitOrigin-RevId: e0e75bdd43b27cda787d039f9cfaad64e96afa67
2020-02-06 04:20:09 +00:00
Ersun Warncke
a9d7c270a3 Revert "decaf clean up"
This reverts commit e892b7ef6a1c8f5ad79879c0ecaf10e46a35aad7.

GitOrigin-RevId: 669ce8b6411309cbab3162cf94bd03399581eeb4
2020-02-06 04:19:51 +00:00
Ersun Warncke
76a6c399e3 Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid"
This reverts commit 539982adbf55014400f4aff94195e7f567cda676.

GitOrigin-RevId: 7acba5876581044a08d6deb4767a4a2196dcb765
2020-02-06 04:19:46 +00:00
Ersun Warncke
d8b627f59b Revert "format fix"
This reverts commit 71faf86ccd19dfa6428c2d5bcc8c88ec7f0ee41f.

GitOrigin-RevId: 4617b9ec2ed63b14418a8510a214e58397314831
2020-02-06 04:19:41 +00:00
Ersun Warncke
71d0036e8e Revert "wip"
This reverts commit 81103ae6d7c0c22eb24da6ed6577223ba16e8861.

GitOrigin-RevId: f817ac652e35e9ed79db8d24c4144460e4cc0f71
2020-02-06 04:19:36 +00:00
Ersun Warncke
d12e890f27 Revert "optimize rootDoc_id validation"
This reverts commit f19d02674f7d0d47531be7586bc47628601a7231.

GitOrigin-RevId: 13e4b22daa99b096cf2a9625212a855be59b1fdc
2020-02-06 04:19:31 +00:00
Ersun Warncke
575a6e82f9 Revert "log errors"
This reverts commit 3c507435956b3d312b00fefda1d4a996b6a45d62.

GitOrigin-RevId: 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f
2020-02-06 04:19:25 +00:00
Ersun Warncke
93c8779ff7 Revert "add ensureRootDocumentIsValidForProject method"
This reverts commit 5b9191bce2fe1de85c573ed533521e53f08d146b.

GitOrigin-RevId: 80bb46f92f200f48fc39138afb27df729959888c
2020-02-06 04:19:20 +00:00
Ersun Warncke
e018663af5 Revert "use ProjectRootDocManager in ClsiManager"
This reverts commit 4687a9be32c34e9ea92b2b53cb72d71242e7dfa1.

GitOrigin-RevId: 98c0b9246eb29a9d0bdab14a04d456473a1b4a14
2020-02-06 04:19:14 +00:00
Brian Gough
f53f70cdc7 use ProjectRootDocManager in ClsiManager
GitOrigin-RevId: 4687a9be32c34e9ea92b2b53cb72d71242e7dfa1
2020-02-06 04:19:09 +00:00
Brian Gough
77ad61d86a add ensureRootDocumentIsValidForProject method
GitOrigin-RevId: 5b9191bce2fe1de85c573ed533521e53f08d146b
2020-02-06 04:19:03 +00:00
Ersun Warncke
ffd9ec5537 log errors
GitOrigin-RevId: 3c507435956b3d312b00fefda1d4a996b6a45d62
2020-02-06 04:18:58 +00:00
Ersun Warncke
b493f91c45 optimize rootDoc_id validation
GitOrigin-RevId: f19d02674f7d0d47531be7586bc47628601a7231
2020-02-06 04:18:53 +00:00
Ersun Warncke
9d1ac41777 wip
GitOrigin-RevId: 81103ae6d7c0c22eb24da6ed6577223ba16e8861
2020-02-06 04:18:48 +00:00
Ersun Warncke
3bf57edd14 format fix
GitOrigin-RevId: 71faf86ccd19dfa6428c2d5bcc8c88ec7f0ee41f
2020-02-06 04:18:43 +00:00
Ersun Warncke
74ecb4bebe clear rootDoc_id when deleting doc, reset on compiles if invalid
GitOrigin-RevId: 539982adbf55014400f4aff94195e7f567cda676
2020-02-06 04:18:37 +00:00
Ersun Warncke
0d67c9382c decaf clean up
GitOrigin-RevId: e892b7ef6a1c8f5ad79879c0ecaf10e46a35aad7
2020-02-06 04:18:32 +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
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
Ersun Warncke
76b88a87b6 remove UserStub related code
GitOrigin-RevId: df2559395d1c7f386a07feb5a2ff3c07b6922350
2020-01-31 04:16:49 +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
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
37d833db62 Merge pull request #2537 from overleaf/spd-cookie-samesite-setting
Re-add missing sameSiteCookie setting

GitOrigin-RevId: be46affcc95b7e4c79f86503da933c6fcc277d4f
2020-01-22 04:23:17 +00:00
Simon Detheridge
7ce322758b Merge pull request #2522 from overleaf/sk-set-last-updated-by-on-creation
Set lastUpdatedBy when a project is created

GitOrigin-RevId: ed3a7379b538cc40932f61fc17a926e00eb2abdb
2020-01-22 04:23:08 +00:00
Simon Detheridge
a8483fbc89 Merge pull request #2516 from overleaf/spd-oio-samesite-cookies
Handle 'samesite=lax' session cookies on POST to open-in-overleaf

GitOrigin-RevId: d856f372e91134be47cc301a515ec08511618631
2020-01-22 04:23:00 +00:00
Simon Detheridge
db27215760 Merge pull request #2521 from overleaf/ta-announcement-remove
Remove Announcements

GitOrigin-RevId: 3fed602e89992ad5f4260134b87ade1e6e088cf7
2020-01-17 04:19:59 +00:00
Henry Oswald
fe8ef3f08f Merge pull request #2531 from overleaf/ho-restore-lodash-2526
Revert "Reverts move from underscore to lodash"

GitOrigin-RevId: 1ea964d5c98a85f9490c0e731d6a68335df93c67
2020-01-17 04:19:51 +00:00
Henry Oswald
c607976c4a Merge pull request #2526 from overleaf/ho-revert-to-underscore
Reverts move from underscore to lodash

GitOrigin-RevId: 3d88590a76c37a43f693b53400fdf1f24384cafb
2020-01-17 04:19:30 +00:00
nate stemen
8a667d3933 Merge pull request #2473 from overleaf/ns-em-src-too-big
handle srcs that are too large to import

GitOrigin-RevId: 016dff7562eef6b8e8feca8bfecf853c01b0b955
2020-01-14 04:15:06 +00:00
nate stemen
8253d0385c Merge pull request #2462 from overleaf/hb-mangled-links-confirmation
Mangled confirmation links fix

GitOrigin-RevId: 334704a93159044a617b7373398a7f384b08783e
2020-01-14 04:15:02 +00:00
Brian Gough
31bc0c640b Merge pull request #2514 from overleaf/revert-2504-bg-initialise-history-on-open
Revert "create v2 history for old projects when opened"

GitOrigin-RevId: 81c613e82872a0938c5621e3108b2457935468f1
2020-01-14 04:14:52 +00:00
Brian Gough
c7824ced7b Merge pull request #2504 from overleaf/bg-initialise-history-on-open
create v2 history for old projects when opened

GitOrigin-RevId: 78229b517cb425bc439efca1b9259b472099db6d
2020-01-14 04:14:48 +00:00
Timothée Alby
1af8f0358b Merge pull request #2501 from overleaf/as-unvendor-algoliasearch
Unvendor Algolia search client

GitOrigin-RevId: ad0ea56c66a516bd8a26a76d454cbc8d0594a03f
2020-01-11 04:15:10 +00:00
Chrystal Maria Griffiths
4c72278257 Merge pull request #2503 from overleaf/revert-2499-revert-2496-cmg-clear-leaving-archived
Revert "Revert "Clear archived/trashed status when leaving a project""

GitOrigin-RevId: cca06b37414b6bdb9175b9fbb3dd032962ab56e5
2020-01-10 04:15:24 +00:00
Shane Kilkelly
2826832c5e Merge pull request #2502 from overleaf/sk-fix-mongoose-push-all
Tell mongoose to set `usePushEach` on all models

GitOrigin-RevId: faea6653f272f74ea7274596bdc934ef93638d76
2020-01-09 04:14:22 +00:00
Jessica Lawshe
358ab03e32 Merge pull request #2499 from overleaf/revert-2496-cmg-clear-leaving-archived
Revert "Clear archived/trashed status when leaving a project"

GitOrigin-RevId: b6a72b59b95b6783ed19d3dd7e41ac6ce1064a76
2020-01-08 04:18:28 +00:00
Jessica Lawshe
e4cc1b1403 Merge pull request #2496 from overleaf/cmg-clear-leaving-archived
Clear archived/trashed status when leaving a project

GitOrigin-RevId: ca7026bb7848fd7b17c13856bc65b28e577a8236
2020-01-08 04:18:24 +00:00
Jessica Lawshe
f2943054fb Merge pull request #2491 from overleaf/as-unvendor-moment
Unvendor moment from the frontend

GitOrigin-RevId: 19ffc42a2d3e6eecfbec42575a0472f992c8abda
2020-01-08 04:18:19 +00:00
Timothée Alby
b185e60749 Merge pull request #2483 from overleaf/as-switch-frontend-to-lodash
Switch frontend from underscore to lodash

GitOrigin-RevId: 7fbc72d2ead6a14ff04f085f01fff5a3dddb77f0
2020-01-08 04:18:01 +00:00
Timothée Alby
bf05d23793 Merge pull request #2493 from overleaf/ta-system-messages-refresh
Refresh System Messages at Regular Interval

GitOrigin-RevId: 39728c89ca61905a2166a90b083834e6b2c61316
2020-01-08 04:17:53 +00:00
Timothée Alby
850d5f957c Merge pull request #2480 from overleaf/ta-refresh-features-script-improve
Refresh Features Script Improvements

GitOrigin-RevId: 1cd0fc3b689cf85760d9a22804bf9cab19e22409
2020-01-08 04:17:47 +00:00
Eric Mc Sween
99d0ebe8b1 Merge pull request #2495 from overleaf/em-strict-type
Merge getType and getStrictType

GitOrigin-RevId: ef0967457f21187be37e96697f9f4262a275d26d
2020-01-07 04:21:36 +00:00
Eric Mc Sween
a7db312404 Merge pull request #2460 from overleaf/hb-remove-personal-plan-code
remove specific logic for old default personal plan code

GitOrigin-RevId: fd4ef1949f337f6c09ea963473e3aeb8eff5c62f
2020-01-07 04:21:31 +00:00
Eric Mc Sween
096576538a Merge pull request #2479 from overleaf/jel-optimize-plans
Add Google Optimize to plans payment page

GitOrigin-RevId: 4c710fa1c904eed244c9fda5653a880e5dfab3cc
2020-01-07 04:21:23 +00:00
Ersun Warncke
051700688b handle saml array values and first/last name
GitOrigin-RevId: f571cb466ac8618f09e6a77682bff1420060e457
2020-01-07 04:21:14 +00:00
nate stemen
13da4b6125 Merge pull request #2459 from overleaf/hb-missing-rate-limiting
Remove unused v1 analytics proxy endpoints

GitOrigin-RevId: 7563a6592645bd4693e7a6bc209862435302893c
2020-01-03 04:22:11 +00:00
nate stemen
38e240ebb6 Merge pull request #2463 from overleaf/hb-group-error-messages
Display error messages for group adding errors

GitOrigin-RevId: 4ee59319e03480829b8d8d588c0a2a896ac5a6ea
2020-01-03 04:22:04 +00:00
nate stemen
074d457f98 Merge pull request #2466 from overleaf/jel-sso-beta-dashboard
Beta testing SSO on the dashboard

GitOrigin-RevId: 9899f0ed0212180fde40e9e19bfd53bccafa3e7a
2020-01-03 04:21:58 +00:00
Ersun Warncke
c2eb3c1caa fix unit tests
GitOrigin-RevId: 34b2aad1b2f4a59909265b60e415d31fd178e9ee
2019-12-19 04:21:47 +00:00
Ersun Warncke
58077c4eff truncate sessionId in saml logs
GitOrigin-RevId: 45c369a88323e340875ae7b9f4d26e664ccdc8d8
2019-12-19 04:21:42 +00:00
Miguel Serrano
1c759ad413 Add option to disable email confirmation banner (#2469)
GitOrigin-RevId: ef5e08a6359346cc53dff4ce7978affb71fdb556
2019-12-19 04:21:37 +00:00
Timothée Alby
30b9ba4ac7 Merge pull request #2452 from overleaf/ta-refresh-features-script-extra
Improve Script To Refresh All Users' Features

GitOrigin-RevId: f13fe0b01a7c26eca950ff8a008c937232769417
2019-12-17 04:22:37 +00:00
Timothée Alby
390c8641da Merge pull request #2454 from overleaf/ta-recurly-address-check
Check Country Presence when Creating New Subscription

GitOrigin-RevId: a92266cf2a304e3649ff3b02f9b47e76ae0f8523
2019-12-17 04:22:22 +00:00
Alasdair Smith
40d274092a Merge pull request #2437 from overleaf/revert-2436-revert-2408-as-dynamic-public-path
Undo revert of Fetch dynamically fetched scripts from CDN

GitOrigin-RevId: e317f0e32bbf5da4badf74440622637a54ef5477
2019-12-12 04:15:06 +00:00
Timothée Alby
7c9e83de2a Merge pull request #2441 from overleaf/em-cg-null-users
Remove existing sessions of deleted users

GitOrigin-RevId: cde9f8421fd9745b0922849a2269b44508d670f1
2019-12-10 08:25:09 +00:00
Copybot
05800f0143 Merge pull request #700 from das7pad:perf-move-system-message-query
GitOrigin-RevId: b39d6afeef14b868f4b5bc4784663ab5bcd8f84d
2019-12-09 11:36:43 +00:00
Timothée Alby
a5757b447c Merge pull request #2434 from overleaf/ta-team-invite-email-fix
Fix Spam Safe Inviter Name for Group Invites

GitOrigin-RevId: e5e01afd53d22cd53016352c32ad1de28137ea17
2019-12-06 04:19:21 +00:00
Timothée Alby
5783f99fbd Merge pull request #2439 from overleaf/ta-refresh-features-script
Add Script To Refresh All Users' Features

GitOrigin-RevId: 3ec107d170af7d65b7fe5bf90598e18d738bfad5
2019-12-06 04:19:12 +00:00
Hugh O'Brien
d1a668ffda Merge pull request #2436 from overleaf/revert-2408-as-dynamic-public-path
Revert "Fetch dynamically fetched scripts from CDN"

GitOrigin-RevId: c443fb278b7e53890d0e83cd02307fad939f5f8c
2019-12-04 13:48:37 +00:00
Hugh O'Brien
687d3c1b22 Merge pull request #2408 from overleaf/as-dynamic-public-path
Fetch dynamically fetched scripts from CDN

GitOrigin-RevId: b480f261a6b4ba2d6a8819fd0e7a354605ed9a82
2019-12-04 12:22:43 +00:00
Hugh O'Brien
01c89d3af2 Merge pull request #2404 from overleaf/hb-handle-ejp-and-emis-resubmissions
Handle ejp and emis resubmissions

GitOrigin-RevId: 10eb76c5d106f062b8fb171920f09a701d3acfc9
2019-12-04 10:50:56 +00:00
Jakob Ackermann
b17f29e695 [perf] lookup system messages from the project-list route only
The messages are displayed above the project list only.
There is no need to query the system messages from ALL the other routes.

Note: the admin view uses the same variable, but injects an uncached
 value into the template.

Additional context at https://github.com/overleaf/web/pull/699

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-12-03 20:43:42 +01:00
Ersun Warncke
4ed005b855 serialize saml log data
GitOrigin-RevId: b432b55c8dfa2990b2b96298e6c62b53a036a644
2019-12-03 14:21:13 +00:00
Henry Oswald
176604a938 add once callback to templates manager for v1 templates
see if it fixes sl headers crashing

GitOrigin-RevId: 72e7d716155ed7584e8e163801921f852b358f8f
2019-12-03 14:21:08 +00:00
Tim Alby
eb13ceafd5 only show editor support buttons if support enabled
GitOrigin-RevId: 8b5cb3c08eefa89673e5f1f16ba98ab57cad4788
2019-12-03 14:20:56 +00:00
Jessica Lawshe
cbe22f5cc7 Add Google Optimize
GitOrigin-RevId: 4c485be83456bf632d1b5f6790f2757d2b3aad54
2019-12-03 14:20:41 +00:00
Chrystal Maria Griffiths
2cf76ba39a Merge pull request #2421 from overleaf/fix-user-projects-json
Fix exception for project.trashed.find

GitOrigin-RevId: 18b32b0a5badd29893e6a98c9915737bfd8cef2a
2019-12-02 17:26:10 +00:00
Eric Mc Sween
93fe30a451 Merge pull request #2412 from overleaf/em-password-trim
Preserve spaces in password in password reset flow

GitOrigin-RevId: 9a2dfb2988ae99be73934b722e635056b5ab1a18
2019-12-02 14:09:57 +00:00
Eric Mc Sween
a493ec94b2 Merge pull request #2414 from overleaf/ta-features-overrides
Persistent Features Override

GitOrigin-RevId: 9bb389458a4fde3cc36dbc5b8c3f7185b7e4e9bf
2019-12-02 14:09:53 +00:00
Alasdair Smith
26190da566 Merge pull request #2349 from overleaf/as-webpack-css
Compile CSS using webpack

GitOrigin-RevId: 489834038667dde572ea5d9b4b9392b362259a09
2019-11-28 10:39:09 +00:00
Ersun Warncke
77b7b03ead add api rate limiting based on client_ip url param
GitOrigin-RevId: 2fffcce053d5bf452508774b555959610db9a2c7
2019-11-27 19:16:14 +00:00
Timothée Alby
9af55a11f7 Merge pull request #2381 from overleaf/ho-template-error-handling
Template error handling & blog routes removal

GitOrigin-RevId: 849423e19bbb5291ef25ed9612f49bdc67dae330
2019-11-27 13:21:32 +00:00
Timothée Alby
508556c835 Merge pull request #2409 from overleaf/ta-recurly-collection-script-fix
Recurly Collection Script Fix

GitOrigin-RevId: 3012d06a9122636ca1997e2e66899a36b386e5be
2019-11-27 13:21:27 +00:00
Ersun Warncke
304a30887f fix lint/format
GitOrigin-RevId: addbc87e6a7139e2e6852ce9249cef8d9594619d
2019-11-27 12:17:40 +00:00
Ersun Warncke
2c335802ca remove excessive logging
GitOrigin-RevId: 62024bbe0415a4fdae66eb1b9c6707e5faec7cd1
2019-11-27 12:17:32 +00:00
Eric Mc Sween
465329527b Merge pull request #2398 from overleaf/ta-skip-registration-tests
Skip Registration-Related Tests in OSS Codebase

GitOrigin-RevId: 72647f6f54799145bf7bec93ad088c35ceae8fa6
2019-11-26 13:30:56 +00:00
Eric Mc Sween
3da8413156 Merge pull request #2369 from overleaf/em-imports-tpds
Defer flushing to TPDS on project import from v1

GitOrigin-RevId: f2782326716999c37565b3e527b54444bbc53711
2019-11-26 13:30:46 +00:00
Brian Gough
e51893ffb1 Merge pull request #2394 from overleaf/bg-precompile-pug-templates
precompile pug templates

GitOrigin-RevId: 71851f97c06b8c3866c56508a84711fa2541d870
2019-11-26 10:20:45 +00:00
Chrystal Maria Griffiths
0abe99d98f Merge pull request #2150 from overleaf/cmg-archiving-frontend
Frontend for new archiving and trashing

GitOrigin-RevId: be8676ab6c2fea7f8fb23655772a008d067b2a78
2019-11-25 15:59:10 +00:00
Jessica Lawshe
1a456da017 Merge pull request #2387 from overleaf/jel-async-login
Convert V1LoginController._login to async

GitOrigin-RevId: 2e51533126919f5a4ce71ca5d403a24773375333
2019-11-25 13:49:37 +00:00
Miguel Serrano
0866b9de9b Fix flags protecting getV1DocPublishedInfo access (#2395)
GitOrigin-RevId: 9122d06cae52ff0b949a2904e485aa70ca3de896
2019-11-25 10:56:48 +00:00
Brian Gough
fb0f8ec65f Merge pull request #2378 from overleaf/bg-return-history-display-type-to-docupdater
return history display type to docupdater

GitOrigin-RevId: bc90317677937c4f0698c2045958b79820ec3b3f
2019-11-21 14:54:43 +00:00
Eric Mc Sween
551a3debfd Merge pull request #2383 from overleaf/em-async-await
Complete move of ProjectEntityMongoUpdateHandler to async/await

GitOrigin-RevId: ebabcbbf3ffb3e94810564b4600ef1c03f546cf1
2019-11-21 13:00:38 +00:00
Simon Detheridge
81103c93e6 Add support for removing words from user dictionaries to admin panel (#2371)
* Add support for deletion of words from user dictionary to admin-panel

Co-authored-by: Jessica Lawshe <jessica.lawshe@overleaf.com>

* Add confirmation modal to dictionary word deletion

* Improve dictionary view with some helpful text

* Add MockSpellingApi

* Handle errors more cleanly in SpellingHandler

GitOrigin-RevId: a7d7f8bad120a15b0eaa7d77b5ee804998477ed1
2019-11-20 12:06:13 +00:00
Henry Oswald
0aad6f2bc8 Merge pull request #2386 from overleaf/ho-disable-view-precompile
fix eslint issues

GitOrigin-RevId: 90b5a0b81117768ef646c40f55d032426a3f78f8
2019-11-19 17:05:26 +00:00
Henry Oswald
a7567714d1 Merge pull request #2385 from overleaf/ho-disable-view-precompile
disable view precompile

GitOrigin-RevId: 82e1b8da97af1d9be47834f1687e25f55fe95737
2019-11-19 17:05:21 +00:00
Brian Gough
55a4840706 Merge pull request #2379 from overleaf/bg-remove-console-log
remove console.logs

GitOrigin-RevId: 85b95536a9f48c712f15a154ddcbe29cd3b1ca1c
2019-11-19 12:20:45 +00:00
Brian Gough
82c2b0e8d4 Merge pull request #2370 from overleaf/bg-precompile-pug-templates
precompile pug templates

GitOrigin-RevId: bf340f52b4d8c413056be2f3006a28a55548d783
2019-11-19 12:20:40 +00:00
Eric Mc Sween
bdc5360bc0 Merge pull request #2372 from overleaf/em-mongo-connection-pool
Use the default Mongoose connection pool for all models

GitOrigin-RevId: d227b7eb36f130085c9eb1480dc07bd50ba57768
2019-11-18 14:20:43 +00:00
Eric Mc Sween
27504d7b9d Merge pull request #2361 from overleaf/em-project-imports-2
Import full folder structure in a single Mongo update

GitOrigin-RevId: 623d2a098b2084fdd0193e1593c1c55c08a2d92d
2019-11-18 14:20:38 +00:00
Hugh O'Brien
bf9473fb41 Merge pull request #2320 from overleaf/as-unify-webpack-output
Unify webpack output

GitOrigin-RevId: 5f5ae88f0698236fdce17cf87b4b524078dba4dd
2019-11-18 11:21:42 +00:00
Hugh O'Brien
3bad05532a Merge pull request #2373 from overleaf/hb-move-internal-project-to-private-router
move internal/project route to private api router

GitOrigin-RevId: 2774eec3ba43a8307ca80d2fd7356e33b209d53a
2019-11-18 11:21:37 +00:00
Jessica Lawshe
41d77889da Merge pull request #2354 from overleaf/em-disallow-console
Disallow console.log in backend code

GitOrigin-RevId: 53ff1f2f2585d05a0f2380336227c50524aee08c
2019-11-13 14:39:58 +00:00
Jessica Lawshe
7ad4b2cfc3 Merge pull request #2350 from overleaf/jel-institution-notifications
Non canonical notification when initiated at institution

GitOrigin-RevId: 486f740bf6f71012d479c69176efbf28d6883b8d
2019-11-13 14:39:47 +00:00
Ersun Warncke
af63c8de97 add email rate limiter on login
GitOrigin-RevId: a0da310e5537b420e46c9ed48f8b97051e7e933a
2019-11-13 12:55:30 +00:00
Eric Mc Sween
b5d7887dfb Merge pull request #2337 from overleaf/jel-saml-already-linked
Institution linking and unlinking

GitOrigin-RevId: 1c3665fc66513c3e88a62ed477800c17759459ff
2019-11-12 14:18:13 +00:00
Timothée Alby
3bd15b1a47 Merge pull request #2328 from overleaf/em-project-imports
Move ProjectEntityMongoUpdateHandler to async/await

GitOrigin-RevId: e5c0d4a7ece34c3ded89b6eae3673135061f375a
2019-11-12 09:15:18 +00:00
Timothée Alby
e000fd4615 Merge pull request #2343 from overleaf/ta-invoice-attempt-callback
Collect Past Due Invoices on Paypal Billing Info Updates

GitOrigin-RevId: 6a0d298db8589ae6ba7cb62e4dfd562a1f292db0
2019-11-12 09:14:58 +00:00
Brian Gough
012bef257d Merge pull request #2346 from overleaf/bg-remove-realtime-proxy-router
remove RealTimeProxyRouter

GitOrigin-RevId: 28e85b251890fb97547db768af907f357ee545cb
2019-11-08 10:58:21 +00:00
Ersun Warncke
4c56fd9f5d pr fixes
GitOrigin-RevId: ca0529fe1df2ce7c5c1bc3d1d99044a54ce4ec88
2019-11-07 15:28:07 +00:00
Ersun Warncke
7ea1a03c6b saml session/error logging
GitOrigin-RevId: bc5e5cafbd4c5da7ba33891fa738efa9a95c5332
2019-11-07 15:28:01 +00:00
Ersun Warncke
c6e5f3dda6 eslint/decaf cleanup
GitOrigin-RevId: 6ce1f67e9d60f45f7532042b60e06734574870f8
2019-11-07 15:27:57 +00:00
Shane Kilkelly
add98c889c Merge pull request #2312 from overleaf/sk-fix-join-project-null
When we can't join project, produce a 403 response

GitOrigin-RevId: 7a52dd019ed33474e18cdb378fd3d4622f378e56
2019-11-07 10:48:40 +00:00
Shane Kilkelly
cfaab43b08 Merge pull request #2325 from overleaf/ta-http-auth-constant-time
Use Constant Time Comparison in for HTTP Authentication

GitOrigin-RevId: dc9604c18831293c6da3e96dd2b0488daaa81946
2019-11-07 10:48:28 +00:00
Shane Kilkelly
2da14bcc77 Merge pull request #2331 from overleaf/sk-fix-restricted-users-none
Restricted users: fix case when privilege level is false

GitOrigin-RevId: efc2f80ab326ab07abef303e1db98e3586d3759b
2019-11-07 10:48:23 +00:00
Brian Gough
2c0c21554a Merge pull request #2330 from overleaf/bg-fix-realtime-proxy-exceptions
handle errors from realtime proxy connections

GitOrigin-RevId: 9259975b24fad789eddbe87f0cdfa706b10c1470
2019-11-06 14:57:05 +00:00
Brian Gough
45cdb94f8a Merge pull request #2329 from overleaf/bg-fix-exception-in-exports-handler
avoid exception when rootDoc is null

GitOrigin-RevId: caf37a78ef35285cf638322f943696aeceb10da6
2019-11-06 14:57:00 +00:00
Jessica Lawshe
67a5f08192 Merge pull request #2300 from overleaf/jel-institution-register
Institution SSO register notification

GitOrigin-RevId: 6838b4f950f9841911da97234d1292802d3ea451
2019-11-06 13:58:24 +00:00
Ersun Warncke
8d44f44784 finish saml link after sso login
GitOrigin-RevId: 688ce78ddfb0cfd6a025985dc2dd6f62bce76523
2019-11-06 12:45:58 +00:00
Miguel Serrano
9fa858bbd6 Analytics disabled via Features.js (#2296)
GitOrigin-RevId: b3649bf8e6ef4eb37dee38ca7c6709a282904388
2019-11-06 10:12:43 +00:00
Miguel Serrano
35632da051 Added flag to disable URL file linking (#2316)
GitOrigin-RevId: c178d2d629b361534d1b96bf80de015a72ab2047
2019-11-06 10:12:38 +00:00
Miguel Serrano
28fd277172 Disabled login requirement to upload files for write shared projects (#2294)
GitOrigin-RevId: b24edd10dbe21845ff9199fc4120678cfa04ddcd
2019-11-06 10:12:33 +00:00
Alasdair Smith
ed2b572fe7 Merge pull request #2321 from overleaf/jel-tidy-portals
Tidy portals backend

GitOrigin-RevId: 927e7e32b3b648f6fef98c5bb39d2f53a6c57a22
2019-11-05 14:23:09 +00:00
Alasdair Smith
fbc95f2514 Merge pull request #2327 from overleaf/spd-templates-timeouts
Add timeout to template web requests

GitOrigin-RevId: 48e979af3171766494ef25a14d7878144a632253
2019-11-05 14:23:00 +00:00
Alasdair Smith
e035d526d6 Merge pull request #2287 from overleaf/as-frontend-rearch
Restructure frontend directories

GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
2019-11-05 14:22:52 +00:00
Timothée Alby
47137f6c03 Merge pull request #2324 from overleaf/spd-devcsrf-resurrect
Reinstate /dev/csrf route and add explanatory comment

GitOrigin-RevId: 48fe437040860e974ada4e22409762c74a14d394
2019-11-04 12:01:52 +00:00
Timothée Alby
94707c08ea Merge pull request #2291 from overleaf/ta-events-validate
Validate Events with Regex

GitOrigin-RevId: f0a57345862ce4daefaa9f01b851d446230ed46d
2019-11-04 10:07:40 +00:00
Timothée Alby
12dd42724c Merge pull request #2302 from overleaf/em-project-imports
Decaf cleanup

GitOrigin-RevId: 6ee288b8c8572d799032650580e2e679d856ee09
2019-11-04 10:07:35 +00:00
Timothée Alby
56566106c2 Merge pull request #2311 from overleaf/fix-err-error-checks
Fix two err/error confusion issues

GitOrigin-RevId: 3dfdeffa5a8d13d64dca3f70533a87c70a06d49b
2019-11-04 10:07:31 +00:00
Timothée Alby
df45df5b71 Merge pull request #2309 from overleaf/spd-nodevcsrf
Remove /dev/csrf route from production

GitOrigin-RevId: 4dc19fa6d33214f9a4cc57ee1293c215eb072c00
2019-11-04 10:07:27 +00:00
Timothée Alby
5112bd3696 Merge pull request #2314 from overleaf/cmg-remove-rt-toggle
Remove Rich Text test control in left menu

GitOrigin-RevId: 9f6c554b955b75d28dd0f376d7fa5e3d6b3dc8a9
2019-11-04 10:07:20 +00:00
Alasdair Smith
b326e1455a Merge pull request #2308 from overleaf/as-ignore-webpack-manifest-in-dev
Simplify JS asset path building in dev

GitOrigin-RevId: c6208f32e788363a477b9ece401e2faca5be931e
2019-10-31 12:01:49 +00:00
Alasdair Smith
7737fe7b71 Merge pull request #2303 from overleaf/ta-email-regex-fix
Fix Email Parser Regex

GitOrigin-RevId: 7d7deb18473075107bbb1dcc615bfb1acbb5b23b
2019-10-31 12:01:43 +00:00
Shane Kilkelly
365bd08425 Merge pull request #2306 from overleaf/sk-fix-restricted-users-redux
Hide review panel UI and data for restricted users

GitOrigin-RevId: c2211b71860f2d7e8b54c40a7a89a1dd2e6a5d5a
2019-10-31 10:37:19 +00:00
Simon Detheridge
4b6f038a82 Merge pull request #2307 from overleaf/spd-project-page-without-v1
Add additional error handling to enable /projects to load without V1

GitOrigin-RevId: 710ab2f07f191aa60ffdd71e2f54bc7c5db0c430
2019-10-30 15:59:04 +00:00
Alasdair Smith
78c30015f4 Merge pull request #2265 from overleaf/as-move-vendored-deps
Move vendored dependencies out of output directory

GitOrigin-RevId: bad086bdc2a80f9df5d3f934098cb7b05e8f6db5
2019-10-30 11:35:56 +00:00
Jessica Lawshe
4f637f14b5 Merge pull request #2299 from overleaf/as-cleanup-express-locals
Clean up express locals

GitOrigin-RevId: f57e7c57913cbf894a365c5ae9dd2810245a01ae
2019-10-29 15:58:53 +00:00
Jessica Lawshe
42589f39a8 Merge pull request #2279 from overleaf/jel-empty-dash
Dashboard notifications when empty

GitOrigin-RevId: da27828b44798a63a32049708eaebb98bcb07f3b
2019-10-29 15:58:48 +00:00
Eric Mc Sween
bf5df0f235 Merge pull request #2285 from overleaf/jel-institution-information-link
Add institution information link

GitOrigin-RevId: 72116311dfaddae145b4cbdbadbf039b30857890
2019-10-28 14:29:23 +00:00
Eric Mc Sween
f1d96a3d56 Merge pull request #2289 from overleaf/em-ownership-transfer-improvements
Small improvements to ownership transfer

GitOrigin-RevId: 83fa9a8b4358d4f40b1be8212f1a379d81426d26
2019-10-28 14:29:14 +00:00
Eric Mc Sween
ecab52d108 Merge pull request #2292 from overleaf/as-remove-crawler-logger
Remove unused crawler logger and profile/heapdump routes

GitOrigin-RevId: e731f9a0cf969481b26c8074beca86431187449b
2019-10-28 14:29:09 +00:00
Ersun Warncke
9319229657 move institutional email check to overleaf-integration
GitOrigin-RevId: 3e08b1e86bb14d90115df5337cab5c36bb6a69fc
2019-10-28 08:36:36 +00:00
Ersun Warncke
3be4883649 block sso registration for institutional sso domains
GitOrigin-RevId: f1ac63cf47bb41bd3f3603e38a50ed43c9f03650
2019-10-28 08:36:29 +00:00
Timothée Alby
4d564d5cf1 Merge pull request #2258 from overleaf/ta-recurly-custom-fields
Recurly Custom Fields Tracking

GitOrigin-RevId: f29f56cf7d0dfa91a8f4152897ba6bd897cb6238
2019-10-25 08:38:57 +00:00
Eric Mc Sween
06de9233b8 Merge pull request #2255 from overleaf/em-audit-log
Project audit logs

GitOrigin-RevId: 439add2959be140c4f56ce9b41b9f59d432c494d
2019-10-23 12:59:04 +00:00
Eric Mc Sween
f6e4be616c Merge pull request #2267 from overleaf/em-audit-log-admin
Show project audit logs in admin panel

GitOrigin-RevId: f0dae4621ed8d62c8d0424f5f8f5612dc16c3eb5
2019-10-23 12:58:57 +00:00
Ersun Warncke
9902edcfbb pr fixes
GitOrigin-RevId: 15a0371c285256b871a9c3e393077af1371d1e5c
2019-10-23 11:41:13 +00:00
Ersun Warncke
432f4d3a06 add/remove entitlement on v1
GitOrigin-RevId: 3171f77c8cb5376b26a8dc77d4f63630964678e0
2019-10-23 11:41:09 +00:00
Brian Gough
45ebc42bf6 Merge pull request #2276 from overleaf/bg-reject-invalid-sessions
reject invalid sessions

GitOrigin-RevId: 5dc59609d01d7ad9bc29f9bf18faee1165d10689
2019-10-22 09:25:33 +00:00
Brian Gough
8ffaa5b0ca Merge pull request #2271 from overleaf/bg-reject-invalid-sessions
reject invalid sessions with middleware

GitOrigin-RevId: 07ab8829cbed92bbcb90b2c5f2c9d049e05b77cd
2019-10-22 07:46:41 +00:00
Jessica Lawshe
28a4be296f Merge pull request #2251 from overleaf/jel-dashboard-institution-notifications
Institution SSO dashboard notifications

GitOrigin-RevId: c80117c2732fafdc9d09eed69db06a26ad28a663
2019-10-21 16:23:19 +00:00
Timothée Alby
de4205d6a0 Merge pull request #2273 from overleaf/ta-recurly-get-accounts
Add Script to Print CSV of all Paypal Customers

GitOrigin-RevId: 3aab5a29508a6848934a2858e0ce0edb9c7d6e71
2019-10-21 14:08:03 +00:00
Simon Detheridge
68c16dcb73 Merge pull request #2263 from overleaf/spd-revert-revert
Revert "Revert "Merge pull request #2249"

GitOrigin-RevId: 70b0da473e923a072aeca1cc146c82e460757747
2019-10-18 16:41:37 +00:00
Simon Detheridge
2c147f575c Merge pull request #2206 from overleaf/sk-restricted-users-redux
Update the joinProject api to include isRestrictedUser flag

GitOrigin-RevId: 38988b5c886e5355edc2edcd834ae6e334fc9f10
2019-10-18 16:41:24 +00:00
Brian Gough
e502b80116 Merge pull request #2259 from overleaf/bg-revert-session-merge
Revert "Merge pull request #2249 from overleaf/bg-create-session-vali…

GitOrigin-RevId: d2114ecea0708dc109d5c9256e9dccb011a1b62c
2019-10-18 16:41:12 +00:00
Brian Gough
bc8ccf26c7 Merge pull request #2249 from overleaf/bg-create-session-validation-token-for-all-sessions
move session validation into SessionStoreManager

GitOrigin-RevId: 438ec738f0ccaf9f072629d6203a334cb8439b83
2019-10-18 08:42:35 +00:00
Jessica Lawshe
34c04660a6 Merge pull request #2250 from overleaf/jel-saml-session-email
Non canonical institution email in session

GitOrigin-RevId: b70971f6f42391391a42ba6ff214c14a275461d3
2019-10-17 16:29:13 +00:00
Alasdair Smith
9cf73f965c Merge pull request #1440 from overleaf/as-amd-webpack
Bundle all frontend code with webpack

GitOrigin-RevId: 1bd93dad516c456fe1649193868e841e20459b0b
2019-10-16 10:36:21 +00:00
Jessica Lawshe
e27577bd5b Merge pull request #2231 from overleaf/jel-institution-sso-link-error
Add SSO error handling for when identifier linked

GitOrigin-RevId: e2bfa4dba896767d985476ecb78fcee86512a381
2019-10-15 16:22:37 +00:00
Eric Mc Sween
2603597150 Merge pull request #2221 from overleaf/em-ownership-transfer-emails
Project ownership transfer emails

GitOrigin-RevId: 3d33147c18e2d652976b3dac7453c0407c81314e
2019-10-15 13:30:10 +00:00
Eric Mc Sween
6f966ceb3d Merge pull request #2239 from overleaf/em-collabs-frontend
Change collaborator permissions

GitOrigin-RevId: 3627181d201e6d96734f89a380703953424f0fdf
2019-10-15 13:30:00 +00:00
Eric Mc Sween
cc1de97df8 Merge pull request #2235 from overleaf/ta-recurly-subscription-callbacks
Sync Recurly Subscriptions on New and Updated Events

GitOrigin-RevId: 597a7cb529d8c872693aae20cdb81a8edb1b7778
2019-10-15 13:29:53 +00:00
Eric Mc Sween
0e6b455ab0 Merge pull request #2194 from overleaf/ho-res-send-status
use sendStatus for status codes, prevents errors in logs

GitOrigin-RevId: 98613a3c894a01eb9112fa9472403caeeae45bc2
2019-10-15 13:29:40 +00:00
Eric Mc Sween
33d1f603df Merge pull request #2226 from overleaf/spd-clearprojectokens
Add script to clear tokens from a specific project

GitOrigin-RevId: a810e2b7fe2e34efb937bffc0e39c409076daa23
2019-10-14 13:38:07 +00:00
Eric Mc Sween
9a492257af Merge pull request #2220 from overleaf/jel-email-confirmation
Email confirmation only for non-institution SSO emails

GitOrigin-RevId: 95bd0ce077031c11b9d60d2f736a1abe7431a265
2019-10-14 13:37:57 +00:00
Eric Mc Sween
526d4982a1 Merge pull request #2219 from overleaf/jel-institution-email-already-exists
Check for email before adding institution identifier

GitOrigin-RevId: 71f498116c8c8df2c3c1a33eafce3e56c87e7ee0
2019-10-14 13:37:50 +00:00
Eric Mc Sween
ed7b5a9450 Merge pull request #2218 from overleaf/as-eslint-globals
Move around eslint globals

GitOrigin-RevId: 81144a0b763159b9425aff673211c07ec65b3be5
2019-10-14 13:37:42 +00:00
Brian Gough
7db9e73ecf Merge pull request #2234 from overleaf/bg-avoid-event-loop-metrics-during-startup
start event loop monitoring when the process is ready

GitOrigin-RevId: 0a7759311b737e99579f61cc4cf90b775c26b76d
2019-10-14 09:43:03 +00: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
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
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
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
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
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
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
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
Jessica Lawshe
b5f4e26840 Merge pull request #2118 from overleaf/cmg-convert-array-archiving
New archiving endpoint to convert to array

GitOrigin-RevId: a6f5d3e2363afcbcd5719731261b85a0ae7a1e25
2019-10-02 14:22:28 +00:00
Jessica Lawshe
398d355ffd Merge pull request #2196 from overleaf/jel-template-metrics
Set templateId for template graph requests

GitOrigin-RevId: 65167a30ab427146582389ea44d3d1eb9ccecacf
2019-10-02 14:22:14 +00:00
Simon Detheridge
2eb1f510c1 Merge pull request #2182 from overleaf/ta-remove-user-stubs
Remove Usages of UserStub

GitOrigin-RevId: 6896d0d3594d12ffa06211838ae2274661c77f4f
2019-10-01 12:09:49 +00:00
Eric Mc Sween
3ec74ac6f2 Merge pull request #2164 from overleaf/em-ownership-transfer
Project ownership transfer backend endpoint

GitOrigin-RevId: b7d267f2c105e8f51d5013289ac4afeb077c1e21
2019-09-30 15:01:03 +00:00
Eric Mc Sween
acd926e2e0 Merge pull request #2178 from overleaf/sk-hide-ui-anon-read-only-token
Handle anonymous users when deciding to restrict view of the editor

GitOrigin-RevId: 617f7ef2c8cc34142a6b8187c467fadb90745863
2019-09-30 13:36:54 +00:00
Eric Mc Sween
a87a731d25 Merge pull request #2176 from overleaf/em-ta-json-auth
Make ensureUserCanAdminProject always raise a 403

GitOrigin-RevId: 4dd1eca1cfb171d92392bc3c8208b61cbf7c6815
2019-09-30 13:36:48 +00:00
Eric Mc Sween
039b5eaba0 Merge pull request #2167 from overleaf/jel-saml-account-settings-layout
Account settings layout for institution SSO

GitOrigin-RevId: d9c9e5eeb3b4a215456b0f5294139c1b8d4968c3
2019-09-30 13:36:41 +00:00
Eric Mc Sween
16ac5126cb Merge pull request #2181 from overleaf/sk-exclude-smoketest-user-from-rate-limits
Exclude smokeTest user from rate limits

GitOrigin-RevId: 01197ce9971477550e73989067adc631189382b1
2019-09-26 14:38:13 +00:00
Eric Mc Sween
7951ee229a Merge pull request #2179 from overleaf/sk-re-add-project-dashboard-rate-limit
Re-add rate limit on /project

GitOrigin-RevId: 1099361db517c8bfce08b4bbc6b64d05205cccb1
2019-09-26 12:56:08 +00:00
Eric Mc Sween
9cd5af840a Merge pull request #2152 from overleaf/as-per-user-trash-backend
Add per-user trash endpoint

GitOrigin-RevId: 94a6e3416b047e1f8721159ac0d049e98785e5ce
2019-09-26 12:56:02 +00:00
Eric Mc Sween
9a31361795 Merge pull request #2175 from overleaf/ta-user-membership-refactor-fix
UserMembershipAuthorization Refactor Fix

GitOrigin-RevId: ac404324728f4a3fe18e122c9e52ad4956ae47d7
2019-09-26 12:55:56 +00:00
Simon Detheridge
6e7007ef3e Merge pull request #2170 from overleaf/ta-confirmation-email-missing-fix
Prevent Email Confirmation If Email Is Missing for User

GitOrigin-RevId: cab9667103b0a5596cf067f85f747b1481ca4e66
2019-09-25 14:48:25 +00:00
Simon Detheridge
8ec2f1a896 Merge pull request #2157 from overleaf/jel-saml-logout-redirect
Redirect handling after logging out

GitOrigin-RevId: 01562dbe71ff4f3571fb0d433b96ccca34aad24e
2019-09-25 14:48:19 +00:00
Simon Detheridge
111d22d260 Don't leave dangling users in mailchimp when change-address fails (#2165)
* Don't leave dangling users in mailchimp when change-address fails

Also prevents upserting of users when unsubscribing

bug: overleaf/issues#2220
bug: overleaf/issues#2301
bug: overleaf/issues#2302

* Tidy up NewsletterManager. Enable deletion of contacts on account delete.

GitOrigin-RevId: ab7cde7a7b7018b37dea54ffa154e02c5aea0244
2019-09-25 14:47:57 +00:00
Brian Gough
13a53b8fbc Merge pull request #2177 from overleaf/bg-add-docstore-request-timeouts
add 30 second timeout on requests to docstore

GitOrigin-RevId: b5e7a8926113fb50ad9931c89061d665a8d1b1e0
2019-09-25 13:03:35 +00:00
Ersun Warncke
3c1f64782f convert UserCreator to async/promises
GitOrigin-RevId: a040b9dd65aa834d1dd9e552ffc1434a17c43eae
2019-09-25 12:33:43 +00:00
Timothée Alby
b43d26b543 Merge pull request #2140 from overleaf/as-decorate-archive-manager-errors
Decorate archive manager errors with OError

GitOrigin-RevId: 2795e5aaf172fd3b2b3a396b90b486b4ce5cfa4f
2019-09-24 08:58:11 +00:00
Timothée Alby
a23ecc9bf8 Merge pull request #2105 from overleaf/ta-user-membership-refactor
UserMembershipAuthorization Refactor

GitOrigin-RevId: 7711cda4a134823cbacee42731319fbb8aa648d0
2019-09-24 08:58:05 +00:00
Timothée Alby
44d3b8b92e Merge pull request #2161 from overleaf/ta-decaf-cleanup-authentication
Decafeinate AuthenticationManager

GitOrigin-RevId: 491c7fbeb7f83e81783beadfdd0d4cb510f7d429
2019-09-24 08:57:59 +00:00
Timothée Alby
af7eea35a1 Merge pull request #2162 from overleaf/ta-decaf-cleanup-authorization
Decafeinate Authorization Feature

GitOrigin-RevId: 5f139c24eac38ef0818a0eec9d308aacca0fde56
2019-09-24 08:57:53 +00:00
Timothée Alby
c1c1b85a40 Merge pull request #2163 from overleaf/ta-decaf-cleanup-user
Complete Decafeinate of User Feature

GitOrigin-RevId: b8d7ebc59c4f6673392b4a0f33fb11e002d5a3a0
2019-09-24 08:57:47 +00:00
Simon Detheridge
2031115f48 Merge pull request #2156 from overleaf/hb-secure-headers
Use helmet to set nosniff and sameorigin

GitOrigin-RevId: e5d684d772523ca740be75ebe9d248db74209f25
2019-09-18 10:41:51 +00:00
Simon Detheridge
696527df8d Merge pull request #2153 from overleaf/spd-subscription-indexes
Make default for Subscription.manager_ids 'required'

GitOrigin-RevId: 18aa899736270bbb7eacbda53824a2ed52ca936f
2019-09-18 10:14:45 +00:00
Simon Detheridge
deaf76be39 Merge pull request #2135 from overleaf/sk-hide-info-readonly-token-access
Restrict information and features for token-read-only users of a project

GitOrigin-RevId: 98512fb9a916f430fd635fd5634c37799476010d
2019-09-18 10:14:39 +00:00
Jessica Lawshe
7c533fa5fb Error handling when missing SAML data
When logging in and linking, if session data is missing show a more specific error message.

GitOrigin-RevId: 32d733f7478180bcce18e1f466ae10255c763997
2019-09-17 12:33:22 +00:00
Miguel Serrano
f6d70de1aa Disable check v1 token server pro (#2149)
GitOrigin-RevId: 3aba52f97dc99212a8516e3c071c341b68763199
2019-09-13 07:35:35 +00:00
Miguel Serrano
96533165eb Remove leftover flag: publish-templates (#2136)
GitOrigin-RevId: 67a849af309ea89f619d3addd29d5cba79268b04
2019-09-13 07:35:28 +00:00
Jessica Lawshe
4b894c152f Merge pull request #2114 from overleaf/jel-saml-account-linking
Login and link SAML account

GitOrigin-RevId: 97daf9b6028ece3b3a19715873439f5fea7ecebb
2019-09-12 14:17:08 +00:00
Brian Gough
837599d89c Merge pull request #2146 from overleaf/bg-fix-redis-user-session-expiry
fix expiry of user sessions in redis

GitOrigin-RevId: e53aa93bba99fe0cd632ac8bce36c0228e20d04a
2019-09-12 08:18:43 +00:00
Simon Detheridge
adbe19fa12 Merge pull request #2144 from overleaf/spd-unhandled-missing-project
Handle errors when projects are deleted while git-bridge requests are ongoing

GitOrigin-RevId: 488c3d480f2bb58aebaac5bdcbb412009c14322a
2019-09-11 11:19:36 +00:00
Timothée Alby
0c9bf05a0a Merge pull request #2139 from overleaf/ta-subscription-restore-misc
Restore Deleted Subscriptions Extra

GitOrigin-RevId: 6fceb1142af8ba510dc266ef31acc86ddca69f0e
2019-09-10 14:44:18 +00:00
Timothée Alby
71060e8d57 Merge pull request #2123 from overleaf/ta-subscription-restore
Restore Deleted Subscriptions

GitOrigin-RevId: 4df1d2116e5502235e06f47d7317d97ad458b75b
2019-09-10 14:28:55 +00:00
Hugh O'Brien
a319073a08 Merge pull request #2132 from overleaf/spd-collabratec-tests
Make collabratec tests not depend on previous run state

GitOrigin-RevId: 264f946e05b848fa253b6fbdd8e97a4998e4158e
2019-09-10 10:08:59 +00:00
Jessica Lawshe
4defd2b6b5 Render account linking page
Simplify account linking data. Change `institution.name` to `institutionName`

Update emailAlreadyLinked value. The layout checks for 'primary' and 'secondary', not a boolean, so update data passed

Add error messages to Account Linking pages

Rename account linking file name to reflect route change. Changed `institution` to `institutional` on the login route.

GitOrigin-RevId: 4e12b9ec7c1577efbaa8c0628e3c41c70114844e
2019-09-09 14:48:22 +00:00
Eric Mc Sween
abae7ef2a3 Merge pull request #2113 from overleaf/em-project-details-handler-async
Move ProjectDetailsHandler to async/await

GitOrigin-RevId: 5ec9343d6203850641174cc728db9a2e56f44775
2019-09-09 12:05:38 +00:00
Eric Mc Sween
797595bb1a Merge pull request #2128 from overleaf/em-clsi-error-logs
Avoid logging document content in failed compile

GitOrigin-RevId: 7ca296ccb28d814b9fa5610c0ee065e4614875a6
2019-09-09 12:05:32 +00:00
Eric Mc Sween
d0fc8d90e5 Merge pull request #2119 from overleaf/ta-subscription-deletion
Store Deleted Subscriptions

GitOrigin-RevId: c7004f1807dee6b6ec82eeb2a8fe939801ce3e8b
2019-09-09 12:05:23 +00:00
Miguel Serrano
bc233e6eba Restored Sharelatex Template publishing UI (#2137)
GitOrigin-RevId: b322130a64baa93602ef5a8e79f1cefdff32feb1
2019-09-09 08:45:46 +00:00
Miguel Serrano
08f8bbce9b Update 'affiliations' feature flag to support Server Pro (#2127)
GitOrigin-RevId: 93633994e052badf73b48e5b10971ea6257503ac
2019-09-09 08:45:39 +00:00
Timothée Alby
294ce1a13c remove dead code around syncUserToSubscription (#2122)
GitOrigin-RevId: d489365a4bceb9d675e6a75b25be61baa3aa010e
2019-09-04 11:45:24 +00:00
Miguel Serrano
dc6e4b3a12 Added missing email field when registering user token (#2130)
GitOrigin-RevId: f7aaeae1f82e0188c838d7d1d975a81664950f78
2019-09-04 11:17:15 +00:00
Brian Gough
7d9fe92f28 Merge pull request #2120 from overleaf/bg-fix-rate-limit
Revert "Add a rate limit to the `/project` page"

GitOrigin-RevId: 1bcd88e03a4cea2defbd4779bc81d0d972f1cd4e
2019-09-03 15:25:38 +00:00
Simon Detheridge
e69b66fac3 Merge pull request #2117 from overleaf/spd-joinproject-ratelimit
Increase editor join-project rate limit

GitOrigin-RevId: 4d0d210e9d69804184765cad89cc3f67e0c482b7
2019-09-03 15:25:27 +00:00
Shane Kilkelly
6c6d8ba373 Merge pull request #2110 from overleaf/ta-affiliations-feature
make affiliations feature depend on the existence of v1 API

GitOrigin-RevId: 0050c2f338eaab254583f4547630694725d90463
2019-09-03 15:25:21 +00:00
Shane Kilkelly
84de1af960 Merge pull request #2108 from overleaf/sk-add-rate-limit-to-project-page
Add a rate limit to the `/project` page

GitOrigin-RevId: ef77f092c94c6a88fc73354cee6b8572b84d3d3a
2019-09-03 15:25:13 +00:00
Eric Mc Sween
869fcf7952 Merge pull request #2089 from overleaf/em-mailchimp-unsubscribe
Handle error on Mailchimp unsubscribe when deleting users

GitOrigin-RevId: 8923480e6d50de45003fd7741610f995753a412b
2019-09-03 15:25:01 +00:00
Chrystal Maria Griffiths
6f2b4d3da3 Merge pull request #2081 from overleaf/cmg-per-user-trash
Add per-user trashed state to project model

GitOrigin-RevId: 16a753702d3503eee011dd2adca5dc8df3da87f4
2019-08-27 10:50:05 +00:00
Timothée Alby
03460ba229 Merge pull request #2020 from overleaf/ta-recurly-sca
SCA Integration

GitOrigin-RevId: d7935584f87ec7c7339d050430efc87420a39de1
2019-08-22 12:10:46 +00:00
Eric Mc Sween
358cd22f54 Merge pull request #2087 from overleaf/subscription-invoices-link
Add Link to Invoices for Recurly Subscriptions

GitOrigin-RevId: dd3aa999c26988f2bd42b0db83dbfb0ce586a0a7
2019-08-20 12:59:58 +00:00
Eric Mc Sween
ced31d6131 Merge pull request #2055 from overleaf/jel-sso-layouts
Layouts for login, register, institutional log in, & linking pages

GitOrigin-RevId: af0ea36e3bd6e39b0a6305bf0882c296eb931d5b
2019-08-20 12:59:41 +00:00
Eric Mc Sween
0e8866f651 Merge pull request #2079 from overleaf/ta-institution-new-licences
Add Routing for New Licences Metrics Graph

GitOrigin-RevId: 9e7def383d257db1eef03b1224b4b5fef376427c
2019-08-20 12:59:36 +00:00
Miguel Serrano
9a8a182c1b Fix UserGetter email retrieval with affiliations disabled (#2085)
GitOrigin-RevId: f868333f3c18f674b7ba9c387315c2d5ad1fd80b
2019-08-19 15:19:57 +00:00
Miguel Serrano
e8790a638c affiliations flag checks Settings.overleaf (#2080)
GitOrigin-RevId: c0dc5a8c1e6ad6c5ddb055ccfc21c901d66a9827
2019-08-15 14:00:24 +00:00
Henry Oswald
87605d835e Merge pull request #2075 from overleaf/ho-setting-doc-log-level
downgrade log of no root doc to log to reduce noise

GitOrigin-RevId: f729f44b46704a26a8bcd808e64a239a0da38107
2019-08-14 15:19:29 +00:00
Eric Mc Sween
df2d46b332 Merge pull request #2074 from overleaf/em-o-error
Introduce OError in CLSI manager

GitOrigin-RevId: 4299de10a21242be4a127e761720de48f587412b
2019-08-13 12:50:25 +00:00
Simon Detheridge
7d253651ca Remove 'this' usage from UserUpdater
GitOrigin-RevId: f49126b69b22f8f6860d77ba07d9ae8fd68b5aaf
2019-08-13 08:50:13 +00:00
Ersun Warncke
cd57ff4e7f return errors and clean up ProjectOptionsHandler
GitOrigin-RevId: 5be79a317419998216e9f207313c114888beb415
2019-08-13 08:49:55 +00:00
Eric Mc Sween
b9bf16d22a Decaf cleanup (#2069)
GitOrigin-RevId: 2412480d495bfa0b4ad35edbbbeaaaf8644906ca
2019-08-12 11:39:23 +00:00
Miguel Serrano
6006c8ca79 Fixed incompatibilities between overleaf.com and community (#2028)
GitOrigin-RevId: fc1e4e3e179cab75144043d83197f09e4f6c7642
2019-08-12 11:39:17 +00:00
Timothée Alby
7d1bab4e88 Merge pull request #2025 from overleaf/ta-metrics-admin
Admin Metrics

GitOrigin-RevId: 1179893b9b2148110b86caca12b057fccb04f3af
2019-08-12 07:55:44 +00:00
Alasdair Smith
3422c17dc4 Merge pull request #1948 from overleaf/cmg-allow-array-archiving
Make checking for project.archived array-friendly

GitOrigin-RevId: 2902a12fb4611a5786d4b10feba534b1cd29668b
2019-08-09 09:54:27 +00:00
Simon Detheridge
1d13f41163 Merge pull request #2045 from overleaf/hb-fix-ipmatcher-dash-call
checking ip matcher on dash load correctly

GitOrigin-RevId: dae581808d0bdc57b7bbc3601729e54e773b6c7f
2019-08-07 15:29:36 +00:00
Simon Detheridge
a815c6a3e8 Merge pull request #2016 from overleaf/sk-fix-session-data
Fix mismatched user session data

GitOrigin-RevId: d464d05431ac86e279109aa3f7bc26dcf76662f4
2019-08-07 15:29:31 +00:00
Brian Gough
5c32523b53 Merge pull request #2050 from overleaf/bg-fix-session-logging-error
fix error in session logging

GitOrigin-RevId: e31ac3585f4c502a04602e9a49445319502c5d52
2019-08-07 08:58:24 +00:00
Eric Mc Sween
2269e4c4f1 Merge pull request #2031 from overleaf/bg-avoid-binary-text-mismatch-on-dropbox-updates
avoid writing binary data into existing docs via dropbox

GitOrigin-RevId: c6bc0ee3854c737ad80ea10a91bc27c88db2f838
2019-08-06 12:34:32 +00:00
Eric Mc Sween
e0c3a971bb Merge pull request #2044 from overleaf/em-forwarded-for
Get client IP behind proxies

GitOrigin-RevId: aed5e0bdcefb22b45db1b8745c5cd7522a32c21f
2019-08-06 12:34:26 +00:00
Timothée Alby
7785c7b59e Merge pull request #2029 from overleaf/ta-build-main-recurly-3
Load Recurly JS Separately

GitOrigin-RevId: 8baa2be76fa9d8a47676bc0bd0a80f4c05cc1600
2019-07-31 15:44:44 +00:00
Timothée Alby
8fb6835f8a Merge pull request #2026 from overleaf/ta-build-main-recurly
Add build steps for main-recurly.js

GitOrigin-RevId: 25231c62854b75904b1b5288b3a5157e10220f9d
2019-07-31 09:49:07 +00:00
Timothée Alby
b9ab0edf69 Merge pull request #2015 from overleaf/ta-recurly-upgrade
Upgrade Recurly

GitOrigin-RevId: 9a7c4804d2fafa31ea634498359dbfd95416b2ae
2019-07-31 08:33:31 +00:00
Timothée Alby
018b2cc474 Merge pull request #2010 from overleaf/ta-http-errors
Add More Http Errors

GitOrigin-RevId: d7aab42e1c7cec8757d6f2c6fc839a6c3f204351
2019-07-31 08:33:25 +00:00
Simon Detheridge
d9d9ee9541 Merge pull request #2023 from overleaf/spd-fix-deleted-project-expiry
Fix not-found error when cleaning up deleted projects

GitOrigin-RevId: db3d0f8756319dbeb7ff753a8603cf61b9fb8a0c
2019-07-30 08:40:37 +00:00
Brian Gough
e197d58103 Merge pull request #2003 from overleaf/bg-use-individual-channels
support individual pubsub channels

GitOrigin-RevId: e750eeb1945ddcf2c92d0d1878363f14da208984
2019-07-30 07:33:36 +00:00