Commit Graph

53 Commits

Author SHA1 Message Date
Slava Kim
27f249bfed A lot of crazy package bumps 2015-01-21 14:03:55 -08:00
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
Geoff Schmidt
25205a2f61 short readmes for autoupdate, reload, webapp, webapp-hashing 2014-10-13 21:23:07 -07:00
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -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
eecc272e4a Bump every single package version number due to a change in compilation 2014-09-29 23:44:50 -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
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
833c6f5b4f Bump package versions for 0.9.2 2014-09-15 11:36:57 -07:00
Slava Kim
fc56f795d6 Bump versions of packages for the 0.9.2-rc0 2014-09-02 14:57:33 -07:00
Slava Kim
a6c4ed6e6e Merge branch 'release-0.9.1' into release-0.9.2
Conflicts:
	packages/autoupdate/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	scripts/admin/meteor-release-experimental.json
2014-09-02 13:49:21 -07:00
Avital Oliver
808c90e3db Bump rc versions on packages 2014-09-01 00:16:00 -07:00
Matthew Arbesfeld
611298fb50 Merge branch 'cordova-hcp' into devel
Conflicts:
	packages/deps/package.js
	packages/reload/reload.js
	tools/tests/apps/hot-code-push-test/.meteor/versions
2014-08-29 12:08:34 -07:00
Justin SB
03dc104609 Rename sessionStorage -> safeSessionStorage, for clarity 2014-08-29 11:19:15 -07:00
Justin SB
562d496acc Don't throw on chrome when sessionStorage is disabled
Chrome is really strict; even (typeof sessionStorage) throws a
'SecurityError: Access is defined' when cookies & local storage
are blocked.  Borrow the logic from history.js; it relies on
catching the exception.

This should fix a problem with reload-safetybelt for users with
Chrome in no-cookies mode.
2014-08-29 11:19:11 -07:00
Justin SB
16b4003f24 Rename sessionStorage -> safeSessionStorage, for clarity 2014-08-29 11:18:14 -07:00
Justin SB
e0990957e1 Don't throw on chrome when sessionStorage is disabled
Chrome is really strict; even (typeof sessionStorage) throws a
'SecurityError: Access is defined' when cookies & local storage
are blocked.  Borrow the logic from history.js; it relies on
catching the exception.

This should fix a problem with reload-safetybelt for users with
Chrome in no-cookies mode.
2014-08-29 11:18:07 -07:00
Andrew Wilcox
2fd00e58ba Implements the "redirect" login flow, for cases such as using a mobile
UIWebView which aren't able to use the preferred "popup" login flow.

See the specs for details:
  https://meteor.hackpad.com/OAuth-redirect-flow-spec-PeziTcaNPDP
  https://meteor.hackpad.com/OAuth-redirect-flow-part-II-vswwUKP4vXe

I extracted code to construct a URL from the `http` package into a new
`url` utility package.  The new package has no public API, it simply
has the original URL construction functions that were in `http` and
makes them available to oauth.

Fixes the Meetup account login, as Meetup now requires using
"https://api.meetup.com/2/members" instead of
"https://secure.meetup.com/2/members".

The `?close` parameter for the redirect URI is now not needed or used.
For backwards compatibility the `?close` parameter is included if the
login service configuration doesn't include the `loginStyle` field
(indicating it was created using old code).
2014-08-28 17:25:13 -07:00
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
ekatek
beb0e59b9d new version files from teh new solver? Also, package.js correct with tests 2014-05-09 17:36:25 -07:00
ekatek
031890d2c5 don't store buildtime deps in the catalog 2014-05-04 16:56:58 -07:00
ekatek
23ad149a78 better versions files 2014-04-25 15:06:45 -07:00
ekatek
10d2047d12 clean up 2014-04-25 15:01:20 -07:00
ekatek
c84c8d6097 alphabetize package version lock files 2014-04-24 18:18:21 -07:00
ekatek
9f543d4d03 versions files for packages 2014-04-21 18:16:31 -07:00
ekatek
6663528a34 Merge branch 'devel' into publish-packages
Conflicts:
	packages/underscore-tests/package.js
2014-03-21 15:26:06 -07:00
Nick Martin
0bb6b0bb4c Fix hot code reload in Private Browsing mode in Safari. Doesn't actually save the migration data, just log an exception. But better than never reloading. 2014-03-16 21:18:29 -07:00
Geoff Schmidt
4d114ef617 Set some (not all, yet) packages to version 1.0.0 2014-03-07 01:33:37 -08:00
Avital Oliver
569e92201a Add XXX to reload package informed by #657 2013-09-25 11:57:57 -07:00
David Glasser
4b3cb9d305 Rename api.exportSymbol -> api.export. 2013-07-25 18:54:43 -07:00
David Glasser
db51a3a14c Eliminate the "past" package.
This package was always included in apps, and even if it was possible to remove,
there wasn't a compelling story about when users would remove and replace
it. Plus, not all backwards-compatibility code could even live in it (eg, field
names of objects), so it was incomplete. It also introduced odd load order
constraints.

Instead, we introduce two conventions for backwards-compatibility code:

  - Special comments of the form "// XXX COMPAT WITH 0.6.4"
  - When feasible, put backwards-compatibility code in a file called
    "deprecated.js" in the relevant package.

This is documented at:
https://github.com/meteor/meteor/wiki/Meteor-Style-Guide#deprecated-code-and-backwards-compatibility

Additionally, removed some symbols that existed for backwards compatibility with
Meteor 0.4.0 (changes made 10 months ago): Meteor.is_client, Meteor.is_server,
and (in a method) this.is_simulation.
2013-07-25 18:54:42 -07:00
David Glasser
9f38258b54 Drop all @export lines. Add api.exportSymbol instead. 2013-07-25 18:54:40 -07:00
Geoff Schmidt
3d1c09794f Comprehensive namespace cleanup. 2013-07-25 18:54:40 -07:00
David Glasser
8dbee56e77 Add .gitignore to package directories to match linker branch.
This way switching between linker and devel doesn't leave you with lots of junk
in git status.
2013-05-13 10:57:37 -07:00
David Glasser
5a5204e3a4 Remove closures around package files. (hint: git blame -w)
The bundler now adds closures around client files and the server adds closures
around server files.
2013-03-19 15:13:53 -07:00
David Glasser
ea192438d1 Check more carefully for sessionStorage.
In FF it can be 'null', not just undefined.
2012-10-27 12:12:59 -07:00
David Glasser
80dbb2e7a6 Follow-up to ac9f553: only save migrationData if name provided. 2012-09-28 07:37:13 -07:00
David Glasser
ac9f553d07 Refactor "reload" package: camelCase the API, and make the onMigrate name
optional.

Motivation: now that we don't use "url" as a key in _LivedataConnection, it's
easier to turn it into a function (for MeteorWildcard support).
2012-09-28 00:19:54 -07:00
Avital Oliver
949ea34a85 Log data that fails to be serialized on migration 2012-05-30 15:31:06 -07:00
Geoff Schmidt
224f48cc81 In a migration, always get a consistent snapshot 2012-03-01 19:37:05 -08:00
Geoff Schmidt
ddfbf236ce allow packages to block migration until they're ready 2012-03-01 17:25:36 -08:00
Geoff Schmidt
58a2d65126 Provide package 'meteor' to create the Meteor global
Fold old package 'core' into it
2012-02-23 02:21:10 -08:00
Nick Martin
88feb09b30 Comments and cleanups. 2012-02-06 23:15:31 -08:00