Commit Graph

11448 Commits

Author SHA1 Message Date
Slava Kim
dcf7b27bf6 mobile-status-bar 2014-10-23 14:38:09 -07:00
Slava Kim
33d5effa57 Fastclick readme 2014-10-23 14:32:53 -07:00
Justin SB
8253199984 Added missing space 2014-10-23 14:10:54 -07:00
Emily Stark
de20ebaa15 Update help text for --mobile-server to reflect reality
Reality is actually a little more complicated than this:
* We use your automatically detected local IP if you are running on device.
* We use 'localhost' if you are running on a simulator.
But it's hard to fit that in help text, and this is at least closer to
reality than it was before.
2014-10-23 13:53:53 -07:00
Justin SB
73de0b983b Print some "android: platform is not installed" error messages in a more friendly way
We don't change the normal 'confirmation' messages for e.g. platform installed.
2014-10-23 13:40:29 -07:00
Emily Stark
0ceeb2e6c5 Don't try to use WebAppInternals.refreshableAssets until it's ready.
`refreshableAssets` gets set from the `generateBoilerplate` call in
webapp's `main` function. `updateVersions` in autoupdate gets called in
a startup hook, which runs before `main`. So we need to wait until
webapp is "more ready" (i.e. `onListening`) to try to use
`WebAppInternals.refreshableAssets`.
2014-10-23 13:38:11 -07:00
Justin SB
b6e018bdcb Fix typo in comment 2014-10-23 13:26:19 -07:00
Justin SB
edc0da84e7 Use process.platform to check OS, not uname 2014-10-23 13:26:19 -07:00
Justin SB
4a149253c0 Harmonize iOS on Linux message: Currently, it is only possible to build iOS apps on an OS X system. 2014-10-23 13:26:19 -07:00
ekatek
5e881807fe change the function call to contentQuery 2014-10-23 13:23:02 -07:00
ekatek
41d9c06ae9 be more careful about checking what we mean by package-not-in-project to eliminate extra warnings 2014-10-23 13:23:02 -07:00
Slava Kim
61589d9b71 add the random package as a autoupdate's dep on Cordova #2892 2014-10-23 13:09:38 -07:00
David Glasser
0fb62f1686 make 'run' test pass 2014-10-23 10:51:20 -07:00
David Glasser
9d1adbc4f3 improve 'run: run' test 2014-10-23 10:51:20 -07:00
David Glasser
8793d26d43 fix checkout message if app release lacks METEOR@
Reflow a word-wrapped message to look better

All non-slow 'releases' tests pass now
2014-10-23 10:51:20 -07:00
David Glasser
2f4231aaf2 Fix 'add packages to app' tests
Broken by becf6c4
2014-10-23 10:51:20 -07:00
David Glasser
e7308c8f84 increase flaky test timeout and improve name 2014-10-23 10:51:20 -07:00
David Glasser
2b3eed13f5 test file updates from self-test 2014-10-23 10:51:20 -07:00
Emily Stark
70054e379d Use Meteor.absoluteUrl() to set ROOT_URL for cordova clients.
If we use `__meteor_runtime_config__.ROOT_URL` directly, as we were
previously, then we end up sending Cordova clients to http:// URLs even
if force-ssl is being used in the app. This is fairly bad on its own
(always sending cordova clients to http:// URLs instead of https://),
but made even worse by the fact that we don't set CORS headers on
force-ssl redirects (that is, the app breaks completely if the client
makes a DDP connection to an http:// URL for a force-ssl app).
2014-10-23 10:31:22 -07:00
Justin SB
1a4956e89a Use TLS (not SSLv3) with phantomjs, to avoid POODLE problems
Also, args can be overridden using METEOR_PKG_SPIDERABLE_PHANTOMJS_ARGS
2014-10-23 10:30:41 -07:00
David Greenspan
6a9fae3339 Fix “Uploading” progress bar on meteor deploy
For some reason, super-jobs of the actual upload job have a `.current` progress but no `.end` value, and then they are chosen for progress display instead of the actual upload.  With this change, we don’t eagerly choose a job for display if it has a `.current` unless it also has a `.end`.

It’s probably also worth examining what is going on with the various values of `.current` of the super-jobs.
2014-10-23 01:43:49 -07:00
ekatek
e2086d4dba replace 'figuring out the best package versions to use' with 'selecting package versions' 2014-10-22 22:18:49 -07:00
Slava Kim
4397580e88 Don't copy the builds of platforms we didn't build for 2014-10-22 20:16:12 -07:00
Slava Kim
10d43a974b Skip the whole build if there is nothing to build for 2014-10-22 20:06:46 -07:00
Slava Kim
339af7c22e Don't try to hack into AndroidManifest if Android is not requested 2014-10-22 20:03:41 -07:00
Slava Kim
501f08d0d8 Only add platform to the cordova project if it has the SDK installed 2014-10-22 19:48:19 -07:00
Slava Kim
2151fc1f40 Rework the error messages on different platforms in different situations
Affecting factors:

- requested platforms
- platforms added to the project
- installed SDKs
- if platform is available on system at all (e.g. iOS is not available on linux)
- if it is build or run (should the errors be ignored or not?)
2014-10-22 19:33:39 -07:00
David Glasser
d90511128b Correctly parse app release during meteor update 2014-10-22 19:16:16 -07:00
ekatek
d13057f4b2 use three spaces before packaging messages 2014-10-22 16:16:21 -07:00
Slava Kim
069f2297d5 Fixes to the QA process adjusted for 1.0.0 RC 2014-10-22 14:55:49 -07:00
Slava Kim
0a73902325 New default icons and launchscreens for mobile apps 2014-10-22 14:15:46 -07:00
Emily Stark
da4d925a7c Don't unconditionally exit after starting Cordova apps. 2014-10-22 13:51:06 -07:00
David Greenspan
480b05bc2c Display progress when restarting the server
Previously, all progress display was turned off after the app’s initial start, so no progress would be displayed on restart due to server code change.

Now, we enable/disable progress display from inside the loop that re-runs the app on change.

Remove the “suppressDisplay” approach to hiding the spinner when there’s an error building the app, because it didn’t work on rebuilds, only the first build.  Better to just call enableProgressDisplay(false) and hope for the best like we do elsewhere.
2014-10-22 13:05:19 -07:00
David Greenspan
83542e9650 Display progress message in case of multiple jobs
Previously, if there were two parallel jobs like “Starting your app” and “Bundling app,” we’d display just a spinner and no message.  Now, we choose a message and display it.
2014-10-22 13:05:19 -07:00
Slava Kim
eddc136fb8 Add a verbose log 2014-10-22 12:25:29 -07:00
Slava Kim
dc0563c620 Properly escape command line arguments for cordova plugins 2014-10-22 12:25:29 -07:00
Nick Martin
ccbac61cf0 Disable color by default. 2014-10-22 11:09:20 -07:00
Sashko Stubailo
5257732e47 Make offline message only appear when we are actually offline 2014-10-22 10:59:42 -07:00
David Greenspan
da1b34c449 Print “server restarting” only when doing so 2014-10-22 10:59:11 -07:00
David Greenspan
46c77c142a Print in console when we are restarting the server
(…due to a server-side code change)

Restarting the server can take a while (30 seconds for one particular app), so it’s nice to at least print when we start doing it.  Soon there will be progress displays during it, too (when we add more of them to `meteor run`).

We lose the opportunity to coalesce server restarted messages, as in `Meteor server restarted (x2)`, but adding any sort of progress display also does that.
2014-10-22 10:55:12 -07:00
David Greenspan
5418f34887 Whitespace 2014-10-22 10:55:12 -07:00
Emily Stark
620edd3f0c Line-wrap springboarding failure messages 2014-10-22 10:48:18 -07:00
Justin SB
e92f9b3ff9 Style fix: use _.map instead of _.each 2014-10-22 10:03:42 -07:00
Justin SB
8c99924685 Make USE_GLOBAL_ADK work again, and install Android SDK more carefully 2014-10-22 09:57:19 -07:00
Avital Oliver
011b14e949 Help users install HAXM if that's all they're missing for Android dev
We intentionally consider a machine without HAXM to be "acceptable"
since HAXM can't be installed on VMs. But we should still let the users
know how to install if if that's what they're missing.
2014-10-22 09:37:09 -07:00
Nick Martin
f064c2d03f Bump catalog update timer from 15min to 3hr.
This should save load on the package server. The tradeoff is
it makes the case in #2847 have a wider window to affect users.
2014-10-21 22:36:44 -07:00
Sashko Stubailo
b71d2751e5 Change explainIfRefreshFailed to recommend connecting to the internet 2014-10-21 20:28:04 -07:00
Sashko Stubailo
678b510e4c Wrap all cordova errors since none of them print a useful stack trace 2014-10-21 20:11:34 -07:00
Emily Stark
7f2df72de2 Line-wrap a 'meteor update' message 2014-10-21 17:51:39 -07:00
ekatek
f2378ce616 some processing on how we display release name 2014-10-21 17:49:48 -07:00