Commit Graph

170 Commits

Author SHA1 Message Date
David Glasser
e733b17d6a Merge branch 'devel' into auth
Pull in the issue #215 fix (Sessions can contain non-scalar objects)
2012-10-08 21:43:54 -07:00
David Glasser
5a01d9fe4d Meteor.Collection now takes its optional parameters ("manager" and some
undocumented ones beginning with _) in an options dictionary.

(For backwards compatibility it still supports passing the manager directly.)
2012-10-08 09:17:54 -07:00
David Glasser
9251edbf8d Allow arbitrary JSON objects to be stored in Session (but not compared with equals). Test Session. Fixes #215. 2012-10-06 14:42:59 -07:00
David Glasser
41cc24d9e7 Merge branch 'devel' into auth
Pulls in Meteor._ContextSet, bumps version to 0.4.2, etc.
2012-10-06 11:10:56 -07:00
David Glasser
71851fef89 Merge branch 'devel' into auth
Conflicts:
	app/meteor/skel/.meteor/packages
	examples/leaderboard/.meteor/packages
	packages/livedata/livedata_connection.js
2012-10-01 20:07:27 -07:00
David Glasser
5eb81e920d Increment version to 0.4.2. 2012-10-01 18:25:18 -07:00
David Glasser
be4da5fba4 Revert "Support unlimited tabs by working around browser per-hostname connection limits."
This reverts commit 2495cb2f58.

This change made it easy to construct URLs with more than 63 characters in a
label, which is not legal. We will redo this later with generating a smaller
random token (and taking other precautions to limit the total size of the
label).
2012-10-01 13:45:54 -07:00
David Greenspan
f3f64922c4 Merge branch 'preserve-inputs' into devel 2012-09-29 13:26:23 -07:00
David Greenspan
1e82308054 Tweaks from Geoff code review 2012-09-29 13:24:46 -07:00
David Greenspan
c9f51e3b84 add note to docs about preserve-inputs 2012-09-28 14:09:00 -07:00
David Glasser
2495cb2f58 Support unlimited tabs by working around browser per-hostname connection limits.
The URL provided to Meteor.connect may now be a function returning a new URL on
each socket connection, or contain the substring "MeteorWildcard" which is
replaced by a random string (a UUID) on each socket connection.
2012-09-28 11:57:48 -07:00
David Glasser
5470b3f511 Merge branch 'devel' into auth 2012-09-27 13:51:21 -07:00
David Glasser
094546d53b Check that the value to Session.set is scalar (like we already do in Session.equals).
Document this restriction for both functions.

We may later relax this (with deep-copy in and out of the Session); see issue
2012-09-27 11:10:28 -07:00
Avital Oliver
ee922de1c2 Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_server.js
2012-09-21 10:59:48 -07:00
Avital Oliver
b0d181dbcc Add the replaceLocalhost option to Meteor.absoluteUrl 2012-09-20 15:07:52 -07:00
Avital Oliver
de413efe50 Fold the absolute-url package into the meteor package 2012-09-19 16:19:54 -07:00
David Glasser
f40b7b03c0 Update version number for 0.4.1.
This will be the commit that 0.4.1 is released from. If the initial release
candidate fails QA, this commit will be reverted.
2012-09-18 10:49:40 -07:00
David Glasser
d1467c983d Revert "Update version number for 0.4.1."
This reverts commit 8ddcc21a0e.

More changes are necessary to History.md.
2012-09-18 10:21:26 -07:00
David Glasser
8ddcc21a0e Update version number for 0.4.1.
This will be the commit that 0.4.1 is released from. If the initial release
candidate fails QA, this commit will be reverted.
2012-09-17 23:38:51 -07:00
David Glasser
2fedd2adfc Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_common.js
	packages/livedata/livedata_connection.js
	packages/livedata/livedata_server.js
	packages/mongo-livedata/collection.js
2012-09-17 14:42:10 -07:00
David Glasser
42033a03aa Merge branch 'devel' (early part) into auth
Conflicts:
	packages/email/email.js
	packages/email/email_tests.js
	packages/livedata/livedata_tests.js
2012-09-17 14:31:54 -07:00
David Glasser
5e622215ba Change all publicly documented APIs to use camelCase.
For now, the old names still work as well.

This includes:
  - Meteor.isServer/isClient
  - this.isSimulation in methods
  - Context.onInvalidate
  - Meteor.status().retryCount/retryTime

Remove old backwards-compatibility "Sky" alias for "Meteor".

Update all examples in the docs to use camelCase.

Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -07:00
David Glasser
f46dfc2717 Follow-up to 0ed8555 (no-op, different structure). 2012-09-14 22:43:35 -07:00
David Glasser
f340c35c02 Basic email support. 2012-09-14 18:38:29 -07:00
David Glasser
0ed8555690 Fix {{#dtdd}} handler in docs for 0.3.8 changes. 2012-09-14 17:09:37 -07:00
Nick Martin
24377fc980 Merge branch 'devel' into auth 2012-09-07 19:42:42 -07:00
David Glasser
5697cc568b Add note to docs about auth. 2012-09-06 16:51:47 -07:00
David Glasser
233626de86 Make Meteor.Cursor.forEach fully synchronous even if the user's callback yields.
Previously, if the callback yields (eg, if it does a DB query), the next
iteration of the callback could run, or the forEach could finish entirely,
because the future we waited on only checked to ensure that the callback was
*started* on all documents, not *finished*.

Fixes #321. Thanks to Scott Anderson for bug report with minimal reproduction
case.
2012-09-06 10:20:22 -07:00
Nick Martin
c514341df8 Merge branch 'master' into auth
Conflicts:
	.gitignore
	examples/todos/client/todos.js
2012-09-04 00:42:35 -07:00
Nick Martin
8f4045c1b9 Bump version number for release. 2012-08-30 21:00:42 -07:00
Nick Martin
5a06b8ad12 More docs tweaks. 2012-08-30 18:04:32 -07:00
David Greenspan
5d34cdf1d2 tmpldecl => template in URL fragments 2012-08-30 15:05:41 -07:00
David Greenspan
e4a5cb6db1 isolate 2012-08-29 20:34:37 -07:00
David Greenspan
3423aee12c constant regions 2012-08-29 20:07:48 -07:00
David Greenspan
b557de261e render/renderList, delete old Meteor.ui 2012-08-29 19:04:37 -07:00
David Greenspan
1de8e506a2 preserve 2012-08-29 18:05:40 -07:00
Nick Martin
c839cc137c Replace or reword references to Meteor.ui 2012-08-29 18:00:17 -07:00
Nick Martin
ee3bd696fe Move flush to deps. Not the best place for it, but better than core. 2012-08-29 18:00:17 -07:00
David Greenspan
5b03c1f5fb events, helpers 2012-08-29 17:25:24 -07:00
David Greenspan
9c566c9788 template instances 2012-08-29 16:41:18 -07:00
Nick Martin
df7a24b6cc Make document structure match navbar, adding needed api boxes, etc. 2012-08-29 16:37:26 -07:00
David Greenspan
d1e56cd94f good nav 2012-08-29 15:38:49 -07:00
David Greenspan
c42070451f more template docs 2012-08-29 14:47:08 -07:00
David Greenspan
238cfd9a88 tweaks 2012-08-28 13:11:07 -07:00
David Greenspan
2fd4e4c5c1 more Template work 2012-08-28 13:11:07 -07:00
David Greenspan
bdb89d8c55 Create "Templates" section 2012-08-28 13:11:07 -07:00
David Greenspan
c758bbb164 Move Meteor.flush to Core 2012-08-28 13:11:07 -07:00
David Greenspan
76984e87ac Further hack docs Markdown for Spark 2012-08-28 13:11:07 -07:00
Nick Martin
6f8f08714b Merge branch 'devel' into spark 2012-08-27 13:48:45 -07:00
David Greenspan
2255c61383 more events({... changes 2012-08-23 12:17:53 -07:00