David Glasser
ea64ed1dab
some XXX comments about Meteor.server === null
2014-03-05 14:01:12 -08:00
David Glasser
ca47c01b9b
Revert "If we are opening a local minimongo collection, and are not defined as the client, then the server can be null, but we should still be able to connect to a local minimongo db.There are not any cases where the conenction is null, where we would want to proceed."
...
This reverts commit 94f5efc893 .
That commit is good but somewhat incomplete because there are two other
places in collection.js that do comparisons against
Meteor.server. Rather than put the time in now to get it perfect, we're
just going to not use *named* Meteor.Collections in a non-webapp server
program for now.
2014-03-05 13:58:45 -08:00
Emily Stark
fec53d6136
Add MeteorDeveloperAccounts._config for setting server URL
2014-03-05 11:00:12 -08:00
ekatek
811f831ddc
sync collection changes from the server
2014-02-28 15:28:55 -08:00
ekatek
94f5efc893
If we are opening a local minimongo collection, and are not defined as the client, then the server can be null, but we should still be able to connect to a local minimongo db.There are not any cases where the conenction is null, where we would want to proceed.
2014-02-28 14:49:25 -08:00
David Glasser
d049bf7506
Use faye-websocket for server-to-server DDP
...
This matches what the SockJS server uses; now we only need to understand
and fix bugs in the implementation of one websocket npm module.
Some notes:
- I actually trust that it's possible to close a connection before it
successfully connects, which allows me to simplify the code a
lot (since there shouldn't be multiple connections active per
ClientStream). I put in some assertions to make sure this is the
case, though. (Note that this module also has a simpler model,
where there's a single object representing the client connection,
not a "client" object that spawns "connections".)
- We now print connect errors as well as post-connect errors. (This
required adding a flag to keep tests quiet since it makes an
expected-to-fail-to-connect connection.) We need a better approach
to stream error handling, though.
- We used to have a test to make sure that a certain not-user-visible
callback is called within a Fiber; structuring the code such that
this test is still possible would lead to the code being less
consistent and harder to read, so I dropped the test.
- Fix a few bugs where we weren't using Meteor.setTimeout.
2014-02-27 15:20:43 -08:00
David Glasser
6897d515e1
Only set oplog-reply flag on the oplog collection
...
Otherwise can crash mongod!
Wed Feb 26 11:09:32.829 [conn499] logs.tmp-test-logs-10833_meteor_com Assertion failure str::startsWith(ns, "local.oplog.") src/mongo/db/repl_block.cpp 261
0x10b9245ab 0x10b8fb64c 0x10b816015 0x10b5b2d06 0x10b714ce6 0x10b6bf354 0x10b6c398b 0x10b4dd9e2 0x10b917699 0x10b957055 0x7fff948637a2 0x7fff948501e1
I20140226-11:09:32.831(-8) (satellite.js:296) process 85850 for job tmp-test-logs-10833.meteor.com null exited with 1
0 mongod 0x000000010b9245ab _ZN5mongo15printStackTraceERSo + 43
1 mongod 0x000000010b8fb64c _ZN5mongo12verifyFailedEPKcS1_j + 284
2 mongod 0x000000010b816015 _ZN5mongo19updateSlaveLocationERNS_5CurOpEPKcNS_6OpTimeE + 2405
3 mongod 0x000000010b5b2d06 _ZN5mongo12ClientCursor19updateSlaveLocationERNS_5CurOpE + 52
4 mongod 0x000000010b714ce6 _ZN5mongo14processGetMoreEPKcixRNS_5CurOpEiRbPb + 534
5 mongod 0x000000010b6bf354 _ZN5mongo15receivedGetMoreERNS_10DbResponseERNS_7MessageERNS_5CurOpE + 1492
6 mongod 0x000000010b6c398b _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 4939
7 mongod 0x000000010b4dd9e2 _ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE + 198
8 mongod 0x000000010b917699 _ZN5mongo17PortMessageServer17handleIncomingMsgEPv + 1657
9 mongod 0x000000010b957055 thread_proxy + 229
10 libsystem_c.dylib 0x00007fff948637a2 _pthread_start + 327
11 libsystem_c.dylib 0x00007fff948501e1 thread_start + 13
2014-02-26 13:34:24 -08:00
Avital Oliver
3e76fc9de4
Implement Deps.flush(_throwFirstError: true})
...
This makes the first error hit during flush time
to be thrown rather than logged. The flush process
then continues and all other errors are still logged,
and the flush process completes.
2014-02-25 15:09:25 -08:00
Avital Oliver
f778a2c0fc
Test the _throwFirstError option to Deps.flush
2014-02-25 15:08:15 -08:00
David Greenspan
02325f6e3c
Add failing test for ordering of Deps re-runs
2014-02-25 14:48:31 -08:00
Emily Stark
38bd2c98bf
Merge branch 'master' into devel
...
Conflicts:
History.md
2014-02-24 14:22:44 -08:00
Nick Martin
686996fb81
Tweak text in login button for meteor-developer to fit in current width.
2014-02-23 20:51:10 -08:00
Emily Stark
cde758c7ef
Tweak "Configure Meteor developer account login" button text
2014-02-21 15:26:52 -08:00
Emily Stark
1528f1c922
Shorten some package descriptions
2014-02-21 11:49:36 -08:00
Emily Stark
e04d3f36d2
Make accounts-meteor-developer documented, not meteor-developer
2014-02-21 11:39:37 -08:00
Slava Kim
b426ce8dde
Relax tests and remove a dead piece of code
...
Apparently the implementation of sin/cos changed in the recent Chrome as now the
results are off by 1e-6 (compared to a different C++ implementation we generated
the tests previously).
It is not worth tracking down the 1e-6 error and change implementation for it.
2014-02-20 16:37:35 -08:00
Emily Stark
4d682e3a1c
Remove unneeded cookies package
2014-02-20 15:32:42 -08:00
Nick Martin
980a669c45
Make appcache size check actually match what goes in the cache section. Fixes #1847 .
2014-02-20 14:57:57 -08:00
Emily Stark
9aa4e53984
Run compress connect handler before raw connect handlers.
2014-02-20 11:47:53 -08:00
Emily Stark
36b7cd776d
Add WebApp.rawConnectHandlers that run before other meteor handlers
2014-02-20 11:04:53 -08:00
Emily Stark
e4c02a5e3a
Revert "Run user-supplied connect handlers earlier. They see the path before the prefix has been stripped and they take precedence over static assets."
...
This reverts commit c3c86a1b30 .
2014-02-20 10:49:20 -08:00
Slava Kim
dc4eb4c496
Prevent less sourcemaps generation hanging w/o compiling less twice
2014-02-20 00:03:15 -08:00
Emily Stark
f19331fc44
Merge branch 'meteor-accounts-ux-pass' into release-0.7.1
2014-02-20 00:00:16 -08:00
Slava Kim
3caa824b32
Don't hang if less produces no source-map
...
Add a test for that
2014-02-19 22:03:14 -08:00
Emily Stark
2ef965f34e
Merge remote-tracking branch 'origin/release-0.7.1' into meteor-accounts-ux-pass
...
Conflicts:
History.md
tools/help.txt
tools/tests/login.js
tools/tests/registration.js
2014-02-19 15:28:48 -08:00
David Glasser
15602cbe16
Keep tests passing with --disable-oplog
2014-02-18 22:18:11 -08:00
Josh Owens
45043c6996
tinytest: Use indexOf for string matching
2014-02-18 17:33:09 -08:00
David Glasser
fc55d028ea
Keep tests passing with --disable-oplog
2014-02-18 16:14:52 -08:00
David Glasser
0c62b815e7
jquery-waypoints: Use original coffeescript source
2014-02-18 15:47:54 -08:00
David Glasser
a719db8290
Update jquery-waypoints to 2.0.4
2014-02-18 15:47:48 -08:00
David Glasser
5308ee7fbb
Upgrade jQuery to 0.11.0
2014-02-18 15:47:42 -08:00
David Glasser
960e17eadf
jquery-waypoints: Use original coffeescript source
2014-02-18 15:40:48 -08:00
David Glasser
592a82be76
Update jquery-waypoints to 2.0.4
2014-02-18 15:39:42 -08:00
David Glasser
67cadc67e1
Upgrade jQuery to 0.11.0
2014-02-18 15:38:34 -08:00
David Glasser
b8250ecf66
More comments about our sort inconsistency
...
(overzealously reverted)
2014-02-17 23:12:45 -08:00
Slava Kim
79b03cd8b4
Revert "Merge branch 'oplog-localcollection' into devel"
...
This reverts commit 297b97659b , reversing
changes made to 204959b509 .
2014-02-17 23:12:45 -08:00
Slava Kim
b983537592
Revert "Do less deep copies"
...
This reverts commit cb2f2adb1b .
2014-02-17 23:12:45 -08:00
David Glasser
64ce168306
Allow setting nested field named _id
...
Disallow any mod on (top-level) _id, not just $sets that change the _id.
Fixes #1794 .
2014-02-17 20:02:47 -08:00
David Glasser
fb9592a93d
Allow setting nested field named _id
...
Disallow any mod on (top-level) _id, not just $sets that change the _id.
Fixes #1794 .
2014-02-17 20:01:53 -08:00
David Glasser
10cdd65f2c
More comments about our sort inconsistency
...
(overzealously reverted)
2014-02-17 18:49:52 -08:00
Slava Kim
4541f72279
Revert "Merge branch 'oplog-localcollection' into devel"
...
This reverts commit 297b97659b , reversing
changes made to 204959b509 .
2014-02-17 16:10:10 -08:00
Slava Kim
fb20ee822a
Revert "Do less deep copies"
...
This reverts commit cb2f2adb1b .
2014-02-17 16:10:10 -08:00
Tim Haines
3d5feb0535
Allow _sockjsOptions to be provided on DDP.connect
...
This is an unsupported API that may later be removed. Fixes #1762 .
2014-02-17 15:49:45 -08:00
Tim Haines
6b122ab51b
Allow _sockjsOptions to be provided on DDP.connect
...
This is an unsupported API that may later be removed. Fixes #1762 .
2014-02-17 15:49:34 -08:00
David Glasser
e6f6fce4a2
Clone DDP data as it goes into the merge box
...
Fixes #1750 .
2014-02-17 15:18:08 -08:00
David Glasser
764b41adf4
Clone DDP data as it goes into the merge box
...
Fixes #1750 .
2014-02-17 15:17:07 -08:00
David Glasser
3eb4a1339d
Update back-compat comment
2014-02-16 23:09:37 -08:00
David Glasser
75fbb90e8a
Remove localstorage -> jquery dependency
...
We no longer use jquery for browser detection here.
2014-02-14 17:14:11 -08:00
Emily Stark
c9ad8e9ec9
Adjust login button text
2014-02-13 20:25:45 -08:00
Emily Stark
1a3116fe8d
Make options optional for Accounts.loginWithMeteorDeveloperAccount
2014-02-13 20:25:45 -08:00