Commit graph

9355 commits

Author SHA1 Message Date
Simon Detheridge
8e20258786 Merge pull request #3373 from overleaf/jpa-block-recurly-xss
[views] subscription: block angular template evaluation for emails

GitOrigin-RevId: 081314a387234dfe263b954a4206a0c8bba8b153
2020-11-10 03:04:14 +00:00
CloudBuild
f848e65a40 auto update translation
GitOrigin-RevId: 41c0e032449288965de8de2bb83178c0461c1366
2020-11-09 03:04:12 +00:00
CloudBuild
4857b805da auto update translation
GitOrigin-RevId: b5214d8d136f7a26291e9c17b2b1d61e7e2767ac
2020-11-08 03:04:37 +00:00
Simon Detheridge
5201d98752 Merge pull request #3365 from overleaf/sk-dropbox-email-fix
Conditionally send email in Dropbox unlinkAccount

GitOrigin-RevId: 0f3d2fd34b89aa3f3a96f7ca66fee5d69d07ec2f
2020-11-08 03:04:33 +00:00
Simon Detheridge
d405ff6a74 Merge pull request #3362 from overleaf/jel-update-green-type
Darken green type to improve color contrast

GitOrigin-RevId: f4a393da54230a9fc85bba1fbe2192c6412b2c3f
2020-11-08 03:04:28 +00:00
Simon Detheridge
9c0825704c Merge pull request #3359 from overleaf/jel-disabled-dropdown-item
Fix disabled dropdown item color on hover

GitOrigin-RevId: d3300b74fd17b82092710a0c6a1a6e9b00b92199
2020-11-08 03:04:23 +00:00
CloudBuild
4467d7d59b auto update translation
GitOrigin-RevId: 1c7e5299ba56aef905e7ca2ac118eb59c2ea5508
2020-11-08 03:04:18 +00:00
Jakob Ackermann
c6a853c7ed Merge pull request #3332 from overleaf/pr-new-log-entries-ui
New log entries ui

GitOrigin-RevId: a13ccac04197e7c8f3777750b956d550c95c8f0d
2020-11-06 03:04:59 +00:00
Jakob Ackermann
0a5cc39671 Merge pull request #3345 from overleaf/jpa-i18n-escape-vars
[misc] i18n escape vars

GitOrigin-RevId: 5b0a8ca7229f3817c823b126203c8597f7fd0913
2020-11-06 03:04:54 +00:00
Jakob Ackermann
67b8719bf2 Merge pull request #3354 from overleaf/jpa-fix-clone-invalid-root-doc
[ProjectDuplicator] silently ignore an invalid rootDoc when duplicating

GitOrigin-RevId: 93b4d4193fab25484525f8ab2c692e047cf0da30
2020-11-06 03:04:48 +00:00
Jakob Ackermann
e3f41ab373 Merge pull request #3342 from overleaf/jpa-hide-dependabot-cfg
[copybara] hide the dependabot config from the public web repo

GitOrigin-RevId: d1eb044c8bfd1f8b0898839d40f771472a9799c2
2020-11-06 03:04:43 +00:00
Eric Mc Sween
d5a49038df Merge pull request #3302 from overleaf/em-analytics-queues
Send analytics events through a queue

GitOrigin-RevId: b9eb12e469faf16e32aba5fae665c5f85dfbc52c
2020-11-05 03:05:06 +00:00
Shane Kilkelly
fc1816b0fc Merge pull request #3337 from overleaf/jpa-fix-consitency-check
[frontend] Document: fix consistency check

GitOrigin-RevId: d303fe48e4f3460dab609d53e195992920af7b1b
2020-11-05 03:04:59 +00:00
Shane Kilkelly
57e9cf2829 Merge pull request #3304 from overleaf/ns-env-autocomplete-nesting
Parse nested environments for autocomplete suggestion

GitOrigin-RevId: 1ddfc0e0129801f203084a74c586031ffe0d5bb9
2020-11-05 03:04:53 +00:00
Shane Kilkelly
dff706bf67 Merge pull request #3334 from overleaf/jpa-msm-rename-css-class
[misc] rename avoid-auto-linking class to force-overleaf-style in emails

GitOrigin-RevId: 9111a38afb550f3397555ef68d1e4170208eb121
2020-11-05 03:04:48 +00:00
Shane Kilkelly
98ad07bcc9 Merge pull request #3344 from overleaf/jpa-mtx-is-editable
[misc] .mtx files are editable text files

GitOrigin-RevId: e1a8363e24d961d9723439c68d308fb69f59bbd3
2020-11-05 03:04:43 +00:00
Shane Kilkelly
8f2ab2e8b1 Merge pull request #3347 from overleaf/em-gv-extension
Make the frontend treat .gv files as text

GitOrigin-RevId: 01eece340bb987170f2f9d8860e6257e5421ec02
2020-11-05 03:04:38 +00:00
Shane Kilkelly
0450c52187 Merge pull request #3335 from overleaf/jpa-cmg-archived-script-logging
Update archiving script for re-run

GitOrigin-RevId: 0251ca8d6f864f697395deac9470398519b704de
2020-11-05 03:04:30 +00:00
Shane Kilkelly
405a221187 Merge pull request #3318 from overleaf/sk-remove-events-module
Re-work unlinking dropbox when subscription ends

GitOrigin-RevId: 92cf5713d57e157cf544d0470d5fdb6e4010d5cd
2020-11-05 03:04:24 +00:00
Jakob Ackermann
654abb3b47 Merge pull request #3355 from overleaf/jpa-use-count-again
[misc] mongodb: use deprecated db.collection.count again

GitOrigin-RevId: 93dc05651747ca49b0e26547a330682f85ad9cef
2020-11-04 03:04:26 +00:00
Jakob Ackermann
87634be542 Merge pull request #3351 from overleaf/revert-3348-revert-3298-jpa-re-land-mongoose-latest
[misc] re-land: remove mongojs and bump mongoose

GitOrigin-RevId: eba9f80fbd58dbb8aed131fead3ec0b928a555aa
2020-11-04 03:04:21 +00:00
Jakob Ackermann
e249a2e5be Merge pull request #3348 from overleaf/revert-3298-jpa-re-land-mongoose-latest
Revert "[misc] re-land: remove mongojs and bump mongoose"

GitOrigin-RevId: 45a284435c88898d96769ab258651fb8d6d20ff5
2020-11-03 03:05:09 +00:00
Jessica Lawshe
6a837ce457 Merge pull request #3311 from overleaf/jel-button-test
Add required prop to button test

GitOrigin-RevId: c653b0429e4b9e9921e3e913fc0ff5ea445615a3
2020-11-03 03:05:03 +00:00
Jessica Lawshe
edd43228a1 Merge pull request #3305 from overleaf/jel-download-dropdown-divider
Only show header/divider if download list is separated

GitOrigin-RevId: 832c53bf973e6615a5c2ef526a8fad0835913bcc
2020-11-03 03:04:58 +00:00
Jakob Ackermann
28fe397f38 Merge pull request #3298 from overleaf/jpa-re-land-mongoose-latest
[misc] re-land: remove mongojs and bump mongoose

GitOrigin-RevId: 02f78d52ffc2d373c8c0bc4860d3b2326a46f5c9
2020-11-03 03:04:52 +00:00
Jakob Ackermann
a73df8203e Merge pull request #3340 from overleaf/jpa-i18n-drop-html-from-vars-with-transform
[locales] run transformations

GitOrigin-RevId: 828409d9b3280bab6f44b0a29f7170aeb7267649
2020-10-31 03:05:51 +00:00
Jakob Ackermann
36f81a93b9 Merge pull request #3265 from overleaf/jpa-i18n-drop-html-from-vars
[misc] i18n: drop html from vars

GitOrigin-RevId: 3cf2aa5a70cc8710693c24bd4b65bddcd4ba09e8
2020-10-31 03:05:46 +00:00
Jakob Ackermann
b99690d365 Merge pull request #3327 from overleaf/jpa-users-email-update
[frontend] after changing the primary email, use the new one everywhere

GitOrigin-RevId: c4397483f4b3779497a7655de34754525d033636
2020-10-31 03:05:41 +00:00
Jakob Ackermann
15fd090e7a Merge pull request #3325 from overleaf/jpa-session-cleanup
[UserEmailsController] clear sessions after changing the primary email

GitOrigin-RevId: 319b483a3c2851c37c0a340ba9c43a86225a9246
2020-10-31 03:05:36 +00:00
Christopher Hoskin
1e8598a8d9 Merge pull request #3331 from overleaf/csh-issue-3661-bump-agents
Update metrics module

GitOrigin-RevId: bdef141035f277ce4863f14f8a6e166d710b1111
2020-10-31 03:05:30 +00:00
Alasdair Smith
46be87f7c5 Merge pull request #3317 from overleaf/pr-prepare-log-hints-react
Prepare log hints for React

GitOrigin-RevId: 77435d26e9e5e74db8a76236cac64b67155adc59
2020-10-30 03:04:19 +00:00
Eric Mc Sween
14f8a3ca72 Merge pull request #3329 from overleaf/em-fix-smoke-tests
Fix smoke tests when Settings.web is unset

GitOrigin-RevId: 873ee49a8bd57ed5f4c5bd0a551b724530424711
2020-10-28 03:05:23 +00:00
Eric Mc Sween
d708f6f0db Merge pull request #3319 from overleaf/em-enabled-services
Use ENABLED_SERVICES variable to choose which routes to set up

GitOrigin-RevId: 6b1f8d593de23d72802c178d2e3cc89757257675
2020-10-28 03:05:16 +00:00
Miguel Serrano
bffb02a216 Merge pull request #3271 from overleaf/msm-move-email-footer-bottom-layout
Move customFooter to the bottom of the email template

GitOrigin-RevId: a6c4bad241520f6814d6a63fa1fdc77bb6c56368
2020-10-28 03:05:10 +00:00
Miguel Serrano
09a07c1dc0 Merge pull request #3270 from overleaf/msm-fix-login-requirement-rw-sharing
requireLogin() conditional on Settings.allowAnonymousReadAndWriteSharing

GitOrigin-RevId: 6fc3790f902c414a8104e34a508289ea32d83737
2020-10-28 03:05:04 +00:00
Miguel Serrano
dd123944ed Merge pull request #3321 from overleaf/msm-simplify-infinite-scroller
Simplified chat infinite-scroll

GitOrigin-RevId: 72b3d0540ffb413f6ad519216ee90eb8deaa7892
2020-10-28 03:04:59 +00:00
Miguel Serrano
df37668180 Merge pull request #3267 from overleaf/msm-react-chat-tests
React chat tests

GitOrigin-RevId: e3b4d5b7cb2657d9aad7e1006c18db4e6c0d8a3f
2020-10-28 03:04:53 +00:00
Miguel Serrano
c504f2a64c Merge pull request #3320 from overleaf/hb-spellcheck-visibility-on-current-line
Add z-index to spellcheck highlight to make it always visible in some themes

GitOrigin-RevId: 5e29ec5ddb6dd40d908e6c044f529edbcf0dd615
2020-10-28 03:04:48 +00:00
Miguel Serrano
04c35c5a34 Merge pull request #3316 from overleaf/jpa-script-restore-soft-deleted-docs
[scripts] restore_soft_deleted_docs: port the script from the dev-manual

GitOrigin-RevId: e445cfad0d0f04275b3899c34b7963ddb29d4444
2020-10-28 03:04:39 +00:00
Miguel Serrano
f2eb4893fe Merge pull request #3315 from overleaf/jpa-i18n-transform-locales
[misc] i18n: transform locales

GitOrigin-RevId: 2306682eab2b10a69c14520cb22338d8537397cd
2020-10-28 03:04:33 +00:00
Miguel Serrano
120df0bfa2 Merge pull request #3314 from overleaf/jpa-i18n-safe-html-substitute
[misc] i18n: safe html substitute

GitOrigin-RevId: be74605d24084b419324509a403933cf71ed1c8a
2020-10-28 03:04:27 +00:00
Miguel Serrano
2e7e64578f Merge pull request #3299 from overleaf/jpa-cleanup-tpr-import
[tpr] cleanup dead code and add request timeout

GitOrigin-RevId: 363b12efd4e9d9391bfb486e7b7f301c1ff2ce33
2020-10-28 03:04:21 +00:00
Jakob Ackermann
865ac4a786 Merge pull request #3322 from overleaf/jpa-axios
[misc] fix install of @google-cloud/profiler: install axios on top-level

GitOrigin-RevId: 21461496581b18adce47756f3ee735374c4c70e2
2020-10-27 03:04:17 +00:00
Jakob Ackermann
102a20931e Merge pull request #3310 from overleaf/jpa-validate-data-of-model-tweak-output
[scripts] validate-data-of-model: log after processing

GitOrigin-RevId: b9ab7989bf1b3af12469bbf8a0a82ad7c40e1f14
2020-10-23 02:04:44 +00:00
Shane Kilkelly
e9f7a17093 Merge pull request #3234 from overleaf/sk-fix-password-validation-email
Overhaul password validation

GitOrigin-RevId: a591c4e192e30a0ac053eab6f80627543a8a92fe
2020-10-23 02:04:39 +00:00
Jakob Ackermann
85d37f8990 Merge pull request #3308 from overleaf/revert-3278-as-prop-type-test-fail
Revert "Make prop-type errors fail the frontend tests"

GitOrigin-RevId: 903fba2a6f22d392ba748ff334db0ddbc63ac896
2020-10-22 02:04:54 +00:00
Jakob Ackermann
224c5a0f23 Merge pull request #3306 from overleaf/jpa-script-validate-data-of-model
[scripts] validate-data-of-model: add the new script

GitOrigin-RevId: c432598a1efee58e95f3751ac0f63113ec837344
2020-10-22 02:04:48 +00:00
Jakob Ackermann
21070a01a8 Merge pull request #3303 from overleaf/jpa-fix-user-model
[model] User: third-party-references is owner of .refProviders entries

GitOrigin-RevId: 8ac81869657f4fe7615928eae2ad3d93d24cef0f
2020-10-22 02:04:43 +00:00
Jakob Ackermann
7088651c0c Merge pull request #3301 from overleaf/ns-clean-snippets
remove malicious suggestions from autocomplete

GitOrigin-RevId: 6112b375b9f4bdbf3de3ff6651b460de1c1c31ca
2020-10-22 02:04:38 +00:00
Jakob Ackermann
a124c3e4f4 Merge pull request #3278 from overleaf/as-prop-type-test-fail
Make prop-type errors fail the frontend tests

GitOrigin-RevId: 4676239be8bfc541397740bdbe4044751e088c82
2020-10-22 02:04:32 +00:00
Jakob Ackermann
5256572356 Merge pull request #3274 from overleaf/jpa-i18n-upload-non-english
[scripts/translations] uploadNonEnglish: automate upload of translations

GitOrigin-RevId: 0d4453d17702955abe15497c64cb693ff945fda8
2020-10-22 02:04:27 +00:00
Jakob Ackermann
01712f1229 Merge pull request #3307 from overleaf/jpa-i18n-fixes
[misc] i18n fixes

GitOrigin-RevId: 862acff0a96b3717f1410327d1dcc469268f5e30
2020-10-22 02:04:22 +00:00
CloudBuild
cee714ca01 auto update translation
GitOrigin-RevId: a7e7f9dadd2f248e75837c6aeba96346bde9f65f
2020-10-22 02:04:16 +00:00
Jessica Lawshe
5f59437ef9 Merge pull request #3297 from overleaf/jel-unlink-email
Update unlinked email wording

GitOrigin-RevId: 976349f1003e6b53ab04b27870356d9452464a39
2020-10-21 02:04:42 +00:00
Jessica Lawshe
1db0b27704 Merge pull request #3283 from overleaf/jel-remove-zotero-test
Remove Zotero test

GitOrigin-RevId: 4d9d8e0574f05f8c272cc018d7b1908a1722f156
2020-10-21 02:04:37 +00:00
Jessica Lawshe
6fe36b6acb Merge pull request #3282 from overleaf/jel-download-dropdown-menu
Add output download dropdown

GitOrigin-RevId: 1f97f0d681679268d28796fbc8251ffbc6e98433
2020-10-21 02:04:32 +00:00
Jessica Lawshe
f8a8c9bbd6 Merge pull request #3242 from overleaf/jel-add-recompile-from-scratch
Add recompile from scratch option

GitOrigin-RevId: 59836df9049e307acb11824058024919409ea4a4
2020-10-21 02:04:27 +00:00
CloudBuild
4690b2ec86 auto update translation
GitOrigin-RevId: fe21376b3146aa233f8b865230dce146f7157303
2020-10-20 02:04:34 +00:00
CloudBuild
033b427a46 auto update translation
GitOrigin-RevId: 689bbd47d02a4b8367affb9b6da610b8b329942f
2020-10-19 02:04:35 +00:00
CloudBuild
d78b47d311 auto update translation
GitOrigin-RevId: 24fd9943e3eb59f5d02e222d6fbbf69c5952d4e5
2020-10-18 02:04:39 +00:00
Paulo Jorge Reis
c0cb00e976 Update frontend/stylesheets/app/editor/pdf.less
Co-authored-by: Jessica Lawshe <jessica.lawshe@overleaf.com>
GitOrigin-RevId: 628b83a3b1fd03362853fe9cc2d4b5751c85cae4
2020-10-16 02:05:11 +00:00
Paulo Reis
4f847b35d3 Fix tests.
GitOrigin-RevId: 18e4d9e58922aae00e603269c907499da949d27f
2020-10-16 02:05:06 +00:00
Paulo Reis
a75c191d5b Make sure the errors and warnings count is re-read after a compile, even if it does not change.
GitOrigin-RevId: 481f33782e4b473e535fbeaee786f04f897f1697
2020-10-16 02:05:00 +00:00
Paulo Reis
6e99c7b722 Consolidate errors and warnings compilation result indicator.
GitOrigin-RevId: c17b782884c9860022cef93e038136c6853bdc6b
2020-10-16 02:04:55 +00:00
Paulo Reis
e1c2291fef Add screen-reader version of the compile status indicator.
GitOrigin-RevId: 2589246448047fb42637bd12252291cef442c9da
2020-10-16 02:04:50 +00:00
Paulo Reis
876c292d22 Add compile status indicator to new React-based errors UI.
GitOrigin-RevId: 545953e156d589a56ffd038bb7a40bba97770d06
2020-10-16 02:04:45 +00:00
Paulo Reis
9c7e9cf125 Update onboarding survey wording
GitOrigin-RevId: 471303cc666a37c1df668fd2ba6fe68b07f24c2d
2020-10-16 02:04:40 +00:00
Paulo Reis
6f56ca7a31 Add onboarding survey link to the onboarding email.
GitOrigin-RevId: 7a6b971a2caab68ebb127ea26d3209e302ef877b
2020-10-16 02:04:34 +00:00
Hugh O'Brien
8eab5a5f6f Merge pull request #3203 from overleaf/hb-new-personal-plan
New personal plan

GitOrigin-RevId: bd96e86bef35b618f492625c3a9ea41328390374
2020-10-14 02:05:07 +00:00
Hugh O'Brien
acd51e88c8 Merge pull request #3266 from overleaf/hb-improve-upgrade-ctas
Different upgrade cta when user has a subscription

GitOrigin-RevId: e26b8784035a4c38b523abf1ac0eeb52e1a63fb0
2020-10-14 02:05:00 +00:00
Simon Detheridge
c257b9695a Merge pull request #3277 from overleaf/revert-3257-jpa-mongoose-latest
Revert "[misc] upgrade mongoose to the latest version"

GitOrigin-RevId: d5957fca68be65a08a687476742ffbb9c3cb86e8
2020-10-13 02:04:31 +00:00
Simon Detheridge
dba5127856 Merge pull request #3257 from overleaf/jpa-mongoose-latest
[misc] upgrade mongoose to the latest version

GitOrigin-RevId: cc612312e1661a92907dd8d42a32aeccb8cdb62d
2020-10-13 02:04:26 +00:00
Simon Detheridge
e01f9109c6 Merge pull request #3256 from overleaf/jpa-remove-mongojs
[misc] remove mongojs

GitOrigin-RevId: 68131846400f8302805383be2e733edcfc691391
2020-10-13 02:04:21 +00:00
Alasdair Smith
f1b42a3d0d Merge pull request #3192 from overleaf/msm-chat-react
Chat reactification

GitOrigin-RevId: ee1268b412513a8656703257febad4975adb74e7
2020-10-13 02:04:15 +00:00
Alasdair Smith
3ca5c4b26a Merge pull request #3268 from overleaf/msm-fix-left-footer-links
Skip left footer translation when no url is set

GitOrigin-RevId: c282edfa5189094b9a1b727d3a36e189e4b494a0
2020-10-13 02:04:10 +00:00
Alasdair Smith
69521047e2 Merge pull request #3275 from overleaf/as-fix-confirmed-emails-query
Fix slow query for user with confirmed emails

GitOrigin-RevId: aec3429073bf45e192ca8b0b4a2ac90ebf22b510
2020-10-13 02:04:05 +00:00
Alasdair Smith
941241af54 Merge pull request #3273 from overleaf/as-fix-institution-script-error-handling
Handle error in check institution script correctly

GitOrigin-RevId: 5e6bee330020a9c675779e451853dc3cbf4d6324
2020-10-10 02:04:43 +00:00
CloudBuild
346cdd16d4 auto update translation
GitOrigin-RevId: a07d89a2683246089b4e3d3a31f4777ccef2dad7
2020-10-10 02:04:38 +00:00
CloudBuild
a8c4410549 auto update translation
GitOrigin-RevId: 7ce0e24b4d481b7f79aee0b4264cf200de32de67
2020-10-09 02:05:24 +00:00
Jakob Ackermann
403332d80d Merge pull request #3226 from overleaf/jpa-mongodb-native-scripts
[misc] migrate active scripts to the native mongo driver

GitOrigin-RevId: f3b441bc53754dc2f83ca24c3e57d2cc978dd7fe
2020-10-09 02:05:19 +00:00
Jakob Ackermann
cec854de89 Merge pull request #3225 from overleaf/jpa-scripts-cleanup
[misc] delete unneeded scripts

GitOrigin-RevId: 30b1c97dfde8d2e93b40c0df4cb8be9a963580ad
2020-10-09 02:05:14 +00:00
Jakob Ackermann
370ee79a30 Merge pull request #3200 from overleaf/jpa-mongodb-native-migrations
[misc] migrate the migrations to the latest native mongo driver

GitOrigin-RevId: eedfa71571910adf7cc205a1f69e27492fe80883
2020-10-09 02:05:09 +00:00
Jakob Ackermann
a096d98956 Merge pull request #3193 from overleaf/jpa-mongodb-native-acceptance-tests
[misc] migrate the acceptance tests to the native mongo driver

GitOrigin-RevId: 5ec8605cafb28cc9cfeb85d7ee0d1b567cfe49ba
2020-10-09 02:05:03 +00:00
Eric Mc Sween
54be128b13 Merge pull request #3250 from overleaf/em-gv-extension
Make .gv files editable

GitOrigin-RevId: e705099cc6eba0789cc406649bede8d2006a4810
2020-10-09 02:04:58 +00:00
Hugh O'Brien
372a9323ba Merge pull request #3264 from overleaf/jpa-translations-cleanup
[ExpressLocals] drop support for htmlEncoding the translate content

GitOrigin-RevId: d70621dadda96feee0db9e424db368f9197a2162
2020-10-09 02:04:53 +00:00
Jessica Lawshe
22046266e1 Merge pull request #3253 from overleaf/jel-email-app-name
Use settings.appName in email

GitOrigin-RevId: fee83af096be37b502331ee59a29f1093eb25fe9
2020-10-07 02:04:44 +00:00
Jessica Lawshe
5d244fd183 Merge pull request #3249 from overleaf/jel-removed-unused-email-template
Remove CTAEmailTemplate

GitOrigin-RevId: bbfbe0c0e20d0dbbf5bf355c0a31de2834fedc34
2020-10-07 02:04:39 +00:00
Jessica Lawshe
06316a0f56 Merge pull request #3220 from overleaf/jel-link-ieee
Move link/unlink SSO audit log entry

GitOrigin-RevId: 1b912cc58957af7e80628f3f955f01c2a641812d
2020-10-07 02:04:34 +00:00
Jessica Lawshe
1ca50eeb98 Merge pull request #3179 from overleaf/jel-remove-sudo-mode
Remove SudoMode

GitOrigin-RevId: 9419f9b28e5051a1c5abd29f498f72448d1afd33
2020-10-07 02:04:29 +00:00
Jakob Ackermann
79bdc60743 Merge pull request #3262 from overleaf/jpa-global-query-normalize-helper
[misc] add a helper for normalizing queries and detecting ObjectIds

GitOrigin-RevId: 4f0ac53219ab5853b5499447334724c6c39c6303
2020-10-07 02:04:24 +00:00
Jakob Ackermann
9f68193876 Merge pull request #3259 from overleaf/jpa-hotfix-object-id-detection
[misc] fix detection of native and mongoose ObjectIds

GitOrigin-RevId: 98e2f3f009061e7cce9948341ebd5dc42d613448
2020-10-07 02:04:18 +00:00
Jakob Ackermann
db422ecafa Merge pull request #3258 from overleaf/jpa-config-mongo-server-selection-timeout
[misc] add a config option for the mongo serverSelectionTimeoutMS

GitOrigin-RevId: 89b79e4fd5043b003da4ef103ddc919909aa7893
2020-10-06 02:04:45 +00:00
Jakob Ackermann
0c6e12a5cb Merge pull request #3189 from overleaf/jpa-mongodb-latest
[misc] upgrade mongodb package and run codemod for find projections

GitOrigin-RevId: 01291b3095779abe045e39b82f071ac84285a508
2020-10-06 02:04:39 +00:00
Jakob Ackermann
da9f966ff0 [misc] prepare acceptance tests for mismatching ObjectId types (#3188)
- helpers/User: UserUpdater cannot handle foreign ObjectIds. Instead use
  `mongoUpdate`, which in turn uses the user id which
  `setExtraAttributes` sets -- hence the reordering of calls.
- CollabratecTests: use chaId for id comparison.
- ProjectStructureMongoLockTest: use chaId for id comparison.
- UserHelper: less generic updateUser -- wrap the passed ObjectId

GitOrigin-RevId: b16e2b66dcb3dd5f0a842ca5e55fa661abe9035f
2020-10-06 02:04:34 +00:00
Jakob Ackermann
ad52f7dc01 Merge pull request #3255 from overleaf/jpa-fix-scripts
[misc] add waitForDb wrapper to scripts with indirect mongo access

GitOrigin-RevId: 009331f91a45f075a35b0b6e90c4352e55908c21
2020-10-06 02:04:28 +00:00
Jakob Ackermann
b3197b5f12 [misc] back-fill stubbing of mongodb package in sandboxed-module imports (#3209)
* [misc] back-fill stubbing of mongodb package in sandboxed-module imports

Unit tests are about 10 percent faster: 9m16s vs 10m8s.

* [misc] stubs: app code should have access to the ObjectId only

GitOrigin-RevId: 9a52186e190863c9463b3aeb98c3db68011926e4
2020-10-06 02:04:22 +00:00
Miguel Serrano
6f6a9e714d Revert "Update pdf.js to 2.5.207 (#3222)" (#3251)
This reverts commit 37be3901abf1044d93d83cb684e4e32721550d5a.

GitOrigin-RevId: 07d422401f298a667aa635e0232985a81ce6ef4a
2020-10-02 02:04:28 +00:00
Miguel Serrano
7b997f3946 Update pdf.js to 2.5.207 (#3222)
* updated pdf.js to 2.5.207, and added worker-loader as a devDependency
* updated pdf.js loaded to load ES5 build instead of the default one
* replaced imports with named imports due to changes on pdf.js worker loading

There are some hash downgrades in the lockfile. Running the commands through the appropriate methods yields the same result consistency

GitOrigin-RevId: 37be3901abf1044d93d83cb684e4e32721550d5a
2020-10-02 02:04:23 +00:00
Jakob Ackermann
e3c6637339 Merge pull request #3187 from overleaf/jpa-mongodb-native
[misc] migrate the app to the native mongo driver

GitOrigin-RevId: 9030b18c4cf62e3a01d3d8f450bf0e02f9f89c22
2020-10-02 02:04:18 +00:00
Alasdair Smith
022424601d Merge pull request #3233 from overleaf/as-wfh-oct-update
Update WFH banners to reflect end of discount offer

GitOrigin-RevId: a43370fd5c6bffd3ef108daf3e66e64765ef5792
2020-10-02 02:04:13 +00:00
CloudBuild
a40f858eaa auto update translation
GitOrigin-RevId: c2fd41008b8534600eba4658666531d604ec94cf
2020-09-30 02:04:56 +00:00
Jessica Lawshe
e8b4629320 Merge pull request #3244 from overleaf/jpa-locales-trailing-new-line
[misc] add a trailing new line to the downloaded locales files

GitOrigin-RevId: 5111ca1147b2ae355cc9db87c010536e3861a23c
2020-09-30 02:04:51 +00:00
Jessica Lawshe
2a3cb615ee Merge pull request #3241 from overleaf/jpa-speedup-acceptance-tests
[misc] speedup the ConvertArchivedState test suite

GitOrigin-RevId: e7d6471955aabbc6af76e27fdf23d97e2fd87901
2020-09-30 02:04:46 +00:00
Jessica Lawshe
562fb35416 Merge pull request #3211 from overleaf/jel-new-cta-email-projectInvite
Convert projectInvite to new email handling

GitOrigin-RevId: 88b6383832ab12b524890532a120c6f2f0f28c8c
2020-09-30 02:04:40 +00:00
Jessica Lawshe
a6be3179fd Merge pull request #3215 from overleaf/jel-new-cta-email-registered
Convert registered email to new email handling

GitOrigin-RevId: a2f99c65bdaee1287a0353e66cfc5a7768fdbcc8
2020-09-30 02:04:35 +00:00
Jessica Lawshe
35897cf492 Merge pull request #3221 from overleaf/jel-institution-sso-email
Note which institution email was linked/unlinked in email alert

GitOrigin-RevId: 7e5ef743c8ec8b12c14f833fdd2b01676c95c1b6
2020-09-30 02:04:28 +00:00
Jessica Lawshe
9d3f2eb7dc Merge pull request #3227 from overleaf/jel-security-email-alerts
Move security alert handling to private function

GitOrigin-RevId: a59b6b0802986b2caa9e9715d80225eb11b163a9
2020-09-30 02:04:23 +00:00
CloudBuild
12c18f9381 auto update translation
GitOrigin-RevId: 8adb55c0eeaa08c2e03657c177a4215002775507
2020-09-30 02:04:15 +00:00
Jakob Ackermann
8d196c8f3b Merge pull request #3240 from overleaf/jpa-nodemon-locales
[nodemon] trigger a restart when locales change

GitOrigin-RevId: 10ae7b54c4aacfb199a127710733bc50cf339ef3
2020-09-29 02:06:22 +00:00
CloudBuild
2779f0998e auto update translation
GitOrigin-RevId: ede07007990cbcf789ede739944a6bc8d3a1948d
2020-09-29 02:06:15 +00:00
CloudBuild
5c31e1cbcc auto update translation
GitOrigin-RevId: e073e426c530ef5bc8686f3d9b2562b6bcd3d69b
2020-09-29 02:06:09 +00:00
Jakob Ackermann
3d070bdb5f Merge pull request #3239 from overleaf/jpa-bump-lodash-all
[misc] bump all copies of lodash to 4.17.19 -- fix prototype pollutions

GitOrigin-RevId: 250b62956b8f326c42a5d1dfd139babcc0c1c1e1
2020-09-29 02:06:04 +00:00
Jakob Ackermann
473ff70e99 Merge pull request #3235 from overleaf/jpa-cdn-upload-set-charset
[bin/cdn_upload] set the charset for stylesheets and javascript files

GitOrigin-RevId: f93565ef9475595de64611e04e3f4eca118f5218
2020-09-29 02:05:58 +00:00
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
a1d4d2ac59 Merge pull request #3201 from overleaf/spd-upgrade-bcrypt
Bump bcrypt from 3.0.4 to 5.0.0

GitOrigin-RevId: e7f9934ce283bfaddc8ee7a6c39ab8c035221fc3
2020-09-29 02:05:47 +00:00
Simon Detheridge
43dd6c605d Merge pull request #3237 from overleaf/jpa-bump-bl-in-archiver
[misc] bump bl in archiver to 4.0.3 -- fix memory exposure

GitOrigin-RevId: 1df7e4c74c092aa12725b39e2dc2f37f0f1423f1
2020-09-29 02:05:41 +00:00
Simon Detheridge
cf28862c8e Merge pull request #3238 from overleaf/jpa-bump-node-fetch
[misc] bump node-fetch to 2.6.1 -- fix forwarding of options in redirect

GitOrigin-RevId: 1dabafd3d02880398760939af7221eef74526669
2020-09-29 02:05:35 +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
2efd33eae6 Merge pull request #3217 from overleaf/jpa-translations-upload
[misc] i18n: translations upload

GitOrigin-RevId: f4bc24c9a645cc3eb9ab004d98ab4cd89d3cdce2
2020-09-29 02:05:24 +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
Alasdair Smith
49d5bb0591 Merge pull request #3223 from overleaf/ta-dropdown-stories
Dropdowns: A File Tree Storybook
GitOrigin-RevId: 0a5e911032accac1f5632de26b7ec69524ea04f9
2020-09-27 02:05:43 +00:00
Alasdair Smith
f5449dc4b0 Merge pull request #3191 from overleaf/as-storybook
Set up Storybook and add Outline stories

GitOrigin-RevId: 2635ad142ef152a5ee8023c10cf31f344fbd7e8d
2020-09-27 02:05:38 +00:00
Alasdair Smith
394f160679 Merge pull request #2963 from overleaf/cmg-archive-state-script
Script to convert old archived state into new array state

GitOrigin-RevId: 64cd3a236dc627f922488e1fa9d8aa2e7df1eb15
2020-09-27 02:05:32 +00:00
Alasdair Smith
0d78719320 Merge pull request #3224 from overleaf/ta-frontend-tests-lint
Run Lint Test Rules on Frontend Tests

GitOrigin-RevId: 03d3618eab2c6d2822233607da3ffa64ac132cd0
2020-09-27 02:05:27 +00:00
Alasdair Smith
0bf442c114 Merge pull request #3229 from overleaf/as-wfh-sept-update
Add some copy about offer expiry date on WFH banners

GitOrigin-RevId: b0d6b235ef1fb43122476e266cb9095dc8812be4
2020-09-27 02:05:22 +00:00
CloudBuild
a403d9d144 auto update translation
GitOrigin-RevId: b15e8f3103bd92f4a8abf991ea0b3d4b63719b0f
2020-09-27 02:05:16 +00:00
CloudBuild
9c8c05780b auto update translation
GitOrigin-RevId: 89cb77e2ca9e0c4c07badab35705e3145b2389a2
2020-09-25 02:04:30 +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
CloudBuild
2977d6ab9b auto update translation
GitOrigin-RevId: eb21e6b22f3dc25d89a558dc086a52eb3644b511
2020-09-25 02:04:13 +00:00
CloudBuild
3155b28ca9 auto update translation
GitOrigin-RevId: ba0df4e9764e0a367065675bc6db8c5a4485a4b3
2020-09-23 02:04:27 +00:00
CloudBuild
6287b9bafa auto update translation
GitOrigin-RevId: bae285b485c616931981a1eb68ed0082198700a1
2020-09-23 02:04:21 +00:00
CloudBuild
a581d95243 auto update translation
GitOrigin-RevId: 662ef3a9888d9c854665354e8abe26e6e655dbd9
2020-09-23 02:04:16 +00:00
Jessica Lawshe
d87ad11719 Merge pull request #3210 from overleaf/ta-icon-component
Create Icon Component in React

GitOrigin-RevId: 34161b3afa2c00dbca2423b1e5a42b29846fa6e4
2020-09-22 02:05:09 +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
Simon Detheridge
6e60c99128 Merge pull request #3218 from overleaf/revert-3181-dependabot-npm_and_yarn-marked-1.1.1
Revert "Bump marked from 0.3.12 to 1.1.1"

GitOrigin-RevId: 250ffd6bff5ec57e3991e1c2da22861b99c4b62c
2020-09-22 02:04:39 +00:00
Chrystal Maria Griffiths
512e76ef4e Merge pull request #3195 from overleaf/ta-outline-tests
More outline tests

GitOrigin-RevId: d0f4d6137cf0bf5f408801983658a79bf230967d
2020-09-19 02:04:55 +00:00
Chrystal Maria Griffiths
170f996e5f Merge pull request #3199 from overleaf/ta-outline-parser-tests
Add Outline Parser Tests

GitOrigin-RevId: 2f487c7c70bc7441a828922f8273351bffcdfef2
2020-09-19 02:04:49 +00:00
Chrystal Maria Griffiths
81ddc5c382 Merge pull request #3205 from overleaf/ta-as-local-storage
New Custom LocalStorage Implementation

GitOrigin-RevId: f80fd5f9f24af02690a51cf3c57f61f95b90e98e
2020-09-19 02:04:43 +00:00
Chrystal Maria Griffiths
e6307237e4 Merge pull request #3207 from overleaf/jpa-drop-console-log
[misc] drop console.log calls in tests

GitOrigin-RevId: 156c94761e55648a92cf98d4c3cce20abb5de623
2020-09-19 02:04:38 +00:00
Chrystal Maria Griffiths
06c4c0dcb5 Merge pull request #3202 from overleaf/spd-dependabot-labels
Add magma and aqua tags to dependabot PRs

GitOrigin-RevId: 20a616144bc8f8af3044ce0e4432f53f796d5aac
2020-09-19 02:04:32 +00:00
Chrystal Maria Griffiths
f4bef24429 Merge pull request #3204 from overleaf/msm-fix-default-error-boundary-renderer
Fixed default renderer for react error boundary

GitOrigin-RevId: 87f7d80385717db6c0222cd97ad373760c4e161c
2020-09-19 02:04:27 +00:00
Chrystal Maria Griffiths
8c739d96c6 Merge pull request #3213 from overleaf/ta-move-input-suggestions
Move InputSuggestions Angular Component

GitOrigin-RevId: c7f6fc791b82ff2881331302abf60c5ccd138ec3
2020-09-19 02:04:20 +00:00
CloudBuild
a4236aeeff auto update translation
GitOrigin-RevId: 145bfd1cad850923b7a9cd5e5599da9474b2c382
2020-09-19 02:04:13 +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
Eric Mc Sween
1b72640b5c Merge pull request #3181 from overleaf/dependabot-npm_and_yarn-marked-1.1.1
Bump marked from 0.3.12 to 1.1.1

GitOrigin-RevId: 078cc10cf2891ce3566a0f19bb538124d11830fd
2020-09-17 02:05:31 +00:00