Commit Graph

7024 Commits

Author SHA1 Message Date
Sashko Stubailo
aaabeaf5b1 Bump package versions for RC 14 2015-09-11 19:16:23 -07:00
Martijn Walraven
9807f11b40 Add hacks to Cordova plugin to fix URL-path mapping mismatch after 1.2 build tool changes
Fixes #5119
2015-09-11 22:19:36 +02:00
Martijn Walraven
592ed38272 Disable iOS 9 App Transport Security until Cordova adds support
See https://issues.apache.org/jira/browse/CB-9569
Fixes #4560
2015-09-11 08:09:07 +02:00
Oleksandr Chekhovskyi
42fbef7e6f Fix method calls during reconnect
User could enter irrecoverable broken state after doing any action while
reconnecting (specifically between stream reset and quiescence).
In this state some or all documents in collections would be missing,
because the loop processing buffered messages is interrupted with an
exception in _process_added.

This commonly happened on slow/bad networks, such as mobile.
2015-09-09 18:16:40 -07:00
David Greenspan
4df1327009 Improve Meteor.settings docs #4704 #5118
Fix docs to say:
* Not that Meteor.settings is empty with no settings
* Meteor.settings.public is always there on client and server
* Changing it on the server affects the client

Also add mention to History.md
2015-09-09 16:01:14 -07:00
Evan You
1b5a1b3ff0 exclude packages with env variables 2015-09-09 15:30:00 -04:00
Evan You
452c839d94 apply ci script updates 2015-09-09 15:29:46 -04:00
David Greenspan
2bb7138cc4 Semicolons 2015-09-07 08:49:46 -07:00
Tim Haines
49b49a0a3d OAuth1Binding - don't mutate the rawHeaders when generating a signature 2015-09-03 14:57:58 -07:00
David Greenspan
8754e3626f Bump versions for RC 2015-09-03 11:32:51 -07:00
Sashko Stubailo
f0ae6b8a39 Bump package versions for new RC 2015-09-02 13:34:22 -07:00
Sashko Stubailo
0bb7c7c0b2 New addAssets package.js API; same file can be source and asset
1. Add `addAssets` API to `package.js`
2. Rename `getSourcesFunc` to `getFiles` in internal code
3. Changed `PackageAPI#sources` to `PackageAPI#files` with a new structure that
   has separate objects for assets and sources
4. Added some tests for different error conditions
5. The same file can now be a source and an asset
2015-09-02 13:14:02 -07:00
Sashko Stubailo
291c8fe344 Move BabelCompiler class into babel-compiler package
It used to be in the ecmascript package.
I want to use it in the jsx package, so it needs to be exported from somewhere.
2015-09-01 19:11:25 -07:00
Vincent Jaubert
10d1ce1593 Put missing brackets around hexstring optional parameter name in Mongo JSDoc 2015-09-01 14:07:36 -07:00
David Greenspan
6878c6aca5 bump version 2015-08-31 17:51:34 -07:00
David Greenspan
99e80ce998 Claim RC 10 2015-08-31 17:30:37 -07:00
David Greenspan
397a8ca3db Remove meteor-tool/.versions
It seems to be causing problems publishing meteor-tool from other arches
like Windows.  Try removing it.
2015-08-31 17:28:16 -07:00
David Glasser
af567ff8a3 404 instead of boilerplate on production JS links
Make sure the 404 is not cached. Helps with CDNs (see eg 6ff0faa).
2015-08-31 15:40:36 -07:00
David Greenspan
4226c4f9e1 claim RC 9 2015-08-31 12:00:15 -07:00
David Greenspan
280041cf08 bump version number 2015-08-31 10:58:23 -07:00
David Greenspan
bae5007782 bump tool version 2015-08-31 10:51:30 -07:00
Simon Fridlund
790865cc0e Better duplicate error checks for insertUserDoc
Update tests for accounts-base

Watch for specific exceptions being thrown.
2015-08-28 11:17:56 -07:00
Sashko Stubailo
16fcf6275a Add test for bare file compiled with ecmascript 2015-08-28 11:12:49 -07:00
David Greenspan
3d6cb90d51 bump versions for RC 7 2015-08-27 15:54:37 -07:00
David Greenspan
d5d7d33bd6 bump for RC 6 2015-08-27 10:58:47 -07:00
David Greenspan
20db245ace crosswalk has documentation:null 2015-08-26 17:46:04 -07:00
David Greenspan
2e2a573d40 version bumps 2015-08-26 17:39:55 -07:00
David Greenspan
2b751b549b Merge branch 'devel' into release-1.2 2015-08-26 17:13:32 -07:00
Avital Oliver
f47cf27b27 Revert "Let Meteor.call within observe call server methods."
This reverts commit 1aaea772f2.

Apparently tests fail after this commit. Not sure how that happened.
2015-08-26 14:24:16 -07:00
Avital Oliver
5bf8885534 Revert "Let Meteor.call within observe call server methods."
This reverts commit 1aaea772f2.

Apparently tests fail after this commit. Not sure how that happened.
2015-08-26 14:23:49 -07:00
Avital Oliver
d9fe23bc60 Let Meteor.call within observe call server methods.
Since `observe` callbacks fire synchronously, before this change,
if you run a method on the client that leads to an observe
callback firing, and in that observe callback you call `Meteor.call`,
it would act the same as when you call `Meteor.call` within a method
stub -- that is, it would call the method stub but not send the
method invocation to the server.
2015-08-26 12:38:49 -07:00
Avital Oliver
1aaea772f2 Let Meteor.call within observe call server methods.
Since `observe` callbacks fire synchronously, before this change,
if you run a method on the client that leads to an observe
callback firing, and in that observe callback you call `Meteor.call`,
it would act the same as when you call `Meteor.call` within a method
stub -- that is, it would call the method stub but not send the
method invocation to the server.
2015-08-26 12:38:12 -07:00
Avital Oliver
2efd196d91 Revert "Let Meteor.call within observe call server methods."
This reverts commit b2cb10ef20.

Going to squash and re-commit
2015-08-26 12:35:40 -07:00
Avital Oliver
a80185846a Revert "Glasser code review comments"
This reverts commit a4a92b3f8f.

Going to squash and re-commit
2015-08-26 12:35:19 -07:00
Avital Oliver
a4a92b3f8f Glasser code review comments 2015-08-26 12:32:35 -07:00
Avital Oliver
b2cb10ef20 Let Meteor.call within observe call server methods.
Since `observe` callbacks fire synchronously, before this change,
if you run a method on the client that leads to an observe
callback firing, and in that observe callback you call `Meteor.call`,
it would act the same as when you call `Meteor.call` within a method
stub -- that is, it would call the method stub but not send the
method invocation to the server.
2015-08-26 12:32:35 -07:00
Martijn Walraven
dac019fda8 Add case-insensitive accounts-password utility functions
Since we have added additional constraints to the database around case
sensitivity, we now want to discourage people from working with the Accounts
collection directly and provide an API for changing certain fields in a correct
way.

Methods that do database checks before and after the operation:
  Accounts.setUsername
  Accounts.addEmail
  Accounts.removeEmail

Methods that make sure to use a case-insensitive query to retrieve the user
  Accounts.findUserByUsername
  Accounts.findUserByEmail

PR #5024
2015-08-26 12:07:51 -07:00
Martijn Walraven
a259834026 Add webapp dependency to test-in-browser
This ensures the app created for test-packages will have the default
Cordova plugins installed.
2015-08-26 19:26:55 +02:00
Martijn Walraven
9af83ebe3c Add Crosswalk package for Android 2015-08-26 19:26:54 +02:00
Martijn Walraven
af70287656 Remove cordova package and put cordova-lib and ios-sim back into the dev bundle 2015-08-26 19:26:51 +02:00
Martijn Walraven
c3238b2ba9 Combine installed plugins with fetched plugins metadata 2015-08-26 19:26:50 +02:00
Martijn Walraven
2165a6b6eb Let Cordova install plugins from Git instead of downloading tarballs
This also fixes a problem where we were reinstalling all plugins on
every build.
2015-08-26 19:26:49 +02:00
Martijn Walraven
b618de8cd1 Only depend on ios-sim on OS X 2015-08-26 19:26:47 +02:00
Martijn Walraven
74b5f7bcea Move cordova-lib and ios-sim from dev bundle to package 2015-08-26 19:26:47 +02:00
Martijn Walraven
c33bd25139 Update Cordova plugin versions in packages and bump versions 2015-08-26 19:26:44 +02:00
Dean Brettle
675349f988 Stop onLogin handler even if test fails. 2015-08-25 14:42:22 -07:00
Dean Brettle
64a6661c51 Fix #4970 - Login fail while logged in breaks reconnect autologin
Change callLoginMethod to leave self.connection.onReconnect alone if the
login fails, and add test for same.
2015-08-25 14:42:22 -07:00
Ben Newman
6f188e923b Upgrade ecmascript-collections NPM package to 0.1.5. 2015-08-21 18:22:08 -04:00
Ben Newman
5636c43e85 Test that core-js does not interfere with check(..., Number).
See https://github.com/grigio/meteor-babel/issues/5 for the kind of issue
that this test should help prevent.
2015-08-21 18:10:32 -04:00
Ben Newman
2353a69eee Upgrade meteor-promise to version 0.4.8.
This release of meteor-promise includes some important bug fixes for
environment binding on the client.
2015-08-20 13:19:59 -04:00