Commit Graph

8243 Commits

Author SHA1 Message Date
Jesse Rosenberger
5f2039f1ff Bump package versions for the official 1.4.3.2 release. 2017-03-14 10:53:26 +02:00
Jesse Rosenberger
ae458cce08 Bump package versions for 1.4.3.2-rc.0 release. 2017-03-13 15:00:52 +02:00
Jesse Rosenberger
55bdef485f Bump package version of npm-mongo for 1.4.3.2-beta.0 release. 2017-03-09 20:07:47 +02:00
Jesse Rosenberger
d3f9d4ef82 Removing -beta.n suffix as check was aleady published. 2017-03-09 19:39:52 +02:00
Jesse Rosenberger
6fd559fa1c Merge branch 'release-1.4.3.x' into release-1.4.3.2 2017-03-09 16:58:55 +02:00
dr.dimitru
a9cd336ed5 Fix Mongo Error Message Object (#8266)
The Mongo error property, `errmsg`, has been changed to `err` on newer versions of Mongo.  This commit adds support for the new property without dropping support for older Mongo versions.

Partially addresses https://github.com/meteor/meteor/issues/7758#issuecomment-253076694
Discussed in https://github.com/meteor/meteor/pull/8175#issuecomment-273441401
2017-03-09 16:54:38 +02:00
Jesse Rosenberger
b92c88fe5c Merge pull request #8453 from meteor/laosb-bump-mongodb-driver-2-2-24
Bump mongodb driver to 2.2.24
2017-03-09 16:45:13 +02:00
Jesse Rosenberger
9030faa57e Bump package versions for 1.4.3.2-beta.0 release. 2017-03-09 16:41:57 +02:00
Jesse Rosenberger
1ebd907804 Remove version constraint from ecmascript in shell-server.
We only need version constraints on core packages in some cases.  For
example, when referring to "core" package wrappers (like `npm-mongo`)
which uses an API outside the Meteor build system.
2017-03-09 13:51:35 +02:00
Ben Newman
525568c80c Merge pull request #8446 from mattmccutchen/shell-syntaxerror
Shell: Don't be confused by SyntaxErrors thrown by command execution.
2017-03-08 15:14:24 -05:00
Ben Newman
ac8fa03ba7 Fix deprecation warnings due to legacy mongoOptions.
Warning text: "the server/replset/mongos options are deprecated, all their
options are supported at the top level of the options object"
2017-03-08 14:01:28 -05:00
Jesse Rosenberger
0281012fdc Rename appMiddleware to connectApp.
Because as @hwillson rightfully points out:

> that's what we're really exposing and `connect` themselves refer to the container that holds the defined middleware (the result of calling the `connect()` function) as a connect "app"."
2017-03-08 20:27:32 +02:00
domq
63b8dc04eb Export "app"
As per the comment on line 653, this appears to be the best (only?) way to let users do things like set up a custom error page to catch app-rendering-time exceptions.
2017-03-08 20:27:32 +02:00
Ben Newman
f23c11b37d Update npm-mongo/.npm/npm-shrinkwrap.json after version bump. 2017-03-08 12:14:20 -05:00
Wexpo Lyu
72b5b33555 Bump mongodb driver to 2.2.24
Fixes #8449
2017-03-08 12:11:14 -05:00
Jesse Rosenberger
4ce0de7b16 Bump version in preparation for publishing. 2017-03-08 18:50:37 +02:00
Hugh Willson
44bb4b6506 Added missing docs for Meteor.apply's options.throwStubExceptions. 2017-03-08 11:45:08 -05:00
Jesse Rosenberger
4a9ddb6404 Add TODO about Node.js 6 repl changes.
Just a note to revisit this/clean-up in Node 6 as the `Recoverable` is now exported from Node 6's `eval` and this is no longer necessary.

* https://github.com/nodejs/node/blob/v6.x/lib/repl.js#L1398
* https://nodejs.org/api/repl.html#repl_custom_evaluation_functions
2017-03-03 17:16:39 +02:00
Matt McCutchen
28309de07b Shell: Don't be confused by SyntaxErrors thrown by command execution.
Apply the check for a SyntaxError indicating an incomplete command only
to the ECMAScript translation and parsing of a command and not to the
execution, following the example of Node's defaultEval function.

Fixes #8290.
2017-03-02 16:23:30 -05:00
Hugh Willson
56ad858559 Prevent accounts configuration UI warning from showing when using service-configuration. (#8429) 2017-03-01 19:01:19 +02:00
Jesse Rosenberger
eb458300e8 Change formatting on isArray helper method. 2017-03-01 18:46:05 +02:00
brucejo
5f0de68975 Added vm generated array test, commented isArray function 2017-03-01 18:46:04 +02:00
brucejo
429529fbaf created function to test isArray, updated tests 2017-03-01 18:46:04 +02:00
brucejo
138ceb1ca4 Complete fix for #8160, handle subclassed objects. Added test 2017-03-01 18:46:04 +02:00
Dave Workman
1fe319306b Implemented $bitsAllClear, $bitsAllSet, $bitsAnyClear, $bitsAnySet in minimongo (#8350)
* Implemented $bitsAllSet, $bitsAllClear, $bitsAnyClear, $bitsAnySet in mini-mongo

* Refactored bitwise operator implementations in minimongo

* Use _.isUndefined instead of typeof

* Removed unnecessary comment.

* Refactored bit comparisons into functions
2017-03-01 18:33:52 +02:00
Khang Nguyen-Le
241c92d590 Add callback to DDPRateLimiter.addRule, run after a rule is executed (#8237)
* Add callback to DDPRateLimiter.addRule, run after a rule is executed

* Change signature and add tests for DDPRuleLimter callback
2017-03-01 18:14:47 +02:00
Jesse Rosenberger
97226b511d Merge branch 'master' into devel 2017-03-01 13:09:23 +02:00
Jesse Rosenberger
6ec8143518 Bump package version in preparation for publishing. 2017-03-01 12:39:56 +02:00
Jesse Rosenberger
8fdea33cfb Remove version constraint from minifier-css in standard-minifier-css.
This restriction was preventing the standard-minifier-css from getting
the latest updates to minifier-css.  Typically, when publishing
a package outside of a release cycle, I believe we need to manually add
this constraint since `meteor publish-release` normally takes care of it
automatically, however in most cases, I don't believe this should be
(permanently) committed.

I may stand to be corrected, but will find out soon!
2017-03-01 12:24:33 +02:00
Jesse Rosenberger
71f0876b4c Merge branch 'master' into devel 2017-03-01 01:43:59 +02:00
Jesse Rosenberger
1503dd1d9c Remove version constraint from standard-minifier-js.
This was only intended to be there during the publishing of
`standard-minifier-js` as part of meteor/meteor#8414 and is normally
not necessary as part of the `meteor publish-release` process.
2017-03-01 01:39:37 +02:00
Jesse Rosenberger
c6b7c8db17 Merge branch 'master' into devel 2017-02-28 16:37:05 +02:00
Jesse Rosenberger
aeee279d6d Remove -beta.* suffixes in preparation for publishing. 2017-02-28 14:41:34 +02:00
Jesse Rosenberger
394812df15 Add version constraint on minifier-js@1.2.18-beta.0. 2017-02-28 14:29:46 +02:00
Jesse Rosenberger
c24cb71c11 Bump package versions in preparation for publishing. 2017-02-28 13:42:39 +02:00
Jesse Rosenberger
6c4507f004 Allow minified.code to be an empty string.
In order to allow for a blank `app.js` which occurs in the case of
a Meteor app using a fully-"package"-based structure with no actual
application code in the top-level.  See meteor/meteor#8414 for more.
2017-02-28 13:42:39 +02:00
Jesse Rosenberger
4e6d07d2a3 Undangle dangling semi-colon. 2017-02-28 13:42:38 +02:00
Jesse Rosenberger
e898c3a25f Bump package versions in preparation for publishing. 2017-02-28 13:42:38 +02:00
Jesse Rosenberger
aa111f83f1 Remove underscore dependency which is not used in this package. 2017-02-28 13:42:38 +02:00
Jesse Rosenberger
1a380f5532 Improve minifiers to capture error from UglifyJS.
The error messages which come from UglifyJS tend to be quite cryptic, as
seen in issues like meteor/meteor#8370 or meteor/meteor#8020.  The file,
line, and column are provided, however the message is garbled and the
stacktrace long and acutely harrowing.  Since these errors are occurring
on automatically concatenated files, even the line number is sometimes
not helpful.  Additionally, sourceMaps are not available in production
builds, intentionally.  (I wasn't able to access them from
`file.getSourceMap()` or `file.sourceMap` at all.)

In addition to actually providing the name of the encapsulating file,
which provides _some_visibility, this commit implements a parser around
the UglifyJS error which detects the error and location information of
the error, seeks to the line in the concatenated source, reads the
inline filename, and provides it in the output.

Crude, but incredibly helpful in diagnosing this problem until a better
solution is reached.
2017-02-28 13:42:38 +02:00
Maciej Trębacz
c3547666e9 Remove jQuery dependency from http package (#8389)
`jquery` is no longer necessary as of 4e922fd709 and thus the removal of this dependency is warranted.
2017-02-23 12:38:40 +02:00
Hugh Willson
a22793e443 Replaced an _.each call with a Object.keys().forEach call, to allow objects with length properties to be handled properly as Mongo selectors. (#8380) 2017-02-22 12:15:11 -05:00
Jesse Rosenberger
de2e16b313 Bump version of check package to 1.2.5 in preparation for publishing. 2017-02-15 21:42:28 +02:00
Jesse Rosenberger
b3e34fc273 Merge pull request #8351 from nlhuykhang/update-isPlainObject-from-jquery-v3.1.1
Extract new isPlainObject function from JQuery v3.1.1
2017-02-15 18:57:49 +02:00
Hugh Willson
4f3713f03c Added in Meteor.loggingOut() and related Blaze helpers. (#8271)
* Added in Meteor.loggingOut() and related Blaze helpers.

* Switched loggingIn/loggingOut over to use ReactiveVar; More tests.

* Changed logginInOut helper name to loggingInOrOut.
2017-02-15 11:22:57 -05:00
Ben Newman
954333b813 Bump package versions for the official 1.4.3.1 release. 2017-02-13 19:57:26 -05:00
Ben Newman
5465ab8aee Bump package versions for 1.4.3.1-rc.1 release.
@abernix Bumping the ecmascript version is apparently necessary if the
babel-compiler package has changed, presumably because ecmascript defines
a compiler plugin that uses babel-compiler. Unless the ecmascript version
has been bumped, babel-compiler changes won't appear to have any effect.
2017-02-13 19:22:54 -05:00
Ben Newman
21185dad10 Bump package versions for 1.4.3.1-rc.0 release. 2017-02-13 18:17:06 -05:00
Ben Newman
ebbc02d025 Upgrade meteor-babel and reify to versions 0.14.4 and 0.4.8.
Thanks to @abernix for fixing this Babel/Babylon bug in Reify:
https://github.com/benjamn/reify/pull/62

Fixes #8312.
2017-02-13 18:11:11 -05:00
Khang Nguyen-Le
5914d95ab0 Extract new isPlainObject function from JQuery v3.1.1 2017-02-11 13:36:10 +07:00