Commit Graph

3410 Commits

Author SHA1 Message Date
Nick Martin
45dea05b21 Minor wordsmithing
(Meteor provides the package whether or not you like to use it =)
release/0.6.2-match
2013-04-18 20:38:16 -07:00
Nick Martin
c12f3851d1 Add audit-argument-checks to parties. This way when we do QA, we will exercise the package. 2013-04-18 19:30:44 -07:00
David Glasser
296d4f5ccf docs ready for review 2013-04-18 19:17:53 -07:00
David Glasser
e9e558cd98 toc, also reorder appcache/amplify 2013-04-18 19:17:53 -07:00
David Glasser
f72a7223c5 More check docs 2013-04-18 19:17:53 -07:00
David Glasser
6776c354b8 start of docs for check 2013-04-18 19:17:53 -07:00
David Glasser
f67db983c3 New check library. 2013-04-18 19:17:53 -07:00
Naomi Seyfer
c04a764560 Merge branch 'minimongo-queue' into devel 2013-04-17 19:38:39 -07:00
Naomi Seyfer
11fb171436 Glasser diff review comments 2013-04-17 19:24:35 -07:00
Naomi Seyfer
68e4ecfc18 New queueing semantics for observe events
When modifications to a collection are nested inside observe events for the same
collection, previously we would just throw an error.  Now, instead, we schedule
the new observe events for after the currently scheduled events, and make sure
they all happen before the outer modification returns.

I think this is going to be the least-unexpected behavior, even if it is a
little difficult to explain at first blush.
2013-04-17 19:24:35 -07:00
Naomi Seyfer
aa91dff1bf Queue behavior v1, flush until mark 2013-04-17 19:24:32 -07:00
Naomi Seyfer
8432577f00 Just don't provide stubs for collection methods on server; test.
Test is for insert on server-to-server DDP minimongo side.
2013-04-17 19:22:39 -07:00
Naomi Seyfer
6ebee578d6 Minimongo now uses a queue to manage observes
What this means for the user is that now, both on the server and the client, if
you look at a minimongo-backed collection from an observe/observeChanges
callback, you'll see a consistent view of it -- you'll never see it in the
middle of an update, for instance.

Furthermore, server!minimongo no longer has stubs, just future waits or
callbacks, your choice.
2013-04-17 19:22:39 -07:00
Naomi Seyfer
4ca4859c45 Test for observe ordering in minimongo on server.
Currently failing.  Test first wheeeee!
2013-04-17 19:22:39 -07:00
Naomi Seyfer
311837cdf4 added file for fiber_helper style stubs on the client 2013-04-17 19:22:38 -07:00
Naomi Seyfer
eb90df2f8d Revert "Only define Collection.prototype.allow/deny on the server."
This reverts commit 2294da1297.
2013-04-16 13:34:22 -07:00
Nick Martin
0b51590f3d Merge branch 'master' into devel 2013-04-16 12:53:53 -07:00
Nick Martin
1dfc7171f2 Merge branch 'release-0.6.2' 2013-04-16 12:53:10 -07:00
Nick Martin
f8c561140f Bump version numbers on apps. 2013-04-16 12:51:51 -07:00
Nick Martin
922e348145 banner text 2013-04-16 12:42:44 -07:00
Avital Oliver
2294da1297 Only define Collection.prototype.allow/deny on the server.
Motivated by finding a user created package which added a file
only on the client, in which there were calls to .allow. This way
they would get an error.
2013-04-16 11:13:32 -07:00
Nick Martin
1d8d1cdf80 Notices and banner. 2013-04-16 00:04:52 -07:00
Nick Martin
835ced78d7 Tag History.md with new version number. 2013-04-15 23:38:30 -07:00
Nick Martin
ac1e62ac30 Update apps to 0.6.2-rc3 2013-04-15 23:35:44 -07:00
Nick Martin
777e36650d More fixes for homedirs with spaces in their name.
Also, go on a quoting spree on places that weren't problems, so no one copies bad bash.
release/0.6.2 release/0.6.2-rc3
2013-04-15 19:46:15 -07:00
David Glasser
583508e10d Support EJSON.clone(arguments).
This enables (eg) Meteor.apply('foo', arguments). Fixes #946.
2013-04-15 17:49:12 -07:00
David Glasser
49822939c2 Revert "Use npm instal --force to get around NPM cache corruption bug."
This reverts commit 7825ae7845.

test_bundler_npm.js (even after an obvious fix is applied to an unrelated
problem) fails a noticeable percentage of the time in the "bundle multiple apps
in parallel" test. It does not appear to fail on the node-0.10 branch, so will
apply this there instead.
2013-04-15 16:54:48 -07:00
David Glasser
7825ae7845 Use npm instal --force to get around NPM cache corruption bug. 2013-04-15 15:10:07 -07:00
Nick Martin
dc887a40c8 Update tools tests for stream -> livedata package merging 2013-04-15 14:12:56 -07:00
Nick Martin
9d778f5f34 Merge branch 'devel' into release-0.6.2 release/0.6.2-rc2 2013-04-15 11:56:10 -07:00
Nick Martin
939f3ff016 Update history 2013-04-15 11:54:59 -07:00
Andrew Wilcox
6873c91424 Allow CoffeeScript to set global vars when using "use strict".
Ha.  Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4)

Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00
Nick Martin
93a6fafc3b Merge branch 'code-cleanup' into devel 2013-04-15 10:50:14 -07:00
Nick Martin
274f7e35b2 Comment on issue #828 2013-04-15 10:49:51 -07:00
Nick Martin
28f9061555 Oops, missed a spot. 2013-04-15 10:48:42 -07:00
Nick Martin
778afd112d Remove unused requires. 2013-04-15 10:48:42 -07:00
Nick Martin
9ca82daabb Simplify code using new reactive 'ready' function on subscription handles. 2013-04-15 10:48:42 -07:00
Nick Martin
1a340917e8 Reorganize and cleanup code.
- consistent ordering
- lots more comments
- whitespace fixups

Cleanup part 2. More comments and reordering.
2013-04-15 10:48:42 -07:00
Nick Martin
b9873f1c92 Remove partial fix for connecting back to self in environments where absoluteUrl doesn't match.
There were more places where this change would be needed, and it was kinda ugly to try to share the code. Having absoluteUrl be where we are reachable is a requirement for testing OAuth flow anyway, having it required for automated testing isn't so bad.

This is typically only a problem when testing on local windows VMs. In this case, you can work around the issue by editing `C:\Windows\System32\drivers\etc\hosts` to include '10.0.2.2  localhost`.

(And yes, I know this code was my idea in the first place. I was wrong.)
2013-04-14 23:23:47 -07:00
Nick Martin
c1f1329101 Fix templating tests on IE8 2013-04-14 23:16:15 -07:00
Nick Martin
1d87453963 Merge branch 'oauth-error-messages' into devel 2013-04-14 19:42:27 -07:00
Avital Oliver
cbadead8c7 accounts-weibo: make sure uid indeed parses to an integer release/0.6.1-test-unbreak-home-dir-with-whitespace 2013-04-14 00:29:53 -07:00
Avital Oliver
075e68c6c3 Update History.md 2013-04-13 20:47:13 -07:00
Avital Oliver
17246ff23d Weibo user ids are strings again 2013-04-13 20:39:55 -07:00
Avital Oliver
7c12ba95d9 Update History.md 2013-04-13 20:23:44 -07:00
Avital Oliver
ee03cfc1f8 Remove confusing dot 2013-04-13 20:16:28 -07:00
Avital Oliver
a9272a6cbf Significantly improve error with misconfigured OAuth services
- We now rethrow any errors, which means we get a proper stack trace,
  rather than it seemingly coming from within a callback in the http package
- The error thrown contains the response body which typically contains
  helpful information
2013-04-13 20:16:28 -07:00
Avital Oliver
66d4bbc428 Include HTTP error code in Meteor.http error message 2013-04-13 20:16:28 -07:00
Nick Martin
d2e38628f0 Merge branch 'devel' into release-0.6.2 release/0.6.2-rc1 2013-04-12 20:45:09 -07:00
Nick Martin
93497be27f History.md additions and tweaks. 2013-04-12 20:42:17 -07:00