David Glasser
a2d73ca9bf
Revert "Make paths relative in .gitignore"
...
This reverts commit f933b7f97f .
This is sadly not how gitignore works.
2014-03-03 15:35:43 -08:00
Slava Kim
f933b7f97f
Make paths relative in .gitignore
...
Some tools like `ag` don't work well with absolute paths but work well with
relative ones. Considering that this project-wise '.gitignore' stays in root, it
will be OK to change the paths to relative.
2014-03-02 19:12:03 -08:00
David Glasser
89a96084b8
history update
2014-02-28 23:15:33 -08:00
David Glasser
bd05fdb2c5
minimongo: support semi-logical $elemMatch
...
ie, a document with some logical operator and some equality in an
elemMatch.
eg: {a: {$elemMatch: {x: 1, $or: [{a: 1}, {b: 1}]}}}
Fixes #1875 .
2014-02-28 23:13:11 -08:00
David Glasser
3ebc9aba60
arguably support empty regexs in file watcher
2014-02-28 11:59:03 -08:00
David Glasser
45db64d4bf
Support {a: {$regex: '', $options: 'i'}}
...
Fixes #1874 .
2014-02-28 11:58:29 -08:00
David Glasser
dcf806f852
typo in history
2014-02-28 11:52:44 -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
Emily Stark
22db047be7
Add github usernames to History and update mailmap
2014-02-21 23:19:13 -08:00
Emily Stark
99386b07c8
Do a pass over History.md
2014-02-21 23:06:58 -08:00
Emily Stark
e7a0db4a72
Add History note about compress before rawConnectHandlers
2014-02-21 22:18:38 -08:00
David Glasser
dd7fb37a40
history note about relaxed Npm.depends rules
2014-02-21 17:34:35 -08:00