Commit Graph

20714 Commits

Author SHA1 Message Date
James Burgess
98bb35bf25 Modernize weibo-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1
- ES6 syntax and shorthand applied
2018-02-02 09:30:16 +01:00
James Burgess
ee3b1f1c40 Modernize oauth2 package
- Bumped patch version number 1.2.0 -> 1.2.1
- ES6 syntax and shorthand applied
2018-02-02 09:30:16 +01:00
James Burgess
c8f4ba74c7 Modernize oauth1 package
- Bumped patch version number 1.2.0 -> 1.2.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:16 +01:00
James Burgess
bf8da0a2b0 Modernize oauth-encryption package
- Bumped patch version number 1.3.1 -> 1.3.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:15 +01:00
James Burgess
fcd650bd46 Modernize oauth package
- Bumped patch version number 1.2.1 -> 1.2.2
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:15 +01:00
James Burgess
25074ad4ce Modernize meteor-developer-oauth package
- Bumped patch version number 1.2.0 -> 1.2.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:15 +01:00
James Burgess
85aeb67c15 Modernize meteor-developer-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1
- ES6 syntax and shorthand applied
- Adjusted configuration instructions
2018-02-02 09:30:15 +01:00
James Burgess
49d42ec093 Modernize meetup-oauth package
- Bumped patch version number 1.0.1 -> 1.0.2
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:14 +01:00
James Burgess
f6e1497537 Modernize meetup-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1
- ES6 syntax and shorthand applied
- Adjusted configuration instructions
2018-02-02 09:30:14 +01:00
James Burgess
42fa1d21e2 Modernize google-oauth package
- Bumped patch version number 1.2.5 -> 1.2.6
- ES6 syntax and shorthand applied
2018-02-02 09:30:14 +01:00
James Burgess
441ea43ed5 Modernize google-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1
- ES6 syntax and shorthand applied
- Fixed error in instructions - without the `?close` at the end of the redirect URI, the login popup throws an error
2018-02-02 09:30:13 +01:00
James Burgess
13a2a0d6ac Modernize github-oauth package
- Bumped patch version number 1.2.0 -> 1.2.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:13 +01:00
James Burgess
eb5bf06387 Modernize github-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1
- ES6 syntax and shorthand applied
2018-02-02 09:30:13 +01:00
James Burgess
b8d295a818 Modernize facebook-oauth package
- Bumped patch version number 1.4.0 -> 1.4.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:13 +01:00
James Burgess
fe4e6aa530 Modernize facebook-config-ui package
- Bumped patch version number 1.0.1 -> 1.0.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:12 +01:00
James Burgess
083a1e7721 Modernize accounts-weibo package
- Bumped patch version number 1.3.1 -> 1.3.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:12 +01:00
James Burgess
44cdf6ac95 Modernize accounts-ui-unstyled package
- Bumped patch version number 1.4.0 -> 1.4.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
- Globals replaced with module exports
- Adjustment of templates to satisfy several HTML validation warnings in newer versions of Chrome
  - Added `autocomplete` attributes to inputs
  - Wrapped password-only dialogs forms
  - Added hidden `username` and `email` inputs to password-only forms to help with accessibility
2018-02-02 09:30:12 +01:00
James Burgess
528a8c0c7a Modernize accounts-ui package
- Bumped patch version number 1.3.0 -> 1.3.1
- Just one line changed in `package.js` since there isn't any javascript in the package itself
2018-02-02 09:30:12 +01:00
James Burgess
55aeb8fb6e Modernize accounts-twitter package
- Bumped patch version number 1.4.1 -> 1.4.2
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:11 +01:00
James Burgess
bcf8022a39 Modernize accounts-password package
- Bumped patch version number 1.5.0 -> 1.5.1
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
- check removed as a client dependency
2018-02-02 09:30:11 +01:00
James Burgess
85a66b8272 Modernize accounts-oauth package
- Bumped patch version number 1.1.15 -> 1.1.16
- ES6 syntax and shorthand applied
- Underscore and random removed as dependencies
- check removed as a client dependency (it still remains as a server dependency)
2018-02-02 09:30:10 +01:00
James Burgess
71e2a9963e Modernize accounts-meteor-developer package
- Bumped patch version number 1.4.1 -> 1.4.2
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:10 +01:00
James Burgess
3c7fd0e7a4 Modernize accounts-meetup package
- Bumped patch version number 1.4.1 -> 1.4.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:09 +01:00
James Burgess
bb17d4d3fa Modernize accounts-google package
- Bumped patch version number 1.3.1 -> 1.3.2
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
2018-02-02 09:30:09 +01:00
James Burgess
54c20dcb17 Modernize accounts-github package
- Bumped patch version number 1.4.1 -> 1.4.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:09 +01:00
James Burgess
4a88bb30cb Modernize accounts-facebook package
- Bumped patch version number 1.3.1 -> 1.3.2
- ES6 syntax and shorthand applied
2018-02-02 09:30:08 +01:00
James Burgess
8d4f07a802 Modernize accounts-base package
- Bumped patch version number 1.4.2 -> 1.4.3
- ES6 syntax and shorthand applied
- Underscore removed as a dependency
- Prototype manipulation replaced with class method declarations, resulting in combining a few files
2018-02-01 23:45:12 +01:00
James Burgess
198b0551d6 Modernize and fix accounts-ui-viewer app
This is a great little app for testing the accounts-ui package, but it hasn't been updated in four years and wasn't working anymore.

Since the underlying accounts system has changed in the meantime, I had to make a few adjustments to get all the options working again.

I also applied ES6 syntax, removed underscore, and fixed some blaze deprecation warning by moving functions into helpers.
2018-02-01 23:39:32 +01:00
Ben Newman
9daf412b2b Merge pull request #9611 from meteor/modernize-tracker
Modernize tracker package.
2018-01-31 18:35:41 -05:00
Ben Newman
14f6f9328b Modernize Tracker package.
Changes:

* Use ECMAScript class and arrow function syntax for Tracker.Computation
  and Tracker.Dependency.

* Remove the deprecated.js file (no more Deps, Tracker.depend, or
  Tracker-related Meteor.* APIs).
2018-01-31 17:37:14 -05:00
Ben Newman
0f0ef96611 Prevent _typeof(Reflect) from throwing in older browsers.
Should fix #9598, thanks to @abernix's diagnosis of the problem:
https://github.com/meteor/meteor/issues/9598#issuecomment-361570289

My later comment in that issue thread is not accurate, since the Babel
wrapNativeSuper helper already pulls in the core-js Reflect.construct
polyfill. Instead, the root of the problem really seems to be Babel's
generation of an unguarded _typeof(Reflect) expression.
2018-01-31 17:29:15 -05:00
Ben Newman
3f5d0d9c52 Bump $BUNDLE_VERSION to 8.9.21 before rebuilding dev bundle. 2018-01-31 16:24:58 -05:00
Ben Newman
312094cec9 Use a version of meteor-babel that exactly pins its dependencies.
146c11425b

The recent 7.0.0-beta.39 versions of some Babel dependencies snuck into
the last dev_bundle/lib/node_modules build, due to using ^7.0.0-beta.38
version constraints in babel-preset-meteor/package.json, even though
meteor-babel exactly pins the version of babel-preset-meteor.

After I rebuild the dev bundle, this change should fix the current test
failures on the devel branch.
2018-01-31 15:57:10 -05:00
Ben Newman
9d3e23c9b1 Bump $BUNDLE_VERSION to 8.9.20 before rebuilding dev bundle. 2018-01-30 17:50:18 -05:00
Ben Newman
85d74f8d2b Revert "Upgrade to Mongo 3.6 (#9533)"
This reverts commit dfc0702558.

We've seen some odd test failures (e.g. `passwords - tokens`) and trouble
updating from 1.6.1 to 1.6.2-beta.3 (easily solved with `meteor reset`,
but also worth investigating), so I think we should keep working on the
Mongo 3.6 upgrade in a PR, rather than running all of our tests against
a devel branch that includes Mongo 3.6.

cc @abernix @hwillson
2018-01-30 17:47:12 -05:00
Ben Newman
99ddadca22 Bump jquery Meteor package version to match jquery version.
It's nice to match versions, but we couldn't bump the minor version of the
Meteor jquery package without breaking compatibility with the current Meteor
release (1.6.1), since jquery is a core package.

The next Meteor release (either 1.6.1.1 or 1.6.2) will either use the new
1.12.1 version or (ideally) jquery will no longer be a core package, and
thus will not be constrained by the release.

Related: #9605
2018-01-30 12:39:01 -05:00
Ben Newman
4e074be6a8 Update default meteor/jquery version to 1.12.1 to fix #9605.
Note that you can run `meteor npm install jquery` (any version) in your
top-level application directory, and the meteor/jquery package will use
that version instead of 1.12.1.
2018-01-30 12:32:14 -05:00
Ben Newman
17eaa5bd6f Implement Mongo.Collection as a function again.
This reverts commit b06a6af335, where I
attempted to allow `Mongo.Collection` to be subclassed by non-native class
syntax by implementing static `call` and `apply` methods.

As the reproduction in #9595 demonstrates, in order to subclass
`Mongo.Collection` properly given this trick, one would need to override
not only the `constructor` method but also the `init` method that the
`Mongo.Collection` base class calls. Since this implicit expectation is
too much to ask of new subclassing code, let alone existing subclassing
code, I'm afraid the only remaining option is to go back to implementing
`Mongo.Collection` as a traditional constructor function, rather than
using native `class` syntax, so that subclasses can invoke the constructor
using `Function.prototype.{call,apply}` as they've always done.
2018-01-29 19:23:13 -05:00
Hugh Willson
540dc00230 Add a self-test skip option (#9579)
* Add a self-test skip option

Meteor's CI infrastructure is configured to exclude certain
`self-test`'s on each run. These excludes are specified in
each CI environment's config file, and included when running
`meteor self-test`. Developers running `meteor self-test`
locally however are not using these excludes by default,
so developer's have to manually look up the current exclude
list from one of the CI configs, then add these excludes to
their own `meteor self-test` call manually.

This commit adds a new `skip` option to Meteor's `self-test`
system, that can be used to skip adding/running a defined
`self-test` (similar in concept to Mocha's `skip` feature).
This provides a way to skip the running of older
`self-test`'s that are no longer needed, but allows them to
be preserved in the `self-test` suite, for future reference.
With this functionality in place, and the older test suites
updated to use it, Meteor's base CI excludes no longer need
to be maintained in their respective config files. The
excludes are all managed at the source (the test definition),
and can be leveraged by anyone/anything calling
`meteor self-test`.

* Log message describing skipped test

* Add manually-ignored count to self-test summary

* Small comment correction

* History.md entry with PR link
2018-01-29 14:25:09 +02:00
Ben Newman
9cc9ff7f49 Actually depend on es5-shim so that Cordova can import it.
Another attempt to fix #9572. 🤞

cc @paulincai
2018-01-26 17:45:43 -05:00
Ben Newman
8415880b2e Remove api.use("promise") from Meteor babel-runtime package. 2018-01-26 12:27:02 -05:00
Ben Newman
1dc34f3872 Stop importing @babel/runtime/regenerator in Meteor babel-runtime package.
Because Promise.asyncApply is only defined on the server, and Meteor 1.6
no longer uses Regenerator to compile async/await and generator functions
on the server, this code no longer serves any meaningful purpose.

On top of that, the babel-runtime.js module is loaded on the client, so
this code was forcing the Regenerator runtime to be included in the client
JS bundle, even if generator functions were not used anywhere else in the
application.

The benefit of removing this @babel/runtime/regenerator dependency won't
be fully apparent until Meteor 1.6.2, since there are probably other
places in client code that depend on it, so it will probably still be
bundled in most applications. However, the new web.browser.legacy system
(#9439) should remove most of those dependencies for modern browsers, as
Meteor 1.6.2 will no longer use Regenerator to compile async/await and
generators for the modern JS bundle.
2018-01-26 12:17:56 -05:00
Ben Newman
1b34b81c75 Fix undefined Date constructor in Cordova es5-shim.
Fixes #9572.
2018-01-25 12:48:23 -05:00
Ben Newman
070acc01b0 Bump $BUNDLE_VERSION to 8.9.19 before rebuilding dev bundle. 2018-01-24 17:47:55 -05:00
Hugh Willson
dfc0702558 Upgrade to Mongo 3.6 (#9533)
Update the Meteor Tool to use Mongo 3.6.2 for 64-bit OS'
and Mongo 3.2.18 for 32-bit OS'. A few important mentions:

- As of Mongo 3.6, all Mongo binary downloads include
  SSL - there is no longer a non-SSL based download bundle
  (so it's a bit bigger, but that shouldn't be an issue).
- Using the `--nojournal` option with WiredTiger based
  replica sets is no longer supported (see
  https://jira.mongodb.org/browse/SERVER-30760). The
  `--nojournal` flag was added in
  bcfe072d52
  to help reduce the amount of disk space used by Mongo,
  but since this option is no longer supported, we'll
  have to live with the extra disk space usage.
- Add PR link to History.md
2018-01-24 22:01:46 +02:00
Ben Newman
1fec23f3b7 Always include es5-shim in Cordova JS bundles. (#9566)
Since Cordova renders boilerplate HTML at build time, and doesn't use the
server-render system through the webapp package, it's important that we
include es5-shim (and sham) statically for Cordova clients.

This logic will go away once we have the web.browser.legacy system to
control differential bundling (#9439), but for now it's necessary for any
Cordova clients that still don't have full ECMAScript 5 support.
2018-01-22 17:49:22 -05:00
Ben Newman
c0c2aa32d3 Remove stray packages/deprecated/stylus/.versions file. 2018-01-22 17:32:33 -05:00
Ben Newman
818ef0ed6e Merge pull request #9565 from meteor/undelete-deprecated-stylus-package-to-fix-caching-bug
Bring back deprecated stylus package in order to fix a caching bug.
2018-01-22 17:23:48 -05:00
Ben Newman
cb77875f38 Generate MultiFileCachingCompiler .cache filenames based on getCacheKey. (#9564)
Previously, .cache filenames were simply a hash of the absolute path of
the inputFile, which allowed for cache collisions (on disk) between the
same file compiled for different architectures (web.browser, os.*, ...).
Now, the .cache filenames are generated based on whatever information the
compiler plugin deems uniquely identifying about the input file: whatever
is returned from getCacheKey, plus the absolute path of the file.
2018-01-22 17:17:51 -05:00
Ben Newman
41161774d6 Bump stylus patch version to 2.513.14 and update references. 2018-01-22 16:28:04 -05:00