Commit Graph

5589 Commits

Author SHA1 Message Date
Sashko Stubailo
d30ee0a69e Fix backcompat for isopack.json, try releasing again 2014-10-01 20:08:43 -07:00
Sashko Stubailo
f5b3b05522 Bump meteor-tool version 2014-10-01 17:37:49 -07:00
Sashko Stubailo
c638b15fe5 Add version constraing to bootstrap use 2014-10-01 17:34:44 -07:00
Sashko Stubailo
3ac172427e Fixed srp package.js 2014-10-01 17:19:18 -07:00
David Greenspan
42bdfde8ca Publish versioned dependencies of core packages
When publishing a core package, you’re allowed to omit version numbers in package.js.  With this change, we determine the correct versions of all the dependent packages based on the current checkout, and we send them to troposphere (instead of core packages having “null” constraints on their dependencies).

We throw an error if you have any missing version constraints on your package dependencies and you are not using versionsFrom or publishing a core package from a checkout.

We’ve already fixed this (no constraints on core package deps) retroactively in troposphere.

It speeds up the constraint solver by orders of magnitude when publishing a package.
2014-10-01 17:11:18 -07:00
Sashko Stubailo
1e53f6b598 Bump all version numbers again after cherry-picking unipackage fix 2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac Bump all of the version numbers again, to republish with the unipackage.json fix 2014-10-01 15:43:05 -07:00
Sashko Stubailo
166fe658d7 Bump minimongo version number 2014-10-01 15:34:00 -07:00
Sashko Stubailo
47800298c6 Merge branch '0.9.3.1' into 0.9.4-pre.2
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-01 15:18:10 -07:00
Avital Oliver
b20285e633 0.9.3.1 2014-09-30 18:10:41 -07:00
Avital Oliver
3664803d1a Bump versions for 0.9.3.1-rc.0 2014-09-30 16:37:00 -07:00
Avital Oliver
f6ffe668c4 Allow more than one dash in package version names
This is consistent with the semver spec, and should fix
2014-09-30 16:16:38 -07:00
Sashko Stubailo
2dad47677d Update srp version 2014-09-30 00:30:42 -07:00
Sashko Stubailo
eecc272e4a Bump every single package version number due to a change in compilation 2014-09-29 23:44:50 -07:00
Nick Martin
fc194393b2 Merge branch 'devel' into release-0.9.4
Conflicts:
	tools/help.txt
2014-09-29 21:38:47 -07:00
Sashko Stubailo
7e4848d939 Merge branch 'isopack' into release-0.9.4
Conflicts:
	tools/uniload.js
2014-09-29 20:08:02 -07:00
Emily Stark
a403c54bf8 Remove 'reload' timeout.
This timeout was designed for a very specific case (hit stop during a
hot code push, come back to the page later and you don't expect your
session state to still be there), but it's not clear what length of time
is right for that, nor whether it's even what users expect (and if there
should be a timeout, it probably varies from package to package
depending on what type of data the package is storing in sessionStorage
-- e.g. for OAuth logins, 30 seconds is way too short of a timeout).

Fixes #2696.
2014-09-29 18:31:04 -07:00
Emily Stark
381b2fa099 Remove 'reload' timeout.
This timeout was designed for a very specific case (hit stop during a
hot code push, come back to the page later and you don't expect your
session state to still be there), but it's not clear what length of time
is right for that, nor whether it's even what users expect (and if there
should be a timeout, it probably varies from package to package
depending on what type of data the package is storing in sessionStorage
-- e.g. for OAuth logins, 30 seconds is way too short of a timeout).

Fixes #2696.
2014-09-29 18:27:49 -07:00
Paolo Scanferla
c62e3c20c1 Export same-origin check and end_of_redirect_response template.
Export some properties to allow developers to override them to
support logging in using the OAuth redirect flow from cross origin
domain.
2014-09-29 18:10:06 -07:00
Paolo Scanferla
8e2b5612a9 Export same-origin check and end_of_redirect_response template.
Export some properties to allow developers to override them to
support logging in using the OAuth redirect flow from cross origin
domain.
2014-09-29 18:09:28 -07:00
Sashko Stubailo
8bd7a14993 Merge branch 'release-0.9.4' into isopack 2014-09-29 17:57:15 -07:00
Sashko Stubailo
a3860bb115 Make isopack backwards- and forwards-compatible 2014-09-29 17:12:00 -07:00
Rick Golden
b7b9a53038 fix typo (use of & vs. &&) 2014-09-29 14:21:55 -07:00
rzymek
b0e8968b81 fix: upsert $addToSet with $each field creation error 2014-09-29 14:10:20 -07:00
Slava Kim
fff18dc595 Merge branch 'cordova-0.9.4' into release-0.9.4
Some Cordova fixes and the new on-device server
2014-09-29 13:20:31 -07:00
David Greenspan
26feea9275 Don’t be all weird if ROOT_URL ends with /
Previously, ROOT_URLs of `http://foo.com`, `http://foo.com/`, and `http://foo.com/bar` worked fine, but `http://foo.com/bar/` did not work because of the trailing slash.  We could throw an error, but why not just trim it off.
2014-09-29 12:57:46 -07:00
Slava Kim
1a4d7aa99b Merge branch 'limit-downlaods-ios' into cordova-0.9.4 2014-09-29 12:36:17 -07:00
Slava Kim
d4ae3172d3 Add a defer for files download on iOS
surprising helps us to fight the iOS rate-limiting back!
2014-09-29 12:24:02 -07:00
David Greenspan
3693db8562 Fix #2627 (source maps with a PATH_PREFIX)
When you set ROOT_URL_PATH_PREFIX, source maps are not found because the server serves them at a different path from where the client looks for them.

I don’t understand this code super well, but based on what’s reported in issue #2627, the new code seems strictly more correct than the old code.
2014-09-29 12:15:38 -07:00
David Greenspan
0f4f77f8a2 Fix #2627 (source maps with a PATH_PREFIX)
When you set ROOT_URL_PATH_PREFIX, source maps are not found because the server serves them at a different path from where the client looks for them.

I don’t understand this code super well, but based on what’s reported in issue #2627, the new code seems strictly more correct than the old code.
2014-09-29 12:15:13 -07:00
Sashko Stubailo
5aa76db4df Merge branch 'devel' into release-0.9.4
Conflicts:
	docs/client/data.js
2014-09-29 10:40:39 -07:00
Sashko Stubailo
23eea24abc Merge branch 'devel' into release-0.9.4
Conflicts:
	docs/client/data.js
2014-09-29 10:39:05 -07:00
Sashko Stubailo
b7ce12a958 Fix test not resetting global variables 2014-09-27 15:45:46 -07:00
Sashko Stubailo
681c4a4dec Improve line break 2014-09-27 15:42:00 -07:00
Sashko Stubailo
422fffd128 Fix silly mistakes caught by Emily, test now passes for sure 2014-09-27 15:40:18 -07:00
Emily Stark
54f267a577 Add 'reload' unit test 2014-09-26 23:03:20 -07:00
Emily Stark
7b90220767 Remove duplicated code in 'reload'.
This code was factored out a long time ago, but got duplicated by
accident in a merge conflict resolution (611298f).

Also lay some groundwork for a unit test.
2014-09-26 23:01:56 -07:00
Emily Stark
dd9a51624d Fix login service configuration wizards.
These were broken by the Template.foo.bar -> Template.foo.helpers({ bar:
... }) transformation. `fields` is a property on the template object,
not a helper.
2014-09-26 18:08:09 -07:00
Slava Kim
9600d92ca7 Limit the number of concurrent downloads
Doesn't actually help!
2014-09-26 17:21:48 -07:00
Emily Stark
db675cac33 docs: clarify Meteor.wrapAsync client usage 2014-09-26 16:40:16 -07:00
Emily Stark
f510cd0174 Simplify validPid, thanks Ben 2014-09-26 14:42:12 -07:00
Emily Stark
1797d28d0e Factor out check for valid --parent-pid and add tests. 2014-09-26 14:36:40 -07:00
Emily Stark
a8d77fb91a Fix check for valid parent id.
Parse as decimal (which means you can't specify --parent-pid in hex,
that's fine). And convert back to string to check that the whole string
was parsed as an int (i.e. "123foobar" should not be converted to
"123").

Thanks Slava and Avital.
2014-09-26 14:23:57 -07:00
Emily Stark
6041122944 Exit immediately if --parent-pid doesn't look like an integer.
If you pass "--parent-pid foobar", then we immediately log an error
message and exit. This check happens via `parseInt` rather than testing
for exceptions in `process.kill(parentPid, 0)` because `process.kill`
converts its pid argument to an integer, so `process.kill('foobar', 0)`
returns true just as `process.kill(0, 0)` does.
2014-09-26 14:01:19 -07:00
Sashko Stubailo
9d65f92699 A lot of docs fixes and a rename to match the other functions 2014-09-26 14:00:45 -07:00
Sashko Stubailo
570ce49e8c Forgot to add a file 2014-09-26 13:40:03 -07:00
Sashko Stubailo
3120eb0b4f Remove email from token URL 2014-09-26 13:27:34 -07:00
Justin SB
c7b6a6c4b7 Include js filename in cordova log messages 2014-09-26 08:35:28 -07:00
Justin SB
4de9718c9a More logging in autoupdate_cordova.js 2014-09-26 08:33:22 -07:00
Slava Kim
57e5cae447 Use the version of CordovaUpdate that seems to work on iOS 2014-09-25 22:44:09 -07:00