Commit graph

869 commits

Author SHA1 Message Date
Jakob Ackermann
12b407c18b Merge pull request #3186 from overleaf/jpa-mongodb-native-prep
[misc] mongodb: use findOne and find().toArray()

GitOrigin-RevId: 52457b1a73c1b49ff78ff9b3096dd80e330fcf25
2020-09-29 02:05:52 +00:00
Simon Detheridge
fdcf327ae7 Merge pull request #3231 from overleaf/jpa-hide-internal-error-messages
[misc] PasswordResetController: do not expose internal error messages

GitOrigin-RevId: 9eca5e7f5367559d5340363ef859589e218e817f
2020-09-29 02:05:30 +00:00
Simon Detheridge
315987dc5a Merge pull request #3175 from overleaf/pr-spike-new-logs-errors-ui
Spike new logs errors ui

GitOrigin-RevId: b4c598bc03d8aa8e5a438ac5633e18dadd82dc74
2020-09-29 02:05:19 +00:00
Simon Detheridge
ec0240395f Merge pull request #3219 from overleaf/spd-jel-v1-logging
Add URL to error log from V1SubscriptionManager

GitOrigin-RevId: de55b3c017aa060a75d81e538be0dec3131b3baf
2020-09-29 02:05:12 +00:00
Jakob Ackermann
9789a158a7 Merge pull request #3183 from overleaf/jpa-add-missing-db-stub
[misc] unit tests: add missing module stubs for (transient) db imports

GitOrigin-RevId: 9a16f1ab9b42608d839922fb339189697bc9ed22
2020-09-25 02:04:25 +00:00
Jakob Ackermann
018a44eeb5 Merge pull request #3185 from overleaf/jpa-normalize-mongo-imports
[misc] normalize mongo imports

GitOrigin-RevId: ac653d9982e0d36736b90f4c03d4c00be88ea76a
2020-09-25 02:04:20 +00:00
Jessica Lawshe
739b301419 Merge pull request #3198 from overleaf/jel-new-cta-email-testEmail
Convert testEmail to new email handling

GitOrigin-RevId: 4230875a360b03de5e5dbaff83fb99187ef745b1
2020-09-22 02:05:03 +00:00
Jessica Lawshe
dfb58a69c4 Merge pull request #3197 from overleaf/jel-new-cta-email-subscription-alerts
Convert subscription emails to new email handling

GitOrigin-RevId: bd10389aca073a1a21778af8c362e9254ddc70f1
2020-09-22 02:04:57 +00:00
Jessica Lawshe
e1bcf93374 Merge pull request #3212 from overleaf/jel-new-cta-email-confirmEmail
Convert confirmEmail to new email handling

GitOrigin-RevId: 66d1bd7503d36cc74adfadc983003c31c2c57bd1
2020-09-22 02:04:50 +00:00
Jessica Lawshe
d23df6dd99 Merge pull request #3214 from overleaf/jel-new-cta-email-verifyEmailToJoinTeam
Convert verifyEmailToJoinTeam to new email handling

GitOrigin-RevId: f4d19aff26c07bb04d8f414805edbf79baec6e0c
2020-09-22 02:04:45 +00:00
Jakob Ackermann
435af75ef7 Merge pull request #3163 from overleaf/as-jpa-i18n-cleanup
[misc] Translations cleanup

GitOrigin-RevId: 46bf1142bb9415eeebf638c120597996aaa55f8b
2020-09-18 02:04:41 +00:00
Chrystal Maria Griffiths
cc65ec32c5 Merge pull request #3178 from overleaf/cmg-ace-upgrade-1.4.12
Upgrade ace to 1.4.12

GitOrigin-RevId: a381b3815248e710cf8f02558e8c9f74b063fc96
2020-09-17 02:04:49 +00:00
Shane Kilkelly
0642922490 Merge pull request #3190 from overleaf/jel-new-cta-email-body
New CTA email body

GitOrigin-RevId: 6712980ed8b5dbbddfcf17c4263b13d62aa67ac0
2020-09-17 02:04:38 +00:00
Shane Kilkelly
df32ea6dca Merge pull request #3112 from overleaf/ew-send-project-owner-id-to-tpds
add project_owner_user_id to tpds requests

GitOrigin-RevId: 3b83d6dd2eaa00e100e7fa84e403318a44282747
2020-09-17 02:04:29 +00:00
Timothée Alby
ede3b6a248 Merge pull request #3152 from overleaf/ta-jpa-confirm-entitlement
Send Entitlement for Affiliations During Domains Confirmation

GitOrigin-RevId: 9d6b41022adfdb5e1a797b9471830014b1ef43e3
2020-09-16 02:05:03 +00:00
Timothée Alby
f5471481d9 Merge pull request #3166 from overleaf/msm-server-message-async-form
Using server messages in asyncForm for 400 errors

GitOrigin-RevId: 1cf1bae7d5ac61051f8ed923631ae7874984572c
2020-09-16 02:04:52 +00:00
Timothée Alby
c95b325de4 Merge pull request #3172 from overleaf/hb-increase-file-upload-timeout
Decrease rate limit time for file uploads to every 15m instead of 30m

GitOrigin-RevId: 672cfcd61d8531f4519250fbe02d80fb4aeaccfc
2020-09-16 02:04:47 +00:00
Jessica Lawshe
0a7c09c5c1 Merge pull request #3180 from overleaf/jel-remove-unused-emails
Remove unused email templates

GitOrigin-RevId: d5b84e01948d3ea4b44df4e2a15038c729f1fdcb
2020-09-15 02:04:29 +00:00
Jessica Lawshe
aee83bc0cf Merge pull request #3173 from overleaf/jel-institution-sso-audit-log
Update audit log when institution SSO is linked/unlinked

GitOrigin-RevId: 264ffbed025dccb4dd202f86afe545c3bf0c1f76
2020-09-15 02:04:24 +00:00
Simon Detheridge
6f46034b62 Merge pull request #3162 from overleaf/spd-upgrade-users-async-limit
Make ASYNC_LIMIT configurable when upgrading institution users

GitOrigin-RevId: 566dd7d1e742c196847196c98449becea264719e
2020-09-05 02:05:32 +00:00
Timothée Alby
d9c435a77a Merge pull request #2957 from overleaf/ew-validate-saml-email
Validate saml email before register

GitOrigin-RevId: 6dcf3bccd280abd7bd3ced2d4fd2f69c590f74c1
2020-09-02 02:05:07 +00:00
Timothée Alby
82a0df1fad Merge pull request #3147 from overleaf/jel-sso-email-missing-error
Update default missing SSO email error message

GitOrigin-RevId: 03410a9b5c0f894c236f62148f03cb6243abad7a
2020-09-02 02:04:26 +00:00
Simon Detheridge
4415f77b18 Merge pull request #3140 from overleaf/ho-swallow-deactive-project-err
if deactivateProject errors, continue the deactivateOldProjects jobs

GitOrigin-RevId: b3c2584e0a042cb3c78e609314c320a9b657640c
2020-08-27 02:04:13 +00:00
Hugh O'Brien
3825475aea Merge pull request #3132 from overleaf/hb-update-leaving-email
Update cancel subscription email

GitOrigin-RevId: c3226a760e5e71483788bdb99fc355e3e8c829eb
2020-08-26 02:04:29 +00:00
Jessica Lawshe
bde7ef600f Merge pull request #3138 from overleaf/jel-csrf-fix
Fix validateToken signature

GitOrigin-RevId: fbedaa76ec0fa2134a08aa43c28c3756f8a2afe6
2020-08-25 02:04:34 +00:00
Timothée Alby
cc218c98c2 Merge pull request #3098 from overleaf/jel-dropbox-tidy
Tidy DropboxUserController and DropboxHandler

GitOrigin-RevId: f492b35af06d02b6401b99467e887a92d5335b56
2020-08-25 02:04:23 +00:00
Timothée Alby
1ff2c6ce00 Merge pull request #3117 from overleaf/sk-block-tpds-update-on-archived-project
Block TPDS update on archived/trashed project

GitOrigin-RevId: 7db41a313b03721b93cbb601add6f91ae31f3f2a
2020-08-25 02:04:17 +00:00
Jakob Ackermann
694a6937c3 Merge pull request #3123 from overleaf/jpa-hotfix-merge
[misc] fix merge of AuthenticationController

GitOrigin-RevId: 7945a6e3b6f0c5e816db2a02745dc75a30928392
2020-08-20 02:06:37 +00:00
Jakob Ackermann
a22e252666 Merge pull request #3114 from overleaf/msm-remove-logger-warn-controllers
Replaced logger statements with error tagging in Controllers

GitOrigin-RevId: c5231913c82f95a325f4c3ab406d89cb534835a4
2020-08-20 02:06:25 +00:00
Jakob Ackermann
674954f96f Merge pull request #3094 from overleaf/sk-restrict-admin-flag
Check domain of emails on admin users

GitOrigin-RevId: 75de9cff30e3c628249fcd0ea3446a33d51d39b4
2020-08-20 02:06:19 +00:00
Jakob Ackermann
fa594e575b Merge pull request #3113 from overleaf/jpa-translations-mono-repo
[misc] mono repo with translations

GitOrigin-RevId: 1ed86d211f6a2031aafc3e7462687af0e957f9fd
2020-08-19 02:06:08 +00:00
Jakob Ackermann
ef0235e156 Merge pull request #3099 from overleaf/em-mongoose-native-connection
Obtain the native Mongo connection from Mongoose

GitOrigin-RevId: 496958b1fdda617ed9ed9389c648688479d7fef3
2020-08-18 02:06:18 +00:00
Jessica Lawshe
552fb56b74 Merge pull request #3078 from overleaf/jel-log-password-reset-by-token
Update audit log when password reset by token

GitOrigin-RevId: 2ae7f59c5cdf2723e541a99c58c36564cc82adbf
2020-08-13 15:46:10 +00:00
Timothée Alby
bbf3132a16 Merge pull request #3096 from overleaf/jel-security-alert-primary-email
Send security alert email when primary email changed

GitOrigin-RevId: a01f38a2478dc280261b9a43ef1a01751d4601fb
2020-08-13 02:06:44 +00:00
Timothée Alby
3babf23444 Merge pull request #3091 from overleaf/jel-log-default-email-change
Update audit log for default email changes

GitOrigin-RevId: c7b4e4e888aa5ffd976062d72f660ded303f0885
2020-08-13 02:06:40 +00:00
Timothée Alby
0cec198a08 Merge pull request #3095 from overleaf/hb-last-login-date-groups-csv
Last login date for groups csv

GitOrigin-RevId: c615db3086ec84f2a33710fc0117d711862b6f6c
2020-08-13 02:06:35 +00:00
Timothée Alby
d932c153c0 Merge pull request #3090 from overleaf/jel-async-setDefaultEmailAddress
Convert setDefaultEmailAddress to async

GitOrigin-RevId: 1f915af03c3dbe54b2cce439ecd55eeb3a3f35d3
2020-08-13 02:06:31 +00:00
Timothée Alby
459904c0ef Merge pull request #2975 from overleaf/cmg-sk-restricted-users-names
Hide data from restricted users in history, setting history label usernames on server side

GitOrigin-RevId: 820d92064d2c0bc99ba756cca4be1adab0da5753
2020-08-13 02:06:25 +00:00
Timothée Alby
8cd6e7ccfc Merge pull request #3064 from overleaf/ta-manage-multiple-groups
Allow Users to Manage Multiple Groups

GitOrigin-RevId: c918da0114cdd1d679223f69d81159b4c2608874
2020-08-13 02:06:20 +00:00
Miguel Serrano
2e8f66ac6b Merge pull request #3075 from overleaf/msm-codemod-oerror-v3-logging
Replaced logger.warn statements with OError.tag()

GitOrigin-RevId: 4d821ec48a0006abb1fcffe07dbb5511c88f5b9a
2020-08-12 02:07:03 +00:00
Miguel Serrano
d2845d9a38 Merge pull request #3074 from overleaf/msm-update-oerror-logger-v3
Update o-error to v3 and logger-sharelatex to v3

GitOrigin-RevId: 5e6386f65b7893949336aa4ff021212aebd98f4a
2020-08-12 02:06:58 +00:00
Miguel Serrano
42c917d909 Merge pull request #3046 from overleaf/msm-cleanup-oerror-http
Finish o-error/http cleanup

GitOrigin-RevId: 1f8cf7f1e0503d1071c51b41ac136f7fb7f38872
2020-08-12 02:06:53 +00:00
Jessica Lawshe
6dbf37d408 Merge pull request #3066 from overleaf/jel-log-admin-adds-email
Update user audit log when an admin adds email

GitOrigin-RevId: 758199e2f0f3501701b42bf359ce5ccd52cb3da0
2020-08-10 15:56:18 +00:00
Jessica Lawshe
7eee20f914 Merge pull request #3079 from overleaf/jel-log-password-update
Update audit log when password updated

GitOrigin-RevId: 3228e39e8a3682d6e77264cd6ee580f3fc40642a
2020-08-10 15:56:11 +00:00
Jakob Ackermann
a437eb3d59 Merge pull request #2995 from overleaf/jpa-project-download-fix-leaking-upstream-response
[misc] project download: fix leaking upstream stream from error in pipe

GitOrigin-RevId: cb7db90890853352dc69ea2e46cec7e7ea66e6e9
2020-08-10 15:55:00 +00:00
Jessica Lawshe
33365e56bc Merge pull request #3061 from overleaf/jel-security-alert-clear-sessions
Send security alert email when sessions are cleared

GitOrigin-RevId: d1620214e84211edb69d7419ed64cf7618d1b460
2020-08-10 15:54:51 +00:00
Jessica Lawshe
c3450e4414 Merge pull request #3051 from overleaf/jel-log-when-email-added
Add entry to auditLog when user adds an email

GitOrigin-RevId: 797c85e18cb2b201e09fd2631b1e5ea066adfc37
2020-08-10 15:54:42 +00:00
Ersun Warncke
88683e9fec refactor SAMLController to use async throughout
GitOrigin-RevId: dafd76042f460cd34596c8c9023e2378145105e8
2020-08-10 15:54:15 +00:00
Jessica Lawshe
fa9c72c202 Merge pull request #3058 from overleaf/jel-feature-zotero
Verify features exist before checking for Zotero feature

GitOrigin-RevId: 9f1afddb6fb59d50f13b8ac7772fe93ae5d0ba04
2020-07-28 02:06:53 +00:00
Jessica Lawshe
305f82459f Merge pull request #3040 from overleaf/jel-email-added-alert
Secondary email added alert

GitOrigin-RevId: 6bfe8eb54110a522281b32490b0107db8890ab64
2020-07-28 02:06:48 +00:00
Jessica Lawshe
cbe21d1f77 Merge pull request #3024 from overleaf/jel-log-cleared-sessions
Log cleared user sessions in user.auditLog

GitOrigin-RevId: 829c4ea037d897689c02c1dfe12d38542a7216c0
2020-07-28 02:06:43 +00:00
Jakob Ackermann
1f6499b5ea Merge pull request #3053 from overleaf/jpa-spd-accepts
[misc] reland 3004: unify detection of json requests and skip issuing of redirects

GitOrigin-RevId: fa43b3b4d23deb581496ed70ae8f28b805555d64
2020-07-28 02:06:27 +00:00
Jakob Ackermann
7847209eaa Merge pull request #3049 from overleaf/jlm-fix-referral-projection
Fix referral projection

GitOrigin-RevId: 37c68bf6bfa81a694e2f919b262634a9a1b63f8b
2020-07-28 02:06:20 +00:00
Jakob Ackermann
9d8e20d3d8 Merge pull request #3043 from overleaf/hb-increase-timeout-on-onboarding-email
Increase timeout on user onboarding email endpoint

GitOrigin-RevId: d7c9aaae407e31ae2e9cfea5a6dce853c2737ab9
2020-07-25 02:06:37 +00:00
Jakob Ackermann
023f1c254f Merge pull request #3000 from overleaf/jpa-skip-requests-for-anonymous-users
[misc] skip requests for anonymous users

GitOrigin-RevId: a459fc623c171ccc146ee0d31e8faca0b719d096
2020-07-25 02:06:18 +00:00
Miguel Serrano
b0dc73a61c Remove HttpErrors.InternalServerError (#3027)
* Added legacyInternal() 500 to HttpErrorHandler
* replaced HttpErrors.InternalServerError being thrown with calls to HttpHandler.legacyInternal()

GitOrigin-RevId: 0b7086a9693b57cdf93976d4221b90315960e8bb
2020-07-23 02:06:50 +00:00
Alasdair Smith
2bcbc84e0b Merge pull request #3010 from overleaf/hb-handle-invalid-filepath-error
Provide specific error on invalid file path upload

GitOrigin-RevId: 4b26da398f18fc03e812ea081accd96f05244cef
2020-07-23 02:06:43 +00:00
Jessica Lawshe
8f773318c1 Merge pull request #3023 from overleaf/jel-add-user-audit-log
User audit log

GitOrigin-RevId: 687448d5da5d783c6db0fadb53c020cc9c3876b9
2020-07-22 02:06:16 +00:00
Jessica Lawshe
d8b2537f48 Merge pull request #2983 from overleaf/jel-security-emails
Add security email template and switch institution SSO alerts to use it

GitOrigin-RevId: c6f07655165e352527a9efbcfffc5bd2f635405c
2020-07-22 02:06:11 +00:00
Jessica Lawshe
10ef38fe76 Merge pull request #3029 from overleaf/jel-optimize-anti-flicker
Revert Use of ExposedSettings for Zotero experimentId

GitOrigin-RevId: 40ff3b2b4409f287c0e4630a30c0b72f70031f62
2020-07-22 02:06:06 +00:00
Eric Mc Sween
c200511f86 Merge pull request #3016 from overleaf/ta-editor-load-events
Fix Editor Load Events

GitOrigin-RevId: bb23f17ccab2d53933ad9da870f8ce26fdd169df
2020-07-21 02:06:37 +00:00
Eric Mc Sween
60bdd4641a Merge pull request #3026 from overleaf/bg-fix-size-limit-check
fix clsi size limit check

GitOrigin-RevId: 1d26ddbe367e8873c57d35056d5b8cbddf614656
2020-07-21 02:06:29 +00:00
Eric Mc Sween
f251d661ed Merge pull request #3021 from overleaf/msm-oerror-remove-conflict-error
Replace ConflictError thrown with calls to HttpErrorHandler.conflict()

GitOrigin-RevId: 3b4d98af1b31e49ceab4b1b55b94b8f0323c8a9b
2020-07-21 02:06:18 +00:00
Jessica Lawshe
88057c4caa Merge pull request #3003 from overleaf/jel-zotero-event
Add Google Analytics event for Zotero A/B test

GitOrigin-RevId: 2b97a6070828fb97ea741a6e355c20314f59faad
2020-07-17 02:07:35 +00:00
Jessica Lawshe
f0e9a37c7a Merge pull request #2982 from overleaf/jel-no-cta-emails-cleanup
Tidy "No CTA" emails and update footer color in all emails

GitOrigin-RevId: bf4d88400a6165b4b2ba3880374921dcda9a2cef
2020-07-17 02:07:30 +00:00
Miguel Serrano
244709df5e Merge pull request #2988 from overleaf/msm-oerror-remove-not-found-error
Replace HTTPErrors.NotFoundError with calls to notFound() handler

GitOrigin-RevId: c98582a5bd3d862b3c17fb03d863c75f64851aba
2020-07-17 02:07:18 +00:00
Miguel Serrano
63503f2079 Merge pull request #2984 from overleaf/msm-oerror-remove-bad-request-error
Replace HTTPErrors.BadRequestError with calls to badRequest() handler

GitOrigin-RevId: 57a91a13bde942ee373e235ee925f1c76a0f4e88
2020-07-17 02:07:12 +00:00
Miguel Serrano
79b6f6e473 Merge pull request #2994 from overleaf/msm-add-user-projection-subscription-handler
Added projection to User.find() queries in SubscriptionHandler

GitOrigin-RevId: f74e3fcd2138306dc35b5c4d0da314046ab48e35
2020-07-17 02:06:36 +00:00
Miguel Serrano
5b40eca697 Merge pull request #2992 from overleaf/msm-add-user-projection-referal
Added projection to User.find() queries in Referal feature

GitOrigin-RevId: 4929bcd9c1b242b7e35cc2632bbd8da3f378cd1d
2020-07-17 02:06:31 +00:00
Miguel Serrano
e692802690 Merge pull request #2991 from overleaf/msm-add-user-projection-project-controller
Added projection to User.getById() in ProjectController

GitOrigin-RevId: 9233a897414e3cda0b8c91f0b50d4ac422e0ab30
2020-07-17 02:06:25 +00:00
Miguel Serrano
6562f3003d Merge pull request #2985 from overleaf/msm-oerror-remove-unprocessable-entity-error
Replace UnprocessableEntityError with calls to unprocessableEntity() handler

GitOrigin-RevId: 4bba389c8cdf87a40137d49db571fa81aaac4239
2020-07-17 02:06:19 +00:00
Jakob Ackermann
397bd034c7 Merge pull request #3011 from overleaf/jpa-optionally-increase-mongo-timeout
[misc] optionally increase the mongo timeout

GitOrigin-RevId: f204b017cf3bbb195667739d714b99bfd8a7eaa1
2020-07-16 02:06:56 +00:00
Jakob Ackermann
53927bca95 [misc] move /user/activate into a module (#2962)
* [misc] move /user/activate into a module

Co-Authored-By: Nate Stemen <nate.stemen@overleaf.com>

* [misc] setup copybara for the new user-activate module

* [misc] move the /user/activate route behind a feature flag

...which is by default enabled.

Co-authored-by: Nate Stemen <nate.stemen@overleaf.com>
GitOrigin-RevId: 87fc5ae869a7e282ffdbeea0ff7b7c55b8b9b31b
2020-07-16 02:06:51 +00:00
Alasdair Smith
c660497859 Merge pull request #3008 from overleaf/as-sd-undelete-to-user
Add endpoint to allow undeleted project to be assigned to a user

GitOrigin-RevId: 884af4abfa19c82296f83e792319458909d23b3c
2020-07-16 02:06:46 +00:00
Alasdair Smith
2556fded1e Merge pull request #2998 from overleaf/as-beta-page-updates
Update beta program page to include feedback survey link

GitOrigin-RevId: 549cd2be01b8f64d952d0347c8c102d0d2efae24
2020-07-15 02:06:35 +00:00
Hugh O'Brien
ad7af82c53 Merge pull request #3001 from overleaf/hb-fix-typo-email
Fix a typo in onboarding email

GitOrigin-RevId: 83ea41346d900ce678df02a02535050ae03a750a
2020-07-15 02:06:24 +00:00
Hugh O'Brien
eaa7491c2b Merge pull request #2948 from overleaf/hb-onboarding-email
User onboarding email

GitOrigin-RevId: 367fd8b6292024bfcad2139728c16cf00f2fb1cb
2020-07-14 02:06:47 +00:00
Jakob Ackermann
cafe9387f8 Merge pull request #2996 from overleaf/jpa-rate-limit-project-download
[misc] rate limit the download of project revisions to 30 per user/hour

GitOrigin-RevId: 81244a0dad1cf183da69406ef488f6684d5f134a
2020-07-11 02:04:45 +00:00
Miguel Serrano
8023e48efd Merge pull request #2974 from overleaf/jel-ns-user-projections-beta
Remove user projections in BetaProgramHandler

GitOrigin-RevId: 88b7bc3b6f11ae9f8314543ee538c84d25cde7cd
2020-07-11 02:04:30 +00:00
Miguel Serrano
1cac5227d6 Merge pull request #2958 from overleaf/jel-optimize-zotero
Add Optimize variant on Zotero paywall prompt

GitOrigin-RevId: 005cf27d40a367e4617c399023204dacb80af8de
2020-07-11 02:04:26 +00:00
Miguel Serrano
d8d3ac82e9 Replace HTTPErrors.ForbiddenError with calls to forbidden() handler (#2972)
GitOrigin-RevId: 2a0c8fdaef9ba62b97cebad84603e6f076d770c0
2020-07-11 02:04:21 +00:00
Brian Gough
49784e8ac0 Merge pull request #2990 from overleaf/bg-add-health-check-on-active-handles
add health check limit on active handles (optional)

GitOrigin-RevId: c26071c96b220935178012d881bb53013df64155
2020-07-11 02:04:15 +00:00
Jakob Ackermann
398d2deb07 Merge pull request #2977 from overleaf/jpa-import-697
[ProjectController] fix the sorting of project entities for node v11+

GitOrigin-RevId: d4458aeaf83f610e36669050e664c902dbcce36e
2020-07-08 02:04:28 +00:00
Jakob Ackermann
ae068781ca Merge pull request #2978 from overleaf/jpa-expose-hostname
[misc] optionally expose the hostname in the X-Served-By response header

GitOrigin-RevId: f3ac14aeb75cef8c9ed1d8cb1d649dd7f909b99b
2020-07-08 02:04:24 +00:00
Jakob Ackermann
7bb02d87bc Merge pull request #2973 from overleaf/jel-emails-cleanup
Remove unused email bodies/layout

GitOrigin-RevId: c7fb12ce70560f32fabd6e4dfd1890e709090673
2020-07-08 02:04:14 +00:00
Jakob Ackermann
acd8ff6aeb Merge pull request #2970 from overleaf/jel-remove-unused-variables
Remove unused variables in AdminController

GitOrigin-RevId: fc8c3bc451c50d1e33a5c4a9173066784064a692
2020-07-03 02:04:08 +00: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
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
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
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
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
Jakob Ackermann
991c4f9876 Merge pull request #2928 from overleaf/jpa-sentry-unified-release-and-env-annotation
[misc] expose release and environment to frontend

GitOrigin-RevId: 2adab7cfb2c63f6d5bc34c367393449c84ef2690
2020-06-24 02:10:53 +00:00
Jakob Ackermann
5d9740408a Merge pull request #2923 from overleaf/jpa-sentry-in-staging
[misc] sentry: allow reports for resources on the same origin and CDN

GitOrigin-RevId: 617939dccef839eb80df0b9d84e6684b5b2e618f
2020-06-24 02:10:43 +00:00
Alasdair Smith
5636386c54 Merge pull request #2944 from overleaf/as-clean-up-home-controller
Remove unnecessary check for SL homepage

GitOrigin-RevId: 3173ddd682458f36e11c77d8644500b8ce8af1cb
2020-06-24 02:10:23 +00:00
Brian Gough
beb452e4e0 Merge pull request #2930 from overleaf/bg-downgrade-recently-compiled-warning
remove unnecessary recently-compiled warning

GitOrigin-RevId: ee9feaf932e741d40741568f63fcf65ac42fb27d
2020-06-20 02:10:52 +00:00
Brian Gough
63e8c48c77 Merge pull request #2926 from overleaf/bg-create-alpha-compile-group
create alpha compile group

GitOrigin-RevId: edc063ef591a1bed20600a9418e2114f8ab0a3df
2020-06-20 02:10:42 +00:00
Brian Gough
2a6f18b6a0 Merge pull request #2917 from overleaf/bg-send-compile-group-parameter
send compileGroup parameter in body of clsi request

GitOrigin-RevId: 05e9b24ea15751464104e5b0f6aef17c66a448d2
2020-06-20 02:10:37 +00:00
Jessica Lawshe
7d0b3f5cd1 Merge pull request #2921 from overleaf/jel-admin-redirect-after-login
Redirect after login for admin pages

GitOrigin-RevId: 3cd99796cd38298a866444fc7d58317935e13817
2020-06-19 02:10:22 +00:00
Ersun Warncke
b73319acc1 make variable naming more clear
GitOrigin-RevId: fba9406b20d21baaadc2e2fadc9597914396f85a
2020-06-18 02:10:59 +00:00
Ersun Warncke
b335bcb67d ObjectId query args
GitOrigin-RevId: 04e2258045c2cb4e2f93a24d842e67cb7996b5ce
2020-06-18 02:10:54 +00:00
Ersun Warncke
d3a30929f7 always send update for project owner, pr fixes
GitOrigin-RevId: a58ecfb13c25df02ccf79c189903b5a6fcddd835
2020-06-18 02:10:48 +00:00
Ersun Warncke
5e84d95291 filter tpds users by dropbox
GitOrigin-RevId: ea1222597a9b3e807100abcc2bea957db7faee5f
2020-06-18 02:10:43 +00:00
Ersun Warncke
387695c2b1 send tpds updates for all dropbox users
GitOrigin-RevId: b690693b98b0b6288a4c3a734d4ff2d28901a496
2020-06-18 02:10:38 +00:00
Ersun Warncke
087919a5f8 add saml cache provider
GitOrigin-RevId: ad9f3e81da37bd932822f13db441ce8afc342eea
2020-06-17 02:10:21 +00:00
Jakob Ackermann
1eadf38761 [misc] work around context assignments by i18n that leak across requests
Somewhere in i18next there is an assignment `ctx.lng=someLang` that
 leaks across requests that share the same `ctx` object for calls like
 `req.i18n.translate('locale', ctx)`.

This somewhere is likely here:
6cc8917ed5/src/i18next.translate.js (L338)

GitOrigin-RevId: b05f62fa59a6ffa59724108fbcc68cc7a67cfd8f
2020-06-16 02:10:44 +00:00
Brian Gough
a078a34e75 Merge pull request #2902 from overleaf/bg-handle-clsi-503
handle 503 unavailable from clsi with retry

GitOrigin-RevId: 2b90aadbe93af5007a5a64ff3d2330b2fffbf56f
2020-06-13 02:11:10 +00:00
Brian Gough
516f0d04f4 Merge pull request #2905 from overleaf/bg-add-compile-status-metric
add metrics for compile status and errors

GitOrigin-RevId: 37d2257818430086d257e8764a979f416dab033a
2020-06-13 02:10:59 +00:00
Jessica Lawshe
7d98a82208 Merge pull request #2891 from overleaf/jel-remove-unused-feature-flags
Remove unused redirect-sl feature flag and sharelatex-redirects module

GitOrigin-RevId: a13ae586db3b7ab4440f2e941947be3a28d97741
2020-06-12 02:10:18 +00:00
Hugh O'Brien
f024483aa0 Merge pull request #2889 from overleaf/jpa-ns-disable-spell-check-at-runtime
[misc] disable spellcheck for unsupported languages at runtime

GitOrigin-RevId: 4214981930992abac054e78ce138adacaa99b801
2020-06-10 02:12:46 +00:00
Shane Kilkelly
f4950c21bf Merge pull request #2870 from overleaf/sk-restrict-chat
Block restricted users from Chat endpoints

GitOrigin-RevId: caec8fe2bc93d567dd57f32dc765bd74ba53e933
2020-06-05 02:09:58 +00:00
Shane Kilkelly
74313e4b82 Merge pull request #2883 from overleaf/ta-email-remove-features-refresh
Refresh User's Features After Removing Email

GitOrigin-RevId: 0085a5341a806d1d22f4a1fb5bb98c93675e242e
2020-06-05 02:09:52 +00:00
Miguel Serrano
cab1335371 Removed email lookup on CE user activation (#2879)
GitOrigin-RevId: 567936295ef3b043adc7bbd735970f5ca6d91b73
2020-06-03 10:31:27 +00:00
Jessica Lawshe
44d706646d Merge pull request #2876 from overleaf/spd-oio-cleanup
Use consistent variable names in SizeLimitedStream

GitOrigin-RevId: b6d59a9329bd9b084500309408f60feeff4c15d6
2020-06-03 10:31:10 +00:00
Timothée Alby
3f5e90078e Merge pull request #2864 from overleaf/ta-institutions-decaf
Decaffeinate Institutions Code

GitOrigin-RevId: 520565d58518e499d2522653ba1ff9c232ebdb88
2020-06-03 10:30:46 +00:00
Timothée Alby
c4ec032ffa Merge pull request #2858 from overleaf/sk-make-lock-timeout-configurable
Make lock timeout configurable

GitOrigin-RevId: c1df72a7cae56db125e090ada75b2c56ca9853bb
2020-06-03 10:30:33 +00:00
Ersun Warncke
e900209d1d await instead of return to catch error
GitOrigin-RevId: 3b96eeec1deb7edf01ff30671ef1a7e4a2446f66
2020-05-28 03:16:31 +00:00
Ersun Warncke
9c87ad9801 convert TpdsUpdateSender to async and cleanup
GitOrigin-RevId: a19830134a13a23775c604a05a7e093d00bbb2de
2020-05-28 03:16:26 +00:00
Jakob Ackermann
419100d167 Merge pull request #2860 from overleaf/jpa-socket-io-v2-percentage-rollout
[misc] prepare for a percentage roll-out of socket.io v2

GitOrigin-RevId: 792eddeb4a9b41aded67fee13faa949122cd0faf
2020-05-27 03:15:52 +00:00
Timothée Alby
345adb8ad2 Merge pull request #2862 from overleaf/spd-flaky-oio-test
Fix flaky Open-in-Overleaf tests

GitOrigin-RevId: 7badb0e88b5c01478406e0cea3564d46e1b7a881
2020-05-26 03:11:18 +00:00
Simon Detheridge
01c3e6e768 Merge pull request #2851 from overleaf/spd-oio-largefile-dos
Limit size when downloading files in Open-in-Overleaf

GitOrigin-RevId: 0d35c91bcfbc6ebd846f8e61f58bafa45892a280
2020-05-23 03:18:32 +00:00
Simon Detheridge
ca916f0cac Merge pull request #2844 from overleaf/ta-admin-affiliations
Improve Admin Affiliations UI

GitOrigin-RevId: 1e3bcb425e1cb8463b2c3c7bbc757ab444b391a3
2020-05-23 03:18:25 +00:00
Simon Detheridge
4c88a83332 Merge pull request #2819 from overleaf/jpa-sk-improve-pug-precompile
[misc] improve pug precompile

GitOrigin-RevId: 2eaa9be3f04c2639ca3b2fce4b36f42972622124
2020-05-23 03:18:13 +00:00
Eric Mc Sween
a45df5e3af Merge pull request #2853 from overleaf/em-fix-formatting
Fix formatting

GitOrigin-RevId: ff42230a9d4c21093b3ae59c6c78021c1f453e61
2020-05-21 03:22:57 +00:00
Eric Mc Sween
00bdc52fab Merge pull request #2840 from overleaf/jel-sso-redundant-subscription-notification
Redundant subscription notification if entitlement via SSO

GitOrigin-RevId: 8529204e78c3a43d87acbb375fea15c62cad48a3
2020-05-21 03:22:51 +00:00
Eric Mc Sween
63c155b1e8 Merge pull request #2831 from overleaf/ew-delete-unused-templates
Delete unused external pages

GitOrigin-RevId: 02d179b613815f3aad3e189a4f57db8e42bdf2a3
2020-05-21 03:22:40 +00:00
Eric Mc Sween
935fdb2b5e Merge pull request #2837 from overleaf/msm-set-native-promise-mongoose
Set Mongoose to explicitly use native promises

GitOrigin-RevId: 551dfbbc51233bace25699fd8d92610c69809c86
2020-05-21 03:22:35 +00:00
Eric Mc Sween
ae63093300 Merge pull request #2799 from overleaf/ho-rate-limit-additions
add rate limiting to /status/compiler/:Project_id

GitOrigin-RevId: 5237121cc281207b261246b742bd7b52c844434d
2020-05-21 03:22:30 +00:00
Eric Mc Sween
3d411b98cf Merge pull request #2838 from overleaf/msm-fix-npm-warnings
Fix npm warnings

GitOrigin-RevId: afc57deb7c4d07d7e86c9c9964fe76ace7b46901
2020-05-21 03:22:19 +00:00
Eric Mc Sween
8ba63b0f8e Merge pull request #2849 from overleaf/em-convert-file-to-doc
Fix update order when converting a file to a doc

GitOrigin-RevId: a0c9488e3870cc972c21b40ff0e2577fcec40ee0
2020-05-21 03:22:07 +00:00
nate stemen
f5b2640c82 Merge pull request #2817 from overleaf/ns-project-import-deletion-v1-handler
remove checks if project is in importing state

GitOrigin-RevId: f087cf04436b38b351b6985cecc9182256401cba
2020-05-21 03:22:02 +00:00
nate stemen
2479cb485a Merge pull request #2826 from overleaf/ns-project-import-flow-deletion
Project import flow deletion

GitOrigin-RevId: 08ffc156eb158235d4ccacba2b3ed504cd9978f0
2020-05-21 03:21:56 +00:00
nate stemen
5fca56d4e6 Merge pull request #2807 from overleaf/ns-project-import-deletion-dashboard
Clean up references to v1 projects on project dashboard

GitOrigin-RevId: e574382fb1747da7a701808148434f4d689cbe33
2020-05-20 03:21:44 +00:00
Ersun Warncke
13441d1590 remove try/catch on multer that was added for old build env
GitOrigin-RevId: 99368ebec231dea2580c45b0da43b459fdbd8936
2020-05-19 03:19:52 +00:00
Chrystal Maria Griffiths
b430ad5e26 Merge pull request #2835 from overleaf/cmg-increase-group-invites
Increase number of group invites that can be processed at once

GitOrigin-RevId: 59644a5260c41ddaff49125d265fb88dce57eaa3
2020-05-19 03:19:47 +00:00
Eric Mc Sween
ae82366122 Merge pull request #2827 from overleaf/em-faster-clones
Make a single Mongo update when cloning projects

GitOrigin-RevId: abd4069bd8854d84c413bc8f890583e647b7c18e
2020-05-14 03:26:15 +00:00
Alasdair Smith
0e9e57cd7c Merge pull request #2812 from overleaf/as-upgrade-ace-1.4.10
Upgrade to Ace v1.4.10

GitOrigin-RevId: 1e70b37fd93593d881ae317faa2e2ec146362db2
2020-05-14 03:26:07 +00:00
Jessica Lawshe
295264697e Merge pull request #2815 from overleaf/jpa-cmg-project-clone-set-owner
Fix cloning a project putting a question mark next to it

GitOrigin-RevId: beb01e3c4496912beb0478017f14ed889a9a09de
2020-05-13 03:23:23 +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
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
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
Hugh O'Brien
6d078c4528 Merge pull request #2777 from overleaf/em-promisify-project-duplicator
Promisify ProjectDuplicator.duplicate()

GitOrigin-RevId: e7cfd8e3a9caca4608d0b57f6978474f3289f49e
2020-05-02 03:19:36 +00:00
Paulo Jorge Reis
7f13e258bb Merge pull request #2697 from overleaf/pr-add-vat-number
Add VAT number and company name to the payment form

GitOrigin-RevId: 9ba2d7345f6f3cef1f7372e17c04243ab285e0bd
2020-04-30 03:19:59 +00:00
Timothée Alby
5d7fd2a9d8 Merge pull request #2751 from overleaf/ta-finish-login-private
Don't Export `afterLoginSessionSetup`

GitOrigin-RevId: 46818a70566b8ec56e1a40c7f0d9758d2ac2c100
2020-04-29 03:22:04 +00:00
Alasdair Smith
3a1ab63cce Merge pull request #2724 from overleaf/ns-doc-over-file
allow upload of doc over existing file

GitOrigin-RevId: 13578bf4ab6d54686077402488399db0379cc761
2020-04-28 03:21:52 +00:00
Ersun Warncke
a0bb38750a Revert "use user_id for tpds queue name"
This reverts commit 76d7badd001e0902e55d54efdca53d01124bcc77.

GitOrigin-RevId: 75e480660c6a1682cf20ba9575fd90f0ce726abc
2020-04-28 03:21:42 +00:00
Ersun Warncke
97ce66a9e7 use user_id for tpds queue name
GitOrigin-RevId: e61440efd22ef9e858b2862b1a6fd022c6eb70a4
2020-04-28 03:21:33 +00:00
Ersun Warncke
73d9d87b4d fix typo
GitOrigin-RevId: e0d95acb0c871558ed50b7456ca5783c893639fb
2020-04-28 03:21:29 +00:00
Ersun Warncke
59c26be6f2 fix tests, and placeholder while loading
GitOrigin-RevId: c3e4f31179423ed259cc2aab5b053e5c952350ff
2020-04-28 03:21:24 +00:00
Ersun Warncke
09667a3f6a show dropbox sync status on settings page
GitOrigin-RevId: 843950ea236bd80c605cf184959a7ce2d7895693
2020-04-28 03:21:19 +00:00
Simon Detheridge
7c00b2d838 Merge pull request #2772 from overleaf/revert-2767-spd-oio-moreurls
Revert "Add support for data urls and snip arrays to Open-in-Overleaf"

GitOrigin-RevId: c1e3806686764553d8801517b913f9133642fdb2
2020-04-25 03:19:03 +00:00
Simon Detheridge
dd59d8c242 Merge pull request #2770 from overleaf/spd-filestore-deletes
Delete project files in filestore when project is hard-deleted

GitOrigin-RevId: c836f94b2dc1967d84424ff1b65b1025b3499309
2020-04-25 03:18:55 +00:00
Simon Detheridge
9d8e682819 Merge pull request #2767 from overleaf/spd-oio-moreurls
Add support for data urls and snip arrays to Open-in-Overleaf

GitOrigin-RevId: 2c41406940b90c422cec8a823bf004fcc2655ed2
2020-04-25 03:18:50 +00:00
Eric Mc Sween
d8615ddba3 Merge pull request #2761 from overleaf/jpa-user-controller-bail-out-next
[UserController] updateUserSettings: bail out after calling next(err)

GitOrigin-RevId: f1905c0c54f3feb98836443cbf8e080888d4901c
2020-04-24 03:31:04 +00:00
Eric Mc Sween
27941dc8af Merge pull request #2760 from overleaf/em-faster-uploads
Make a single Mongo update when uploading projects

GitOrigin-RevId: de102d3e112c9014ca5885f963e35971e4db6cee
2020-04-24 03:30:55 +00:00
Eric Mc Sween
1dc325d1c7 Merge pull request #2750 from overleaf/ta-activate-finish-login
Don't Bypass FinishLogin on Password Reset

GitOrigin-RevId: 92567c893afb4aa64fa045151678d33c877d8f71
2020-04-24 03:30:45 +00:00
Miguel Serrano
6118a63783 Merge pull request #2712 from overleaf/jel-sso-ui-confirmed-domains
SSO UI only for confirmed domains

GitOrigin-RevId: cd8d7b93860a45d9527e717c6fc42876e9c9829e
2020-04-23 03:29:38 +00:00
Miguel Serrano
f39a650823 Merge pull request #2749 from overleaf/ew-ta-google-2fa-error
fix ERR_HTTP_HEADERS_SENT error with oauth and 2fa

GitOrigin-RevId: b70bd79fb544121337be27349a967d52da115930
2020-04-23 03:29:21 +00:00
Miguel Serrano
ac1a7c4c52 Merge pull request #2752 from overleaf/ta-notifications-mark-as-read-fix
Fix `markAsRead` Calls

GitOrigin-RevId: 89609251a082adb825522141864cd3f44315ae45
2020-04-23 03:29:11 +00:00
Eric Mc Sween
d063ab2bc5 Merge pull request #2745 from overleaf/em-promisify-project-upload-manager
Finish promisification of ProjectUploadManager

GitOrigin-RevId: a8550d9decf25af35a2d2f82770cff336a4153cc
2020-04-17 03:23:30 +00:00
Brian Gough
9639fbf232 Merge pull request #2737 from overleaf/bg-split-editor-events-metric
split metric for editor events by message type

GitOrigin-RevId: 832b0abf8582138c05b786dcf9114dcdb3a63b91
2020-04-15 03:15:07 +00:00
Jakob Ackermann
825d0701e8 Merge pull request #2742 from overleaf/jpa-hotfix-user-lookup
[UserPagesController] block arbitrary user lookups

GitOrigin-RevId: 4d88abbd0ad14289a73e7f502c0686f206617459
2020-04-14 03:19:24 +00:00
Simon Detheridge
0586f4d682 Merge pull request #2714 from overleaf/cmg-jpa-call-stack-exceeded
Stop call stack from being exceeding when adding many files

GitOrigin-RevId: 1983b0c16cb279c6f173f614d541d16852664e24
2020-04-09 03:21:38 +00:00
Simon Detheridge
0099032963 Merge pull request #2732 from overleaf/ho-metrics-web-api
add metrics route to web api

GitOrigin-RevId: 7a39228d864545e4423d2c0c38ab0f16d495cf86
2020-04-09 03:21:27 +00:00
Simon Detheridge
117cd59b40 Merge pull request #2728 from overleaf/jpa-ns-handle-422-when-adding-email
Improve error messaging if user adds affiliation that doesnt match domain matcher

GitOrigin-RevId: 12c21c611c6a826ee7e41cc87613913aa58ac13e
2020-04-09 03:21:21 +00:00
Shane Kilkelly
7ec7237f17 Merge pull request #2716 from overleaf/em-promisify
Promisify FileSystemImportManager

GitOrigin-RevId: 8f89492872c94a596afbfa644e5f2b985eb65a28
2020-04-09 03:21:09 +00:00
Shane Kilkelly
cc34a1b867 Merge pull request #2715 from overleaf/ta-remove-log
Remove Useless and Broken Logging

GitOrigin-RevId: 9583d7c37df287115da62f7b5090340ce8a01208
2020-04-09 03:20:57 +00:00
Shane Kilkelly
d6bd911a6e Merge pull request #2720 from overleaf/sk-remove-nodemailer-sendgrid
Remove nodemailer sendgrid

GitOrigin-RevId: af84dd78291957371d679de43bc4570960a7b635
2020-04-09 03:20:45 +00:00
Timothée Alby
dea9730503 Merge pull request #2694 from overleaf/ta-jl-otp
Two Factor Authentication for Staff

GitOrigin-RevId: 7028e93cb4a4cd88c138a52b0528817056b930d9
2020-04-08 03:14:35 +00:00
Jakob Ackermann
155b22caf9 Merge pull request #2713 from overleaf/jpa-custom-wsurl-for-beta-users
[misc] custom wsUrl for beta users

GitOrigin-RevId: e731ae7245e9c5586ae82cbc4c6716a74e56f2c9
2020-04-03 03:20:47 +00:00
Ersun Warncke
50d715ea5d set entitlement to false on reg if none
GitOrigin-RevId: 039189699f78cbaa5917cfadb7d3bedd599c6396
2020-04-02 03:19:57 +00:00
Jessica Lawshe
4a1ac4649c Change "email" to "email address" in error message
GitOrigin-RevId: a9b4720a006aedabacd37ee9fc9bc16f0b948b3c
2020-04-02 03:19:53 +00:00
Timothée Alby
35ef98781f Merge pull request #2692 from overleaf/ta-authorization-helper
Add Authorizationhelper

GitOrigin-RevId: 35fa8d8fc005c9eb171621c872010e6c831ba8f6
2020-04-02 03:19:40 +00:00
Timothée Alby
1d7b454c96 Merge pull request #2691 from overleaf/ta-4xx-error-page
Enhance 4xx HTML Response Page

GitOrigin-RevId: 620f84cd6cdc0571bd68bbd2c3164b08f7fe5598
2020-04-02 03:19:35 +00:00
Timothée Alby
fb2e182d2e Merge pull request #2690 from overleaf/ta-redirection-helper
Add RedirectionHelper

GitOrigin-RevId: 229ca78f26a9db205e23ecf91f85d6d1e926750a
2020-04-02 03:19:31 +00:00
Timothée Alby
05a2529881 Merge pull request #2689 from overleaf/ta-pre-finish-login-hook
Add preFinishLogin Hook

GitOrigin-RevId: 8379e0643866feef95c648a2db4d8665420e615b
2020-04-02 03:19:27 +00:00
Alasdair Smith
db610f7efb Merge pull request #2657 from overleaf/revert-2650-revert-2570-as-sentry-source-maps
Bring back upload source maps to Sentry

GitOrigin-RevId: 22024e3ec2462d0bc9ad9c14e8d1c21880c55cd1
2020-04-01 03:21:16 +00:00
nate stemen
797d76f90e Merge pull request #2705 from overleaf/jpa-pub-sub-metrics
[misc] track redis pub/sub payload sizes on publish

GitOrigin-RevId: 7ef7ada34f9f6376abdd2b0b6aa10a5aac56a62f
2020-03-31 03:18:59 +00:00
nate stemen
3b1a5c458e Merge pull request #2699 from overleaf/jpa-test-perf
[perf] enable view caching for acceptance tests

GitOrigin-RevId: 696958a617392d20b594141aa316b5a80755ff38
2020-03-31 03:18:54 +00:00
nate stemen
344b2b2395 Merge pull request #2702 from overleaf/ta-subscription-links
Fix Language Change Links

GitOrigin-RevId: e47f59dfd53102d4569c3ffeb950d3259c65215b
2020-03-31 03:18:45 +00:00
Eric Mc Sween
5cf06bbb4d Merge pull request #2696 from overleaf/ns-default-font-family-line-height
Set default options for font family and line height

GitOrigin-RevId: 7c5a29134e75e3545e508021c305fa6d6e0d04c1
2020-03-25 04:16:58 +00:00
Shane Kilkelly
b51e3c01e4 Merge pull request #2614 from overleaf/sk-monolithify-tags
Move 'tags' into web

GitOrigin-RevId: a248d1b2471f0bfa05589df9b7357b4d85793a79
2020-03-25 04:16:44 +00:00
nate stemen
bffb9f3bce Merge pull request #2678 from overleaf/jel-unreliable-sso-email
Use SSO email attribute flag from API instead of settings file

GitOrigin-RevId: 088b4247a0cbd56ff2184ac6d280e427cea3972e
2020-03-19 04:17:22 +00:00
nate stemen
31b95e8617 Merge pull request #2603 from overleaf/jpa-ns-cmg-binary-upload
[ProjectEntityUpdateHandler] handle entity changes on upsert

GitOrigin-RevId: 134e2c8909db5a336bce62460e46b3e625463c6f
2020-03-19 04:17:18 +00:00
nate stemen
c301d8bc25 Merge pull request #2666 from overleaf/em-max-json-request-size
Separate max_doc_length from max JSON request size

GitOrigin-RevId: 4c725028111966bf04109080d80d4672273dd697
2020-03-19 04:17:05 +00:00
Eric Mc Sween
9f3b2d2cdc Merge pull request #2670 from overleaf/em-convert-doc-to-file-rev
Adjust the file rev when converting a doc to a file

GitOrigin-RevId: 6765bcac1fcd4f4db35f9ce88af1f201f5da509a
2020-03-17 04:18:15 +00:00
Eric Mc Sween
44cb795050 Merge pull request #2672 from overleaf/jpa-import-670
[misc] ProjectUploadController: use camelCase for log context fields

GitOrigin-RevId: f834fe1546dd8e94830251b5cd63f8407cd6a482
2020-03-17 04:18:11 +00:00
Ersun Warncke
c0049d8b67 patch xml-crypto to fix carriage return normalization (#2671)
* patch xml-crypto to fix carriage return normalization

Co-authored-by: Ersun Warncke <ersun.warncke@overleaf.com>
GitOrigin-RevId: 65c79216b1f8602dd4b31596578d319e47904e2b
2020-03-13 04:19:58 +00:00
Jessica Lawshe
30763043d1 Merge pull request #2663 from overleaf/jel-sso-missing-email-error
Institution SSO error handling when missing session data

GitOrigin-RevId: c455ef97eb17b98ffbd03eb5f623ceb27678deed
2020-03-12 04:18:52 +00:00
Jessica Lawshe
a433235310 Merge pull request #2643 from overleaf/jel-affiliations-cron-job
Ensure affiliations cron job

GitOrigin-RevId: 4ac6f8b29b1e1460d627a86172fcdf1fa27a59a8
2020-03-12 04:18:47 +00:00
Brian Gough
fc028c7544 Merge pull request #2633 from overleaf/bg-fix-health-check-for-web-api
fix the health check on the api router

GitOrigin-RevId: 985322f8e4ff0b5dddbe7cf68c41414af6fd502d
2020-03-11 04:14:58 +00:00
Eric Mc Sween
8547bb3c8d Merge pull request #2661 from overleaf/em-convert-doc-to-file-ranges
Do not convert a doc to file when it has ranges

GitOrigin-RevId: 52f0151e54c426178f80c34c6afac908bbf7b90d
2020-03-11 04:14:54 +00:00
Timothée Alby
6734d9e107 Merge pull request #2641 from overleaf/ew-delete-orphaned-docs
Process and Script to Delete Orphaned Docs

GitOrigin-RevId: 0c428e36973a9131e3d379fdf4657e802576b23d
2020-03-10 04:14:46 +00:00
Timothée Alby
fbbb39b0c0 Merge pull request #2620 from overleaf/ta-body-parser-errors
Convert Errors with Status Code To HTTP Errors

GitOrigin-RevId: 4c7abf4f9164c1a907fbf38c6e440409a616e047
2020-03-10 04:14:38 +00:00
Eric Mc Sween
58017d4480 Merge pull request #2659 from overleaf/em-binary-file-history-fix
Fix binary file diffs

GitOrigin-RevId: 1773e8918a0f82a1945470630ca691dfa4b13026
2020-03-06 04:13:46 +00:00
nate stemen
6379f15815 Merge pull request #2651 from overleaf/ta-missing-return
Add Missing Return

GitOrigin-RevId: aeb622a6745678eb687217beeb49b5d023168052
2020-03-06 04:13:42 +00:00
Eric Mc Sween
fbc1136be7 Merge pull request #2649 from overleaf/em-delete-project-history
Delete project in project history when expiring

GitOrigin-RevId: a6bf44a88de35e777b135d8f84d68e3b0ba8908f
2020-03-05 04:17:00 +00:00
Eric Mc Sween
2627595040 Merge pull request #2639 from overleaf/em-convert-doc-to-file
Endpoint for converting a doc to a file

GitOrigin-RevId: 0a3bd46a7a78537b0f64dc577402277cbe81fecb
2020-03-05 04:16:49 +00:00
Hugh O'Brien
693100358c Merge pull request #2646 from overleaf/as-fix-trashing-old-archived-project
Fix error thrown when trashing project with legacy boolean archived state

GitOrigin-RevId: 0131a2294767e00d69c4dd80ed86dfd5d77339b8
2020-03-04 04:21:54 +00:00
Hugh O'Brien
bb958492a9 Merge pull request #2623 from overleaf/hb-third-party-too-many-files
Third party too many files errors

GitOrigin-RevId: 0a44931b14dd349d9cc4d25a3b51c68f221b8195
2020-03-04 04:21:43 +00:00
Alasdair Smith
ad361a6617 Merge pull request #2650 from overleaf/revert-2570-as-sentry-source-maps
Revert "Upload source maps to Sentry"

GitOrigin-RevId: 6f6a122209553b9fde664ff55ebec37f7cb6ef7e
2020-03-04 04:21:39 +00:00
Eric Mc Sween
a11a4ac614 Merge pull request #2570 from overleaf/as-sentry-source-maps
Upload source maps to Sentry

GitOrigin-RevId: badbce7a5a72c3c2b5ad61d1ab2e458a52128e37
2020-03-04 04:21:34 +00:00
Eric Mc Sween
d8d1bdd461 Merge pull request #2647 from overleaf/em-promisify-history-manager
Promisify HistoryManager

GitOrigin-RevId: cbf946a7d61f7f57bad03e4c83184c6decd91027
2020-03-04 04:21:26 +00:00
Eric Mc Sween
b2ee3bf2bb Merge pull request #2634 from overleaf/jel-ensure-affiliations
Ensure affiliations after loading the settings page

GitOrigin-RevId: bf9982fb436d0e75d6fbd8418ca2d19e00fe3b66
2020-03-03 04:21:44 +00:00
Eric Mc Sween
864394d4ad Merge pull request #2640 from overleaf/em-promisify-project-deleter
Finish promisification of ProjectDeleter

GitOrigin-RevId: a426117c9430e2ee66b297b95f67460062a6a809
2020-03-03 04:21:39 +00:00
Timothée Alby
e7f968d370 Merge pull request #2637 from overleaf/jpa-hotfix-graceful-session-access
[ErrorController] handleError: access session gracefully

GitOrigin-RevId: 90c8ce0be80f5f198139a3b079c3a81e200112db
2020-02-29 04:17:36 +00:00
Timothée Alby
42aa999af6 Merge pull request #2638 from overleaf/ta-subscription-change-admin-fix
Change Manager When Changing Admin of Individual Subscriptions

GitOrigin-RevId: 3da53789f4331c4eb8d0a458650ea41f8b2b4f97
2020-02-29 04:17:31 +00:00
Eric Mc Sween
4e760e276a Merge pull request #2622 from overleaf/em-promisify-editor-http-controller
Promisify EditorHttpController

GitOrigin-RevId: 938350f21a19c10c6bd4261086265a098e71e932
2020-02-28 04:18:42 +00:00
Eric Mc Sween
77c75bf223 Merge pull request #2597 from overleaf/as-cleanup-tags-handler
Clean up tags handler

GitOrigin-RevId: 6e83880d9a38b323470933f6ef01fde187d55161
2020-02-28 04:18:25 +00:00
Eric Mc Sween
1da929fcdb Merge pull request #2618 from overleaf/ew-clear-root-doc-on-delete
Clear root doc on delete

GitOrigin-RevId: 4121d198f5253417bca2284c5f750c088debcb8c
2020-02-28 04:18:17 +00:00
Eric Mc Sween
174af14d46 Merge pull request #2610 from overleaf/ta-recurly-email-update-auto
Update Recurly Email on Default Email Change

GitOrigin-RevId: e2821d7bdc4bc6befff2152d92c76952c38694f9
2020-02-28 04:18:09 +00:00
Brian Gough
509c23def7 Merge pull request #2631 from overleaf/bg-maintenance-messages-in-editor
display maintenance messages in editor

GitOrigin-RevId: 7d4fda60c5e2bd12d2cead2a9bff326b75e9c4e7
2020-02-27 04:17:59 +00:00
Brian Gough
ac5d688d8c Merge pull request #2612 from overleaf/bg-precompile-web-views-only
only precompile views for web, not web-api

GitOrigin-RevId: 292f4d5dd6f81b1928ccd543898dfa643f1e5be8
2020-02-27 04:17:55 +00:00
Shane Kilkelly
2686f5e72a Merge pull request #2630 from overleaf/sk-fix-token-login-redirect
Remember token page when redirect to login

GitOrigin-RevId: 1c4d7b8ae034ef2d63cc680405c099405024f4d1
2020-02-26 04:24:06 +00:00
Shane Kilkelly
7cbb00f207 Merge branch 'sk-token-csrf-protection'
GitOrigin-RevId: e71f7264be45b665502150e9ffbb85b3fc94665e
2020-02-26 04:24:01 +00:00
Timothée Alby
995dbc514d Merge pull request #2594 from overleaf/jel-flag-affiliation-when-registering
Flag unchecked affiliation when registering

GitOrigin-RevId: c9da12ceb5a1712c8c477222f967fb54eceef252
2020-02-21 04:21:16 +00:00
Timothée Alby
f5e2983a6b Merge pull request #2609 from overleaf/ta-cmg-recurly-email-update
Add UI to Update Recurly Email

GitOrigin-RevId: 920a741fd9b4312f031bdd40e3d6bec48f1bd579
2020-02-21 04:21:12 +00:00
Timothée Alby
506543d6a0 Merge pull request #2605 from overleaf/jel-sso-registration
Do not block SSO registration on nonessential errors

GitOrigin-RevId: c9d6a7803aa8a48dbc1a8aae84d6f2588bad654e
2020-02-21 04:21:07 +00:00
Timothée Alby
b94e1791e0 Merge pull request #2617 from overleaf/ho-open-site-for-admins
allow site to be accessible to admins when closed

GitOrigin-RevId: 71bdf329ce2a4e41533b2a65f45190277ea72dbb
2020-02-21 04:21:03 +00:00
Timothée Alby
98f031e9aa Merge pull request #2619 from overleaf/ta-licence-attribute-fix
Read Licence Attribute from Affiliation Instead of Institution

GitOrigin-RevId: 2294222e2bd0da473a303d3ffdc5ddb7d856f7f7
2020-02-21 04:20:59 +00:00
nate stemen
ab5101f189 Merge pull request #2613 from overleaf/spd-tags-timeout
Use a longer timeout when talking to the tags API

GitOrigin-RevId: 467f981c1818293c28dd288d7223540597a8ca3e
2020-02-21 04:20:55 +00:00
nate stemen
10d6a9b7f2 Merge pull request #2589 from overleaf/ns-hide-v1-projects
ensure v1 projects folder not shown on dashboard if empty

GitOrigin-RevId: d8c0f1352fc2e8d891eb76f7d1ef00126a4f581e
2020-02-21 04:20:49 +00:00
Simon Detheridge
ab80c72565 Merge pull request #2602 from overleaf/hb-too-many-files-errors
Too many files errors for new files modal

GitOrigin-RevId: a9e2db2e4d8624de4e062161781067ee0c68c4e0
2020-02-19 04:20:47 +00:00
Simon Detheridge
b812109cb7 Merge pull request #2593 from overleaf/ta-affiliation-licence-check
Check Licence on Affiliations Rather Than Institutions

GitOrigin-RevId: 7effe7f564ff953e60ed77bcdf92f3cb177d4aee
2020-02-19 04:20:39 +00:00
Timothée Alby
cd9a9b43bd Merge pull request #2606 from overleaf/ta-check-sso-users
Add SSO Users Info on Users Features Check Summary

GitOrigin-RevId: 5c874e1bf50005eb311317b867b17380ca017118
2020-02-15 04:17:53 +00:00
Brian Gough
69a98355ce Merge pull request #2599 from overleaf/bg-fix-safepath-check
fix safepath check

GitOrigin-RevId: b5bb636d2bd958ab142fa94683ad9cf58369a77d
2020-02-14 04:16:44 +00:00
Simon Detheridge
de40289b38 Merge pull request #2588 from overleaf/ns-add-text-extensions
add more extensions to editable files

GitOrigin-RevId: f2a52eee148a78c8cb3623f27e25f2e0801ef835
2020-02-13 04:20:53 +00:00
Simon Detheridge
9e6323caeb Merge pull request #2584 from overleaf/spd-duplicate-deleted-things
Prevent creation of (and clean up) duplicate deletedUsers and deletedProjects

GitOrigin-RevId: 5e52578b514f05779290c61cf7d4e630cc3ba6f7
2020-02-13 04:20:49 +00:00
Simon Detheridge
72c5286622 Merge pull request #2587 from overleaf/msm-ns-disable-comment-button
disable "add comment" button if feature is not available

GitOrigin-RevId: e054f138a84ec634cc777d76e8a288ba2c1b2ee3
2020-02-13 04:20:40 +00:00
Simon Detheridge
96cd1c869e Merge pull request #2583 from overleaf/spd-no-mongoredis-in-unittests
Clean up attempts to connect to Mongo and Redis in unit tests

GitOrigin-RevId: 396813a04fc2aaf39a07e28613f8f1e0a7a2db8f
2020-02-13 04:20:35 +00:00
Chrystal Maria Griffiths
4131e5ce7b Merge pull request #2585 from overleaf/cmg-remove-legacy-archive
Remove legacy project archiving

GitOrigin-RevId: a402cde154cdc2ef5e93661318c5ca86201471b5
2020-02-13 04:20:26 +00:00
Brian Gough
80e9afe42c Merge pull request #2586 from overleaf/bg-simplify-rate-limit-metrics
simplify metric for rate limits

GitOrigin-RevId: bba98c7e38846aedcfcf0781003f755e302f7759
2020-02-13 04:20:17 +00:00
Jessica Lawshe
528b2b5728 Merge pull request #2563 from overleaf/jel-add-affiliation-when-registering
Add affiliation when registering

GitOrigin-RevId: e1915bbdc0a4fef399ef9b4a2154ede31e282cc3
2020-02-12 04:21:10 +00:00
Ersun Warncke
353625be51 Revert "Revert "Revert "decaf clean up"""
This reverts commit 4a3933668a0d01912e748c164581bcb9bbded0dd.

GitOrigin-RevId: 829a5c65093200db066f5852e42bd4f88d4c299a
2020-02-12 04:21:00 +00:00
Ersun Warncke
ba253bee12 Revert "Revert "Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid"""
This reverts commit 034ae6fa4d8515944683395ef14d99801829cb6a.

GitOrigin-RevId: 16801e6f35e1ee879d36ca46e262f8bb6e506a54
2020-02-12 04:20:56 +00:00
Ersun Warncke
b4cdfc43cf Revert "Revert "Revert "format fix"""
This reverts commit abb3f94c50b94cd87012d9e55c40afd9cbfe97e0.

GitOrigin-RevId: 090e01b96222024341e3c988ec3ba4c9fa1eef11
2020-02-12 04:20:52 +00:00
Ersun Warncke
02140124bd Revert "Revert "Revert "wip"""
This reverts commit 80bc280977d25e3ba554c32242fddfb3e15915e6.

GitOrigin-RevId: 563ed572aad616d98cd81e0acf649df8f063aa3a
2020-02-12 04:20:47 +00:00
Ersun Warncke
9228fbd026 Revert "Revert "Revert "optimize rootDoc_id validation"""
This reverts commit f015bc2bb54e98d1271bc2417647638aa80ba843.

GitOrigin-RevId: ca8380891a0e71713ed33f200720a9ab92db6ef3
2020-02-12 04:20:43 +00:00
Ersun Warncke
9c61681ae2 Revert "Revert "Revert "log errors"""
This reverts commit 3911f3380767ae2e24b3694ef21c4eb73a7219b3.

GitOrigin-RevId: 9b2fe77881ab871f0919487b45b4fc78c48147fd
2020-02-12 04:20:38 +00:00
Ersun Warncke
67e89b9d80 Revert "Revert "Revert "add ensureRootDocumentIsValidForProject method"""
This reverts commit aced9579ed1f4b0ab1780be0f4f45ae8d6a405a5.

GitOrigin-RevId: 90df39b8b90197c53ee80ffbb9ee61fa3b4ba905
2020-02-12 04:20:34 +00:00
Ersun Warncke
b1c904f824 Revert "Revert "Revert "use ProjectRootDocManager in ClsiManager"""
This reverts commit 14c94880804a3567e2b91e314a707a47bb74be2c.

GitOrigin-RevId: 9039335d01e90cf240f627a7c35889c9ab994a63
2020-02-12 04:20:30 +00:00
Ersun Warncke
22fcbe8648 Revert "Revert "use ProjectRootDocManager in ClsiManager""
This reverts commit 98c0b9246eb29a9d0bdab14a04d456473a1b4a14.

GitOrigin-RevId: 14c94880804a3567e2b91e314a707a47bb74be2c
2020-02-12 04:20:08 +00:00
Ersun Warncke
725a3c5282 Revert "Revert "add ensureRootDocumentIsValidForProject method""
This reverts commit 80bb46f92f200f48fc39138afb27df729959888c.

GitOrigin-RevId: aced9579ed1f4b0ab1780be0f4f45ae8d6a405a5
2020-02-12 04:20:03 +00:00
Ersun Warncke
d0ada551fa Revert "Revert "log errors""
This reverts commit 0db1d89ac75bf80e1d28dbd02110809fa24f4a9f.

GitOrigin-RevId: 3911f3380767ae2e24b3694ef21c4eb73a7219b3
2020-02-12 04:19:59 +00:00
Ersun Warncke
f326d632ab Revert "Revert "optimize rootDoc_id validation""
This reverts commit 13e4b22daa99b096cf2a9625212a855be59b1fdc.

GitOrigin-RevId: f015bc2bb54e98d1271bc2417647638aa80ba843
2020-02-12 04:19:54 +00:00
Ersun Warncke
1c77077e71 Revert "Revert "wip""
This reverts commit f817ac652e35e9ed79db8d24c4144460e4cc0f71.

GitOrigin-RevId: 80bc280977d25e3ba554c32242fddfb3e15915e6
2020-02-12 04:19:50 +00:00
Ersun Warncke
7e200d2aea Revert "Revert "format fix""
This reverts commit 4617b9ec2ed63b14418a8510a214e58397314831.

GitOrigin-RevId: abb3f94c50b94cd87012d9e55c40afd9cbfe97e0
2020-02-12 04:19:45 +00:00
Ersun Warncke
93bf7cc4db Revert "Revert "clear rootDoc_id when deleting doc, reset on compiles if invalid""
This reverts commit 7acba5876581044a08d6deb4767a4a2196dcb765.

GitOrigin-RevId: 034ae6fa4d8515944683395ef14d99801829cb6a
2020-02-12 04:19:41 +00:00
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