Commit Graph

11785 Commits

Author SHA1 Message Date
Matheus Castro
fb5e207e43 Improving refactor of synchronous queue. 2022-10-20 23:24:38 -03:00
Matheus Castro
e52001e7d3 Fix conflicts with merge on latest 2.8. 2022-10-19 17:22:22 -03:00
Matheus Castro
6b4345b6a3 Refactor and modernize observe_multiplex.js 2022-10-19 17:21:52 -03:00
Matheus Castro
e6efc44c2e Create async queue and add helpers to OrderedDict and IdMap 2022-10-19 17:20:52 -03:00
Matheus Castro
88a0bf88db # Conflicts:
#	packages/mongo/mongo_driver.js
#	packages/test-helpers/async_multi.js
#	packages/test-helpers/package.js
#	packages/tinytest/tinytest.js
#	packages/tinytest/tinytest_server.js
2022-10-17 17:30:44 -03:00
Matheus Castro
1c590919b8 # Conflicts:
#	packages/mongo/mongo_driver.js
2022-10-17 17:27:41 -03:00
Matheus Castro
63bc15b5b7 Working on mongo-livedata tests. 2022-09-30 17:01:29 -03:00
Matheus Castro
9a8164f70a Update the store when setting the meteor_dynamics value. 2022-09-13 15:56:38 -03:00
Matheus Castro
24b01a4cb8 Correctly implement forEach (make it synchronously run the callbacks) and apply that to map.
Also, correctly implement the withValue from the Meteor.EVp. Seems that the values were being set the wrong way.
2022-09-06 18:51:12 -03:00
Matheus Castro
a3e82c8884 Create helper to promisify functions that have callbacks with errors first parameter.
Apply this to create real async insert method for mongo.
2022-09-02 21:31:41 -03:00
Matheus Castro
f928926244 Create findOneNoFibers and make async_multi correctly handle async functions. 2022-08-31 16:50:56 -03:00
Matheus Castro
6aecc664a7 Fix ecmascript tests and ensure that we don't have a Fiber when running with the DISABLE_FIBERS flag enabled. 2022-08-29 20:59:21 -03:00
Matheus Castro
8d5983d2bc Create Meteor._runAsync helper. 2022-08-29 20:30:46 -03:00
Matheus Castro
bd61ad58ba Remove Fibers from TinyTest package. 2022-08-26 23:02:22 -03:00
Matheus Castro
2f5e8e4432 Correctly implement the usage of promises for the publication initial and stop handles. Seems that waiting with the while loop is enough (?), but it's something we will need to confirm. 2022-08-26 19:51:34 -03:00
Matheus Castro
40cdbefe71 Adapting oplog and observer to run without Fibers. The publication "works" right now, but I still need to check if we need to wait and why. 2022-08-25 22:20:30 -03:00
Matheus Castro
c2c7fbaf03 Correctly support async callbacks on cursor.map. 2022-08-24 13:42:30 -03:00
Matheus Castro
8ed48bce29 Livedata Server should work with fibers too. 2022-08-24 10:51:22 -03:00
Matheus Castro
d752c8dab8 Create AsynchronousCursor wrapper to use instead of SynchronousCursor. This is kinda of a "light-wrapper", just to keep our current API.
Also, run _startTailing on the callback of the database command.
2022-08-23 16:52:00 -03:00
Matheus Castro
81c38dc4eb For now, don't defer and then yield when waiting for the task to run.
At least for autoupdate, this doesn't seem to affect. Still need to check for the other places.
2022-08-20 00:18:51 -03:00
Matheus Castro
26b16b5db3 Move ASL helpers to it's own file and attach it to Meteor's global object.
On tools, however, we still need to use the process.env value (when starting the server in boot.js).
2022-08-19 20:03:25 -03:00
Matheus Castro
a40ec5392f Add code from "fibers-optional" branch with some modifications:
- Create new context for DDP server too.
- Removing some console.logs + adding some TODOS.
2022-08-18 13:16:21 -03:00
Frederico Maia Arantes
51d750e076 Revert "Reverts npm-shrinkwrap.json"
This reverts commit b87da4cfc9.
2022-08-16 12:01:19 +02:00
Frederico Maia Arantes
b87da4cfc9 Reverts npm-shrinkwrap.json 2022-08-16 11:35:38 +02:00
Gabriel Grubba
a5da560dba Merge pull request #12116 from meteor/improved-oplog-converter
Improved `oplogV2V1Converter` implementation.
2022-08-15 15:48:58 -03:00
Gabriel Grubba
7b0c52d916 Merge branch 'release-2.7.4' into improved-oplog-converter 2022-08-15 15:04:21 -03:00
Gabriel Grubba
471e7df511 Merge branch 'release-2.7.4' into exit-on-connection-error 2022-08-15 14:43:25 -03:00
Gabriel Grubba
e13cfc386c Merge branch 'devel' into exit-on-connection-error 2022-08-15 14:42:05 -03:00
Frederico Maia
d00e3ec004 Merge branch 'devel' into release-2.7.4 2022-08-15 19:39:01 +02:00
Frederico Maia
1ef40ffdb1 Merge branch 'devel' into update-standard-minifier-js-deps 2022-08-15 19:38:16 +02:00
Frederico Maia Arantes
2eda14a236 Update @babel/runtime from the standard-minifier-js package. 2022-08-15 18:02:40 +02:00
Frederico Maia Arantes
e0ed25f64d Revert "Update @babel/runtime from the standard-minifier-js package."
This reverts commit bc6a943312.
2022-08-15 17:59:41 +02:00
Frederico Maia Arantes
bc6a943312 Update @babel/runtime from the standard-minifier-js package. 2022-08-15 17:58:47 +02:00
Frederico Maia Arantes
2c6803a14e Update babel, source-map, and micromatch from the standard-minifier-css package. 2022-08-15 17:56:28 +02:00
Gabriel Grubba
3a1fff5d23 Merge pull request #12125 from meteor/fixed-failover-hook
Fixed `MongoConnection._onFailover` hook (fixes #12118).
2022-08-15 11:20:25 -03:00
Frederico Maia
d9b7b8f265 Merge branch 'devel' into release-2.7.4 2022-08-15 12:37:55 +02:00
Frederico Maia
ccc2a26dec Merge branch 'devel' into update-terser-minifier-js 2022-08-15 12:35:39 +02:00
Frederico Maia Arantes
437b6dc344 Update terser from 5.12.1 to 5.14.2 2022-08-14 21:08:05 +02:00
Frederico Maia Arantes
d8c6f7cfaa Update postcss from 8.3.5 to 8.4.16 2022-08-14 20:48:23 +02:00
Radosław Miernik
02999b308a Added exit on Mongo connection error. 2022-08-13 10:47:19 +02:00
Radosław Miernik
abe2fb07a2 Trigger _onFailover hook when new primary is elected. 2022-08-13 10:45:09 +02:00
Radosław Miernik
d65bdf94ce Fixed MongoConnection _onFailover hook (fixes #12118). 2022-08-13 10:45:08 +02:00
Radosław Miernik
d2ef1481c8 Cached env variable. 2022-08-13 10:44:18 +02:00
Radosław Miernik
e0b349f3e4 Improved oplogV2V1Converter implementation. 2022-08-13 10:44:17 +02:00
Gabriel Grubba
7f88714b77 Meteor version to 2.8-beta.1 🎉 2022-08-12 10:54:34 -03:00
denihs
959f9f33d9 Merge branch 'dev-bundle-14.20.0.0' into release-2.7.4 2022-08-04 13:59:04 -04:00
denihs
f21b9b2391 Meteor version to 2.8 🎉 2022-08-04 13:56:05 -04:00
denihs
97c555604e - updating history.md 2022-08-04 10:43:47 -04:00
denihs
3888def58b - bumping packages version 2022-08-04 09:51:11 -04:00
Denilson
14a77e9742 Merge pull request #12097 from radekmie/mongo-driver-4.8
Updated MongoDB driver to 4.8
2022-08-04 09:07:40 -04:00