78 Commits

Author SHA1 Message Date
David Glasser
a0e9fc3979 Add release files (0.6.0) to docs and all examples.
As part of the release process we'll update docs and all active
examples (other/unfinished examples can be updated as necessary). eg, first to
0.6.1-rc1, etc, and then to 0.6.1 when that is tagged from rc.
2013-03-19 15:13:54 -07:00
David Greenspan
a18a92e65f Deps.run => Deps.autorun 2013-03-11 12:17:39 -07:00
David Greenspan
b9c3e1fa30 port examples 2013-03-08 12:50:46 -08:00
Naomi Seyfer
dba23bd29c Session.setDefault, and updating todos to use it. #698 2013-02-20 17:56:39 -08:00
David Glasser
40bfd2e360 Add a reactive ready() method to subscription handles. Fixes #273.
Inspired by a pull request from tmeasday (though we've changed the underlying
code enough on ddp-pre1 that I had to rewrite it myself).

Use it in todos. No docs yet, but the Meteor.subscribe docs are already
scheduled for some attention.
2013-02-08 18:41:41 -08:00
David Glasser
27d3073660 Make Meteor.autosubscribe a deprecated alias for Meteor.autorun.
Instead of a general client-side sub de-duping mechanism (which mostly existed
for the sake of autosubscribe, and causes issues with server-driven
unsubscribes), make Meteor.subscribe explicitly aware of reactivity.

Expose an "invalidated" flag on Meteor.deps.Context.

Guarantee that invalidation callbacks from different contexts will not be
interleaved at flush time. This has the implication that if you do

   context1.onInvalidate(function () {
     context2.invalidate();
   });

and this is the only way to invalidate context2, then context2's invalidation
callbacks will not be called until after *ALL* of context1's callbacks are
called. This allows us to be sure that the "unsubscribe, unless autorun tried to
re-create an identical sub" logic runs after the autorun function is rerun.
2013-01-15 17:07:03 -05:00
Nick Martin
0c64008499 Optimised images
Originally from https://github.com/meteor/meteor/pull/569

Reworked to:
- apply to soma.png, not soma.jpeg (file was previously misnamed).
- don't touch bootstrap's glyph image. It would cause conflicts later, and is not neighborly.
2013-01-08 20:52:30 -08:00
Nick Martin
f1895ba2eb Rip auth out of todos. Parties will be a much better auth example. 2012-10-16 04:19:24 -07:00
David Greenspan
d442f8750a Todos: make more room for dropdown 2012-10-12 16:48:04 -07:00
David Greenspan
32edb4043f loginButtons halign -> align 2012-10-12 09:38:20 -07:00
Avital Oliver
ed89815a33 accounts-ui: {{> loginButtons}} -> {{loginButtons}}
Also support {{loginButtons halign="right"}} for a dropdown that
hangs to the left
2012-10-11 19:50:09 -07:00
Avital Oliver
7757cc0659 accounts-ui: dropdown opens by default to right, unless wrapped in an element with class 2012-10-09 21:52:52 -07:00
David Glasser
3b41434e23 In method invocations and publish handlers, this.userId is now the userId
itself, not a function returning it.
2012-10-08 21:41:14 -07:00
Avital Oliver
c086ca0912 accounts-github: cleanup, small tweaks 2012-10-05 00:22:09 -07:00
Nick Martin
12934c96a9 Feedback from review. 2012-10-02 23:18:58 -07:00
Nick Martin
1eceed28f9 Replace 'Meteor.accounts' with 'Accounts'.
find . -name '*.js' -print0 | xargs -0 perl -pi -e 's/Meteor\.accounts/Accounts/g'
2012-10-02 23:18:57 -07:00
David Glasser
71851fef89 Merge branch 'devel' into auth
Conflicts:
	app/meteor/skel/.meteor/packages
	examples/leaderboard/.meteor/packages
	packages/livedata/livedata_connection.js
2012-10-01 20:07:27 -07:00
David Greenspan
d22e1e6dcd todos uses preserve-inputs 2012-09-24 20:25:03 -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 Greenspan
660882eb4e examples specify whether they use jquery 2012-09-17 14:42:28 -07:00
Avital Oliver
a5a3d3a94a Rename package: accounts-passwords -> accounts-password
Also replaces accounts -> accounts-base in one place missed
by last commit
2012-09-11 11:03:50 -07:00
Avital Oliver
74aca65c95 Rename package: accounts -> accounts-base 2012-09-10 22:59:32 -07:00
Nick Martin
c514341df8 Merge branch 'master' into auth
Conflicts:
	.gitignore
	examples/todos/client/todos.js
2012-09-04 00:42:35 -07:00
David Greenspan
e0b84cd87c use preserve in todos example 2012-08-29 21:02:31 -07:00
Avital Oliver
b9c3805f62 Code review changes + Configure todos to not require email so that Twitter login works 2012-08-24 12:25:31 -07:00
Avital Oliver
a2eda047fe A big refactor and cleanup on oauth{1,2} and twitter login 2012-08-24 12:25:31 -07:00
David Greenspan
379f608043 begin updating examples for new API 2012-08-22 18:14:15 -07:00
Nick Martin
729e45003b Don't require username in example, because then we can't show use facebook or google auth 2012-08-17 17:53:01 -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
0019e5f716 Merge branch 'master' into auth
Conflicts:
	examples/todos/.meteor/packages
2012-08-09 17:58:58 -07:00
Nick Martin
33d53847c0 Make todos spiderable. 2012-08-03 19:49:05 -07:00
Avital Oliver
a07411e69d accounts-ui: Dropdown login form and support for u/p 2012-07-23 22:49:07 -07:00
Nick Martin
e1e636ba21 Login with passwords via SRP. 2012-07-23 17:59:09 -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
7071f94774 Add access control to todos. 2012-07-23 17:57:11 -07:00
Nick Martin
630ee42242 CSS cleanup. 2012-07-23 17:57:11 -07:00
Nick Martin
efc9fe0b9f Cleanup sample files with service configuration. 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
Nick Martin
0d886d6c24 Change {{user}} to {{currentUser}} 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
Nick Martin
c1a399dc38 Add images and beautify 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
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
Wlodek Bzyl
dd95b830e4 Add cursor pointer to Todo Lists. 2012-05-25 20:37:24 +02:00
David Greenspan
a09c946ea2 use Handlebars context of event target as event_data(!!) 2012-05-11 12:37:10 -07:00
Jonathan Kingston
d136f904d5 Adding in pointer cursor to CSS to make it easier to use. 2012-04-11 14:47:33 +02:00
matt debergalis
0a0a4bbb87 i think you meant 6502 2012-04-10 12:06:41 -07:00