Commit Graph

206 Commits

Author SHA1 Message Date
Gabriel Grubba
e18d7cd3a5 chore: updated run mongo shell to use mongosh 2023-01-25 15:29:49 -03:00
Gabriel Grubba
044a757f3c Merge branch 'devel' into release-2.8.1 2022-11-17 14:19:38 -03:00
Dirk Stolle
088e52f386 fix a few typos in tools directory 2022-11-03 17:42:40 +01:00
Gabriel Grubba
7c56fa4549 Merge pull request #12236 from harryadel/output-port-on-restart
Show port in restart message
2022-10-21 14:53:37 -03:00
Gabriel Grubba
815d83154f Merge pull request #12081 from itgenio/refactoring/tools_run-updater
[Refactoring] modernize `tools/run-updater.js`
2022-10-21 14:25:27 -03:00
harryadel
ec48d0d762 Use rootUrl to display port number on rebooting 2022-10-21 11:06:47 +02:00
harryadel
a4ca60e819 Append port to restart message 2022-10-20 14:48:11 +02:00
Denilson
120515677b Merge branch 'release-2.7.4' into revert-12083-revert-12072-refactoring/remove-unused-imports 2022-08-04 09:12:53 -04:00
Radosław Miernik
39f04caa2b Removed unnecessary connects. 2022-07-26 13:47:42 +02:00
Denilson
aece11a87f Revert "Revert "Refactoring/Remove unused imports from tools folder"" 2022-07-13 08:37:42 -04:00
Denilson
f8114747cd Revert "Refactoring/Remove unused imports from tools folder" 2022-07-13 08:33:07 -04:00
afrokick
6d7caa7e26 modernize run-updater.js
fix a little bug in stop
2022-07-07 23:03:22 +03:00
afrokick
094cb6b322 remove unused imports from tools 2022-07-06 19:27:53 +03:00
Renan Castro
6a3d6c8372 Set explicitly write concern to w:1 on mongo v5 when running locally 2022-01-31 09:41:28 -03:00
Renan Castro
d4bff7199a Find count() no longers accept applySkipLimit, instead it takes no options anymore
Use insertOne/insertMany
2022-01-21 13:28:34 -04:00
Renan Castro
ae7d5c107b poolSize is no longer an option
db.serverConfig is no longer available, topology events are emmited from MongoClient
2022-01-21 13:28:33 -04:00
Renan Castro
f67c70519f native_parser is no longer an option, and we cant connect anymore with new Server() 2022-01-21 13:28:33 -04:00
Renan Castro
b87f326329 waitForStepDownOnNonCommandShutdown is not needed anymore 2022-01-21 13:28:33 -04:00
Renan Castro
5ce42b98ba Support arm64 on darwin when building the dev bundle - split command 2021-10-22 12:26:56 -03:00
Renan Castro
4bb642cd0b Support arm64 on darwin when building the dev bundle - use mongo x86_64 with rosetta runners on mac m1 2021-10-22 11:16:56 -03:00
zodern
371a69f731 Fix race conditions in HMR
- To know which change sets to apply, the client needs to know when the version running was built. It used the time the client loaded, but it could have loaded after a new version of the app was built, especially on cordova. Now it uses the actual time the client was built.
- On cordova, there is a delay between the client knowing there is an update available, and being able to reload the page to use the new version.
2021-10-12 22:43:55 -04:00
zodern
8813bdd3df Check origin instead of HMR secret for cordova 2021-10-12 22:43:55 -04:00
Jan Dvorak
bac389c9a9 METEOR_SETTINGS accepted always 2021-09-01 10:07:05 +02:00
Jan Dvorak
29adc93949 Fix #9907 2021-08-04 15:34:19 +02:00
Jan Dvorak
b6e127cfc9 Minor tools update
Replace underscore where easy and feasible & other minor modernization that I came across.
2021-06-25 00:36:03 +02:00
filipenevola
125846cefa Merge branch 'release-2.3' into feature/accurate-unused-files-tracking
# Conflicts:
#	tools/isobuild/compiler.js
2021-06-14 13:46:52 -04:00
zodern
baaf524163 Ignore changes to unused files in client watchset 2021-05-14 16:37:43 -05:00
Jan Dvorak
7ed9cc941f Merge pull request #11405 from meteor/fix/hmr-bugs
Fix HMR bugs
2021-05-11 22:50:59 +09:00
zodern
a604b7c577 Send eager updates for non-reloadable change sets 2021-05-07 16:42:13 -05:00
zodern
017bd4396e Fix hmr path when rootUrl is undefined 2021-05-07 11:40:56 -05:00
zodern
07871e9a2e Merge branch 'devel' into reify-runtime-compiler-cache 2021-04-30 17:26:39 -05:00
zodern
15f64f5bfe Fix using HMR when ROOT_URL has a path 2021-04-30 14:48:04 -05:00
zodern
6038bd5c59 Add cache for reify runtime compiler 2021-04-26 13:57:12 -05:00
Renan Castro
4ca55460b9 Fix replica set init message check 2021-04-02 10:36:22 -03:00
filipenevola
643644f7b5 Fix MongoDB startup checks 2021-04-01 17:24:47 -04:00
filipenevola
12afa3eb14 Fixes error on Mongo start in Node 14 2021-02-10 18:49:13 -04:00
zodern
8b1ba05b50 Only set hmr secret env var when HMR is enabled 2021-01-18 14:53:02 -06:00
zodern
68447d7d5a Show build errors in client 2021-01-14 21:33:25 -06:00
zodern
64165aab0e Reduce HMR logs 2021-01-14 17:25:27 -06:00
zodern
59bf534baa Ignore changes to hash of files created as alias 2021-01-14 16:29:46 -06:00
zodern
0477a59978 Fix default value for onJsOutputFiles 2020-10-12 09:07:34 -05:00
zodern
01400b50eb Improve handling wrong HMR secret or different app 2020-10-10 20:52:25 -05:00
zodern
ab3d407d22 Integrate HMR into the meteor tool 2020-10-10 20:52:18 -05:00
Filipe Névola
94cd41f760 Merge pull request #11114 from meteor/full-rebuild-build-in-place 2020-07-09 13:17:27 -04:00
zodern
97d5679889 Enable in place builds for full rebuilds on Windows 2020-07-08 10:09:06 -05:00
filipenevola
da2c653803 Adds message for when Mongo server is not starting on Windows. 2020-06-24 10:06:18 -04:00
Seba Kerckhof
9c9a8263ab Add separate SERVER_NODE_FLAGS envar (#10965)
* Add separate SERVER_NODE_FLAGS envar

Since Meteor 0.5.3, Meteor allowed to pass node command line flags
to the server node process via the `NODE_OPTIONS` environment variable.

However, since Node version 8 / Meteor 1.6 this has become a default node
envar with the same behavior:
https://nodejs.org/api/cli.html#cli_node_options_options

The side effect is that this now also affects Meteor tool.

The command line parameters could already be set separately via the `TOOL_NODE_FLAGS` envar.
This is now also possible (again) for the server.
2020-04-17 20:17:53 -04:00
Kyle Shankwiler
6803d8dfd1 Add an error message warning developers of oversized headers. (#10877)
* Add an error message warning developers of oversized headers.

An explanation of the issue being logged can be found here: https://forums.meteor.com/t/meteor-1-8-1-unexpected-error-too-many-csp-rules/48447/12.

* Ensure the large request header test works as intended
2020-04-17 11:32:21 -04:00
Ben Newman
a467255d9c Use IPC message to handle .reload command in meteor shell.
I considered using a nonzero process.exit code, but I didn't want to run
any risk of reusing a meaningful code, and the accepted range of codes
unfortunately does not include parseInt("reload", 36), or 1657112629.

Should fix #10934.
2020-02-26 12:13:48 -05:00
Seba Kerckhof
28d898dd0b Merge branch 'devel' into error-page-syntax-highlighting 2020-01-23 16:52:52 +01:00