Commit Graph

14203 Commits

Author SHA1 Message Date
Kelly
91900dadca fix version for legacy-whitelist cordova plugin 2015-05-19 17:02:13 -07:00
Kelly
62f54773a4 add dependency on legacy-whitelist plugin
In 5.0.0 Cordova now requires a whitelist plugin for allowing access to external resources.
For now the dependency is for the legacy-whitelist plugin due to meteor currently using
the older <access> tags.. see https://github.com/apache/cordova-plugin-whitelist
2015-05-19 17:02:13 -07:00
Kelly
f0c5fc4304 use new cordova device plugin 2015-05-19 17:02:13 -07:00
Kelly
855433b0b7 user new cordova inappbrowser plugin 2015-05-19 17:02:13 -07:00
Kelly
b7411f8010 user new cordova statusbar plugin 2015-05-19 17:02:13 -07:00
Kelly
a528bc03f5 use new cordova console plugin 2015-05-19 17:02:12 -07:00
Kelly
cbfd4254b2 use new cordova splashscreen plugin 2015-05-19 17:02:12 -07:00
Kelly
ae63385f87 use new file and file-transfer cordova plugins 2015-05-19 17:02:12 -07:00
Kelly
641cc4c333 update cordova to 5.0.0 2015-05-19 17:02:12 -07:00
Samuel Rounce
77cef9c211 Set Cordova build number property 2015-05-19 17:01:40 -07:00
Slava Kim
66f9b19b0d Fix a typo in #let examples 2015-05-19 14:31:29 -07:00
David Greenspan
0a30cab9ad Take Glasser's suggestions 2015-05-19 14:23:07 -07:00
David Glasser
2412753f6a Clone "replacement" doc in minimongo update
Previously we were carefully cloning the relevant pieces of most
modifier $ops but not for replacement (or for $pushAll, for that
matter). Instead, just clone the full mod doc always.

(The purpose of cloning here is so that mutable state isn't shared
between the arguments to minimongo APIs and internal LocalCollection
data structures.)

Fixes #4377.
2015-05-19 14:02:33 -07:00
Sashko Stubailo
e61b110e4b Add fastclick upgrade to History.md 2015-05-19 13:58:43 -07:00
Ronen Babayoff
925b646a28 Upgrgrade to fastclick v1.0.6 2015-05-19 13:50:46 -07:00
Sashko Stubailo
fcc83be5bd Add another example for template.subscribe 2015-05-19 11:30:22 -07:00
Ben Newman
676a9fa0fd Make accidental global assignments local. 2015-05-18 22:05:01 -04:00
David Glasser
05c24d3644 drop dead code
self.declaredExports is always true since 0.9.0 (it comes from a _.pluck
in compiler.js) but test slices have their own package
name (local-test:*) so it's OK.
2015-05-18 17:29:34 -07:00
David Greenspan
e6cf7c8bdb Fix token test and allow user @directives
Resolves discussion of how {{@index}} is tokenized:

* BlazeTools.parseExtendedIdentifierName parses @identifier
* @identifiers are treated normally, except an error is thrown
  if one ever doesn't resolve to a non-nully value (so that
  users get a real exception when they try to use an unsupported
  directive like @first)

See discussion at afd240fa6f
2015-05-18 15:42:50 -07:00
Slava Kim
6983e8d800 Update Spacebars REAMDE: mention nested sub-expressions 2015-05-16 23:49:55 -07:00
Avital Oliver
092b97d2da Rename Spiderable.requestTimeout to Spiderable.requestTimeoutMs
Based on code review from @glasser
2015-05-15 14:11:35 -07:00
Avital Oliver
2c343a0788 spiderable: Let apps configure timeout for phantomjs
`Spiderable.requestTimeout` can now be changed in server code in an app
to the number of milliseconds to wait until spiderable gives up on
phantomjs.

This is motivated by frontpage hitting 15 seconds at times (due to some
other problem we have), but regardless slow page loads are better than
non-crawlable ones.
2015-05-15 14:11:35 -07:00
Ben Newman
e666e12210 Mention recent changes I made (or merged) in History.md. 2015-05-14 16:44:44 -05:00
Ben Newman
ff5fb16d70 Export AccountsClient and AccountsServer from accounts-base. 2015-05-14 15:41:39 -05:00
Ben Newman
b912ec8281 Move initialization of Accounts and Meteor.users into globals_*.js. 2015-05-14 15:41:39 -05:00
Ben Newman
7a6fcc92cd Support multiple AccountsClient instances in localstorage_token.js. 2015-05-14 15:41:38 -05:00
Ben Newman
171c399a63 Support multiple AccountsClient instances in url_client.js.
Also share urls.* methods between all AccountsServer instances.
2015-05-14 15:41:38 -05:00
Ben Newman
b455512f50 Implement a reusable AccountsClient constructor.
There's an argument in favor of making AccountsClient available on both
client and server, since server code might need to act as a client to an
accounts server, too. I don't need that functionality yet, but it's
something to think about.
2015-05-14 15:41:38 -05:00
Ben Newman
1b6c658371 Implement a reusable AccountsServer constructor.
Note that this constructor inherits from the AccountsCommon constructor.
Naturally both of these constructor functions should become classes once
we have support for ES6 classes.
2015-05-14 15:41:38 -05:00
Ben Newman
ccab6ca621 Implement a reusable AccountsCommon constructor.
This involves moving Accounts.* methods defined in accounts_common.js onto
AccountsCommon.prototype.*.
2015-05-14 15:27:38 -05:00
David Glasser
b6348d4939 Don't run static analysis on app code
The static analysis is used to determine what "var"s need to be
automatically inserted by the linker at the package level.  But for app
code, we never actually insert these vars, since apps run in "global
namespace" mode.  So it's a waste of time to run the static analysis at
all.
2015-05-14 11:05:26 -07:00
Slava Kim
43efe54c22 Escape the project path when subshelling to Xcode in meteor run ios-device 2015-05-13 23:50:25 -07:00
David Greenspan
b0273ad010 Print better messages in meteor update
The #1 goal is to not say, "Your packages are at
their latest compatible versions" whenever an
update has no effect.  That isn't necessarily
true.  `meteor update` with no arguments never
updates a major/minor of an indirect dependency,
for example.  Also, you may have specified some
packages on the command line (though arguably
"your packages" could be interpreted to refer to
those packages).

In addition, `meteor update` with no arguments now
reports any direct or indirect dependencies that
aren't at their latest versions.

For example:

```
Your top-level dependencies are at their latest compatible versions.

Newer versions of the following indirect dependencies are available:
 * aldeed:collection2 0.1.7 - 2.3.3 is available
To update one or more of these packages, pass their names to `meteor update`.
```

Sort of related to #4170.
2015-05-13 14:52:12 -07:00
David Greenspan
e8234592b0 Fix {{#each helper arg1 arg2}}
Broken by each-in support.

Now we just look to see if there's an `in` in the right position in order to tell the two cases apart.

We could consider deprecating this syntax in favor of the
(now-supported) {{#each (helper arg1 arg2)}}.
2015-05-13 10:40:58 -07:00
David Greenspan
afd240fa6f Minor cleanup 2015-05-12 15:34:32 -07:00
David Greenspan
0550f6d48f Fix #let codegen and re-rendering
All tests green
2015-05-12 15:23:07 -07:00
David Greenspan
c3bef2ca79 Better #each argument validation
And another failing test for #let (argument validation)
2015-05-12 15:23:07 -07:00
Sashko Stubailo
9f98256121 Merge branch 'zimme-google-prompt' into devel
PR #4370
2015-05-12 14:46:34 -07:00
Simon Fridlund
0b6b5d425e Update History.md
Add note about google prompt option.
2015-05-12 16:14:17 +02:00
Simon Fridlund
11d378abe8 Document prompt option used by Google OAuth package 2015-05-12 16:13:46 +02:00
Simon Fridlund
0377c8b76f Use prompt instead of approval_prompt in Google OAuth package
The option “prompt” takes precedence over “forceApprovalPrompt”.
Valid options for “prompt” are “consent”, “none”, “select_account” or a
combination. i.e. “select_account+consent”.
2015-05-12 16:13:13 +02:00
David Greenspan
15a0369581 Put local variables back on the stack
We fixed the stack overflow in Blaze materialization by using
a "work stack" pattern instead of recursing.

Putting local variables on the heap hurts readability and doesn't
help performance; it was just saving us 16 bytes or so (or whatever
two local variables is) per nested View.
2015-05-10 15:37:52 -07:00
David Greenspan
eff8016b5a Merge branch 'mitar-patch-11' into devel
This is @mitar's PR #4036.  It just moves the code around slightly
in lookup.js to make it easier to hook/monkey-patch if one is so inclined.
2015-05-10 14:50:27 -07:00
David Greenspan
30e8f8788e Rename a local variable 2015-05-10 14:49:12 -07:00
David Greenspan
30926aaa39 Merge branch 'patch-11' of git://github.com/mitar/meteor into mitar-patch-11 2015-05-10 14:46:27 -07:00
David Greenspan
7c05b7617e Failing test for #let re-rendering
#let currently re-renders the entire template when an argument
changes, so in this case:

```
<template name="spacebars_template_test_let_rerender">
  <input type="text" class="foo">
  {{#let y=x}}
    <span class="bar">{{y}}</span>
  {{/let}}
</template>
```

...when `x` changes, the input and span are destroyed and recreated.
2015-05-10 14:32:00 -07:00
David Greenspan
d79863910e Small Spacebars codegen fix 2015-05-08 17:23:41 -07:00
Mitar
e12bd03a16 Fixed comment. 2015-05-08 15:37:17 -07:00
Ben Newman
4f906554a2 Bump BUNDLE_VERSION to 0.4.20. 2015-05-07 17:39:08 -07:00
Ben Newman
3720e7d75f Add meteor-promise to the tool bundle, and upgrade to v0.1.0. 2015-05-07 17:38:50 -07:00