Commit Graph

6977 Commits

Author SHA1 Message Date
Martijn Walraven
a259834026 Add webapp dependency to test-in-browser
This ensures the app created for test-packages will have the default
Cordova plugins installed.
2015-08-26 19:26:55 +02:00
Martijn Walraven
9af83ebe3c Add Crosswalk package for Android 2015-08-26 19:26:54 +02:00
Martijn Walraven
af70287656 Remove cordova package and put cordova-lib and ios-sim back into the dev bundle 2015-08-26 19:26:51 +02:00
Martijn Walraven
c3238b2ba9 Combine installed plugins with fetched plugins metadata 2015-08-26 19:26:50 +02:00
Martijn Walraven
2165a6b6eb Let Cordova install plugins from Git instead of downloading tarballs
This also fixes a problem where we were reinstalling all plugins on
every build.
2015-08-26 19:26:49 +02:00
Martijn Walraven
b618de8cd1 Only depend on ios-sim on OS X 2015-08-26 19:26:47 +02:00
Martijn Walraven
74b5f7bcea Move cordova-lib and ios-sim from dev bundle to package 2015-08-26 19:26:47 +02:00
Martijn Walraven
c33bd25139 Update Cordova plugin versions in packages and bump versions 2015-08-26 19:26:44 +02:00
Dean Brettle
675349f988 Stop onLogin handler even if test fails. 2015-08-25 14:42:22 -07:00
Dean Brettle
64a6661c51 Fix #4970 - Login fail while logged in breaks reconnect autologin
Change callLoginMethod to leave self.connection.onReconnect alone if the
login fails, and add test for same.
2015-08-25 14:42:22 -07:00
Ben Newman
6f188e923b Upgrade ecmascript-collections NPM package to 0.1.5. 2015-08-21 18:22:08 -04:00
Ben Newman
5636c43e85 Test that core-js does not interfere with check(..., Number).
See https://github.com/grigio/meteor-babel/issues/5 for the kind of issue
that this test should help prevent.
2015-08-21 18:10:32 -04:00
Ben Newman
2353a69eee Upgrade meteor-promise to version 0.4.8.
This release of meteor-promise includes some important bug fixes for
environment binding on the client.
2015-08-20 13:19:59 -04:00
rebolon
d6427c4150 Fix issue #4929 by calling toString on HTTP content
Closes PR #4940

[stubailo: squashed commits, edited commit message, code style]
2015-08-20 09:16:53 -07:00
Ben Newman
95d7212edc Fix @class name for AccountsCommon. 2015-08-19 17:29:02 -04:00
Ben Newman
62ced17a9d Convert Accounts{Common,Client,Server} to ES2015 classes.
Now with proper documentation!

Closes #4930.
2015-08-19 17:20:58 -04:00
gsuess
e02bf0fb30 Fixes #4522: Mongo upsert with dotted keys
Break down dotted key-value pairs into an object when simulating
the way Mongo generates an object from a selector in upsert.
2015-08-19 13:24:36 -07:00
Rahul
0a29e7614e Correct double negative
Was this intentional? If so, I don't get it
2015-08-18 15:17:23 -07:00
Anubhav Jain
01853070b4 Improving error output to process messages in autoupdate. 2015-08-17 11:22:15 -07:00
Ben Newman
f5821c88ee Allow server-side method implementations to return a Promise.
This does not mean that Meteor.call or Meteor.apply now return a Promise.
Completion of the method call is merely delayed until the Promise is
resolved or rejected, at which point the calling code asynchronously
receives the resulting value or exception.

These changes were inspired by this forum thread:
https://forums.meteor.com/t/fibers-and-meteor-promise-npm-pacakge/6531/7
2015-08-17 14:05:21 -04:00
David Glasser
69509bae9a Don't cache an error that is served as 200 2015-08-17 11:03:23 -07:00
Ben Newman
3504319d1b Upgrade meteor-{babel,promise} dependencies in tool and package code. 2015-08-17 13:07:30 -04:00
Anubhav Jain
09cf52d0c0 Improving error output in tool code.
We used to show `[ReferenceError ...]` without a stack trace but now we show a more targeted message along with trace.
2015-08-17 09:35:19 -07:00
Ben Newman
8d291365f0 Export some ECMAScript utilities on the server. 2015-08-13 20:01:01 -04:00
David Greenspan
de8aad8cd0 Fix oauth package dependencies 2015-08-13 15:27:39 -07:00
David Greenspan
3006bc72c6 Fix HTML.isConstructedObject and comment
The comments are not related to the fix, they are just for future
reference.

The fix is that having an "own" property named `constructor` should
not disqualify an object from being considered an "instance of some
class."  Instead, we should detect that an object like
`{constructor: ...}` is a plain object by noting that
`!(x instanceof x.constructor)`.
2015-08-13 12:52:46 -07:00
David Glasser
7d6e759954 Don't try to interact with fences that have fired
This bug was introduced by #4694 which switched OplogObserveDriver's
listener from using beginWrite to the new onBeforeFire.  beginWrite
doesn't throw an error when called on a retired fence; onBeforeFire
does.  So don't try to interact with fired fences. (I'm not sure if
there is an importance to the distinction between retired and fired
introduced by dcd26415f, but this code should be fine.)

While we're at it, make the error in question (which shouldn't happen)
be delivered to Mongo write callbacks (or thrown), if for no other
reason than that it allows us to test this fix.

Fixes #4839.
2015-08-12 17:50:05 -07:00
Anubhav Jain
ee1cba5b97 Revert "Improved error reporting by adding stack trace to output"
This reverts commit be81dbdc3d.
Need to create a better way to improve error output to include a stack
trace if available
2015-08-12 17:47:05 -07:00
Anubhav Jain
be81dbdc3d Improved error reporting by adding stack trace to output 2015-08-12 17:22:59 -07:00
David Glasser
82e3edf27f Fix jshint cache 2015-08-11 19:55:55 -07:00
David Greenspan
bce9ff6319 Fix CSS minification of docs 2015-08-11 11:41:35 -07:00
Ben Newman
31856298eb Upgrade meteor-promise to 0.4.3 for improved environment binding. 2015-08-11 13:56:58 -04:00
Slava Kim
1b73957be2 Add more info on how Minimongo works 2015-08-10 19:35:44 -07:00
Ben Newman
9d6927bb02 Revert "Fix branch in GitHub URLs for documentation apiAutoBoxes."
We push to the master branch before deploying docs, so this was correct to
begin with (in production if not in development).

This reverts commit a8d2aa5fd8.

Also reverting commit 7cf025c8eb, which was
pushed by accident.
2015-08-10 16:32:46 -04:00
Ben Newman
7cf025c8eb working 2015-08-10 14:01:28 -04:00
Sashko Stubailo
262e06aec1 Mark meteor-platform as deprecated 2015-08-07 13:43:59 -07:00
Sashko Stubailo
62f723b4e2 Add meteor-platform back into the release to avoid version solver problems 2015-08-07 13:43:11 -07:00
Anubhav Jain
7fdef25507 Fixing DDPRateLimiter tests 2015-08-07 10:28:47 -07:00
Sashko Stubailo
c568ce6358 Fix todos example, and imply launch screen everywhere 2015-08-06 17:36:50 -07:00
Sashko Stubailo
3e0c05af78 Update npm shrinkwrap 2015-08-06 15:34:25 -07:00
Sashko Stubailo
5c3ace2926 Switch to version 1.4.39 of mongo driver fork 2015-08-06 15:34:25 -07:00
Sashko Stubailo
6e77ea4064 The initial versions of published packages should be 1.0.0 2015-08-06 13:34:50 -07:00
Sashko Stubailo
9d9f080377 Add README for static-html 2015-08-06 13:33:20 -07:00
Sashko Stubailo
157a3d361c Bump version on templating-tools 2015-08-06 13:33:20 -07:00
Sashko Stubailo
ab61078b31 Add metadata to templating-tools 2015-08-06 13:33:20 -07:00
Sashko Stubailo
f507690812 Add a new hot code push package that wraps autoupdate and reload 2015-08-06 11:56:30 -07:00
Sashko Stubailo
f70322c384 Update autoupdate QA 2015-08-06 11:47:03 -07:00
Sashko Stubailo
7c4457adaa Update README for meteor-platform to reflect deprecation 2015-08-06 11:41:06 -07:00
Sashko Stubailo
a50095b2a6 Remove lots of mentions of meteor-platform in tests 2015-08-05 15:15:13 -07:00
Ben Newman
6681b41ddb Rename ecmascript-containers to ecmascript-collections. 2015-08-05 09:05:28 -04:00