Commit Graph

22356 Commits

Author SHA1 Message Date
David Greenspan
1e82308054 Tweaks from Geoff code review 2012-09-29 13:24:46 -07:00
David Glasser
caecb40f1a Small improvements to LiveRange constructor docs. 2012-09-28 16:14:10 -07:00
David Greenspan
c9f51e3b84 add note to docs about preserve-inputs 2012-09-28 14:09:00 -07:00
David Greenspan
b995d4751a add preserve-inputs package to skel and more examples 2012-09-28 13:23:30 -07:00
David Greenspan
0adc89e736 spark tests no longer clear _globalPreserves 2012-09-28 13:16:00 -07:00
David Glasser
4dcdeb4435 Fix jsparse tests on IE7. 2012-09-28 12:39:03 -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
8ff16d3b04 IE7 throws an error if you use unquoted false or true as a key in object literals.
Quoting it works (and x[false] and x[true] work).
2012-09-28 11:42:57 -07:00
David Glasser
80dbb2e7a6 Follow-up to ac9f553: only save migrationData if name provided. 2012-09-28 07:37:13 -07:00
David Glasser
ac9f553d07 Refactor "reload" package: camelCase the API, and make the onMigrate name
optional.

Motivation: now that we don't use "url" as a key in _LivedataConnection, it's
easier to turn it into a function (for MeteorWildcard support).
2012-09-28 00:19:54 -07:00
David Glasser
bee8bcf482 Don't allow migrations if there are any outstanding methods.
This is essentially ported from the auth branch.

Motivation: would like to avoid using url as a reload key, in preparation for
making url a function.
2012-09-28 00:14:41 -07:00
David Greenspan
1920122ddd move idNameLabeler into Spark 2012-09-27 19:34:59 -07:00
Nick Martin
d261630836 Break accounts-ui-unstyled out from accounts-ui. 2012-09-27 19:34:37 -07:00
Nick Martin
101acac9a3 Meteor.user() on the server (only in methods for now). 2012-09-27 19:34:36 -07:00
Nick Martin
72b327f196 Remove enrollAccount as a separate method and token. Just use resetPassword. 2012-09-27 19:34:36 -07:00
Nick Martin
5def0ac65f Add 'Meteor.setPassword' on the server. Relax constraints around setting an initial password for users. 2012-09-27 19:34:36 -07:00
David Glasser
c0815f5061 Fix #353: livedata_connection state corruption with "wait: true" methods.
When a "wait: true" method is ready to fire its callback, and there are blocked
methods but no blocked "wait" methods, we used to leave the blocked methods in
the blocked_methods array in addition to sending them. In addition to leading to
potentially leading to duplicate method calls (ignored by the server), this
blocked all code push migrations.
2012-09-27 19:34:36 -07:00
David Greenspan
07c72f28c9 minor from code review 2012-09-27 19:26:22 -07:00
Matt DeBergalis
687407a4d3 Merge remote-tracking branch 'origin/devel' into auth 2012-09-27 16:38:21 -07:00
David Greenspan
4e15995e4f Fix for Handlebars helper functions returning null
Now you can do {{foo.bar}} if foo() returns null,
and get nothing (silent failure) just like you do
if foo is a non-existent property or function.
2012-09-27 14:31:21 -07:00
David Glasser
5470b3f511 Merge branch 'devel' into auth 2012-09-27 13:51:21 -07:00
David Glasser
ef874ae15d node.sh: no readline if in Emacs shell. 2012-09-27 13:38:29 -07:00
David Glasser
09eda1e30a Increment bundle to 0.2.5 (because 0.2.4 has a bad node version). 2012-09-27 13:03:45 -07:00
David Glasser
20f8da21c5 Update node to v0.8.11, a quick bugfix release on top of v0.8.10. 2012-09-27 13:02:43 -07:00
David Glasser
1426432da8 Update dev bundle version number to 0.2.4. 2012-09-27 12:39:01 -07:00
David Glasser
c4f977588a Replace our custom non-blocking stdin hack.
Instead:

  - Upgrade to node v0.8.10, which includes the fix to
    https://github.com/joyent/node/issues/3994, to fix "meteor mongo".

  - To fix "meteor deploy" in emacs shell, use a hack to revert the O_NONBLOCK
    setting after process.stdin is evaluated: since the 3994 fix only applies
    when something is spawn'd, make sure to spawn 'true' after evaluating
    process.stdin.

  - In our node.sh script, if in emacs shell, use Perl to make stdin
    non-blocking after node exits. This makes the Node REPL work.
2012-09-27 12:39:01 -07:00
David Glasser
bc3778c17f Update SockJS to 0.3.3 for iOS 6 xhr-polling support.
See https://github.com/sockjs/sockjs-node/pull/88
2012-09-27 12:34:48 -07:00
Braden Simpson
6da4833885 added username to the identity. 2012-09-27 11:19:10 -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
David Glasser
a016e83754 Let exceptions from stream message callbacks percolate upwards.
We used to be unable to do this because of a SockJS bug, but the SockJS folks
read our XXX comment and fixed the bug!
https://github.com/sockjs/sockjs-client/issues/61
2012-09-25 18:26:06 -07:00
David Glasser
a9dfc0322b Build RPMs in the build-specific tempdir. 2012-09-25 17:52:42 -07:00
Nick Martin
3feefd3cda Merge remote-tracking branch 'origin/devel' into auth 2012-09-24 22:36:15 -07:00
David Greenspan
fe096edf23 spark_tests uses preserve-input labeler 2012-09-24 20:36:19 -07:00
David Greenspan
d22e1e6dcd todos uses preserve-inputs 2012-09-24 20:25:03 -07:00
David Greenspan
eaf146cc2e preserve-inputs package, Spark._globalPreserves 2012-09-24 20:17:19 -07:00
David Greenspan
0565593da5 block browser events triggered by Spark DOM manip 2012-09-24 20:01:24 -07:00
David Greenspan
deafbf4a3d implement proper legacy-style id/name preservation
just in spark_tests, but to go in package
2012-09-24 20:01:24 -07:00
Braden Simpson
55e291e671 Added the accounts-github files into the main meteor repo 2012-09-24 19:57:06 -07:00
Nick Martin
65aaa2e991 Specify UTF-8 for app HTML. Fixes #264 2012-09-24 18:11:24 -07:00
Nick Martin
12e4c1b157 Respect existing ROOT_URL environment variable in dev mode runner. 2012-09-24 17:54:25 -07:00
Braden Simpson
0b2548a946 Formatting changes 2012-09-24 16:07:02 -07:00
Braden Simpson
1a5cd631f6 Update to include Github auth in the core dialog. 2012-09-24 16:03:00 -07:00
David Greenspan
4b25e2d82d fix tinytest error message bug 2012-09-24 12:12:42 -07:00
David Greenspan
1168a70e3e fix reactive <select> tag in IE 7-8
Work around IE bug where HTML comments don't materialize inside
<select> and <option> tags.
2012-09-24 12:06:19 -07:00
David Glasser
a0252d6fbe Fix #352: meteor should work if a parent directory is named 'public'.
Also make sure that every use of app_dir that eventually gets passed to
_scan_for_sources is a resolved path. (Maybe should just resolve in
require_project instead?)
2012-09-24 11:41:22 -07:00
David Glasser
6c6fa5a6b1 Fix race condition in spiderable.
If the "check to see if page is ready" interval ran when "Meteor" is defined but
"Meteor.status" is not yet defined, an error message about trying to call an
undefined function would be dumped into the output source before the page
itself.

This can be easily reproduced by changing the timer interval from 100 to 1.
2012-09-24 10:41:14 -07:00
David Glasser
f265334566 Merge branch 'release-0.4.1' 2012-09-24 09:37:53 -07:00
Avital Oliver
879bee2f50 Merge pull request #350 from yanivoliver/master
Use new event handler syntax in skeleton app
2012-09-21 17:38:21 -07:00
Yaniv Oliver
58c03ad5da Use new event handler syntax in skeleton app 2012-09-21 16:59:03 -07:00
Nick Martin
69110dec0f Add callback to oauth login methods. Display errors in accounts-ui. 2012-09-21 14:42:59 -07:00