Commit Graph

18157 Commits

Author SHA1 Message Date
David Glasser
b7286fc90d Make deploy errors easier to identify 2017-01-05 13:11:01 -08:00
Ben Newman
c29a1e9b0b Remove packages/ui (superseded by packages/non-core/blaze/packages/ui).
https://github.com/meteor/meteor/pull/8212#issuecomment-270330469
2017-01-04 11:58:27 -05:00
Ben Newman
2eab0b2bf4 Preserve true "main" and "browser" fields of package.json modules.
Previously, when building a JavaScript bundle for the client, if a
package.json file had a string-valued "browser" field, we would replace
the value of the "main" field of the bundled package.json module with the
value of the "browser" field. This trick was important because it allowed
an npm package to have a different entry point on the client than it had
on the server.

However, that approach became inconsistent if the package.json file was
also explicitly imported as a module, because the package.json stub used
for module resolution prevented the real contents of package.json from
getting bundled, and disagreed with the original package.json module about
the value of the "main" field.

To resolve that inconsistency, it seems better to avoid modifying the
"main" field of package.json modules, and instead rely on the runtime
module system to make sense of the "browser" field, regardless of whether
the package.json module is a stub used only for module resolution or
contains the full contents of the original package.json file.

The ability to understand "browser" fields of package.json modules was
introduced in install@0.8.3:
377d1a3b51

This is potentially a backwards-incompatible change for developers using
this version of `ImportScanner` and `Resolver` who have not yet upgraded
their `modules-runtime` package to at least version 0.7.8. The solution is
to upgrade `modules-runtime`, though it would be nice to enforce that
better somehow.
2017-01-04 11:54:17 -05:00
Ben Newman
58b79e0ef0 Merge branch 'master' into devel 2017-01-03 19:44:48 -05:00
Ben Newman
082183e67c Merge pull request #8203 from abernix/feature/fix-8202-skel-packagejs
Ensure `babel-runtime` is included in "skeleton" variations
2017-01-03 19:28:39 -05:00
Ben Newman
90cb62598e Merge pull request #8205 from elie222/patch-1
Fastclick will break selects on Chrome mobile
2017-01-03 18:54:41 -05:00
Ben Newman
5a2ad2c323 Merge pull request #8199 from ScottBrenner/devel
Fixed twitter_configure.html URL
2017-01-03 18:50:02 -05:00
Ben Newman
baacc637ed Merge pull request #8186 from hwillson/issue-3255
Small content change to point to the Meteor Tool README for "self test" info
2017-01-03 18:46:35 -05:00
Jesse Rosenberger
d15e1f9172 Ensure babel-runtime is included in skelton variations & bump versions
Also updated the `meteor-node-stubs` to the latest published release.

Closes meteor/meteor#8202
2017-01-04 01:44:05 +02:00
Ben Newman
1ee3774bdb Merge pull request #8183 from cwohlman/remove-insecure-packages-from-bare-skeleton
Remove autopublish and insecure from the bare skeleton app
2017-01-03 18:43:36 -05:00
Ben Newman
722082f343 Merge pull request #8179 from OleksandrChekhovskyi/node-mongodb-2.2.16
Update node-mongodb driver to 2.2.16
2017-01-03 18:36:21 -05:00
Ben Newman
0963bda60e Merge pull request #8173 from hwillson/issue-7240
Adjusted DDP error docs to reflect proper error object properties
2017-01-03 18:24:36 -05:00
Ben Newman
59aca741cc Merge pull request #8172 from hwillson/issue-7843
Updated all webapp project URLs (issue #7843)
2017-01-03 18:22:00 -05:00
Ben Newman
d8317856d1 Merge pull request #8169 from hwillson/issue-3786
Adjusted Minimongo to prohibit dot based field name inserts, to fix issue #3786
2017-01-03 18:20:30 -05:00
Ben Newman
54c21885c8 Merge pull request #8204 from mitar/new-blaze-history
Updated packages/non-core/blaze submodule to new Blaze history.
2017-01-03 18:17:07 -05:00
Eliezer
229b7e7c78 Update README.md 2016-12-30 04:04:05 -10:00
Eliezer
f0a2c8cfe4 Fastclick will break selects on Chrome mobile
See here:
https://github.com/ftlabs/fastclick/issues/497
And here:
https://productforums.google.com/forum/#!topic/chrome/Q4Rt6d0C4Qo

I just spent hours trying to figure out why selects haven't been working on my site, and finally found out it was fastclick.
2016-12-30 02:39:56 -10:00
Mitar
dfbd552044 Updated submodule to new Blaze history. 2016-12-30 09:52:23 +01:00
Oleksandr Chekhovskyi
3d3c81830a Update node-mongodb driver to 2.2.16
This fixes an issue where the driver fails to recover from unresponsive
primary in a replica set.
2016-12-29 20:06:56 +01:00
Scott Brenner
433fd3bf2b Fixed twitter_configure.html URL
In reference to https://github.com/meteor/meteor/issues/8190
2016-12-28 11:55:33 -08:00
Hugh Willson
b98d2711c6 Small content change to point to the Meteor Tool README for "self test" info. 2016-12-22 11:05:28 -05:00
Hugh Willson
fc54cdfa40 Made sure $set an $rename don't allow null bytes. 2016-12-22 10:20:50 -05:00
Joshua Ohlman
0a87fa5df6 Remove autopublish and insecure from the bare skeleton app
Fixes #8145
2016-12-22 07:54:21 -06:00
Hugh Willson
91867c90db Updated webapp links to point to master instead of devel. 2016-12-21 13:17:03 -05:00
Hugh Willson
50d9de26f8 Updated the invalid field character check to include $ and null bytes. 2016-12-20 10:11:53 -05:00
Hugh Willson
7a4d6f66a0 Adjusted DDP error docs to reflect proper error object properties (issue #7240). 2016-12-19 16:48:04 -05:00
Hugh Willson
e000e5351c Updated all webapp project URLs (issue #7843). 2016-12-19 15:38:28 -05:00
David Glasser
8a81e7156e Fix missing var in mongo package. 2016-12-19 11:43:14 -08:00
Ben Newman
3b632c2281 Merge pull request #8166 from brucejo75/devel
fix for #8160
2016-12-19 12:50:32 -05:00
Hugh Willson
36b76441c7 Adjustment to make sure we're only checking string fields for dots. 2016-12-19 12:47:27 -05:00
Hugh Willson
5a3aa8394a Added ecmascript dependency; Replaced dot finding regex with JSON.stringify replacer function. 2016-12-19 11:47:00 -05:00
Hugh Willson
955c1c03b3 Adjusted minimongo to prohibit inserts with field names that contain dots, to address issue #3786. 2016-12-19 10:06:37 -05:00
brucejo
ffd0a50f94 Check for is Array via _.isArray, instanceOf does not work cross window 2016-12-17 08:33:55 -08:00
Sashko Stubailo
8e32da57a1 Update formatting again 2016-12-13 19:25:45 -08:00
Sashko Stubailo
23994623f9 Update README formatting 2016-12-13 19:25:16 -08:00
Ben Newman
84ed04b8f3 Merge pull request #7985 from akvadrako/on_message_hook
add onMessage hook
2016-12-13 19:17:51 -05:00
Ben Newman
83b05896c3 Merge pull request #8142 from abernix/feature/fix-7849-stale-cordova-build
Cordova project preparation must occur before copying to the build
2016-12-13 19:01:49 -05:00
Ben Newman
a439ea1f69 Merge pull request #8081 from fuww/fix-oauth-root-url
Fix oauth ROOT_URL_PATH_PREFIX
2016-12-13 18:58:00 -05:00
Ben Newman
31077c8381 Merge pull request #8151 from abernix/feature/fix-4054-console-corruption
Fix console glitch when using some admin package functions
2016-12-13 18:55:13 -05:00
Ben Newman
95c228c325 Merge pull request #8152 from abernix/fix-5346
`meteor shell` should pass its TTY width to the server on connect
2016-12-13 18:49:37 -05:00
Sashko Stubailo
cf744f800b Update roadmap for december 2016 (#8153) 2016-12-13 14:31:08 -08:00
Jesse Rosenberger
4a16e649cc Fix console glitch when using some admin package functions
Tiny fix for an old issue where the console output would get corrupted when running `meteor admin set-unmigrated` or `meteor admin change-homepage` due to missing newline on `rawInfo` command.

Fixes meteor/meteor#4054
2016-12-13 15:54:10 +02:00
Jesse Rosenberger
1fda39b3a0 Cordova project preparation must occur before copying to the build
This fixes a regression caused by 88d43a0f16 which is demonstrated in meteor/meteor#7849.

Essentially, with the current implementation some Cordova build elements are "stale" when the build is copied.  For example, if you execute a `meteor run ios` and then `meteor build . --server=http://example.com/` (note: `example.com`) the `config.xml` (`<access origin />`), the boilerplate HTML (`__meteor_runtime_config__`) and other elements of the bundle (`Info.plist` on iOS) will still contain the previously used `http://<local_ip>:3000` address instead of `http://example.com` as they should.

Additionally, it would appear that it's impossible to actually checkout a project and immediately run `meteor build` without running `meteor run (android|ios)` first.

Various work-arounds for this seem to exist, such as running `meteor build` twice, or running `meteor run --server=http://production.com` first.

Ultimately, this is occurring because the bundle is being copied before the Cordova `prepareForPlatform` occurs which I believe was not intended.

There is already a test in place which fails without this fix, but marked as `slow` and therefore not executed on CircleCI.  Specifically, `cordova builds with server options` would have caught this.  Forcibly running this test locally now passes with this change.

Fixes meteor/meteor#7849
Fixes meteor/meteor#7291
Fixes meteor/meteor#6756
2016-12-12 17:11:55 +02:00
Jesse Rosenberger
23c52ff002 meteor shell should pass its TTY width to the server on connect
Previously, the width (or "columns") for the readline shell was being obtained on the server.  This causes problems for clients which are connecting to the server which are sized differently.

The client will still have problems if they resize AFTER they are connected to the REPL, but at least they have the option of being a different size.

A more complete solution would be to have the client listen on process.stdout "resize" and pass that to the server when it occurs, but I'm not sure of an easy way to do that with the current communication (perhaps pause-reconfigure-unpause?).

Fixes meteor/meteor#5346
2016-12-12 12:57:16 +02:00
Ben Newman
cf4133c763 Merge branch 'release-1.4.3' into devel 2016-12-07 14:12:42 -05:00
Ben Newman
c076276a11 Merge branch 'devel' into release-1.4.3 2016-12-07 14:11:52 -05:00
Ben Newman
4418acd080 Merge pull request #8133 from GeoffreyBooth/coffeescript-1.12.0
Use CoffeeScript 1.12.0
2016-12-06 20:32:26 -05:00
Sashko Stubailo
400302f0f8 Update LICENSE 2016-12-06 16:17:15 -08:00
Sashko Stubailo
f8b92d0eb9 Update LICENSE 2016-12-06 16:16:29 -08:00
Sashko Stubailo
0fc9d1bc4f Rename LICENSE.txt to LICENSE 2016-12-06 16:15:45 -08:00