Commit Graph

442 Commits

Author SHA1 Message Date
Emily Stark
5cba1289e8 Update docs and examples 2014-06-23 08:13:51 -07:00
Emily Stark
c0722aac30 Update docs and examples to 0.8.1.3 2014-05-22 09:48:54 -07:00
Emily Stark
1b1892fadd Update examples to 0.8.1.2 2014-05-12 17:14:40 -07:00
Emily Stark
53c4a32d7e Update docs and examples 2014-05-01 12:31:27 -07:00
Emily Stark
0e5e38f006 Update docs and examples to 0.8.0.1 2014-04-21 15:21:25 -07:00
Emily Stark
dd7c90d3ae Update docs and examples 2014-04-21 14:47:00 -07:00
Avital Oliver
c47e898070 Remove now-deprecated preserve-inputs package from examples
Also, add a helpful log message to help users know to remove the package.
2014-03-25 19:27:17 -07:00
David Glasser
5252692de5 Update docs for {{> loginButtons}} 2014-03-25 16:02:40 -07:00
David Glasser
a5601ecd19 Merge remote-tracking branch 'origin/master' into release-0.8.0
Conflicts:
	docs/.meteor/release
2014-03-25 15:02:59 -07:00
Avital Oliver
fba5d95cfe Update todos to the new pattern for 'checked' attributes 2014-03-19 13:36:45 -07:00
Nick Martin
e699743d6d bump version of examples. 2014-03-18 14:13:48 -07:00
Nick Martin
3da9c7db89 version bump examples and docs. 2014-03-18 00:59:03 -07:00
Nick Martin
d8575d0a24 Merge branch 'devel' into shark 2014-03-17 15:51:18 -07:00
Avital Oliver
b2bb353a10 Implement UI.getElementData
Replaces Spark.getDataContext
2014-03-13 14:06:24 -07:00
Nick Martin
f0b692679e Merge remote-tracking branch 'origin/devel' into login-hooks 2014-03-11 01:02:20 -07:00
David Greenspan
084ee3bf4f Merge branch 'devel' into shark
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-03-06 16:21:33 -08:00
David Greenspan
d27fa802b7 Change {{> content}} to {{> UI.contentBlock}}
...and elseContent to UI.elseBlock.
2014-03-04 20:08:22 -08:00
Emily Stark
b0d86e535c Update docs and examples 2014-02-26 17:48:17 -08:00
Avital Oliver
5671eaa2b7 Merge branch 'devel' into shark
Conflicts:
	packages/minifiers/package.js
	packages/preserve-inputs/package.js
	packages/test-in-browser/driver.css
	packages/test-in-browser/driver.js
2014-02-25 15:50:36 -08:00
Emily Stark
fd7eaf45d0 Bump docs and examples to 0.7.1.1 2014-02-24 14:02:33 -08:00
Emily Stark
27e5b77249 Bump examples and docs to 0.7.1-rc3 2014-02-21 15:54:04 -08:00
Emily Stark
b4c78fce39 Bump apps to 0.7.1-rc0 2014-02-17 10:02:54 -08:00
Avital Oliver
7309025348 mv examples/unfinished/shark/ examples/unfinished/reorderable-list/ 2014-02-07 15:04:42 -08:00
Avital Oliver
042fef5af4 Get unfinished/shark back to a working state. 2014-02-07 15:03:48 -08:00
Andrew Wilcox
df3230c1b3 Login hooks.
Adds `Accounts.validateLoginAttempt`, `Accounts.onLogin`, and
`Accounts.onLoginFailure`.

The process for logging in a user is consolidated in accounts-base,
which is now the only package which directly accesses login tokens in
the database.

All login methods now go through `Accounts._loginMethod`, which
ensures that exceptions are captured and login hooks are called in all
cases.

The callback hook implementation code from livedata is extracted into
an internal `callback-hook` package, where it can be used by accounts.
2014-02-05 17:40:20 -05:00
Nick Martin
46e7410383 Move block for computing httpForwardedCount from the top of the file into where it is used.
This is less efficient, as we don't actually need to compute it every time.
However, I think this is pretty small compared to the other work we're doing
(string splitting via regexp, string copies, etc).

This makes the code clearer and easier to understand, as all the code is in
one place. Also, it was distracting at the top of the file as it came before
the commit saying what was in the file.
2014-02-04 01:28:36 -08:00
Andrew Wilcox
09029be917 Update client info API to just have connection.clientAddress and connection.httpHeaders.
Fix documentation.

Expose webapp's `identifyBrowser`, even though we aren't currently
using outside of webapp.
2014-02-04 01:08:36 -08:00
Andrew Wilcox
ca7a6929d7 Make information about the client available in the connection object. 2014-02-04 01:08:36 -08:00
Avital Oliver
9fa73a3d25 Simplify account-ui-viewer due to new template argument paradigm 2014-02-03 23:43:04 -08:00
Avital Oliver
dee3799c4a Merge branch 'shark' into shark-newargs 2014-02-03 23:22:53 -08:00
Avital Oliver
69ba8feabd Minor stylistic changes to the clock example. 2014-02-01 10:10:47 -08:00
David Greenspan
89b11490d6 Fix "atoms" title tag 2014-01-27 15:27:32 -08:00
David Greenspan
5038c63d08 Merge shark, including shark-isolate-helpers work 2014-01-27 15:21:23 -08:00
David Glasser
6471dce8fa Merge branch 'devel' into shark 2014-01-27 13:58:11 -08:00
David Greenspan
8cafffa82d "atoms" example
Demonstrates "components" using the new convention where keyword args with no positional args become the data context.
2014-01-25 19:44:47 -08:00
Sashko Stubailo
45ccc12970 Make default accounts-ui styling simpler/flatter 2014-01-21 13:57:52 -08:00
Avital Oliver
e3578c6c30 Merge branch 'devel' into shark
Conflicts:
	packages/minimongo/minimongo.js
	packages/minimongo/package.js
2014-01-07 04:08:06 -08:00
David Greenspan
2577b87cb1 Fix typo (spotted by cscott) 2014-01-06 11:39:42 -08:00
David Glasser
6fc8332c99 Update docs and examples to 0.7.0.1. 2013-12-20 14:23:11 -08:00
David Greenspan
b1a9457be1 More wordplay IE 8 fixes 2013-12-17 18:44:26 -08:00
David Greenspan
e61e4487f9 Make wordplay example not depend on String.trim
Not present in IE 8
2013-12-17 18:27:17 -08:00
Avital Oliver
305a406de6 Merge branch 'devel' into shark 2013-12-17 13:28:30 -08:00
David Glasser
b6c7d424bc Update examples and docs to 0.7.0 2013-12-17 11:08:19 -08:00
Avital Oliver
cb8c0fc6e1 Fix most of accounts-ui-viewer 2013-12-16 20:07:23 -08:00
Nick Martin
9d5fb4d1e1 upgrade examples and docs. 2013-12-13 02:19:13 -08:00
David Greenspan
5dcb59b890 remove extra spaces in HTML 2013-12-11 15:05:48 -08:00
David Greenspan
45bd7f9e73 SVG clock demo 2013-12-11 14:59:55 -08:00
David Glasser
a933225026 Merge branch 'devel' into shark 2013-12-02 17:29:35 -08:00
Nick Martin
db59ab13c1 wait for server to be running instead of naive sleep. 2013-11-26 15:05:18 -08:00
David Greenspan
84b123ef44 don't use triple stache for HTML attrs in examples
This syntax has a bug where it relies on having html5-tokenizer on the client, code which was written for the server (and uses Function.bind, defineGetter, etc.).

The plan is to deprecate/remove this syntax anyway, i.e. not allow
you to say `<x {{{attrs}}}>` and then have `attrs` evaluate to a string like
'key1="value1" key2="value2"' at runtime.  Constructing these strings is error-prone and likely to be insecure.

Instead, you'll have your choice of double-stache in an attribute value, with or without quotes (`<a b={{c}}>`, or `<a b="{{c}} {{d}}"`, or even `<a b={{c}}-{{d}}>`), or double-stache at the top level of a tag, as in `<a {{b}}>`, in which case `b` must be either a dictionary of attribute names and values or a string containing at most a single attribute name (e.g. "selected" or "").
2013-11-12 19:15:47 -08:00