David Glasser
1a3aa25312
Oops, you can't use slice on arguments. This time tests actually pass.
2013-05-14 12:32:47 -07:00
David Glasser
3090e86c25
Oops, didn't mean to revert test!
2013-05-14 11:46:32 -07:00
David Glasser
ded617f0c8
Fix Opera test failures by reverting unnecessary part of 583508e.
...
Opera seems to have some consistent but difficult to diagnose bugs related to
using _.map in this context. (As in, minifying the test was difficult because
there seemed to be some odd action at a distance, but a given test failure was
fully reproducible.) This appears to work while still preserving the feature
added in 583508e .
Also fix a missing var (which does not appear to be the original problem).
2013-05-14 11:46:32 -07:00
Avital Oliver
d36de8253d
Support 'tap' event.
2013-05-13 23:50:53 -07:00
Naomi Seyfer
bc2be8bb58
Our version of underscore doesn't have 'partial' anymore since we
...
downgraded.
Missed one instance of this because I missed arrays in the EJSON support in
mongo testing.
2013-05-13 19:10:10 -07:00
Nick Martin
9b74af5b2a
Fix Firefox 3.6. addEventListener useCapture parameter is not optional on old firefox.
2013-05-10 21:37:17 -07:00
Nick Martin
e0573b61b5
Fix IE8. It does not have window.addEventListener
2013-05-10 21:04:50 -07:00
Avital Oliver
3188861717
oops
2013-05-09 22:13:54 -07:00
Avital Oliver
cb3bcc6b61
History.md improvement
2013-05-09 19:01:43 -07:00
Avital Oliver
7f970513e5
Faster reconnects. Fixes #696
...
- Lower reconnect timeout to 5m
- Respond to the 'online' event to reconnect immediately
eg. in case you switched from 3G to Wi-Fi
2013-05-09 18:24:23 -07:00
Avital Oliver
5b2240df4f
Use Websockets on all browsers other than iOS <= 5
2013-05-09 11:50:56 -07:00
David Glasser
99d5be0079
Mimize shrinkwrap files so that they change less in git.
2013-05-09 11:17:36 -07:00
David Glasser
48774f7aac
Simpler binary search implementation which does not special-case length=1.
2013-05-06 21:00:21 -07:00
David Glasser
2e9ad511d8
Style cleanup, vars, etc.
2013-05-06 20:46:07 -07:00
James Gill
8e0cf9cfa8
Replacing the insert method in sorting.
...
It has been replaced with a binary search, instead of
an insertion-sort O(n^2) search.
2013-05-06 20:31:20 -07:00
Andrew Wilcox
6c8a4b590b
Rename a collection "manager" to "connection".
2013-05-06 16:14:32 -07:00
Andrew Wilcox
1f7627582b
Clearer error message when calling Meteor.Collection without "new".
...
Fixes #457 .
Add an optional "expected" predicate to Tinytest's throws.
2013-05-06 16:04:18 -07:00
David Glasser
c39e44e640
Reorder test output to have name on the right and drop fixed width.
...
Now long test names don't wrap.
2013-05-06 15:50:42 -07:00
David Glasser
3952be8183
Fix EJSON base64 decoding when 'A' is 3rd or 4th char in a block.
...
Fixes #1001 .
2013-05-06 15:38:20 -07:00
Avital Oliver
028062bef4
Minor improvements to accounts-facebook
2013-05-06 12:12:46 -07:00
Naomi Seyfer
91c273fa41
Fix server synch queue drain to work like client one
2013-05-02 16:38:44 -07:00
Avital Oliver
be8dc47113
Better error rethrowing
2013-04-30 11:43:30 -07:00
Avital Oliver
5d04576b91
HTTP error messages don't have newlines
2013-04-30 11:43:30 -07:00
Avital Oliver
c69ab5d350
Include response in HTTP 4xx/5xx error messages
2013-04-30 11:43:30 -07:00
David Glasser
bd0b88caed
Use underscore (to avoid prototype issues).
2013-04-25 17:06:06 -07:00
Christine Spang
0b74f9b8fa
Make email tests include a custom header.
...
I'd like to test that adding multiple headers is working fine too, but
the current tests are already order-dependent. Fixing this properly
would probably involve the tests depending on something like mailparser.
2013-04-25 16:52:06 -07:00
Christine Spang
e6ff44477b
Add support for arbitrary headers to email package.
...
Ordering is not preserved since we're using a dictionary, but header
ordering doesn't matter anyway.
2013-04-25 16:52:06 -07:00
Andrew Wilcox
f4808b5a68
Add Chromium to the browsers supported by appcache
2013-04-25 16:50:33 -07:00
David Glasser
209dbf2fc7
localstorage package should be internal
2013-04-25 16:48:26 -07:00
Andrew Wilcox
a15d1ecdee
Unpolyfill localstorage.
...
Fixes #634 .
The unit test now passes in Firefox when dom.storage.enabled is set to
false (if we care :)
Tested in Chrome, Firefox, and IE 6 and 7.
2013-04-25 16:43:39 -07:00
David Glasser
b9693f4e1e
Update .npm for newish code (eg 1a7c2d8).
2013-04-25 14:39:45 -07:00
Andrew Wilcox
c83fcbb5ca
Bump CoffeeScript version to 1.6.2.
2013-04-25 14:20:29 -07:00
David Glasser
eecc97715f
Don't get confused (on the server) if transform returns something without _id.
...
Fixes #974 .
2013-04-25 14:18:36 -07:00
Avital Oliver
4a32bb81f3
options.compatibility -> options.raw
2013-04-25 13:47:03 -07:00
Avital Oliver
fb61e884db
Don't create new var scope for js files in client/compatibility/
2013-04-24 15:53:19 -07:00
Avital Oliver
3ff6df2e9e
Merge branch 'master' into devel
...
Conflicts:
History.md
packages/accounts-github/github_server.js
2013-04-24 14:01:22 -07:00
Avital Oliver
29ddfc6f3c
accounts-github: Also send user agent on oauth login call
2013-04-24 10:46:44 -07:00
Avital Oliver
0bb71ff871
accounts-github: Generate user agent string from release version
2013-04-24 10:34:05 -07:00
P. Mark Anderson
2ffb185e47
Added user agent to account-github's getIdentity() function. This is untested.
...
See https://github.com/meteor/meteor/issues/981
2013-04-24 10:33:51 -07:00
Avital Oliver
cd6427fa5c
Merge branch 'pr/982' into devel
...
Conflicts:
packages/accounts-github/github_server.js
2013-04-24 10:00:24 -07:00
Avital Oliver
e43c94ee2e
accounts-github: Generate user agent string from release version
2013-04-24 09:56:02 -07:00
P. Mark Anderson
b4d96d5795
Added user agent to account-github's getIdentity() function. This is untested.
...
See https://github.com/meteor/meteor/issues/981
2013-04-24 09:44:38 -07:00
Avital Oliver
fe57ab10c7
Simplify server http code by using future.resolver()
2013-04-22 16:04:23 -07:00
Avital Oliver
b8b8f1b6f4
Simplify error handling in accounts-facebook
2013-04-22 15:40:04 -07:00
Avital Oliver
f6028b1578
OAuth login services use the new http sync api
2013-04-22 15:40:04 -07:00
Avital Oliver
a668166351
More concise server logging of unexpected errors.
...
'exception.stack' already contains 'exception.toString()' at the top. The original code printed the exception message twice.
2013-04-22 15:40:04 -07:00
Avital Oliver
6e924979be
More http sync
...
- improve docs
- add tests for sync case
- modify http tests so that they now pass
- Still TODO: Update call sites (oauth)
2013-04-22 15:39:53 -07:00
Avital Oliver
03085e8842
New HTTP sync API
2013-04-22 15:39:41 -07:00
Avital Oliver
a5af1d6b8c
remove duplicate code
2013-04-19 11:38:10 -07:00
Avital Oliver
a72134fd80
Better security, comments, docs and APIs for publishing more user document fields
2013-04-19 11:38:09 -07:00