Commit Graph

13469 Commits

Author SHA1 Message Date
David Glasser
e7a9bdb507 1.0.4-rc.1 release/METEOR@1.0.4-rc.1 2015-03-09 16:20:50 -07:00
ekatek
50534fa252 fixing a test
The test is fine, but we were publishing a different version than we checked for.
(That is, we published 1.1.0, and were surprised when 1.0.1 did not show up).
Fixed.
2015-03-09 16:18:45 -07:00
David Glasser
7fad3ed150 History update 2015-03-09 16:17:32 -07:00
Tom Coleman
7733b584f1 Allow changing password without logging all users out. 2015-03-09 16:17:19 -07:00
David Glasser
b21aac4c72 fix spacing in deferred reg message 2015-03-09 15:39:22 -07:00
David Glasser
d571e556a3 Revert "Merge branch 'websocket-compression-take-2' into devel"
This reverts commit 5d3cfa2d76, reversing
changes made to 2b466a9015.

Ah well, we tried to enable websocket compression again and ran into
more bugs.

First, newer versions of websocket-driver seem to sometimes send
duplicate close messages:
https://github.com/faye/faye-websocket-node/issues/41

This occurs whether or not deflate is actually used.

Second, in some circumstances permessage-deflate seems to completely
corrupt messages. This was reasonably easily observable by running
test-packages with Chrome, and seeing that sometimes (but not always) a
large number of bad JSON messages got printed to the client
console.  (Another symptom was that the total number of tests would be
larger than it should be, leading to messages like "Passed 1109 of
1153", presumably because the test name got corrupted in some status
messages.) https://github.com/faye/permessage-deflate-node/issues/4

See #3007.
2015-03-09 15:10:26 -07:00
David Glasser
86003bc105 Remove history entry for reverted change. 2015-03-09 14:27:59 -07:00
Sashko Stubailo
3752766ff5 Re-add helpful changes from f2840103ca 2015-03-09 14:21:38 -07:00
Sashko Stubailo
7b8714da6e Revert "Tests for Template.currentData and Template.parentData"
This reverts commit f2840103ca.

Conflicts:
	packages/spacebars-tests/template_tests.html
	packages/spacebars-tests/template_tests.js
2015-03-09 14:21:38 -07:00
Sashko Stubailo
ed60db429c Change documentation for Template.currentData in events 2015-03-09 14:21:37 -07:00
Sashko Stubailo
5c7873dfa8 Revert "Make event handlers get called with target's view"
This reverts commit 72887bb0ee.
2015-03-09 14:21:37 -07:00
David Glasser
3cf30fbc17 MongoDB 3.0.0 works
Namely, test-packages works when MONGO_URL and MONGO_OPLOG_URL point to
a 3.0.0 mongod.
2015-03-09 11:38:41 -07:00
David Glasser
56c735e3e9 Add #3793 to History 2015-03-06 09:59:51 -08:00
David Glasser
90a39ef3bf Add 1.0.4 header to History 2015-03-05 23:25:40 -08:00
David Glasser
0fc2261cfe Update docs and examples to 1.0.4-rc.0 2015-03-05 23:23:21 -08:00
David Glasser
2a88b4fcf0 add some documentation: null release/METEOR@1.0.4-rc.0 2015-03-05 23:04:28 -08:00
David Glasser
10ee6aeb10 use real versions of non-core modules 2015-03-05 22:55:19 -08:00
David Glasser
af0469da35 Bump other packages to -rc.0 2015-03-05 22:54:07 -08:00
David Glasser
4f3bdd29ae Publish non-prerelease npm-bcrypt/npm-node-aes-gcm
I am publishing this with Meteor 1.0.3.2.

(Maybe this will need to be bumped to _2 for Windows.)
2015-03-05 22:51:17 -08:00
David Glasser
873018df44 Minor version bumps to packages with new features
* accounts-base: client-side login hooks
* accounts-password: emailTemplates features
* autoupdate: reload via Node IPC messages (and SIGHUP)
* blaze: template-level subscriptions and onRendered/etc hooks
* ddp: client-side onStop callback, permessage-deflate, subscriptionId
  on subscription handles
* http: npmRequestOptions, HTTPInternals.NpmModules
* mongo: validated against 2.6, oplog-backlog,
  rawCollection/rawDatabase, MongoInternals.NpmModules
* reactive-dict/session: Session.set({k1: v1, k2: v2})
* templating: attributes on <body>
* webapp: WebAppInternals.NpmModules
2015-03-05 22:30:22 -08:00
David Glasser
ab7527cfbd Update release json file 2015-03-05 22:26:25 -08:00
David Glasser
b2132ee983 De-flake template-level subs test
Fixes #3859.
2015-03-05 22:20:26 -08:00
Sashko Stubailo
2288d76db1 Rewrap comment 2015-03-05 21:56:40 -08:00
David Glasser
821882057c More History tweaks 2015-03-05 21:50:08 -08:00
David Glasser
3ef568b485 update websocket history note 2015-03-05 21:38:28 -08:00
David Glasser
7ff27f4e17 Update more docs about onStop 2015-03-05 21:36:18 -08:00
David Glasser
7e1ec96afd jsdoc update 2015-03-05 21:25:57 -08:00
David Glasser
a7cb0a0918 Find more History entries 2015-03-05 21:23:20 -08:00
David Glasser
ef8bb3043e Sort History by subproject 2015-03-05 21:23:20 -08:00
sashko
4a6dd52bca Add some helpers for testing wrapped text 2015-03-05 21:07:14 -08:00
sashko
e6dd488842 Make addendum not sensitive to line breaks 2015-03-05 20:24:44 -08:00
sashko
7820fd2014 Include file in package 2015-03-05 20:16:33 -08:00
Sashko Stubailo
71b914a296 Add flushing buffers on process.exit to meteor package 2015-03-05 20:04:58 -08:00
sashko
59a6bef4aa Revert "Fix constraint solver test by removing process.exit"
This reverts commit 18e304b28c.
2015-03-05 19:58:51 -08:00
David Glasser
f65035e11a oplog: re-fetch on confusing modifiers
For example, 5ddf203 stops us from understanding $sets and $unsets with
empty field parts, but pre-2.6 MongoDB could generate them.  (And even
post-2.6 may be able to generate $unsets with bad field names, but it's
not important for us to match that behavior since with Minimongo you
shouldn't be able to put them in in the first place.)
2015-03-05 19:56:42 -08:00
David Glasser
d7b7ab6474 minimongo: Disallow setting empty fields
This matches the MongoDB 2.6 behavior:
https://github.com/mongodb/mongo/commit/c18c7b22d
2015-03-05 19:56:41 -08:00
sashko
c914dc94cf Fix command line test by adding small wait 2015-03-05 19:47:11 -08:00
sashko
18e304b28c Fix constraint solver test by removing process.exit 2015-03-05 19:46:33 -08:00
sashko
627f3be4f8 Fix autoupdate test on Windows 2015-03-05 19:21:48 -08:00
Sashko Stubailo
5c5af8bdff Uncomment empty string argument tests
Add an if statement so that they don't fail on Windows
2015-03-05 18:45:27 -08:00
David Glasser
46d6297f38 Merge branch 'observe-projection' into devel 2015-03-05 18:41:39 -08:00
David Glasser
3104115a30 History update 2015-03-05 18:41:39 -08:00
David Glasser
cb7664c220 Always apply projection to docs, not diffs
Projection functions act on *documents*, not the diffs that are passed
to changed callbacks.  For example, a projection `{'a.b': 1}` applied to
the *document* `{a: undefined}` will result in `{}`, but the *diff*
of `{a: undefined}` on a query with that projection should still result
in a `changed` callback with that diff being invoked.

Refactor various parts of minimongo to always have a projectionFn for
each observed query (perhaps a trivial one).

Pass the projection into _diffQueryChanges so that it can apply the
projection *before* taking the diff, in the two cases in Minimongo which
use _diffQueryChanges instead of direct application. (We could instead
make the query's results and resultsSnapshot be projected, but Minimongo
currently relies on the fact that these data structures alias the
documents stored in the collection.)

Stop applying the projection to the diffs in changed via
wrapCallback. (We could still use wrapCallback to apply the projection
for added/addedBefore calls, but it seems more consistent to use the
same mechanisms for added that we use for changed.

Fixes #3800.  Fixes #2254. Fixes #3571.
2015-03-05 18:41:38 -08:00
Slava Kim
16d516522f Apply fields projection on documents before diffing them for Minimongo's changed event.
This change actually introduces another layer of projections before diffing, in
addition to more projection after the diffing, on the result.

I didn't figure out why, but the tests fail if you remove either of them.

Adds tests. Fixes #2254.
2015-03-05 18:41:38 -08:00
David Glasser
3674c12fc7 Fix server side of #3571 2015-03-05 18:41:38 -08:00
David Glasser
456d06bde3 Failing test for #3571
This fails on both server and client.

This is also related to #2254.
2015-03-05 18:41:37 -08:00
David Glasser
82bbcd112c run a test on the client too 2015-03-05 18:41:37 -08:00
sashko
3b56565373 Mark cordova tests with appropriate tag 2015-03-05 18:40:31 -08:00
Slava Kim
6a52dd82e2 Uncomment and fix the releases tests on Windows 2015-03-05 17:54:59 -08:00
Slava Kim
7d39f9e796 Uncomment and fix the "Default release track is METEOR@" test for Windows 2015-03-05 17:44:33 -08:00