David Glasser
9ffdc44487
Merge branch 'devel' into release-0.5.8
v0.5.8
2013-03-13 06:20:29 -07:00
Geoff Schmidt
017ee5eac5
minor docs editing/examples improvement
2013-03-13 06:08:52 -07:00
David Glasser
431e3ab900
Merge branch 'devel' into release-0.5.8
2013-03-13 06:05:16 -07:00
David Glasser
854bca2fae
Remove outdated comment about update/remove rewriting.
2013-03-13 06:03:59 -07:00
Geoff Schmidt
a158e3f901
Update docs: update/remove RPCs may only use IDs as selectors, other tweaks
2013-03-13 05:52:58 -07:00
David Glasser
9e73d68566
Another pass on History.md.
2013-03-13 05:43:05 -07:00
David Glasser
db66fdeb28
Expand deps entry in History.md.
2013-03-13 05:03:04 -07:00
David Glasser
070d6f7ca9
collection.update() and .remove() may only use IDs as selectors when sending RPCs.
...
ie, they can use arbitrary selectors on the server and in client stubs, but not
in other client contexts. This is to prevent clients from executing arbitrary
selectors against the DB.
Because of this, the update and remove allow/deny callbacks can only ever get
one doc, so switch them from getting an array to just getting the doc (like
insert).
2013-03-13 04:52:59 -07:00
David Glasser
1a68026aa3
collection.update() and .remove() may only use IDs as selectors when sending RPCs.
...
ie, they can use arbitrary selectors on the server and in client stubs, but not
in other client contexts. This is to prevent clients from executing arbitrary
selectors against the DB.
Because of this, the update and remove allow/deny callbacks can only ever get
one doc, so switch them from getting an array to just getting the doc (like
insert).
2013-03-13 04:44:47 -07:00
David Glasser
322699e420
Test for e03d354.
2013-03-12 18:18:33 -07:00
Naomi Seyfer
9d03ddaf86
aaand removed the everpresent debugger call
2013-03-12 18:07:36 -07:00
Naomi Seyfer
e03d35460d
Account for the case where a query might have been stopped before recompute
...
In minimongo, sometimes we precompute a list of queries that need recomputation,
and then recompute them. When this happens, we call callbacks that sometimes end
up stopping the query, which removes it from the list of queries on the collection.
Without checking for this case, it casued an exception.
2013-03-12 18:04:41 -07:00
Naomi Seyfer
575320b929
Make transforms on collections always nonreactive
2013-03-12 14:12:56 -07:00
Naomi Seyfer
67d8f829a2
Make transforms on collections always nonreactive
2013-03-12 13:36:45 -07:00
Nick Martin
5f21cffde4
History.md version bump.
2013-03-12 10:54:26 -07:00
Nick Martin
c699f9fef4
Bump version number for new release.
2013-03-12 10:46:19 -07:00
Nick Martin
a3287a6f40
History.md entry for new Deps.
2013-03-12 10:45:31 -07:00
Nick Martin
abe3ee9cbe
Merge remote-tracking branch 'origin/deps-radical' into devel
2013-03-12 10:39:03 -07:00
David Glasser
a6380750a2
Revert changes to parties from 26ac481 and 0d3be81. Keep bugfix.
...
transform is intended as a power-user feature and isn't necessary for the basic
parties example.
2013-03-12 01:40:09 -07:00
Nick Martin
885ba59cbd
Merge branch 'dev-bundle-0-2-23' into devel
2013-03-11 23:13:19 -07:00
David Glasser
0d3be81357
spark: apply transform in initial render.
...
parties example: add displayName using transform instead of keeping it as a
separate function. This allows us to drop a few helpers, too.
2013-03-11 23:08:54 -07:00
David Glasser
26ac481c3f
parties: use transform to make "attending" a method
2013-03-11 23:08:54 -07:00
Nick Martin
ef05f8ccc9
Drop underscore version back to 1.4.2.
2013-03-11 22:56:50 -07:00
Nick Martin
4fa14fa1ce
Increment dev bundle version.
2013-03-11 22:55:53 -07:00
Nick Martin
b27dd1b8d2
Fix race condition in test. Multiple tests running at once could cause a failure.
2013-03-11 22:54:07 -07:00
Nick Martin
81de2e700b
History update for #753 .
2013-03-11 22:47:31 -07:00
Nick Martin
65840c1152
Merge remote-tracking branch 'origin/pr/753' into devel
2013-03-11 22:45:38 -07:00
Nick Martin
e0d1a29633
Merge branch 'appcache' into devel
...
Conflicts:
History.md
2013-03-11 22:35:24 -07:00
Nick Martin
5f7cd81eeb
Doc tweak and History.md.
2013-03-11 22:34:05 -07:00
David Glasser
5f9eba5f79
Clean up selector.js old-browser workarounds.
...
Instead of checking $Uint8ArrayPolyfill directly, keep that as an internal
detail of ejson and use EJSON.isBinary.
Consistently avoid treating $Uint8ArrayPolyfill objects as arrays throughout the
selector compiler.
2013-03-11 21:09:59 -07:00
Nick Martin
68474b25ae
Merge branch 'meetup' into devel
2013-03-11 21:03:59 -07:00
Nick Martin
080ea928b8
Add history.md note about accounts-meetup package.
2013-03-11 21:03:16 -07:00
Nick Martin
429aa690a4
Tweak the height of the popup box. Meetup varies the height of their box based on which permissions are requested.
2013-03-11 20:52:52 -07:00
David Glasser
02959efba8
Don't apply transform for server-side observeChanges (eg publishes).
2013-03-11 20:28:09 -07:00
David Glasser
c44d169628
Fix test race condition in EJSON tests.
...
When running the client versions of the tests, the client will send EJSON to the
server containing the Dog type, so the server needs to have already executed
EJSON.addType. Putting the call in a test is too late.
2013-03-11 20:13:28 -07:00
David Glasser
2a1f48bb7f
Aha, here's where the transform is :)
2013-03-11 20:01:57 -07:00
David Glasser
94883aef0e
Fix model test concurrency issues.
...
(Worth seeing how hard it would be to refactor this file to use separate
collections per run...)
2013-03-11 19:52:22 -07:00
Naomi Seyfer
f484f4e433
stop getting the transform from the wrong place on the server in getTransform
2013-03-11 18:17:07 -07:00
Naomi Seyfer
107cb7e2ff
s/arguments/options/ in history.md
2013-03-11 18:14:36 -07:00
Naomi Seyfer
294111f92b
Merge branch 'models' into devel
2013-03-11 17:54:00 -07:00
Naomi Seyfer
1c4041ee71
Doc review and example code in docs
2013-03-11 17:52:38 -07:00
James Gill
bf0b8f961f
Now accept multiple event handlers.
...
Also including tests.
With this, you can define two events off of, say,
'click #myButton', and both will be triggered by a
click event.
2013-03-11 17:38:13 -07:00
James Gill
17c21705a7
Spark.attachEvents can handle arrays of callbacks.
2013-03-11 17:09:29 -07:00
Naomi Seyfer
1653c091e7
Change the names from factory to transform
2013-03-11 15:49:17 -07:00
James Gill
5eaf672c15
Adding (failing) tests for multiple event handlers.
2013-03-11 15:27:34 -07:00
David Greenspan
0f598403b5
docs wording improvement
2013-03-11 13:05:34 -07:00
David Greenspan
96d05d741f
Deps.Variable => Deps.Dependency
2013-03-11 12:37:25 -07:00
Naomi Seyfer
71ad7790ff
draft of history.md for factories; needs tightening too
2013-03-11 12:34:22 -07:00
David Greenspan
463c6c1b0b
Merge branch 'devel' into deps-radical
2013-03-11 12:19:21 -07:00
David Greenspan
a18a92e65f
Deps.run => Deps.autorun
2013-03-11 12:17:39 -07:00