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
5e622215ba
Change all publicly documented APIs to use camelCase.
...
For now, the old names still work as well.
This includes:
- Meteor.isServer/isClient
- this.isSimulation in methods
- Context.onInvalidate
- Meteor.status().retryCount/retryTime
Remove old backwards-compatibility "Sky" alias for "Meteor".
Update all examples in the docs to use camelCase.
Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -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
2255c61383
more events({... changes
2012-08-23 12:17:53 -07:00
David Greenspan
1ca5357b28
new event map syntax
2012-08-22 19:41:06 -07:00
David Greenspan
379f608043
begin updating examples for new API
2012-08-22 18:14:15 -07:00
David Greenspan
9fe768989f
past-tense created/rendered/destroyed
...
Consensus is that "render" is too confusing a name for what's obviously a callback (after the template is rendered). We prefer past tense rather than oncreate, onrender, ondestroy.
2012-08-22 16:58:48 -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
Geoff Schmidt
fc85b3a243
scale d3 canvas correctly
2012-08-15 21:43:33 -07:00
Geoff Schmidt
7c89eb8eca
make d3 demo wider
2012-08-15 20:55:13 -07:00
Geoff Schmidt
0241f84b56
clean up the demo
2012-08-15 20:42:50 -07:00
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