Commit Graph

7375 Commits

Author SHA1 Message Date
Avital Oliver
7c813691f2 Try to fix #2093 release/fix-2093 release/test-fix-2093 release/fix-2093-1 2014-04-30 11:55:45 -07:00
Avital Oliver
af28185676 Merge branch 'master' into devel 2014-04-30 11:49:50 -07:00
Avital Oliver
c67ce10722 Merge branch 'release-0.8.1' 2014-04-30 11:49:23 -07:00
Avital Oliver
965e3f6dec Add v0.8.1 to History.md 2014-04-30 11:46:12 -07:00
Emily Stark
b37fd2af7e Merge branch 'master' into devel 2014-04-30 11:03:19 -07:00
Emily Stark
f4044c2fde Merge branch 'release-0.8.1' 2014-04-30 11:02:42 -07:00
Emily Stark
532e9f32a8 Update docs and examples 2014-04-30 11:02:18 -07:00
Emily Stark
4b6d88828e tweak notices 2014-04-30 10:47:37 -07:00
Emily Stark
68f4425841 tweak banner 2014-04-30 10:28:40 -07:00
Emily Stark
9cd32c85ec add line break in notices 2014-04-30 10:23:01 -07:00
Emily Stark
2978ceb96d Update History, banner, notices 2014-04-30 10:21:40 -07:00
Emily Stark
cb6113170f Generate a fresh secret at end of OAuth, and require that secret on login.
Ensures that only the user who completed the OAuth flow can log in over DDP.
release/0.8.1-rc3 release/0.8.1
2014-04-30 10:08:16 -07:00
Emily Stark
bea8e9c5d0 Add showdown version in History 2014-04-29 23:26:35 -07:00
Emily Stark
2ee6fa383c Update license file more 2014-04-29 23:25:43 -07:00
Emily Stark
9b6d020e91 Update license file 2014-04-29 23:24:52 -07:00
Emily Stark
30b937365f Use Random.id() for meetup state parameter.
For some reason meetup converts underscores to spaces in the state
parameter.
2014-04-29 19:56:11 -07:00
Dan Dascalescu
64e02f2f56 Pass failure message for test.length() 2014-04-29 16:49:48 -07:00
Dan Dascalescu
3eeb7e61bd Mark reason and error as optional in new Meteor.Error 2014-04-29 16:25:38 -07:00
David Glasser
e7f955f809 Fix accidental QUERYING->STEADY transition
Fixes "Exception in defer callback: Error: Phase unexpectedly STEADY"
error
release/0.8.1-rc2
2014-04-29 15:00:55 -07:00
David Glasser
2b8f2cc566 Handle token observe better with overlapping login
Before this, we could see the "non-null user observe" error if:

- One login method ran (eg login) and it called _setLoginToken.
  It stored null in userObservesForConnections and gets to the
  defer/observe part
- Another login method ran (eg getNewToken) and it called
  _setLoginToken. The call to removeTokenFromConnection at the top
  clears the null from userObservesForConnections, and it then
  stores its own null in userObservesForConnections, and defers
- One of them finishes the observe and puts its observe in
  userObservesForConnections, overwriting the null which it thinks
  is its alone
- The other one gets there and throws

Also, consistently use _.has when checking if userObservesForConnections
has an element.
2014-04-29 14:30:34 -07:00
Avital Oliver
9ab335baff Fix consistent id tests on IE8
IE8 doesn't support `func.name`
2014-04-29 13:59:51 -07:00
Emily Stark
31a9b47bc6 Don't set img tags to javascript: URLs in tests in IE.
IE throws an exception if you set an img src to a javascript: URL.
2014-04-28 20:51:49 -07:00
Emily Stark
8b634a96f9 Wait for sub ready on another mongo-livedata test 2014-04-28 16:23:42 -07:00
Avital Oliver
2fdae0f132 Wait for subscription ready on another mongo livedata test 2014-04-28 16:11:53 -07:00
Emily Stark
6ce2c131d3 Fix some mongo-livedata tests 2014-04-28 16:04:50 -07:00
Avital Oliver
5a646fe796 Work towards better mongo-livedata tests.
We should always wait for subscription to be ready
before calling methods if we expect to be able to read
the database within a method callback
2014-04-28 16:03:55 -07:00
Avital Oliver
d45414154d Simplify mongo-livedata id generation tests 2014-04-28 13:54:08 -07:00
Avital Oliver
e48a3e557f Fix IE8 "table assembly" test failure.
We no longer automatically wrap table elements in
a <tbody>.
2014-04-28 12:17:00 -07:00
Emily Stark
0a5297d39b Bump a test timeout 2014-04-26 14:46:32 -07:00
David Glasser
406e3de77e expand DDP heartbeat section in History 2014-04-25 19:02:12 -07:00
Avital Oliver
dd7d8fea60 Fix consistent id tests.
We now wait for subscriptions to be ready before calling
methods that affect those collections. Otherwise, when the
callback fires the documents in those collections aren't
guaranteed to be available on the client.
2014-04-25 18:54:52 -07:00
Avital Oliver
e4c17ef07b Isolate consistent id generation tests 2014-04-25 18:50:16 -07:00
David Greenspan
788b5254fb Address Blaze XXXs in History.md 2014-04-24 22:00:20 -07:00
Emily Stark
9b41237f69 One last little tweak to javascript: error message release/0.8.1-rc1 2014-04-24 18:58:41 -07:00
Emily Stark
ff7fc769d9 Tweak javascript: attribute value error message. 2014-04-24 18:55:54 -07:00
Avital Oliver
4ada4d4963 Another pass at History.md 2014-04-24 17:48:51 -07:00
Emily Stark
7e6366c481 History tweak 2014-04-24 17:45:01 -07:00
Emily Stark
ef2412dcec Suppress logs on javascript: attribute tests 2014-04-24 17:45:01 -07:00
Avital Oliver
239ad55068 Another pass at History.md 2014-04-24 17:34:02 -07:00
Emily Stark
6b67cd0449 Catch errors in _storePendingCredential to avoid crashing runner 2014-04-24 16:33:11 -07:00
Emily Stark
42a65d0763 History tweaks 2014-04-24 15:31:31 -07:00
Emily Stark
bdcbe7fd4d Update History contributors list 2014-04-24 15:30:05 -07:00
David Glasser
c35593c574 Improve documentation of Meteor.settings
Fixes #2005.
2014-04-24 14:13:05 -07:00
David Glasser
4777e64336 Don't pass server-generated _id to allow/deny
This lets you still use C.insert from the client but reject arbitrary
client-set _id's (as opposed to _id's generated using the Random.id()
algorithm with a client-determined _id).

If you don't want clients to be able to have any control over the _id at
all for inserts, then you'll have to forbid all direct inserts and use
your own methods which explicitly do `C.insert({_id: Random.id(), ...})`

Note that allow/deny rules with transforms still see an _id, because
transforms need to have (and preserve) _id.  This means that if you
really want to see the server-generated _id, you can just specify an
identity transform for your allow/deny rule.
2014-04-24 14:01:39 -07:00
David Glasser
41b5b95b38 testAsyncMulti: Include block index in failures 2014-04-24 14:01:34 -07:00
emgee3
cbd55698fd Add collapsing TOC to Meteor Docs
On small devices (< 768 px) make the Table of Contents hide by default.
2014-04-24 13:45:55 -07:00
Emily Stark
9fb63da3c7 Handle unexpected keys for pending OAuth credentials.
Duplicate keys aren't expected, but in case something weird happens,
just override the previous information associated with that key. We
simply insert nothing for non-string keys (e.g. an OAuth flow with no
`state` parameter, which should never happen normally).
2014-04-24 10:06:39 -07:00
Nick Martin
682dd7895a Merge PR 2081 into devel 2014-04-23 19:37:31 -07:00
Nick Martin
a496fcab4c one more comment. 2014-04-23 19:37:03 -07:00
Andrew Wilcox
ab08191ac3 Allow validate login hook to override error from beginPasswordExchange
Fixes #2058
2014-04-23 19:37:03 -07:00