Commit Graph

22356 Commits

Author SHA1 Message Date
Avital Oliver
8bfb4498cb Added comment explaining the use of the mongo positional operator 2012-08-16 11:44:50 -07:00
Avital Oliver
9ba1884352 Tests for accounts enrollment
Also made another server-side createUser test not
print emails to the console
2012-08-16 11:27:19 -07:00
Avital Oliver
53e8c2029b Enroll account flow, allowing Meteor.createUser on the server 2012-08-16 10:23:03 -07:00
Nick Martin
b3ada2cf4f Document absolute-url package. 2012-08-15 23:28:51 -07:00
Nick Martin
e9956ee8e8 Integrate force-ssl and absolute-url. Now when you add force-ssl, secure defaults to true in absolute-url. 2012-08-15 23:28:51 -07:00
Nick Martin
f18b58763b Initial absolute-url package. 2012-08-15 23:28:51 -07:00
Geoff Schmidt
fc85b3a243 scale d3 canvas correctly 2012-08-15 21:43:33 -07:00
Avital Oliver
18ea80ae47 Merge branch 'devel' of github.com:meteor/meteor into devel 2012-08-15 21:05:23 -07:00
David Glasser
7e872afa88 Allow deploy host to be specified in environment. 2012-08-15 21:03:00 -07:00
Geoff Schmidt
7c89eb8eca make d3 demo wider 2012-08-15 20:55:13 -07:00
Geoff Schmidt
0241f84b56 clean up the demo 2012-08-15 20:42:50 -07:00
Geoff Schmidt
5d8038cae1 kill excessive comments (moved into asana) 2012-08-15 19:06:13 -07:00
Avital Oliver
3e3f00f07d Use Meteor.accounts._options to drive username vs email behavior 2012-08-15 15:50:17 -07:00
Nick Martin
9eff2a109b Add createUser on the server.
Not very useful yet, since it doesn't send welcome emails.
2012-08-15 14:52:55 -07:00
Mike Bannister
d8cc5f282a use class for boldness 2012-08-15 00:47:53 -04:00
Mike Bannister
1f1f555b00 improve test fail output 2012-08-15 00:23:44 -04:00
Tom Coleman
b21da0f274 deep-copy Mongo docs in server-side observer() (closes #276)
On the client, users are free to scribble on docs they get from Mongo,
since the docs are guaranteed to be copies.  Scribbling on docs on the
server won't affect the database, but it can cause problems like
crashing LiveResultSet.  So always deep-copy on the server.
2012-08-14 19:41:24 -07:00
David Greenspan
4301dffc5f template.data clarification 2012-08-14 11:28:42 -07:00
David Glasser
cb95d44cb3 Doc fix: Cursor.observe available on both client and server 2012-08-14 10:54:30 -07:00
David Greenspan
01c7afea5f Merge branch 'master' into spark
Include 0.3.9 changes in spark branch (which my have public followers)
2012-08-13 14:55:31 -07:00
David Greenspan
81912496f6 test landmark.hasDom() 2012-08-13 14:22:11 -07:00
David Greenspan
7f8bda2737 Don't past-tense create/render/destroy
I'd prefer "rendered" but create/destroy are too nice as is
2012-08-13 14:18:09 -07:00
Avital Oliver
1113b3a21e Store users' emails in an array of objects
Instead of separately storing user.emails and user.validatedEmails,
we now store all the information in user.emails as objects with
{email: (email), validated: (validated)}
2012-08-13 14:15:03 -07:00
David Greenspan
c9a80490fc Spark.list: moved,removed call rendered() 2012-08-13 14:08:33 -07:00
David Greenspan
a17b2e4bf2 test that all list mods trigger render() (fails) 2012-08-13 12:41:20 -07:00
David Greenspan
bfa08c964e test that lists are cleaned up if not materialized 2012-08-13 12:40:54 -07:00
David Greenspan
2ddf2b1f83 preserve/events/helpers tests (and fixes) 2012-08-13 10:45:04 -07:00
David Greenspan
ded6c4901b implement Template.foo.{preserve,events,helpers}() (needs tests) 2012-08-13 10:02:43 -07:00
Nick Martin
fdce0472e0 Immediately check for local token when we're finished with forgot password or validate email. 2012-08-12 16:03:55 -04:00
David Greenspan
0a198d839d fix landmark demo for new api 2012-08-12 11:44:03 -07:00
Geoff Schmidt
efaa885a7b use click events rather than hit testing 2012-08-10 20:17:37 -07:00
David Greenspan
fec60a5ea9 Unify template obj and template callback this.
The `template` arg in `eventHandler(event, template)` and the `this`
in all three of {create,render,destroy} are now an object with
methods `find`,`findAll` assigned at creation time (closures) and
properties `firstNode`, `lastNode`, and `data` (the handlebars data)
set upon each callback.  No other props are set and the app is free
to scribble on this object.

Only subtlety is that we can't support find/findAll/firstNode/lastNode
in create/destroy callback.  In this case, find/findAll throw an error
and firstNode/lastNode are reliably null.

Added landmark.hasDom().
2012-08-10 16:37:47 -07:00
David Greenspan
1ceca3eaef template render takes template obj; tests 2012-08-10 12:53:14 -07:00
David Greenspan
00e2788edb test #isolate 2012-08-10 12:05:37 -07:00
Geoff Schmidt
bc8aadff7c demo: disable remove button when no selection 2012-08-10 03:38:06 -07:00
Geoff Schmidt
eff18190b0 Add a d3 demo :) 2012-08-10 03:28:09 -07:00
Geoff Schmidt
be3790ca5e todo comments 2012-08-09 21:09:01 -07:00
Geoff Schmidt
b7a29d5f8f slight cleanup in landmark-demo 2012-08-09 20:58:25 -07:00
Avital Oliver
6e51f51457 Tests for validating a secondary email address 2012-08-09 20:37:30 -07:00
Avital Oliver
856adb90da Reset password flow, modulo accounts-ui support for creating users with a set email address 2012-08-09 20:37:29 -07:00
Avital Oliver
6a3124becb Tests for reset password flow 2012-08-09 20:37:29 -07:00
Avital Oliver
d46a4d7a76 Hide password in reset password dialog 2012-08-09 20:37:29 -07:00
Avital Oliver
9d2cdb8013 Fix IE7 input positioning in the reset password dialog 2012-08-09 20:37:29 -07:00
Avital Oliver
da9d89dce2 Allow cancelling the reset password dialog 2012-08-09 20:37:29 -07:00
Avital Oliver
9186c63b73 Forgot password flow (modulo sending email).
Also, url helpers prepared for account validation emails.
2012-08-09 20:37:29 -07:00
David Greenspan
effc8cb42a event callback gets "template" obj 2012-08-09 19:21:58 -07:00
Geoff Schmidt
fe1e65cd9d implement landmark-demo reset button
(doesn't work yet, no API behind it)
2012-08-09 18:59:34 -07:00
Geoff Schmidt
3e75ed625a comment changes 2012-08-09 18:59:34 -07:00
David Greenspan
2242419ff6 bubbling landmark test 2012-08-09 18:32:11 -07:00
Nick Martin
0019e5f716 Merge branch 'master' into auth
Conflicts:
	examples/todos/.meteor/packages
2012-08-09 17:58:58 -07:00