Commit Graph

11435 Commits

Author SHA1 Message Date
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
Avital Oliver
a5aacef8eb Correct comment 2014-10-23 16:16:23 -07:00
Avital Oliver
77cc6e577a Better fix for OAuth dialog with bootstrap
Improves on 4995bf3e49
2014-10-23 16:16:14 -07:00
Avital Oliver
55071b8f73 Nicer OAuth configuration dialog with bootstrap
Apparently, bootstrap sets all <label> elements to have display: block,
which borkes the layout on our OAuth configuration dialogs. So,
let's just make those <label> elements be display: inline within
that dialog.

Tested on an app with and without bootstrap.
2014-10-23 16:16:05 -07:00
Avital Oliver
82f996bced Increase height of Google login pop-up
Verified that now the entire email/password form is visible.
2014-10-23 16:15:56 -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
Emily Stark
5922fa0ff0 Fix mistaken cordova ClientVersions insert/update inside onListening block. 2014-10-23 14:48:28 -07:00
Emily Stark
f30f98bd36 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 14:48:28 -07:00
David Glasser
9eb922e50e bump versions for 1.0-rc.6 release/METEOR@1.0-rc.6 2014-10-23 14:08:25 -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
Slava Kim
cd2381e748 add the random package as a autoupdate's dep on Cordova #2892 2014-10-23 13:21:56 -07:00
David Glasser
1d82d11255 Merge tag 'release/METEOR@1.0-rc.5' into release-1.0 2014-10-23 11:09:04 -07:00
David Glasser
de97e984f6 bump for 1.0-rc.5 release/METEOR@1.0-rc.5 2014-10-23 11:06:43 -07:00
Justin SB
09264641c4 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:33:27 -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
Emily Stark
fb0dc712e9 bump meteor-tool version number release/METEOR@1.0-rc.4 2014-10-22 13:58:48 -07:00
Emily Stark
9eb79d4c33 Bump release manifest for rc4 2014-10-22 13:54:22 -07:00
Emily Stark
da24f6cedd Don't unconditionally exit after starting Cordova apps. 2014-10-22 13:53:59 -07:00
David Greenspan
d064d744a3 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.

Conflicts:
	tools/progress.js
2014-10-22 13:37:08 -07:00
David Greenspan
0706e3fe6d 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:36:29 -07:00
David Greenspan
96cfcb780b Print “server restarting” only when doing so 2014-10-22 13:36:13 -07:00
David Greenspan
dbd576689f 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 13:36:13 -07:00
David Greenspan
e60f904eef Whitespace 2014-10-22 13:36:13 -07:00
Emily Stark
6fc46976da bump package version for 1.0-rc.3 release/METEOR@1.0-rc.3 2014-10-22 12:58:12 -07:00
Emily Stark
34dda787aa Bump release manifest for rc.3 2014-10-22 12:49:49 -07:00
Zoltan Olah
b4fbfe016f Adds missing Android assets and standardizes asset filenames between platforms 2014-10-22 12:43:02 -07:00
Slava Kim
868273b074 Properly escape command line arguments for cordova plugins 2014-10-22 12:42:50 -07:00
ekatek
1a75eb1357 some processing on how we display release name 2014-10-22 12:36:59 -07:00
Justin SB
8a2ed10e14 Style fix: use _.map instead of _.each 2014-10-22 11:41:30 -07:00
Justin SB
48b50a8ae2 Format meteor show nicely
We only do 'meteor show mypackage', not 'meteor show mypackage@1.0'
2014-10-22 11:41:22 -07:00
Nick Martin
5eedfe8baf Disable color by default. 2014-10-22 11:10:11 -07:00
Justin SB
4b576959f4 Make USE_GLOBAL_ADK work again, and install Android SDK more carefully 2014-10-22 11:08:45 -07:00
Sashko Stubailo
4255e0b9e7 Make offline message only appear when we are actually offline 2014-10-22 11:02:08 -07:00
Sashko Stubailo
d98c6eac8d Change explainIfRefreshFailed to recommend connecting to the internet 2014-10-22 11:02:08 -07:00
Avital Oliver
bf227bd35d 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 10:55:40 -07:00