Commit Graph

458 Commits

Author SHA1 Message Date
denihs
f650be7b89 - using _AsynchronousQueue in the server
- continue for looping instead of breaking it
2023-02-06 14:56:37 -04:00
denihs
3e5977ce2b Sync mongo methods for the client again 2023-02-02 16:48:29 -04:00
denihs
937800007c - fix API so call() and apply() doesn't have to be async. More can be found on this thread https://meteor-community.slack.com/archives/C01SWPPE81F/p1675116084541359 2023-02-01 16:20:54 -04:00
denihs
65d44b501d - fix livedata - basic method invocation
options.throwThroughFuture was used to fix a bug with errors and fibers (issue #1482). As we don't use Fibers anymore, this won't be needed
2023-01-30 11:24:35 -04:00
denihs
7deb4af148 - fix livedata connection - two wait methods 2023-01-30 10:52:42 -04:00
denihs
d9e8c56a3e - fix livedata stub - buffering and methods interaction 2023-01-30 10:28:13 -04:00
denihs
e14bd35ace - fix livedata stub - stubs before connected 2023-01-30 10:21:21 -04:00
denihs
503f2b41f9 - _saveOriginals() is now async
- markAllReady() in the tests is now async
- removing unnecessary comments
2023-01-30 10:16:46 -04:00
denihs
6b5b1278fe - fix test multiple stubs same doc 2023-01-26 16:02:59 -04:00
denihs
d277841958 - fix test livedata stub - reconnect method which only got result 2023-01-26 14:50:01 -04:00
denihs
f8334b8a42 - fix test livedata stub - methods calling methods 2023-01-26 14:38:25 -04:00
denihs
fa6d0c1d71 - fix test livedata stub - methods 2023-01-26 14:13:45 -04:00
denihs
d590d20e19 - fix receive data and buffering data 2023-01-24 15:52:02 -04:00
denihs
860e796812 - fixing reconnect tests 2023-01-20 10:54:14 -04:00
Edimar Cardoso
890e1dfb9a Refectory mongo packages
- Using isomorphy async methods with the suffix Async;
- Changing tests to use async methods on client and server
- Fix tests
2023-01-17 15:05:49 -03:00
Edimar Cardoso
1b2b87499b Fix error for undefined global.asyncLocalStorage 2023-01-06 16:43:46 -03:00
Edimar Cardoso
2244ec31e6 Merge branch 'release-3.0' into release-3.0-mongo-tests 2023-01-06 10:50:18 -03:00
denihs
ce22f2d548 - fixing all tests for accounts-password
- small fix for ddp-client, checking if the call isFromCallAsync. If yes, return the promise so we can get the result
- showing test name when it runs after process is done
2022-12-28 11:44:54 -04:00
Edimar Cardoso
6587c38710 Fix Mongo Async tests 2022-12-19 14:17:18 -03:00
denihs
fa878234ad fixing "publish multiple cursors" test 2022-12-08 13:02:53 -04:00
denihs
aee880e2bc fixing "livedata - compound methods" test 2022-12-08 12:47:55 -04:00
denihs
aae8843a25 fixing "livedata - changing userid reruns subscriptions without flapping data on the wire" test 2022-12-08 10:42:27 -04:00
denihs
dc21bbeb2a fixing "livedata - DDP.randomStream" test 2022-12-07 14:27:34 -04:00
denihs
068e655514 fixing "livedata - method call on server blocks in a fiber way" test 2022-12-07 14:23:18 -04:00
denihs
1fc3d0cd64 fixing livedata stub and livedata connection tests 2022-12-07 14:19:25 -04:00
denihs
a308098633 fixing _scheduleRun: It was adding an infity amount of tasks.
fixing tests
2022-12-06 18:16:35 -04:00
denihs
fb40d960b8 ddp-server and ddp-client are now ddp-server-legacy and ddp-client-server
ddp-server-async and ddp-client-async are now ddp-server and ddp-client
2022-12-05 10:11:41 -04:00
denihs
99f1e88acd Merge branch 'release-2.9' into async-ddp
# Conflicts:
#	packages/meteor/package.js
#	packages/mongo/package.js
2022-11-30 17:35:41 -04:00
Gabriel Grubba
36d64af64d Meteor version to 2.8.1 ☄️ 2022-11-14 08:20:31 -03:00
Edimar Cardoso
c73571a49a Separate ddp-client packages into two packages
- packages/ddp-client: current Fibers implementation;
- Packages/ddp-client-async: New version without Fibers (Work in progress)
2022-11-10 16:58:46 -03:00
Gabriel Grubba
9ddb1eb06a Meteor version to 2.8.1-rc.0 ☄️ 2022-11-10 10:18:33 -03:00
Edimar Cardoso
97813d63fe Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-08 10:19:38 -03:00
Gabriel Grubba
9afbdc7e75 Meteor version to 2.8.1-beta.2 ☄️ 2022-11-07 17:05:39 -03:00
Edimar Cardoso
04320b4409 Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-04 17:08:24 -03:00
Gabriel Grubba
995546f58e Meteor version to 2.8.1-beta.1 ☄️ 2022-11-04 10:46:46 -03:00
Gabriel Grubba
b61729248e Meteor version to 2.8.1-beta.0 ☄️ 2022-10-27 11:06:21 -03:00
denihs
d24bf3a797 In the client, don't wait if the stub doesn't return a promise 2022-10-25 09:23:27 -03:00
Gabriel Grubba
1e893d3e9a Meteor version to 2.8.0 ☄️ 2022-10-17 10:20:40 -03:00
denihs
ef8796a44e - Migration guide review
- changing how to handle Meteor.callAsync().then()
2022-10-13 17:45:47 -04:00
denihs
fb91f639cc updating docs and migration guide 2022-10-11 11:40:16 -04:00
Gabriel Grubba
88ab016017 Meteor version to 2.8-rc.0 ☄️ 2022-10-06 18:14:04 -03:00
denihs
75d3de3d1a typo 2022-10-06 14:23:39 -04:00
denihs
c7fe33bf8b updating callAsync arguments comment 2022-10-06 14:20:14 -04:00
denihs
662eee3bf9 Changes from code review 2022-10-06 14:17:50 -04:00
denihs
8c07f63d10 Calling Meteor.bindEnvironment() inside callAsync, so the context is rightly set before calling stub 2022-10-05 19:28:14 -04:00
denihs
2542ae9970 Changing variables' and functions' names. 2022-10-05 17:44:31 -04:00
denihs
3c467fcf23 Removing withValueAsync from the client, so we can keep compatible with older browsers. 2022-10-04 17:55:32 -04:00
denihs
11eee0e998 Removing verifications for call and callAsync 2022-10-01 18:19:05 -04:00
denihs
b5a2f13758 - throwing error instead of just warning when calling Meteor.call with async methods 2022-09-22 17:25:26 -04:00
denihs
7be67c1301 - fixing typo 2022-09-22 16:09:57 -04:00