Commit Graph

1582 Commits

Author SHA1 Message Date
Avital Oliver
b01cb66029 New login service configuration system + UI.
Instead of configuring client ids and app secret from code,
we store those in Mongo documents. This means it's easier
to work with multiple deployments of the same app. Also,
this allows for a wizard-style UI to configure your
login services.
2012-09-21 14:42:59 -07:00
Nick Martin
c50cd1defa Add createdAt timestamp to new user records. Add extra safety belt to prevent duplicate email or username. 2012-09-21 14:14:42 -07:00
Nick Martin
3e650e786e Remove email-based account merging from OAuth logins.
Users who log in via OAuth providers now do not have email addresses set in the top level 'emails' field. Instead, their emails are recorded inside the services field.

This means one user who logs in with facebook and google with the same email address will get two different accounts.
2012-09-21 14:14:42 -07:00
Nick Martin
b7974887bf Add 'profile' sub-object to user records. Restrict publishes and methods to reflect new profile semantics. Move name into profile. 2012-09-21 14:14:42 -07:00
Avital Oliver
cac7f14059 Change to user document structure: emails.email -> emails.address 2012-09-21 14:14:41 -07:00
Avital Oliver
08fecae1b9 Remove reference to absolute-url 2012-09-21 11:00:33 -07:00
Avital Oliver
ee922de1c2 Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_server.js
2012-09-21 10:59:48 -07:00
David Greenspan
b112cf8f92 small jsparse improvements 2012-09-20 21:22:34 -07:00
David Glasser
d715a5ff74 Merge branch 'release-0.4.1' into devel (some changes discovered during the
not-yet-finished 0.4.1 release process).
2012-09-20 18:09:59 -07:00
David Glasser
2768abd5c3 Fix IE7 minimongo test failure: don't use LocalCollection._f._equal on Dates.
(We should eventually make all the selector code support Dates, but until then,
don't use it.)
2012-09-20 17:04:50 -07:00
Avital Oliver
b0d181dbcc Add the replaceLocalhost option to Meteor.absoluteUrl 2012-09-20 15:07:52 -07:00
Avital Oliver
c322737de7 Accounts UI: Fix keypress event handler on password field 2012-09-20 14:19:40 -07:00
David Glasser
4b8a688000 Change some test names to make it easier to search output for failures.
We should eventually improve test output in more sophisticated ways (eg,
failures could show up sorted at the top, or be duplicated in a second column),
but this is a simple start.
2012-09-20 12:05:51 -07:00
Avital Oliver
e1a7c2ff46 Minor changes to deprecated absolute-url package based on code review comments 2012-09-20 07:33:08 -07:00
Avital Oliver
de413efe50 Fold the absolute-url package into the meteor package 2012-09-19 16:19:54 -07:00
David Glasser
e27304c999 Work around Node 0.8 brokenness with using /dev/stdin in subprocesses. v0.4.1 2012-09-19 13:50:06 -07:00
Avital Oliver
e9dcfff310 Rename deep inner fields in user document: creationTime -> when 2012-09-19 12:01:25 -07:00
David Greenspan
886d657afe Merge branch 'jsparse' into devel
Adds the "jsparse" JavaScript parser as an internal package.

At some point jsparse will get proper docs and become a public
package.  For now, it's basically complete and has unit tests,
so it meets the bar for an internal package.  It will be used
by the new docs tool.
2012-09-19 11:45:02 -07:00
David Greenspan
a4c4fabbbd make jsparse internal 2012-09-19 11:42:34 -07:00
David Glasser
125cf2153d Add one more change to History.md. 2012-09-18 16:41:09 -07:00
David Glasser
f0fd0c476c Make sure that Mongo remove calls finish before returning from _Mongo.remove.
This started causing test failures in deployed tests while testing the 0.4.1
release candidate; we think this may be related to bumping the mongodb node
driver version. (Maybe the change to this.poolSize in
f81870f7da
?)
2012-09-18 15:54:19 -07:00
David Greenspan
7b036318e7 Fix Spark CSS updating tests in Safari 4, iPad 2012-09-18 15:02:07 -07:00
David Greenspan
a0ded8c3d0 Fix Spark in Firefox 3.6-4 2012-09-18 15:01:28 -07:00
David Greenspan
1cf759ed7e Unit test driver on iPad: make tests clickable 2012-09-18 15:01:12 -07:00
David Glasser
58af66a110 Make email tests pass when deployed. 2012-09-18 13:30:41 -07:00
David Greenspan
1caf2da2b5 fix CSS preproc tests when Chrome is zoomed 2012-09-18 11:23:49 -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
7f14281cfa More History.md rewording for 0.4.1. 2012-09-18 10:29:35 -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
8a724d1428 Final (hopefully) History.md update for 0.4.1. 2012-09-17 23:33:08 -07:00
David Greenspan
7ff08603a9 Catch errors in Meteor.publish handlers
Previously, it seemed that bugs in publishers would sometimes
prevent future subscriptions from working, grinding the app to
a halt.
2012-09-17 22:17:32 -07:00
Nick Martin
3147c168cd Merge branch 'dev-bundle-0.2.3' into devel 2012-09-17 21:35:20 -07:00
David Glasser
9285bd9cab Bump dev bundle version number to 0.2.3. 2012-09-17 18:51:21 -07:00
David Glasser
e50d71a208 Only include the correct architecture's fibers.node in the dev bundle. 2012-09-17 18:39:35 -07:00
David Glasser
18b55d05c0 Revert "Work around debian build issue related to node fibers."
This reverts commit 6121400983.

We will solve this by deleting distracting versions of fibers.node rather than
by working around them. This will fix rpmbuild as well.
2012-09-17 18:39:01 -07:00
David Glasser
30d20ea8db Preserve spaces in arguments to admin/node.sh. 2012-09-17 18:31:37 -07:00
David Glasser
b54daf2c74 Second draft of 0.4.1 release notes. 2012-09-17 16:07:54 -07:00
David Glasser
7ffd598e26 Don't tell end users to run "meteor add". 2012-09-17 15:20:54 -07:00
David Glasser
036916fb31 First draft of Meteor 0.4.1 release notes. 2012-09-17 15:19:12 -07:00
David Glasser
102880a306 Remove deprecated APIs from auth branch. 2012-09-17 15:08:40 -07:00
David Glasser
af741cc245 Merge branch 'devel' into auth
Conflicts:
	examples/todos/.meteor/packages
	examples/wordplay/.meteor/packages
2012-09-17 15:07:48 -07:00
David Glasser
374dd8f39b Make sure under_score names work in package tests. 2012-09-17 15:03:06 -07:00
David Greenspan
ce4e415bb7 jQuery dependency package.js changes 2012-09-17 14:42:28 -07:00
David Greenspan
660882eb4e examples specify whether they use jquery 2012-09-17 14:42:28 -07:00
David Greenspan
d50654bbee whitespace 2012-09-17 14:42:28 -07:00
David Greenspan
f1a932c1df Error if no jQuery and no querySelectorAll (IE 7) 2012-09-17 14:42:27 -07:00
David Greenspan
efd5560b0f Remove Meteor dependency on jQuery/Sizzle
Meteor will use jQuery for selector matching if it's present on the
client (which at the moment is always), but it now will use bare
querySelectorAll on modern browsers and IE 8+ if there is no jQuery.
There is no other dependence on jQuery in Meteor.
2012-09-17 14:42:27 -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