Commit Graph

606 Commits

Author SHA1 Message Date
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
Nick Martin
0019e5f716 Merge branch 'master' into auth
Conflicts:
	examples/todos/.meteor/packages
2012-08-09 17:58:58 -07:00
Avital Oliver
0a148c69d6 Merge pull request #262 from zhangcheng/auth
When logging in via Weibo, store the weibo screen name as the newly generated users's name (since that's the best we can do).
2012-08-07 11:01:53 -07:00
Nick Martin
0397945fd8 Add hack in livedata_connection to support knowing when all data is received on all connections. 2012-08-03 22:00:25 -07:00
Nick Martin
07c703270c Use subscription readiness instead of timeout.
This only looks at default_connection, though, which isn't good. May need to patch livedata.
2012-08-03 20:59:38 -07:00
Nick Martin
24c2fe9d7f Add timeout so requests can't take forever. 2012-08-03 19:06:14 -07:00
Nick Martin
ee7fc09c16 Handle ? in query string better. 2012-08-03 18:12:59 -07:00
Nick Martin
81cb0239f0 Check for errors from phantomjs. 2012-08-03 18:11:25 -07:00
Nick Martin
7632dc0386 Avoid writing a tempfile by using '/dev/stdin'. Hacky, but functional. 2012-08-02 23:06:41 -07:00
Nick Martin
0d27fa40f2 Fix encoding. 2012-08-02 22:39:28 -07:00
Nick Martin
dc34cff990 add spiderable package 2012-08-02 22:21:13 -07:00
Nick Martin
a1e71d820f Server side of accounts.config.
Pass oauth error through to the client on login. This lets the developer handle failures.
2012-08-02 20:14:23 -07:00
ZHANG Cheng
a0b5bcffe3 Update accounts-weibo according to latest changes in the branch 2012-07-30 15:27:53 +08:00
Avital Oliver
a07411e69d accounts-ui: Dropdown login form and support for u/p 2012-07-23 22:49:07 -07:00
Nick Martin
758c1caa85 Use correct call signature for Meteor.Error. 2012-07-23 18:38:04 -07:00
Avital Oliver
15a46e03ef accounts: implement new create user flow 2012-07-23 18:38:04 -07:00
Nick Martin
e1e636ba21 Login with passwords via SRP. 2012-07-23 17:59:09 -07:00
Nick Martin
2cdf596bfc Initial commit of SRP package. 2012-07-23 17:59:09 -07:00
Avital Oliver
67b9ee0d10 Fix an ordering bug with method responses related to wait methods 2012-07-23 17:57:12 -07:00
ZHANG Cheng
edd7f078a5 Mod accounts-ui to support weibo 2012-07-23 17:57:12 -07:00
ZHANG Cheng
d160097b81 New package: accounts-weibo for Sina Weibo 2012-07-23 17:57:12 -07:00
Avital Oliver
a0f564f9ef When optimistic login fails, appropriately log the user out 2012-07-23 17:57:12 -07:00
Avital Oliver
0c0345cc58 Smaller/better oauth popups 2012-07-23 17:57:12 -07:00
Avital Oliver
8f3dc9fa98 Fix error when user declines an oauth login dialog 2012-07-23 17:57:12 -07:00
Nick Martin
e11655a65a Add an option to configure scope for google and facebook login. 2012-07-23 17:57:12 -07:00
Avital Oliver
0586320be7 accounts-ui: Show spinner while user document is loading 2012-07-23 17:57:12 -07:00
Nick Martin
4417dad584 Add option to force reconnect when already connected. 2012-07-23 17:57:12 -07:00
Nick Martin
f5317b3823 Remove broken code. This only reason this didn't cause breakages is we never set up events after being connected. 2012-07-23 17:57:12 -07:00
Nick Martin
ce4179416f Add world.runId to all collection accesses, so we work when two tests are running at once.
It would be cool if there were a better way to do this. Maybe some sort of shared state between the client and the server such that we could have a collection per test, rather than sharing a collection.
2012-07-23 17:57:12 -07:00
Nick Martin
33817f235b Use the package under test when testing. This should probably be automatic, since we do it in every single package. 2012-07-23 17:57:12 -07:00
Avital Oliver
556aba22ac Allow writes on a collection used in tests 2012-07-23 17:57:12 -07:00
Avital Oliver
74ad9390db Improved comment 2012-07-23 17:57:12 -07:00
Avital Oliver
132231d688 Improvements to accounts tests 2012-07-23 17:57:12 -07:00
Avital Oliver
1ac09575bc localstorage polyfill: Try to not wait for Meteor.startup 2012-07-23 17:57:11 -07:00
Avital Oliver
cbce421b98 Tests for oauth2 server flow 2012-07-23 17:57:11 -07:00
Avital Oliver
1773c91c50 Support users with no email + more tests 2012-07-23 17:57:11 -07:00
Avital Oliver
9db26049d1 First test for accounts. Verify that an old bug is fixed 2012-07-23 17:57:11 -07:00
Avital Oliver
b227d59b54 Access control for default collection mutators
- A new `insecure` package reproduces the experience we had
  before this change, in which all collections are by default
  totally open to all changes
- With or without the `insecure` package, you can now call
  collection.allow() to define which calls to the default
  mutator methods should be allowed
2012-07-23 17:57:11 -07:00
Nick Martin
0e31087c54 Optimistically log us in from local storage at page load. 2012-07-23 17:57:11 -07:00
Nick Martin
f963e1251a Use new handlebars feature to simply template. 2012-07-23 17:57:11 -07:00
Avital Oliver
576a0f5fdc Fix bug with matching google and facebook users 2012-07-23 17:57:11 -07:00
Nick Martin
e99f3519cc Add on success callback to Meteor.logout. 2012-07-23 17:57:11 -07:00
Nick Martin
dd48fbcbc2 Strings tweak. 2012-07-23 17:57:11 -07:00
Nick Martin
490e7a29e7 Rename oauth2 package to accounts-oauth2-helper. 2012-07-23 17:57:11 -07:00
Avital Oliver
f018551e97 Renamed login_buttons_image.css 2012-07-23 17:57:11 -07:00
Avital Oliver
4a8542e630 Improve local storage mechanism for login tokens 2012-07-23 17:57:11 -07:00
Avital Oliver
aeb733b3e3 A variety of improvements to the accounts packages 2012-07-23 17:57:10 -07:00