Commit Graph

19033 Commits

Author SHA1 Message Date
Seba Kerckhof
b010e205bc Fix documentation on MAIL_URL value (#8805)
* Fix documentation on MAIL_URL value

See https://github.com/meteor/meteor/issues/8804

* Fix long-lines for History.md.

This file is kept word-wrapped. :)

* Additional clarification.

E-mail protocols are far too confusing.

I will squash this commit.
2017-06-15 14:13:59 +03:00
Simon Fridlund
a4de554a95 Bind environment of observeChanges callbacks (#8734)
* Bind environment of observeChanges callbacks

This will also bind observe callbacks

* Test bound environment in observeChanges

* Use named exception handler in bindEnvironment

If an observe/observeChanges callback throws and error this will make it a bit easier to figure out where the error came form.

* Update History.md

Being a bit more specific always helps.
2017-06-14 18:29:47 +03:00
Jesse Rosenberger
f65a72f25c Merge pull request #8760 from meteor/abernix/change-default-email
Change default `from` email for `accounts-password` to an "example".
2017-06-13 15:32:30 +03:00
Ben Newman
7e1d4ba6a1 Don't skip reinstalling unchanged Npm.depends-style dependencies. (#8787)
Fixes #8732.
Should also fix #8747.
2017-06-12 16:59:34 -04:00
Ben Newman
00a9ed7f1c Merge pull request #8773 from meteor/abenrix/update-rimraf-2.6.1
Attempt to fix "ENOTEMPTY" by updating rimraf dependency.
2017-06-12 13:35:22 -04:00
Ben Newman
a7f898c39b Partial fix for #8775. (#8776)
This may not be a complete fix for issue #8775, but I noticed while
debugging the issue that LocalCollection._removeDollarOperators isn't
removing nested $operators (as it seems like it should be):
d6c4281eeb/packages/minimongo/minimongo.js (L790)

cc @hwillson
2017-06-12 13:34:39 -04:00
Jesse Rosenberger
dc8efec419 Merge pull request #8774 from meteor/abernix/bundle-visualizer-ver-unpin
Remove check for standard-minifier-js@2.1.x from `bundle-visualizer`.
2017-06-12 18:02:53 +03:00
Jesse Rosenberger
6df0daebb8 Bump version of bundle-visualizer to 1.0.3.
For the change made in 79b1075ed.
2017-06-09 19:37:33 +03:00
Jesse Rosenberger
79b1075ede Remove check for standard-minifier-js@2.1.x from bundle-visualizer.
While this was helpful in one of the incarnations of the
bundle-visualizer during development it isn't relevant anymore since
the `.stats.json` will not be present in the bundle unless it was
created by a recent version of `standard-minifier-js` which passed
in `stats` (no older versions did this).

Removing this check will also make it possible for other minifiers to be
used with `bundle-visualizer` without them also needing to fork make
their own version.
2017-06-09 19:32:09 +03:00
Jesse Rosenberger
e82a43ea11 Bump $BUNDLE_VERSION to 4.8.18 before rebuilding dev bundle.
To include the change from b04ce29bac.
2017-06-09 14:10:25 +03:00
Jesse Rosenberger
b04ce29bac Update rimraf to latest version to hopefully help ENOTEMPTY errors.
There have been a number of commits in the history for `rimraf` which
indicate others have also been struggling with ENOTEMPTY, specifically
on Windows.

https://github.com/isaacs/rimraf/commits/master

This commit, included in 2.6.1 takes a relatively aggressive approach:

d53235de86

However, due to the way the Windows filesystem is designed, this
approach may be the only way of coping with file-handles which are
cached by the OS and not released immediately upon closing a file
(in other words, at a time that Meteor would think it'd be safe to
remove the file/directory).

Attempts to help with meteor/meteor#8485.
2017-06-09 14:09:23 +03:00
Ben Newman
c2c7fab2ed Bump ecmascript-runtime-client package version to 0.4.2. 2017-06-07 20:49:01 -04:00
Ben Newman
a75fc8f04f Bump minimongo package version to 1.2.1. 2017-06-07 20:48:47 -04:00
Ben Newman
fd043314a9 Remove unnecessary ...[a, b] spread argument. 2017-06-07 20:46:43 -04:00
mbrobbel
3af430272e Add required TypedArray polyfills. 2017-06-07 20:46:42 -04:00
mbrobbel
d780b4de1b Update ecmascript-runtime to test Array polyfills. 2017-06-07 20:45:36 -04:00
mbrobbel
912906a84c Update ecmascript-runtime to test Number polyfills. 2017-06-07 20:45:30 -04:00
mbrobbel
2a93c7c9e1 Improve minimongo bitwise query operators 2017-06-07 20:11:13 -04:00
Jesse Rosenberger
c92c8096fe Remove "Slow Start" from README.
Witty as it may be, the contribution guidelines are already listed here (and I've cleaned them up a bit too) and I'm not sure if this terminology is encouraging anyone to contribute their (precious) time.
2017-06-07 16:18:11 +03:00
Jesse Rosenberger
1a8bbe0fb4 Reposition "Developer Resources" higher in README.
Dev resources are more important than uninstallation instructions!
2017-06-07 15:56:49 +03:00
Jesse Rosenberger
32636e7c9b Added alt tag to Meteor logo. 2017-06-07 15:53:58 +03:00
Jesse Rosenberger
55c6a9307b Merge pull request #8767 from meteor/abernix/readme-logo
Add a Meteor Logo to the top of the README.
2017-06-06 20:12:06 +03:00
Jesse Rosenberger
4a02872cad Add a Meteor Logo to the top of the README.
I think the Meteor README is deserving of some glitz and glamor.
2017-06-06 20:10:14 +03:00
Hugh Willson
3e6c400ed4 Adjusted to add references to the new meteor/meteor-feature-requests repo (#8764)
* Adjusted to add references to the new meteor/meteor-feature-requests repo.
* Small tweak to expose label links for both bugs and feature requests.
2017-06-06 12:30:36 -04:00
Ben Newman
cdc047bbc7 Update unicode asset sanitization tests (and History.md). 2017-06-06 12:25:33 -04:00
Ben Newman
a2f26cbe6e Fix #8761 in three different ways.
The root of the problem was that the es5-ext npm package contains
directories called '#', e.g.
https://github.com/medikoo/es5-ext/tree/master/array/%23

These directory names were being sanitized to '' and thus ignored when
reserving paths in the Builder, which led to reservation conflicts later.

This commit fixes the problem in three different and independently
sufficient ways:

* Use files.mkdir_p instead of files.mkdir when creating parent
  directories of written files.

* Replace illegal characters in sanitized paths with '_' instead of ''.

* Allow '#' in sanitized paths (only needs to be escaped in the shell, not
  actually forbidden in paths).
2017-06-06 12:25:33 -04:00
Jesse Rosenberger
cd8fa7e106 History entry for meteor/meteor#8760. 2017-06-06 09:48:21 +03:00
Jesse Rosenberger
4be0fbd594 Bump accounts-password to 2.0.0.
Since changing the default "from" address could actually be a breaking
change for some applications, bump the version to 2.0.0.

Relates to meteor/meteor#8760.
2017-06-06 09:42:20 +03:00
Jesse Rosenberger
bf7fefa568 Change default from email for accounts-password to an "example".
Currently, the default "from" address for `meteor-accounts` is
"no-reply@meteor.com".  While this works for many users, and granted it
is a "no reply" address and there should be no expectation of the
address working, it contributes to a negative spam rating for the
"meteor.com" domain and a surplus of extra e-mail.

The correct way to set the default "from" address is by setting:

    Accounts.emailTemplates.from = "Name <email@domain.com>";

As per the documentation here:

    https://docs.meteor.com/api/passwords.html#Accounts-emailTemplates

By changing it to "example.com", and making a more obvious "example"
out of the name ("Accounts Example"), it should encourage users to
actually change the address to something more reasonable especially
since many e-mail providers will also reject mail coming from
"example.com", which should provide a clear warning to those who have
their e-mail misconfigured.
2017-06-05 19:45:38 +03:00
Ben Newman
40f1d99e2c Stop polyfilling global.Buffer in modules test app. 2017-06-02 16:37:19 -04:00
Ben Newman
929fa0e90e Test that require("module") returns Module constructor on the client.
On the server, require("module") returns Node's native Module constructor,
which is not the same as module.constructor in our server JS bundle.
2017-06-02 16:26:54 -04:00
Ben Newman
b75cdbfe6e Add 10px margin to left of bundle-visualizer path blocks. 2017-06-02 14:39:00 -04:00
Ben Newman
a7feffd5a6 Upgrade the modules test app to Meteor 1.5. 2017-06-02 14:31:37 -04:00
Ben Newman
9c5293b6e2 Upgrade the dynamic-import test app to Meteor 1.5. 2017-06-02 14:25:46 -04:00
Jesse Rosenberger
76a6e0eee9 Merge pull request #8707 from edemaine/devel
Email package improvements
2017-06-02 19:01:49 +03:00
Jesse Rosenberger
fba42daca8 Slight adjustment to smtp:// warning message.
Just to clarify that port 465 is typically a secure port and our
assumption is based on that (in case they're curious how we decided
to show the message).
2017-06-02 18:07:51 +03:00
Ben Newman
1df553172e Fix #8751 by replacing ':'s in dynamic module paths with '_'s. 2017-06-02 10:51:16 -04:00
Ben Newman
a2aec7becf Add a failing test of dynamic imports from user:name packages.
Confirms #8751.
2017-06-02 10:45:24 -04:00
Ben Newman
c4730c6af5 Upgrade reify to version 0.11.22.
This fixes a bug affecting namespace imports/exports such as

  export * from "module"
  import * as ns from "module"

where "module" is a CommonJS module that sets module.exports to an
object-like value that is not actually an object, e.g. a function.

The reify commit that fixed this bug includes a test demonstrating an
example of one such library (lodash):
benjamn/reify@b69a600e65
2017-06-01 20:46:39 -04:00
Ben Newman
7472916236 Remove underscore as a dependency from the modules package. 2017-06-01 20:46:39 -04:00
Mitar
4b18c00cc6 Improving History.md entries for #8629 (#8736)
* Updating history a bit for #8629.

* Tweaks for #8629.

Some formatting changes to (try! and) match existing `History.md` formatting.

* Place related bullets next to each other.

For continuity in reading.
2017-06-01 17:04:35 +03:00
Ben Newman
906aab4447 Merge pull request #8692 from bpartridge/5932-mongo-hint-maxtimems
Add Mongo hint and maxTimeMS options (#5932)
2017-05-31 11:29:41 -04:00
Hugh Willson
a4c3e335eb Merge pull request #8684 from paulincai/patch-1
Update to present media object sizes
2017-05-31 11:28:01 -04:00
Jesse Rosenberger
8005532f4b Merge pull request #8629 from zimme/zimme/ddp-current-invocation
Add DDP._CurrentPublicationInvocation and DDP._CurrentMethodInvocation
2017-05-31 18:26:34 +03:00
Hugh Willson
049ed969e7 Merge branch 'devel' into zimme/ddp-current-invocation 2017-05-31 10:44:25 -04:00
Jesse Rosenberger
791d0cdd59 Add a README for the bundle-visualizer package. 2017-05-31 13:26:21 +03:00
Ben Newman
42ab2fd607 Merge branch 'master' into devel 2017-05-30 15:27:50 -04:00
Ben Newman
bf85eac809 Merge pull request #8327 from meteor/release-1.5
Release 1.5
2017-05-30 15:24:20 -04:00
Ben Newman
a362e20a37 Bump package versions for the official 1.5 release. release/METEOR@1.5 2017-05-30 14:18:48 -04:00
Ben Newman
da097e209d Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2017-05-30 14:16:46 -04:00