andrew rumble
|
032deaf05c
|
Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
|
2024-08-21 08:04:24 +00:00 |
|
Antoine Clausse
|
36f0a3e01a
|
[web] Promisify ProjectController (#18477)
* Create `promiseAuto` util to replace `async.auto`
* Promisify `BrandVariationsHandler.getBrandVariationById`
* Promisify `updateProjectSettings`
* Promisify `updateProjectAdminSettings`
* Promisify `newProject`
* Promisify `deleteProject`
* Promisify `loadEditor`
* Fix brandVariation loading in promise auto
* Promisify `_refreshFeatures`
* Promisify `_injectProjectUsers`
* Fix `no-inner-declarations`
* Promisify `cloneProject`
* Promisify `userProjectsJson`
* Promisify `projectEntitiesJson`
* Promisify `restoreProject`
* Promisify `renameProject`
* Additional warning fix
* Update unit tests
* Fixup `updateProjectSettings`: call jobs inside the Promise.all
* Use `expressify(...)` instead of manually call `next(err)`
https://github.com/overleaf/internal/pull/18477#discussion_r1613611987
https://github.com/overleaf/internal/pull/18477#discussion_r1613621146
https://github.com/overleaf/internal/pull/18477#discussion_r1613634000
...
* Replace Promise.all by sequencial awaits
https://github.com/overleaf/internal/pull/18477#discussion_r1613852746
https://github.com/overleaf/internal/pull/18477#discussion_r1613611987
* Remove manual throws of 500. Let the generic error handler catch them.
https://github.com/overleaf/internal/pull/18477#discussion_r1613623446
https://github.com/overleaf/internal/pull/18477#discussion_r1613628955
* Promisify `untrashProject`
https://github.com/overleaf/internal/pull/18477#discussion_r1613627783
* Promisify `expireDeletedProjectsAfterDuration`
* Promisify `archiveProject`
* Promisify `unarchiveProject`
* Promisify `trashProject`
* Promisify `expireDeletedProject`
* Use async `setTimeout` from `timers/promise`
https://github.com/overleaf/internal/pull/18477#discussion_r1613843085
* Remove unused `_injectProjectUsers`
https://github.com/overleaf/internal/pull/18477#discussion_r1613855766
* Add missing exec in queries (?)
Not sure if that makes a real difference but it's more consistent with the rest of the code
* Catch floating promises
https://github.com/overleaf/internal/pull/18477#discussion_r1613868876
* Replace custom `promiseAuto` by `p-props` from NPM
https://github.com/overleaf/internal/pull/18477#discussion_r1613393294
* Downgrade `p-props` to v4. Later versions require ESM
* Simplify code around `splitTestAssignments`
GitOrigin-RevId: 84d37f7aa9227b5b9acf9eeb5db1b78afc01b6ee
|
2024-05-30 08:04:36 +00:00 |
|
Brian Gough
|
6bd5038791
|
Merge pull request #17282 from overleaf/bg-object-id-unit-tests-ii
add unit tests for ObjectId comparison with chai and sinon
GitOrigin-RevId: e23156f6fd95f37d447f7569a01916c71bf04ede
|
2024-02-27 09:03:04 +00:00 |
|
Miguel Serrano
|
51de84664d
|
Merge pull request #16346 from overleaf/msm-remove-underscore
Remove `underscore` in monorepo
GitOrigin-RevId: fd3b92e3e8a940a7a086669232102320c34a89e2
|
2024-01-09 09:03:58 +00:00 |
|
Eric Mc Sween
|
680ebae30b
|
Merge pull request #15172 from overleaf/em-promise-utils
Move util/promises from web into a shared library
GitOrigin-RevId: fe1980dc57b9dc8ce86fa1fad6a8a817e9505b3d
|
2023-10-20 08:04:05 +00:00 |
|
Eric Mc Sween
|
65976cb363
|
Merge pull request #11869 from overleaf/em-upgrade-mongoose-web
Upgrade Mongoose and the Mongo driver in web
GitOrigin-RevId: 2cad1aabe57eae424a9e4c68b2e0062f0e78ffaf
|
2023-03-01 09:03:27 +00:00 |
|
Eric Mc Sween
|
da30da76b2
|
Merge pull request #9894 from overleaf/em-node-fetch-web
Replace request-promise with node-fetch in web
GitOrigin-RevId: 07dbb6db7fd42326807aaeb18e5ee39f7c3d4668
|
2022-10-13 08:04:24 +00:00 |
|
Jakob Ackermann
|
42d78528ae
|
Merge pull request #6572 from overleaf/jpa-web-unit-tests-npm-workspaces
[web] adjust unit test setup for npm workspaces
GitOrigin-RevId: 4c6f6debbc082301570173345cc366984a9c59f1
|
2022-02-16 11:31:03 +00:00 |
|
Eric Mc Sween
|
5fc6d7dcb3
|
Merge pull request #5740 from overleaf/em-gcp-logging-web
Improve GCP logging for web
GitOrigin-RevId: b304c87a3fe46c29189f665eb3daf22c23d6eb8f
|
2021-11-11 09:03:09 +00:00 |
|
Eric Mc Sween
|
e5676a9643
|
Merge pull request #5648 from overleaf/em-revert-gcp-logging-web
Revert "Improve GCP logging for web"
GitOrigin-RevId: 92d446baf62108da1df92146eec12a2fe69d30ee
|
2021-11-02 09:03:29 +00:00 |
|
Eric Mc Sween
|
641b10cceb
|
Merge pull request #5632 from overleaf/em-gcp-logging-web
Improve GCP logging for web
GitOrigin-RevId: 1198fab2e821a55563058171cfa435605216e337
|
2021-11-02 09:03:22 +00:00 |
|
Eric Mc Sween
|
2fdff8288b
|
Merge pull request #5088 from overleaf/em-queue-feature-refreshes
Perform some user refreshes in the background
GitOrigin-RevId: 3aec73c827bf0f7de7bd9caa369dfc653eac5dd0
|
2021-09-21 08:03:13 +00:00 |
|
Jakob Ackermann
|
5e773ce950
|
Merge pull request #4101 from overleaf/ae-settings-module
Migrate from `settings-sharelatex` to `@overleaf/settings`
GitOrigin-RevId: 9a298ba26382180c1351683c5fddc9004418c1e6
|
2021-07-08 02:08:28 +00:00 |
|
Alf Eaton
|
1be43911b4
|
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
|
2021-04-28 02:10:01 +00:00 |
|
Eric Mc Sween
|
9ddaa8c9f6
|
Merge pull request #3830 from overleaf/em-upgrade-node-12
Upgrade to Node 12
GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
|
2021-04-01 02:05:52 +00:00 |
|
Eric Mc Sween
|
bbe4137d81
|
Merge pull request #3613 from overleaf/em-unit-tests-leaks
Fix memory leaks in unit tests
GitOrigin-RevId: e2b366dd9f277823db4c7c00c209da2b3774a0fe
|
2021-02-04 03:04:49 +00:00 |
|
Jakob Ackermann
|
6eeb7857e3
|
Merge pull request #3390 from overleaf/jpa-faster-unit-tests
[perf] faster unit tests
GitOrigin-RevId: 188b8f3752638fde7a27a8d83b416bb9a6e3c95e
|
2020-11-28 03:04:01 +00:00 |
|
Simon Detheridge
|
29f09c50c2
|
Merge pull request #3071 from overleaf/spd-unhandled-promises-in-tests
Treat unhandled promise rejections as errors in tests
GitOrigin-RevId: ba9d8fa02e0687c6b2d1d95e495fe0b54bb0cff5
|
2020-08-12 02:07:09 +00:00 |
|
Jakob Ackermann
|
2a8e2efe62
|
Merge pull request #2845 from overleaf/jpa-faster-web-ci
[misc] faster web ci
GitOrigin-RevId: bbd6b12040956f6b397c6ea4d8144e733299400b
|
2020-05-23 03:18:08 +00:00 |
|
Eric Mc Sween
|
4f9eb281b7
|
Merge pull request #2356 from overleaf/em-upgrade-test-deps
Upgrade test dependencies
GitOrigin-RevId: 0bda49dea086f525211836b6008f67bafa2bbe48
|
2019-11-18 14:53:42 +00:00 |
|
Shane Kilkelly
|
cbf08c599b
|
Merge pull request #2333 from overleaf/em-unhandled-rejections
Fail tests on unhandled promise rejection
GitOrigin-RevId: 3cc53ce5b46c63c62374eb83f9442b8d6979272e
|
2019-11-07 10:48:36 +00:00 |
|
Timothée Alby
|
5f107374a6
|
Merge pull request #2195 from overleaf/em-collab-permissions
Move collaborators code to async/await
GitOrigin-RevId: 55b5dd8154d024e2cee738208c45a8139870b92b
|
2019-10-07 08:46:36 +00:00 |
|
Eric Mc Sween
|
869fcf7952
|
Merge pull request #2089 from overleaf/em-mailchimp-unsubscribe
Handle error on Mailchimp unsubscribe when deleting users
GitOrigin-RevId: 8923480e6d50de45003fd7741610f995753a412b
|
2019-09-03 15:25:01 +00:00 |
|
Simon Detheridge
|
bf740f1e25
|
Merge pull request #1959 from overleaf/spd-integration-soft-deletion
Integration: Merge soft-deletion features into master
GitOrigin-RevId: 83baf730be2f256ad0d02271600392fda144b761
|
2019-07-18 14:34:22 +00:00 |
|
Alasdair Smith
|
a3bcc71df9
|
Merge pull request #1807 from overleaf/as-global-sinon-chai
Globally load sinon-chai
GitOrigin-RevId: b0175e021b98d6338171108c6778de80ee58479a
|
2019-05-28 11:25:26 +00:00 |
|