Commit graph

9932 commits

Author SHA1 Message Date
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