Commit Graph

559 Commits

Author SHA1 Message Date
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
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
ded6c4901b implement Template.foo.{preserve,events,helpers}() (needs tests) 2012-08-13 10:02:43 -07: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
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
b7a29d5f8f slight cleanup in landmark-demo 2012-08-09 20:58:25 -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
Nick Martin
0019e5f716 Merge branch 'master' into auth
Conflicts:
	examples/todos/.meteor/packages
2012-08-09 17:58:58 -07:00
Geoff Schmidt
d696b9a611 New Spark.list implementation, all tests pass 2012-08-09 17:48:50 -07:00
Geoff Schmidt
05444bbce5 landmark render callbacks bubble up 2012-08-08 18:55:43 -07:00
David Greenspan
b4ccc65f54 reversible spinner 2012-08-08 18:23:54 -07:00
Geoff Schmidt
80c5e2a5ca state preservation demo (not working yet) 2012-08-08 18:22:54 -07:00
David Greenspan
07113b6276 preserved spinner :) 2012-08-08 17:51:04 -07:00
Geoff Schmidt
4ec97272b5 landmark-demo WIP 2012-08-08 17:25:28 -07:00
Geoff Schmidt
f766cf29fc First pass of template-level API extensions
Untested, but a demo is in the works
2012-08-08 17:05:56 -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
e71a8c8e9c Added insecure package to examples 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
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
Nick Martin
1765ef011a Merge remote-tracking branch 'refs/remotes/origin/master' into devel 2012-06-06 20:20:35 -07:00
David Greenspan
373c7039c5 start of "controls" demo 2012-06-04 21:21:52 -07:00
Wlodek Bzyl
dd95b830e4 Add cursor pointer to Todo Lists. 2012-05-25 20:37:24 +02:00
Avital Oliver
6862557742 Some more refactoring of python-ddp-client
- Properly split the code between DDPClient, which is solely
  in charge of communication; and App, which is solely in charge
  of implementing the shell
- Fixed a bug with not waiting for a failed method call to complete
  before showing the prompt again
- Changed references to createApp into reference to vote, as to
  discourage accidental creation of bad apps on madewith.meteor.com
2012-05-13 12:57:01 -07:00
Lincoln de Sousa
95b35239eb Moving the block_until_return method from APP to the DDPClient 2012-05-13 03:08:01 -03:00
Lincoln de Sousa
58c66a4a98 Updating the pending operation label when sending the msg (pyddp client) 2012-05-13 02:13:44 -03:00
Lincoln de Sousa
e3c69efda3 Using the line param in the help command (py-ddp-client) 2012-05-13 02:09:12 -03:00
Lincoln de Sousa
dd0afc32bd Various small pythonic improvements in the ddp-client 2012-05-13 02:09:08 -03:00
Lincoln de Sousa
39c4bdb72f Replacing print >> statements by sys.stderr.write + string format 2012-05-13 01:58:50 -03:00
Lincoln de Sousa
44cd072c77 Small refactoring for the wait command
Now, instead of having a custom "wait" fuction for each command (sub and
method) we now have a single method for this with a small test for the
kind of operation.
2012-05-13 01:58:46 -03:00
David Greenspan
a09c946ea2 use Handlebars context of event target as event_data(!!) 2012-05-11 12:37:10 -07:00
Avital Oliver
ffcf942447 Fix python-ddp-client's test_input 2012-05-10 18:56:13 -07:00
Avital Oliver
10092efab5 Inital commit of a Python DDP client 2012-05-10 18:53:00 -07:00