Commit Graph

7386 Commits

Author SHA1 Message Date
Emily Stark
cdbc135e7c Update History.md release/0.8.1.2 release/0.8.1.2-rc1 2014-05-09 14:23:36 -07:00
Emily Stark
247ab62ebb Unregister sessions from server when their heartbeats time out.
Conflicts:
	History.md
2014-05-09 14:21:06 -07:00
Emily Stark
0fa591bc5f Add credential secret argument to retrieveCredential functions.
Fixes #2118.
2014-05-09 14:18:11 -07:00
David Glasser
32496511bb Fix 0.8.1 regression in ROOT_URL with path
Fixes #2109.
2014-05-09 14:17:47 -07:00
Emily Stark
399629e941 Merge branch 'release-0.8.1.1'
The large number of conflicts is because release-0.8.1.1 was branched
off of release/0.8.1 instead of master.

Conflicts:
	History.md
	docs/.meteor/release
	docs/lib/release-override.js
	examples/clock/.meteor/release
	examples/leaderboard/.meteor/release
	examples/parties/.meteor/release
	examples/todos/.meteor/release
	examples/wordplay/.meteor/release
	scripts/admin/banner.txt
	scripts/admin/notices.json
2014-05-01 12:37:41 -07:00
Emily Stark
53c4a32d7e Update docs and examples 2014-05-01 12:31:27 -07:00
Emily Stark
629423d514 Update banner and notices release/0.8.1.1 release/0.8.1.1-rc6 2014-05-01 12:17:24 -07:00
Emily Stark
d59f026363 Remove stray console.log in test 2014-05-01 12:17:06 -07:00
Emily Stark
63b3119127 Treat Buffers as Arrays when rewriting MongoDB atoms.
mongodb 1.4.0-rc9 has a `binId` field of type Buffer on ObjectIDs, which
caused Meteor to crash when retrieving a document that was made up of
just an EJSON user-defined type. (Which should not necessarily be
supported, but `replaceNames` should probably treat Buffers as Arrays
regardless.)

Fixes #2095.
release/0.8.1.1-rc5
2014-05-01 11:49:07 -07:00
Emily Stark
56050500e4 Update History 2014-05-01 09:51:55 -07:00
David Glasser
1d4004650f Follow-up to 4777e64: fix client-specified _id
This was a regression in 0.8.1 which caused client-specified `_id` to
always be ignored for collections with at least one allow/deny rule.

Fixes #2097. Fixes #2099.
release/0.8.1.1-rc4
2014-05-01 00:17:11 -07:00
Slava Kim
d1b58e57dd Fix a typo in test descr 2014-04-30 23:29:23 -07:00
Emily Stark
673a285dfc Allow undefined values in Collection.find options check.
At some point we might want to just make `Match.Optional` accept
explicit undefined values in objects, but that will take a little more
thought.
release/0.8.1.1-rc2
2014-04-30 15:53:59 -07:00
Emily Stark
671e526bc2 Fix test for #2093 release/0.8.1.1-rc1 2014-04-30 14:45:59 -07:00
Avital Oliver
05c7a1662c Test for #2093 2014-04-30 14:32:36 -07:00
Avital Oliver
87510807e8 Try to fix #2093 2014-04-30 14:32:24 -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
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
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