Commit Graph

4822 Commits

Author SHA1 Message Date
Nick Martin
4500a1aa6d update params files and readme for new benchmark. 2013-11-05 15:41:24 -08:00
David Glasser
28aa83d774 Add facts to chat-benchmark. 2013-11-05 15:41:23 -08:00
Nick Martin
971d93ae24 Chat benchmark 2013-11-05 15:41:23 -08:00
Nick Martin
9a47e73392 copy off old benchmark. 2013-11-05 15:41:23 -08:00
Matt DeBergalis
f0103b3416 Correct spec for nosub.error. Fixes #1142. 2013-11-05 00:57:45 -08:00
Matt DeBergalis
47e6f5e381 document METEOR_SETTINGS, fixes #967. 2013-11-05 00:53:07 -08:00
Matt DeBergalis
fefe536dc0 update History.md for #1563 2013-11-04 21:15:26 -08:00
rzymek
2946346c38 Minor leaderboard example simplification. Replaced {{#unless}} with {{else}}. 2013-11-04 21:11:20 -08:00
Avital Oliver
fa067789de Merge branch 'master' into devel
Conflicts:
	History.md
	tools/watch.js
2013-11-04 15:25:04 -08:00
Avital Oliver
86a52e6142 Merge branch 'release-0.6.6.3' 2013-11-04 15:16:14 -08:00
Avital Oliver
8ab1e9631a use galaxy-follower-6 release on docs 2013-11-04 15:15:19 -08:00
Avital Oliver
317d471693 docs to 0.6.6.3 2013-11-04 12:14:21 -08:00
Avital Oliver
3dedfc6083 0.6.6.3 banner tweaked by matt 2013-11-04 12:01:00 -08:00
Slava Kim
7c036de1e4 Fix date stamp in logs. 2013-11-03 22:21:35 -08:00
Slava Kim
ac376b6db8 Introduce '--raw-logs' option to meteor run to disable logs parsing. 2013-11-03 22:09:17 -08:00
Slava Kim
21b5e2acd8 Look for a file name ending with ":tests.js" as linker produces only such files. 2013-11-03 21:44:01 -08:00
Avital Oliver
f8bd4910b2 empty notices for 0.6.6.3 2013-11-01 15:59:42 -07:00
Avital Oliver
faeca08711 banner for 0.6.6.3 2013-11-01 15:59:16 -07:00
Avital Oliver
b55eb265d4 Update History.md release/0.6.6.3-rc1 release/0.6.6.3 2013-11-01 14:30:42 -07:00
David Glasser
c2d1b39791 Update fibers instructions in README.
Now it matches the instructions in the docs.

Fixes #1519.

(All of this is a mess; we should stop using the dev bundle in
deployments entirely.)
2013-11-01 14:27:08 -07:00
David Glasser
8fe59c741d Fix error on this.removed during session shutdown.
Followup to 4f4e5342 which removed session resumption. That commit
deferred the _deactivateAllSubscriptions call on session shutdown, but
left around the immediate deletion of the merge box
state (collectionViews). This meant that if any publish callbacks were
called before the _deactivateAllSubscriptions call, they would operate
on the invalid collectionViews state.

This change ensures that the subscriptions are considered deactivated as
soon as we decide to deactivate them, even before we actually deactivate
them (and call their possibly-yielding stop callbacks).
2013-11-01 14:26:48 -07:00
David Glasser
7e39e8ca8f Ensure 500 ms of directory watch downtime.
Should help with #1506.

Fingers crossed for an eventual usable fs.watch.
2013-11-01 14:26:40 -07:00
Emily Stark
5afd0d5fb1 Use object equality for closing connections for tokens.
Fixes #1540.
release/fix-issue-1553
2013-10-29 11:11:05 -07:00
Matt DeBergalis
0d6922c901 document predicate signature in restrictCreationByEmailDomain 2013-10-24 11:18:59 -07:00
Avital Oliver
21afac1e2d Add comments in deps linking to the docs 2013-10-23 09:47:32 -07:00
David Glasser
679100f1ba More history updates. 2013-10-22 22:36:53 -07:00
David Glasser
dd47801e2a facts: proof-of-concept server-side statistics.
Publishes statistics from the server to a Minimongo collection,
Facts.server. (On the server side, Facts is *not* backed by MongoDB.) By
default, this is available to all users if autopublish is on, or no
users if it is not on, but you can configure this with
Facts.setUserIdFilter.

You can add an ugly view on the stats to your app with {{> serverFacts }}.

Current stats, by package:

- mongo-livedata:
  - observe-handles
  - live-results-sets (when this is less than observe-handles,
    cursor de-dup is helping you)
- livedata
  - subscriptions
  - crossbar-listeners
  - sessions
2013-10-22 22:36:47 -07:00
David Glasser
9b58e3a21c Fix test added in dcfd00f.
The client version was running non-existent methods (because the
collection didn't exist server-side); because no callbacks were provided
to insert or update, this resulted in a Meteor._debug, but no failure.
2013-10-22 22:00:24 -07:00
David Glasser
5884d0b2d1 Update fibers instructions in README.
Now it matches the instructions in the docs.

Fixes #1519.

(All of this is a mess; we should stop using the dev bundle in
deployments entirely.)
2013-10-22 18:23:35 -07:00
David Glasser
9e7b4bd213 Fix error on this.removed during session shutdown.
Followup to 4f4e5342 which removed session resumption. That commit
deferred the _deactivateAllSubscriptions call on session shutdown, but
left around the immediate deletion of the merge box
state (collectionViews). This meant that if any publish callbacks were
called before the _deactivateAllSubscriptions call, they would operate
on the invalid collectionViews state.

This change ensures that the subscriptions are considered deactivated as
soon as we decide to deactivate them, even before we actually deactivate
them (and call their possibly-yielding stop callbacks).
2013-10-22 17:58:07 -07:00
David Glasser
9ab15d4c29 Bundler failures should cause non-zero exit code.
Fixes #1515.
2013-10-22 16:59:06 -07:00
David Glasser
daf0a4801a Ensure 500 ms of directory watch downtime.
Should help with #1506.

Fingers crossed for an eventual usable fs.watch.
2013-10-22 16:10:57 -07:00
Nick Martin
7e91b37ccd upgrade release to include spiderable change so docs are spidered. 2013-10-21 23:33:55 -07:00
Nick Martin
2b4fb9b37d Merge branch 'master' into devel
Conflicts:
	History.md
	meteor
2013-10-21 16:51:16 -07:00
Nick Martin
ebfac861f1 Merge branch 'release-0.6.6.2' 2013-10-21 16:48:51 -07:00
Nick Martin
11a10421f7 bump version number on example and docs 2013-10-21 16:48:38 -07:00
Nick Martin
d687d974a0 banner and notices for 0.6.6.2 2013-10-21 15:25:34 -07:00
Nick Martin
f4e21c0d37 Bump node version from 0.10.20 to 0.10.21 for Meteor 0.6.6.2 release. release/0.6.6.2-rc1 release/0.6.6.2 2013-10-20 22:02:25 -07:00
David Glasser
219056f0e8 History updates. 2013-10-19 01:09:49 -07:00
David Glasser
67a7c2786b Don't hash settings file during deploy. 2013-10-19 01:03:50 -07:00
David Glasser
606a94b41d Calculate settings file hash properly. Fixes #1497.
Previously we were hashing the Unicode string, not the bytes.

This also removes a race condition. Now there is only one use of
watchSet.addFile which does not go through
watch.readAndWatchFile (adding package.js hashes to multiple watch sets
at once), and that use does correctly hash the bytes.
2013-10-18 16:18:24 -07:00
Nick Martin
ad64ec17b0 remove duplicated sleep function in tests. Fixes #1496. 2013-10-18 16:00:41 -07:00
David Glasser
dcfd00fe2f Tests for update/upsert with $push/$each.
Test adapted by mcbain's test from #1492.
2013-10-18 15:39:47 -07:00
David Glasser
5a8ab31f43 Clone Meteor.Errors properly. Fixes #1482.
This fixes #1482 because EJSON.stringify clones its argument; this
change ensures that when it does that, it gets a Meteor.Error rather
than just an Object with some fields from the old Meteor.Error (which,
if the Meteor.Error was passed through a Future, will not include all
the fields we expect because they are not all enumerable).
2013-10-18 14:59:27 -07:00
Nick Martin
fbfcb4859b Increase buffer size for phantomjs in spiderable. Our docs were too big. 2013-10-18 13:28:25 -07:00
Nick Martin
4f79054b83 Merge branch 'master' into devel 2013-10-18 11:52:22 -07:00
Emily Stark
8e2cd47c38 Bump docs meteor release
Conflicts:
	docs/.meteor/release
2013-10-18 11:50:52 -07:00
Avital Oliver
de37574806 Update History.md 2013-10-17 23:17:07 -07:00
Avital Oliver
2c8422e441 Fail explicitly when publishing non-cursors 2013-10-17 22:48:07 -07:00
Avital Oliver
b242f20ffe Fix docs on http package
The recent change to throw errors wasn't done to completion.
Update the examples and some of the prose.
2013-10-17 16:36:13 -07:00