Commit Graph

3302 Commits

Author SHA1 Message Date
Emily Stark
5b5e8b8cd7 Tweak cordova oauth warning wording 2014-10-27 19:32:09 -07:00
Emily Stark
a49179a14c Adjust oauth cordova warning.
* Show only for oauth2, since oauth1 (twitter) works everywhere now.
* Show on all platforms except ios simulator, since oauth2 is somewhat
  broken everywhere except ios simulator.
* Reformat to match the local-network warning.
2014-10-27 19:32:09 -07:00
Justin SB
f4ee4d2ba4 We don't need to escape cordova plugin --variable args
Cordova doesn't remove the quotes, and it doesn't expect them.

This works for both the issues that were raised.
2014-10-27 17:06:06 -07:00
Justin SB
470fe307e5 Use spinner for upload
Once we can calculate an accurate estimate, we should reintroduce it
2014-10-27 17:03:22 -07:00
Justin SB
f7638b6d51 We shouldn't be capturing the download output; enterJob instead 2014-10-27 17:02:39 -07:00
Justin SB
068901ebb1 Restore progress bar when downloading new version 2014-10-27 17:02:30 -07:00
Justin SB
98131a6db7 Adapt if HAXM/KVM is not installed
* Increase the timeout
* Encourage the user to install HAXM/KVM
* Don't print a stack trace on fail
2014-10-24 16:34:27 -07:00
Emily Stark
3574910cb7 Fix verbose argument to cordova
Fixes #2900
2014-10-24 14:39:16 -07:00
David Glasser
864899f82d Use display code for more release names 2014-10-24 14:13:26 -07:00
David Glasser
81cb2169dd Don't break everything 2014-10-24 14:13:21 -07:00
David Glasser
3b4945bd4a "Normalize" most calls to getMeteorReleaseVersion
ie, make it prepend METEOR@ if necessary.

(We DON'T do that in the pre-springboard call in main because that one
might be telling us to springboard to a pre-0.9.0 release!)

Solves a bunch of issues like the previous commit where, if
.meteor/release just says "0.9.4", you get weird behavior.
2014-10-24 14:13:16 -07:00
Justin SB
ceba2e2498 Move hasAcceleration to last check; it is the least important
We don't want it to be the first thing we link to on the wiki.

It's also nice if it comes last in the checklist, as it's the most likely thing
for users not to have.
2014-10-24 14:10:08 -07:00
Justin SB
7c83462242 Check that 32 bit libraries are installed by trying to run aapt 2014-10-24 14:08:36 -07:00
Justin SB
7fc2d3465e Avoid double-resolving future from 'adb logcat -c' 2014-10-24 14:06:49 -07:00
Emily Stark
af875523b4 Tweak OAuth Android warning message 2014-10-24 12:32:31 -07:00
Emily Stark
7154c9dc16 Print warning that OAuth doesn't work in android emulator 2014-10-24 12:32:27 -07:00
Slava Kim
3a2ae58123 Revert "Don't rewrite relative paths for cordova builds."
This reverts commit 3f821867d0.
2014-10-24 12:31:58 -07:00
ekatek
81c0cc6ef1 fix output of adding the same package twice if no constraint satisfied 2014-10-24 10:39:55 -07:00
David Glasser
1571194456 Fix run with .meteor/release lacking METEOR@
Otherwise:

  $ meteor
  meteor
  [[[[[ /private/tmp/p107 ]]]]]

  => Started proxy.
  => Started MongoDB.
  => Started your app.

  => App running at: http://localhost:3000/
  Your app has been updated to Meteor 1.0-rc.7 from Meteor 1.0-rc.7.
  Restart meteor to use the new release.
2014-10-24 10:31:01 -07:00
ekatek
825759825d print less stuff on deploy 2014-10-24 10:24:06 -07:00
Emily Stark
2e1bbef32a Fix "add cordova plugins" test 2014-10-23 19:43:20 -07:00
ekatek
f3f08f2c0b replace 'figuring out the best package versions to use' with 'selecting package versions' 2014-10-23 17:24:05 -07:00
Emily Stark
7d9704c91a Fix 'update during run' test 2014-10-23 16:50:54 -07:00
Emily Stark
9e4bf55fa3 Fix 'add cordova platforms' test 2014-10-23 16:42:20 -07:00
Justin SB
7f1ff749b1 Print a warning if we're doing a (mobile) build into the source tree
This is problematic because the mobile build produces Javascript files,
which then get picked up by subsequent meteor runs.

See #2886
2014-10-23 16:26:14 -07:00
Justin SB
74b0e27d4d Added missing space 2014-10-23 16:25:40 -07:00
Justin SB
b45ce48317 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 16:25:33 -07:00
Justin SB
9e03667a33 Harmonize iOS on Linux message: Currently, it is only possible to build iOS apps on an OS X system. 2014-10-23 16:25:28 -07:00
Slava Kim
7afc4552f7 Don't copy the builds of platforms we didn't build for 2014-10-23 16:25:12 -07:00
Slava Kim
df8ab1c453 Skip the whole build if there is nothing to build for 2014-10-23 16:25:12 -07:00
Slava Kim
27b328a893 Don't try to hack into AndroidManifest if Android is not requested 2014-10-23 16:25:12 -07:00
Slava Kim
d8ea600db5 Only add platform to the cordova project if it has the SDK installed 2014-10-23 16:25:11 -07:00
Slava Kim
feb9424bde 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-23 16:25:11 -07:00
ekatek
711ab73dae another instance of printing METEOR 2014-10-23 16:15:45 -07:00
Emily Stark
0422d913dc Remove localCatalogTests.js
There don't seem to be any actual tests in here, and it crashes a
'meteor self-test --slow' run from release.
2014-10-23 16:15:18 -07:00
Emily Stark
5268acd35d 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 16:14:05 -07:00
David Greenspan
4966e8c842 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 16:12:54 -07:00
Slava Kim
aa82943a56 New default icons and launchscreens for mobile apps 2014-10-23 16:12:42 -07:00
Emily Stark
9d0ab76b87 Fix old cli tests for meteor build outputting directory 2014-10-23 16:01:28 -07:00
David Glasser
b5f284305d update test file thing 2014-10-23 14:06:15 -07:00
ekatek
14d2b4e8fe change the function call to contentQuery 2014-10-23 13:35:46 -07:00
ekatek
46da372883 be more careful about checking what we mean by package-not-in-project to eliminate extra warnings 2014-10-23 13:35:46 -07:00
Emily Stark
0b0dc46bdb 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:32:59 -07:00
David Glasser
546276fb85 Correctly parse app release during meteor update 2014-10-22 19:34:02 -07:00
David Glasser
b1d3dc23e9 make 'run' test pass 2014-10-22 16:38:04 -07:00
David Glasser
440e3c17a5 improve 'run: run' test 2014-10-22 15:21:41 -07:00
David Glasser
16b0f3627c 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-22 15:11:57 -07:00
David Glasser
0d64cad216 Fix 'add packages to app' tests
Broken by becf6c4
2014-10-22 14:29:28 -07:00
David Glasser
d41ee867d1 increase flaky test timeout and improve name 2014-10-22 14:26:10 -07:00
David Glasser
cfe1e5d230 test file updates from self-test 2014-10-22 14:26:10 -07:00