Commit Graph

1058 Commits

Author SHA1 Message Date
Nick Martin
44751cebc5 Clean up users autopublish.
Users table suppresses private fields when autopublished. Current user published turned into automatic publish, so the warning about the autopublish package is suppressed.
2012-07-23 17:57:10 -07:00
Nick Martin
0b1708d9fc Send all of user except services and private (instead of only name and email) 2012-07-23 17:57:10 -07:00
Nick Martin
6e0276fb73 CSS and string tweaks to login buttons. 2012-07-23 17:57:10 -07:00
Nick Martin
e421762307 Rename login-buttons package to accounts-ui. Rename login_buttons template to loginButtons. 2012-07-23 17:57:10 -07:00
Avital Oliver
1fed5b43aa Fixed bug in Meteor.accounts.updateOrCreateUser 2012-07-23 17:57:10 -07:00
Nick Martin
c1a399dc38 Add images and beautify login buttons. 2012-07-23 17:57:10 -07:00
Nick Martin
bbf10bdd14 Make the login buttons template detect and react to which accounts packages are enabled. 2012-07-23 17:57:10 -07:00
Avital Oliver
9e369b9604 Store username and display in login-buttons 2012-07-23 17:57:10 -07:00
Nick Martin
2657787fd7 Move login button code from todos into new login buttons package. 2012-07-23 17:57:10 -07:00
Avital Oliver
2fc45793ee Support for Google login + refactor of accounts packages
Break up the accounts package into accounts, accounts-facebook, oauth2.
2012-07-23 17:57:10 -07:00
Avital Oliver
d6bc56d255 New oauth login flow
Also, some code reorganization and bugfix for IE7
2012-07-23 17:57:10 -07:00
Nick Martin
24ca78cb5d Add callback to be called on success (but not on failure). 2012-07-23 17:57:10 -07:00
Avital Oliver
c00f2e3551 Auth/Accounts improvements
- Store login token in local storage so that we log in across tabs
- Simulate local storage on IE 7 using userData
- Expose a {{user}} helper to Handlerbars
- Poll the FB popup so that we know when the user closed it
  (still without the new design around this)
- Support logout
- Slightly better error handling (but should still get better)
- Support non-autopublishing collections, and make loginTokens such a collection
2012-07-23 17:57:10 -07:00
Avital Oliver
10654b997a Preliminary support for user accounts in Todos 2012-07-23 17:57:10 -07:00
Avital Oliver
f8a0d5a95c First pass at an account system backed by Facebook using OAuth 2012-07-23 17:57:09 -07:00
Avital Oliver
301a339eef Unbreak reloading app when code changes 2012-07-23 17:57:09 -07:00
Avital Oliver
4d257aa545 Improve test for subscriptions on userid change
The test service's subscriptions now have some data overlap
for different users, verify that we indeed diff the query results
correctly.
2012-07-23 17:57:09 -07:00
Avital Oliver
3a26b18a3f Expose userId/setUserId to method calls on the server.
When calling setUserId all subscriptions are rerun.
2012-07-23 17:57:09 -07:00
Avital Oliver
f1acf247bf Initial code necessary to rerun subscriptions on user id changing 2012-07-23 17:57:09 -07:00
Avital Oliver
414f5e52fb Minor doc changes 2012-07-23 17:57:09 -07:00
Avital Oliver
cc3a163db6 Call onReconnect when a LivedataConnection reconnects
This can be used to re-establish the proper auth context.
2012-07-23 17:57:09 -07:00
Avital Oliver
55b6bb0dea Method calls can now be forced to wait
Meteor.apply and Meteor._LivedataConnection.apply now receive an options
parameter which can be used to set the `wait` flag:

(Client only) If true, don't send any subsequent method calls until this
one is completed. Only run the callback for this method once all previous
method calls have completed.
2012-07-23 17:57:09 -07:00
Avital Oliver
b7c393a9fe Add a reactive userId on LivedataConnection
This is preliminary work towards an auth system
2012-07-23 17:57:09 -07:00
Avital Oliver
a2d5bfa6db Allow packages to hook in before app html serving. Cherry picked from auth branch. 2012-07-20 19:35:48 -07:00
David Greenspan
ac06cbb4b6 typo in error msg 2012-07-17 20:23:33 -07:00
Nick Martin
3fdac8ba32 A little extra safety belt, in case we're not loaded from app.html. 2012-07-16 12:28:26 -07:00
Nick Martin
0753581022 Move "Upgrade complete." to the end of the output, not the beginning. 2012-07-16 12:27:38 -07:00
David Greenspan
473774b323 update History.md 2012-07-13 13:01:00 -07:00
David Greenspan
9cea9aa205 stop[Immediate]Propagation tests 2012-07-13 13:00:12 -07:00
joshrtay
deba0fb0f0 fix stopImmediatePropagation (close #205) 2012-07-13 13:00:12 -07:00
Nick Martin
7510b8430e Bump version number for release! v0.3.8 2012-07-12 22:10:40 -07:00
Nick Martin
32206de243 Update docs for new features. 2012-07-12 22:07:27 -07:00
Nick Martin
d1e091cbc3 Whitespace and ordering. 2012-07-12 21:02:14 -07:00
Nick Martin
53f4cd7354 Update timeout to reflect new behavior.
This is now even more lame than before.
2012-07-12 19:43:54 -07:00
David Greenspan
d416362b83 update History.md 2012-07-12 17:11:40 -07:00
David Greenspan
c3ecb78a9c mouseenter/leave impl tweaks; close #224 close #198 2012-07-12 16:57:09 -07:00
Andrew
75696a8d78 fixed mouseenter/mouseleave 2012-07-12 16:57:09 -07:00
David Greenspan
fb3ccd732c fix tests in IE 9-10 2012-07-12 16:08:12 -07:00
Nick Martin
bb3bc2049f Up keepalive timeout.
This will cause it to take a little longer before an abandoned server dies and frees it's port, but should reduce accidental deaths when the supervising process is backlogged.
2012-07-12 13:55:05 -07:00
Nick Martin
564b292974 Fix Meteor._debug on IE8,9 2012-07-11 23:03:26 -07:00
Nick Martin
26136a22a4 Fallback to jsonp-polling in IE when going cross scheme.
https://github.com/sockjs/sockjs-client/issues/79
2012-07-11 21:19:15 -07:00
David Greenspan
cd3ca61ec3 ignore extra block helper args as intended 2012-07-11 20:50:36 -07:00
Nick Martin
20af33e4ea Update change log for new handlebars features. 2012-07-11 17:29:30 -07:00
David Greenspan
0856797021 Merge branch 'david-handlebars' into devel 2012-07-11 14:44:37 -07:00
David Greenspan
c0bb4e9ae8 update docs 2012-07-11 14:42:36 -07:00
David Greenspan
9d3161f3fb Handlebars: allow getters/helpers in args, fix hashes 2012-07-11 14:41:12 -07:00
David Greenspan
4719433383 docs changes for event.{target -> currentTarget} change 2012-07-09 20:14:24 -07:00
Nick Martin
c2bc63993d Update change log in preparation for release. 2012-07-09 20:06:17 -07:00
David Greenspan
ae55d9dd11 event data comes from currentTarget, not target 2012-07-09 19:33:25 -07:00
Nick Martin
c046ddbd0c Merge branch 'dev-bundle-bump' into devel 2012-07-09 19:30:55 -07:00