Commit Graph

450 Commits

Author SHA1 Message Date
David Greenspan
095b3a26c6 Merge remote-tracking branch 'origin/devel' into blaze-refactor
Conflicts:
	packages/spacebars-tests/template_tests.js
	packages/ui/base.js
	packages/ui/dombackend.js
	packages/ui/dombackend_tests.js
	packages/ui/domrange.js
	packages/ui/domrange_tests.js
	packages/ui/each.js
	packages/ui/render.js
	packages/ui/render_tests.js
2014-06-23 10:56:55 -07:00
Emily Stark
5cba1289e8 Update docs and examples 2014-06-23 08:13:51 -07:00
David Greenspan
3df4e95845 Merge branch 'devel' into blaze-refactor
Conflicts:
	packages/spacebars-tests/template_tests.js
	packages/ui/domrange.js
2014-05-27 13:38:59 -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
David Greenspan
bee046de64 Minor tweaks 2014-05-06 17:47:13 -07:00
David Greenspan
756c954f96 Blaze._onAutorun -> _wrapAutorun 2014-05-04 11:04:51 -07:00
Emily Stark
53c4a32d7e Update docs and examples 2014-05-01 12:31:27 -07:00
David Greenspan
bce67e48c3 Make events work, fix things 2014-04-28 17:28:35 -07:00
David Greenspan
1d2125512c Start to add events in refactored Blaze 2014-04-24 16:13:24 -07:00
David Greenspan
43d672bd6a Use refactored html.js in "old" ui-package Blaze
Some failing tests, which are hopefully mostly just tests of the modified code that need to be ported.

The main work was replacing the use of pseudo-attributes $special and $dynamic with the new HTML.Attrs(...) / array representation.  Some functions were also rewritten to use Visitors (`toJS`, old `toHTML`/`toText`/`evaluateAttributes`, `replaceSpecials` in the compiler, but not `optimize` yet or `materialize`).

Create the "blaze-tools" package to hold toJS and other functions that are useful for template parsers/compilers that need to read or generate JS.
2014-04-22 13:47:57 -07:00
David Greenspan
7db8e5a074 Import of "minimal, stand-alone Blaze" experiment 2014-04-21 21:00:41 -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