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
8fea9b2adf
number of arguments to list
2014-03-05 02:19:51 -08:00
ekatek
ef70c87fc9
moving to the right storage mechanism and introducing the list command
2014-03-05 02:16:26 -08:00
ekatek
6dff2725e1
Finishing merge
2014-03-04 22:29:01 -08:00
Emily Stark
e462df2e72
Refactor package server OAuth flow
2014-03-04 11:34:26 -08:00
ekatek
811f831ddc
sync collection changes from the server
2014-02-28 15:28:55 -08:00
Emily Stark
c742c25909
Add linebreak to publish error message
2014-02-28 14:53:46 -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
Emily Stark
83b67094ea
Read package version from package.js instead of CLI argument
2014-02-28 12:02:37 -08:00
Emily Stark
d50049777f
A quick-and-dirty 'meteor publish' command.
...
It more or less works, but needs lots of cleanup.
2014-02-28 02:03:02 -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
Emily Stark
9c1dc8782c
Clean up ServiceConnection timer when we receive a result.
...
Previously, we could make a connection, do some method calls, and then
10 seconds later the connection happens to be dropped and the connection
timer fires, which not only throws an unexpected error into the future,
but also resolves the future twice. I think ServiceConnection is just
supposed to time out if you don't hear anything from the server within
10 seconds, so it now no longer times out if you hear things from the
server but then happen to be not connected when 10 seconds has elapsed.
2014-02-27 08:09:31 -08:00
Emily Stark
bc4524b544
Set up onReconnect after initial sub on the connection to log-reader.
...
If we set it up before `subscribeAndWait` returns, then we'll end up
with two subscriptions; we don't have the log-reader sub yet, so we
can't stop it when `onReconnect` runs the first time, so we end up with
a redundant subscription. This means that if a real reconnect happens
later, we'll stop the sub that we set up inside `onReconnect`, but not
the initial sub, so we've leaked a sub and end up with duplicate
messages after reconnect.
2014-02-27 07:56:36 -08:00
Emily Stark
9d5782b9a0
Return the sub from ServiceConnection.subscribeAndWait
2014-02-27 07:56:19 -08:00
Emily Stark
35c1a5fc45
Replace subscribeAndWait with subscribe inside onReconnect
2014-02-26 23:57:18 -08:00
Emily Stark
825082b3a8
Add missing semicolon in deploy-galaxy
2014-02-26 23:49:18 -08:00
Nick Martin
4a0d1b7363
Merge branch 'master' into devel
2014-02-26 17:58:37 -08:00
Nick Martin
4555d2c8e4
Merge branch 'release-0.7.1.2'
...
Conflicts:
History.md
docs/.meteor/release
docs/lib/release-override.js
examples/leaderboard/.meteor/release
examples/parties/.meteor/release
examples/todos/.meteor/release
examples/wordplay/.meteor/release
scripts/admin/banner.txt
2014-02-26 17:57:39 -08:00
Emily Stark
b0d86e535c
Update docs and examples
2014-02-26 17:48:17 -08:00
Emily Stark
e981b0c629
Bump run test timeouts
2014-02-26 14:26:13 -08:00
Emily Stark
3caa3b9e9c
Update banner and notices for 0.7.1.2
release/0.7.1.2-rc1
release/0.7.1.2
2014-02-26 13:51:58 -08:00
Emily Stark
0eccd1f2f4
Add History entries for 0.7.1.2 bug fixes
2014-02-26 13:51:38 -08:00
David Glasser
729f4123f1
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:48:36 -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
Emily Stark
42ff994a09
Avoid returning twice on error in files.run
2014-02-26 08:23:31 -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
Tim Haines
787e91f26c
History: Remove duplicated line re facts package
2014-02-25 10:09:13 -08:00
David Glasser
0aa0bf0ade
Make some tests more likely to pass on slow net
...
We really should download 0.7.0.1 just once for all tests as some
special-cased thing in selftest.js, I think.
2014-02-25 00:28:48 -08:00
Emily Stark
ce84c228e0
Avoid returning twice on error in files.run
2014-02-24 20:52:55 -08:00
Emily Stark
38bd2c98bf
Merge branch 'master' into devel
...
Conflicts:
History.md
2014-02-24 14:22:44 -08:00
Emily Stark
77a474bdb4
Merge branch 'release-0.7.1'
...
Conflicts:
docs/.meteor/release
2014-02-24 14:14:13 -08:00
Emily Stark
fd7eaf45d0
Bump docs and examples to 0.7.1.1
2014-02-24 14:02:33 -08:00
Emily Stark
d32d2de1d6
Update banner/notices/History for 0.7.1.1
2014-02-24 13:48:24 -08:00
Emily Stark
fabd6c6246
Don't print 'undefined' around banner text
release/0.7.1.1-rc1
release/0.7.1.1
2014-02-24 13:42:14 -08:00
Matt DeBergalis
f8eec237a6
mention oplog
2014-02-24 12:42:51 -08:00
Nick Martin
686996fb81
Tweak text in login button for meteor-developer to fit in current width.
release/0.7.1
release/0.7.1-rc5
2014-02-23 20:51:10 -08:00
Nick Martin
48cfc719ef
Oops, missed one. Thanks, Tim.
2014-02-23 19:46:29 -08:00
Nick Martin
dd47415027
First cut banner and notices.
release/0.7.1-test3
release/0.7.1-rc4
2014-02-23 19:00:58 -08:00
Emily Stark
1e36f52a8b
Remove stray comma in History
2014-02-23 18:59:51 -08:00
Emily Stark
7a1c2f87bd
Fix Sashko's username in mailmap
2014-02-23 18:59:07 -08:00
Nick Martin
ff5d9f3972
HIstory reordering pass.
2014-02-23 18:29:17 -08:00
Nick Martin
c75969e769
Another History.md pass, part 1.
2014-02-23 17:25:01 -08:00
David Glasser
9e8a1f2771
History: fix waypoint version
2014-02-23 16:40:41 -08:00
David Glasser
afcd1ae5a5
history typo
2014-02-23 16:39:58 -08:00
Nick Martin
fecc246271
Update license file for new npm modules.
2014-02-23 14:10:48 -08:00
Emily Stark
d6f04ba5dd
Fix exceptions in galaxy deploy
2014-02-22 17:45:24 -08:00
Emily Stark
bbc8fe2809
Remove Accounts.loginServiceConfiguration from docs
2014-02-22 13:27:41 -08:00