Commit Graph

9254 Commits

Author SHA1 Message Date
Ben Newman
71da2d327c Bump package versions for 1.6.1-beta.12 release. 2017-12-05 09:43:01 -05:00
Ben Newman
371edf5021 Bump bundle-visualizer patch version to 1.1.2. 2017-12-05 09:42:58 -05:00
Ben Newman
d10d3225ad Merge branch 'devel' into release-1.6.1 2017-12-05 09:31:20 -05:00
Ben Newman
7aae1ad131 Bump appcache patch version to 1.1.1 (w/ TODO, style tweaks). 2017-12-05 09:25:53 -05:00
Kevin Newman
491f678c0b Remove "dynamic js" and .map files from appcache (app.manifest). (#9434)
Remove type:"dynamic js" and .map files from `appcache` (app.manifest) since the
dynamic-import package doesn't load dynamic modules from `appcache`, so caching
those files with `appcache` is redundant.
2017-12-05 09:22:13 -05:00
Jesse Rosenberger
bc0a25156b Merge pull request #9437 from hwillson/issue-9435
Fix check for Google OAuth2 expiresIn property in tokens
2017-12-05 15:41:34 +02:00
Jesse Rosenberger
5933834ece Bump google-oauth minor version to 1.2.5.
Refs: https://github.com/meteor/meteor/pull/9437
2017-12-05 14:45:54 +02:00
Phurinat Puekkham
61cbd79879 Update README.md
edit link from http to https
2017-12-05 15:50:32 +07:00
Hugh Willson
8987289234 Fix check for Google OAuth2 expiresIn property in tokens
Google's OAuth2 token endpoint
(https://accounts.google.com/o/oauth2/token) returns an
`expires_in` property in its response, which was being stored
internally as `expiresIn`. The `getServiceDataFromTokens`
function would only attempt to work with the `expiresIn` value
if the `tokens` object had a set `expiresAt` property, meaning
the `expiresIn` property was never used. This commit switches
the `expiresAt` check to `expiresIn`.

Fixes #9435.
2017-12-04 06:01:25 -05:00
Ben Newman
20fc65d2fe Go back to exporting packageName from bundle-visualizer/common.js.
This mistake was introduced by 95d093a17a.
2017-12-03 11:31:45 -05:00
Ben Newman
ba4e3c26d0 Merge branch 'devel' into release-1.6.1 2017-12-02 17:52:43 -05:00
Ben Newman
c6bc841386 Bump package patch versions for minimongo and shell-server changes. 2017-12-02 17:49:56 -05:00
Ben Newman
855dfe8960 Merge pull request #9406 from meteor/abernix/server-shell-underscore
Avoid clobbering global _ when running `meteor shell`.
2017-12-02 17:20:39 -05:00
Seba Kerckhof
ff588b436c Add support for $type aliases. (#9402) 2017-12-02 17:18:09 -05:00
Ben Newman
3c0354fbe2 Merge branch 'devel' into release-1.6.1 2017-12-01 18:45:46 -05:00
Ben Newman
efb35488da Use more ECMAScript classes in check/match.js. 2017-12-01 18:44:25 -05:00
Ben Newman
4aeb453c7b Use /__meteor__/dynamic-import/fetch URL for fetching dynamic modules. 2017-12-01 18:28:44 -05:00
Ben Newman
95d093a17a Use /__meteor__/bundle-visualizer/stats URL for bundle-visualizer stats. 2017-12-01 18:28:43 -05:00
Hugh Willson
93fe8f13a4 Stop serving the application manifest from /manifest.json (#9424)
* Stop serving the application manifest from /manifest.json

Meteor currently serves its own manifest file from
`/manifest.json`. This location is not application
configurable, and can conflict with other non-Meteor
defined manifest files, that are already being served
from this location. There isn't really any reason why
Meteor needs to use the `/manifest.json` location, so
this commit moves it to `/__meteor__/webapp/manifest.json`.

Fixes #6674.

* Add PR link to History.md
2017-12-01 18:28:15 -05:00
Jesse Rosenberger
aec76b766c Only import start from repl instead of the entire module.
It was previously necessary to have more from the `repl` module, but
it's sufficient to just have `start` now since we wrap the default
`eval`.
2017-11-30 19:57:00 +02:00
Hugh Willson
ac90219f20 Fail test when reverse.meteor.com cannot be connected to (#9416)
For a while the livedata `reconnect to a different server` test
was failing since the `reverse.meteor.com` host and application
were taken down, but nobody noticed. This is because even
though the test was still enabled, it was configured to swallow
the failure if the connection failed. `reverse.meteor.com` has
been brought back up, so this commit adjusts the test to make
sure it will properly fail if `reverse.meteor.com` goes down
again.

Fixes https://github.com/meteor/meteor/issues/8092.
2017-11-29 11:27:10 -05:00
Jesse Rosenberger
0df8a5a516 Ensure that require and module are always set.
I previously had thought that a duplicate call to `setRequireAndModule`
encountered in code-path would no longer be necessary after some
consolidation in previous steps of this re-factor, but the test failure
seen here made it clear what was happening:

https://circleci.com/gh/meteor/meteor/12445

Specifically, if a module was imported in a piped command (that is to say,
when no TTY is present and the `evaluateAndExit` code-path is taken), as so:

    echo 'import { Meteor } from "meteor/meteor"' | meteor shell

...the `module` and `require` symbols were not set.  Conveniently, this is
the environment in effect when the `meteor self-test` suite is ran since
they do not have a TTY.

This moves the `setAndRequire` from the "interactive-only" function into
the general REPL setup and further harmonizes the code.
2017-11-28 18:35:04 +02:00
Jesse Rosenberger
724a801d70 Remove unnecessary setting of repl.context.
This is superfluous residue that I inadvertently created when splitting the
existing `startREPL` function into `setupREPL` and `enableInteractiveMode`.

The context is already set in `setupREPL` (to the exact same value as
here) by the time that this occurrence in `enableInteractiveMode` is called.
2017-11-28 18:31:26 +02:00
Jesse Rosenberger
c8b5f42d05 Modernization of shell-server package. 2017-11-28 16:58:11 +02:00
Jesse Rosenberger
e0682c553d Wrap default repl "eval" function, rather than duplicating logic.
Addresses feedback from @benjamn.

Rather than copying the `IsRecoverableError` and `isCodeRecoverable`
methods from the Node.js `repl` module source (in order to capture
so-called "Recoverable" errors), wrap the default "eval" function with
our relatively thin logic, thus avoiding the need to continually update
the definition of what's "recoverable" as Node's implementation evolves.
2017-11-28 16:55:27 +02:00
Ben Newman
a8bb9c3a57 Merge branch 'devel' into release-1.6.1 2017-11-27 13:24:09 -05:00
Ben Newman
c09d8e57f0 Update coffeescript-compiler shrinkwrap.
Follow-up to https://github.com/meteor/meteor/pull/9420.
2017-11-27 10:11:36 -05:00
Geoffrey Booth
4b9e50dfa6 Bump CoffeeScript to 2.0.3 (#9420) 2017-11-27 10:04:13 -05:00
Ben Newman
2effb1a974 Bump package versions for 1.6.1-beta.11 release. 2017-11-25 11:26:42 -05:00
Ben Newman
b3ae296709 Merge branch 'devel' into release-1.6.1 2017-11-25 11:10:57 -05:00
Ben Newman
64d1a59f74 Bump minor versions of packages changed by #9343.
https://github.com/meteor/meteor/pull/9274#issuecomment-346892876
2017-11-25 11:09:45 -05:00
Ben Newman
02583444bd Bump package versions for 1.6.1-beta.10 release. 2017-11-24 11:38:42 -05:00
Ben Newman
fb080c1a83 Merge branch 'devel' into release-1.6.1 2017-11-24 11:38:19 -05:00
George Ehrhorn
febb18922e Fix broken link (#9412)
The link to the ```tracker``` api was broken.
2017-11-24 11:34:56 -05:00
Ben Newman
f3c6460406 Merge pull request #9343 from meteor/jbaxleyiii/streaming-server-render
Improved server rendering, now with stream support.
2017-11-23 15:50:14 -05:00
Ben Newman
b88cbab2a1 Handle errors from Promises returned by Tinytest.addAsync callbacks. 2017-11-23 14:17:49 -05:00
Ben Newman
e6758073bc Note Promise-awareness of Tinytest.addAsync in tinytest/README.md. 2017-11-22 21:11:27 -05:00
Ben Newman
8009351653 Simplify/modernize webapp tests. 2017-11-22 20:09:18 -05:00
Ben Newman
8dbd41719a End HTTP response when stream ends. 2017-11-22 20:09:18 -05:00
Ben Newman
54885bca3b Simplify async server-render tests. 2017-11-22 20:09:18 -05:00
Ben Newman
8aa2c627bc Improve appending to streams in boilerplate-generator. 2017-11-22 20:09:18 -05:00
Ben Newman
7f12cfde95 Simplify boilerplate-generator-tests. 2017-11-22 20:09:18 -05:00
Ben Newman
499a32ac8b Use ...spread elements instead of [].concat in boilerplate templates. 2017-11-22 20:09:18 -05:00
James Baxley
d17683eb98 remove memoization of requests 2017-11-22 20:09:18 -05:00
James Baxley
7ef237f99c refactored to a single stream api 2017-11-22 20:09:18 -05:00
James Baxley
0f78f5cde1 update readme for server sink 2017-11-22 20:09:18 -05:00
James Baxley
fb4e2b6f73 fix tests 2017-11-22 20:09:18 -05:00
James Baxley
3a7f34d610 support redirect, headers, cookies, and client side alignment 2017-11-22 20:09:18 -05:00
James Baxley
037a0be319 simplify stream parsing [ci skip] 2017-11-22 20:09:18 -05:00
James Baxley
2ef27e4151 easier support for strings in template 2017-11-22 20:09:18 -05:00