Commit Graph

6147 Commits

Author SHA1 Message Date
Slava Kim
62ac82c835 Bump 2015-02-24 21:16:41 -08:00
Jacek Migdal
0e3c992fd8 No argument in client accounts callbacks.
https://github.com/meteor/meteor/issues/3572

[stubailo] Improve docs
2015-02-23 21:51:27 -08:00
Jacek Migdal
b5861c114a Implement Account.onLogin/onLoginFailure on client.
https://github.com/meteor/meteor/issues/3572
2015-02-23 21:51:26 -08:00
Sashko Stubailo
ee59870e06 Add docs about new Session.set API, wrap doc comments 2015-02-23 21:42:13 -08:00
Abigail Watson
26fc3d6666 Allow ReactiveDict#set to take object of keys/values 2015-02-23 21:35:50 -08:00
Netanel Gilad
d49af044d2 throw error instead of warning when two attributes with the same name are defined in the body. 2015-02-23 21:24:49 -08:00
Netanel Gilad
fa4e9c676e add body attributes tests 2015-02-23 21:24:49 -08:00
Netanel Gilad
48ecdf1d54 add warning when the same body attribute appears more than once. 2015-02-23 21:24:48 -08:00
Netanel Gilad
0eab851204 add body attributes to body 2015-02-23 21:24:48 -08:00
Slava Kim
05b6ddb8ed Colors to Tracker's readme 2015-02-22 12:34:13 -08:00
David Glasser
f426f09abb Allow asking for full update result from Mongo 2015-02-19 10:42:08 -08:00
David Glasser
17fc498259 Fix tests from #3730 fix
Whoops, accidentally only ran webapp tests before pushing.
2015-02-17 18:39:20 -08:00
David Glasser
d4d349ca96 Don't overly escape Meteor.settings.public
Fixes #3730.

Testing Done:
Manual testing based on the report in #3730. Also confirmed that `</script>` is not a problem.

I would have added a test-packages test but there's no easy way to override Meteor.settings in test-packages.

Bugs closed: 3730

Reviewed at https://rbcommons.com/s/meteor/r/1/
2015-02-17 18:01:01 -08:00
David Glasser
414b5e2206 Improve Email.send docs
Fixes #3747.
2015-02-17 14:15:33 -08:00
Sashko Stubailo
5efa6da74a Remove unused dependencies from Webapp
Fixes #3753
2015-02-17 09:25:18 -08:00
ekatek
fb528874b3 bumping meteor-platform
A pre-release has failed to bump its package versions before releasing
pre-releases. Bumping them post-factum, so we can release a (test)
release.
2015-02-16 15:39:18 -08:00
ekatek
4a8e5fde08 incrementing version numbers
A merge of the windows-cordova branch did not increment the version numbers
of some packages before adding pre-release versions. This causes constraint
solver errors, when, for example, trying to build a release from devel. This
change should fix the most obvious candidates.
2015-02-16 15:25:25 -08:00
Slava Kim
37f3230591 Merge branch 'upgrade-cordova' into devel
This merge applies changes to the dev-bundle script, but the new dev-bundle is
yet to be built.
2015-02-16 14:07:00 -08:00
Slava Kim
d4f3c211e6 Upgrade device cordova dependency to 0.3.0 2015-02-16 12:08:46 -08:00
Slava Kim
f8b07186d0 Upgrade statusbar cordova dependency to 0.1.10 2015-02-16 12:07:45 -08:00
Slava Kim
51a0263d4b Upgrade splashscreen cordova dependency to 1.0.0 2015-02-16 12:05:43 -08:00
Slava Kim
fc07a67704 Upgrade file-transfer cordova dependency to 0.5.0 2015-02-16 12:04:37 -08:00
Slava Kim
3ea3160365 Upgrade the file cordova dependency to 1.3.3 2015-02-16 11:59:26 -08:00
Slava Kim
772e87a355 Upgrade the inappbrowser dependency 2015-02-16 11:58:38 -08:00
Slava Kim
6c57bc2cfc Bump com.apache.cordova.console dep to 0.2.13 2015-02-14 12:44:05 -08:00
David Glasser
e7aab586c6 "Index" crossbar by collection
ie, when processing each oplog entry, don't even look at the triggers
from unrelated collection.

Also, just make "every trigger and notification needs a string
collection" into a hard rule.

This is apparently much faster for at least one real user; see #3697.

Summary: should be self-contained and documented

Test Plan: unit tests

Reviewers: ekatek

Differential Revision: https://phabricator.meteor.io/D29
2015-02-13 12:21:25 -08:00
Slava Kim
0a69d2559c Wrap spacebars README into 80 chars 2015-02-13 11:30:46 -08:00
Slava Kim
58cf006678 Colors to Spacebars' readme code samples 2015-02-12 13:53:00 -08:00
Sashko Stubailo
c0aab1e8d3 Template-level subscriptions 2015-02-11 18:10:33 -08:00
Sashko Stubailo
085e02d525 Add onStopped callback to subscriptions
Also, add subscriptionId to handles
Fixes #1461
2015-02-11 18:10:33 -08:00
David Glasser
e698c5bf5a crossbar: check common reasons to not match first
Also, put off the use of EJSON.equals until necessary.

Inspired by @hypno2000.  See #3697.
2015-02-11 17:49:19 -08:00
Slava Kim
2966337ea7 Move com.meteor.cordova-update plugin to the webapp
It makes more sense and makes it easier for people to remove meteor-platform and
just pick the webapp.
2015-02-11 12:31:38 -08:00
Slava Kim
e146cd2d14 Add a refresh on SIGHUP 2015-02-10 17:01:12 -08:00
Slava Kim
9a95c83b2a Don't use SIGUSR2 to communicate "refresh client program" from proxy to app
process. Use an ipc message instead.
2015-02-10 15:11:38 -08:00
David Glasser
7e533c6fb0 Set up skip handle earlier 2015-02-10 12:16:02 -08:00
David Glasser
b34027ec25 Use callback-hook 2015-02-10 12:16:02 -08:00
David Glasser
50d5276ad0 Fix last entry issue in a simpler way
This way we don't have to worry about NEVER getting to the "processing
an entry" phase if the firehose never stops.
2015-02-10 12:16:02 -08:00
David Glasser
9040c1461b Add a test for oplog-backlog 2015-02-10 12:16:01 -08:00
David Glasser
cf363d8530 Make sure to not clear queue completely
Expand on some comments
2015-02-10 12:16:01 -08:00
David Glasser
56f21fc82e Use double-ended-queue for various server queues
See benchmarks at https://github.com/petkaantonov/deque
2015-02-10 12:16:01 -08:00
David Glasser
a4626f1c8e If oplog tailing gets too far behind, just poll
The number of entries that is "too far" to be behind is configurable
with $METEOR_OPLOG_TOO_FAR_BEHIND and defaults to 2000.

Fixes #2668.
2015-02-10 12:16:01 -08:00
David Glasser
7ae5678db2 Move oplog tailing to an explicit background queue
This will allow us to drop the queue if it gets too far behind.
2015-02-10 12:16:01 -08:00
Sashko Stubailo
f29c954458 Bump a bunch of version numbers for new preview 2015-02-09 13:23:24 -08:00
Mitar
40575dde25 Missing dependency. 2015-02-08 19:02:12 -08:00
Dan Dascalescu
63d069e138 Syntax highlight for the reactive-dict README example 2015-02-08 19:00:42 -08:00
David Glasser
8e8ee3eca4 Unregister ObserveMultiplexer before stop
It's maybe possible that stop() yields, and in general is more complex.
Since the ObserveMultiplexer is already at the point where it will not
be able to start running again, we should remove it from the registry
first.
2015-02-07 00:02:42 -08:00
David Glasser
9166de39fe Release write fences on PollingObserveDriver.stop
OplogObserveDriver.stop() already does this.
2015-02-07 00:01:20 -08:00
David Glasser
25d9ab8250 Improve error message in PollingObserveDriver
Now when we get an error from Mongo, the cursor description is included.

Other than by the test-only _resumePolling, _pollMongo is only called at
the top level of an async-queued task, so the previously thrown error
never did anything other than print the exception (from within
_SynchronousQueue) anyway.

Fixes #1633.

(See also #2534.)
2015-02-06 19:21:30 -08:00
David Glasser
eaf11fa55e Update Node Mongo driver from 1.4.1 to 1.4.30
and BSON from 0.2.7 to 0.2.18

This is past the minimum version required to use the upcoming MongoDB
3.0.

Fixes #3654.
2015-02-06 18:05:16 -08:00
David Glasser
2e4d3f2833 Don't use system.replset to check for replset
It requires an unnecessary level of permissions in Mongo 2.6.  Instead,
use the isMaster command plus parsing the URL.

Fixes #2121.
2015-02-05 22:40:45 -08:00