Commit graph

18437 commits

Author SHA1 Message Date
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
38d61710a2 Merge pull request #136 from overleaf/spd-object-persistor-upgrade
Upgrade object-persistor to latest version
2020-10-13 10:19:07 +01:00
Simon Detheridge
7925f217b4 Upgrade object-persistor to latest version 2020-10-13 10:08:05 +01:00
Simon Detheridge
9f28adf96c Merge pull request #12 from overleaf/spd-async-pool-empty-array
Don't try to delete files if none are found in a directory
2020-10-13 10:01:20 +01:00
Simon Detheridge
60931b86c3 Don't try to delete files if none are found in a directory 2020-10-13 09:53:19 +01: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
Jakob Ackermann
9dd64cd824 Merge pull request #74 from overleaf/jpa-ignored-misspellings-via-env
[SpellingAPIManager] get the list of ignored misspellings from settings
2020-10-09 12:27:03 +02:00
Miguel Serrano
0ea13ba637 removed <div> from email footer 2020-10-09 11:33:06 +02:00
Miguel Serrano
49b45a1796 Fix typo in settings templates->template 2020-10-09 11:32:45 +02: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
Jakob Ackermann
82c0f8f0b4 [config] add Overleaf and overleaf to the list of ignored misspellings 2020-10-08 14:12:55 +01:00
Jakob Ackermann
e8911babe0 Merge pull request #182 from overleaf/dependabot-npm_and_yarn-lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20
2020-10-08 10:42:21 +02:00
Jakob Ackermann
e9c23b6409 Merge pull request #191 from overleaf/dependabot-npm_and_yarn-node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-10-08 10:42:08 +02:00
Jakob Ackermann
5b53832bf2 Merge pull request #192 from overleaf/jpa-bump-dev-env-3-3-4-node-10-22-1
[misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1
2020-10-08 10:41:56 +02:00
Jakob Ackermann
152f6c5596 Merge pull request #194 from overleaf/jpa-matrix-tests
[MatrixTests] add a large testing matrix
2020-10-08 10:41:44 +02:00
Jakob Ackermann
033af5091f [SpellingAPIManager] get the list of ignored misspellings from settings
The settings will allow overrides via the environment variable
 `IGNORED_MISSPELLINGS`.
2020-10-08 09:36:47 +01:00
Jakob Ackermann
e846192db0 [MatrixTests] add a large testing matrix
Layers/Dimensions:
- users: anonymous, registered, registeredWithOwnedProject
- session setup: noop, joinReadWriteProject, joinReadWriteProjectAndDoc,
   joinOwnProject, joinOwnProjectAndDoc
- invalid requests: noop, joinProjectWithDocId, joinDocWithDocId,
   joinProjectWithProjectId, joinDocWithProjectId,
   joinProjectWithProjectIdThenJoinDocWithDocId
2020-10-07 16:20:21 +01:00
Shane Kilkelly
aae73d5c99 Merge pull request #83 from overleaf/sk-reset-on-pull
Reset repository state before pull
2020-10-07 09:43:17 +01: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
07dbfe6df8 Merge pull request #797 from overleaf/jpa-wait-for-db
[misc] keep up with web changes -- add waitForDb wrapper for tasks
2020-10-06 14:02:26 +02: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
9e2cf944a4 Merge pull request #792 from overleaf/msm-hotfix-2-4-2
Hotfix 2.4.2 - fix anon read/write sharing
2020-10-05 17:50:47 +02:00
Jakob Ackermann
fe3edd7197 [misc] keep up with web changes -- add waitForDb wrapper for tasks 2020-10-05 09:45:43 +01: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
Jakob Ackermann
4ec73acb88 Merge branches 'jpa-prepare-for-matrix-tests' and 'jpa-setup-session-helper' into jpa-matrix-tests 2020-10-01 12:57:40 +01:00