Commit Graph

5946 Commits

Author SHA1 Message Date
Slava Kim
1071b37ed4 Fix tests for oplog 2014-02-17 16:10:19 -08:00
Slava Kim
92d38af16d wip changed published document can go into buffer 2014-02-17 16:10:19 -08:00
Slava Kim
10d97c70c5 wip fixing the appends to buffer 2014-02-17 16:10:19 -08:00
Slava Kim
3ac9cf88b7 Fix the test on limit-requery ; keep docs in _published and _unpublishedBuffer consistently w/o _id 2014-02-17 16:10:19 -08:00
Slava Kim
8be6928b4c wip test 2014-02-17 16:10:19 -08:00
Slava Kim
cfadc51b91 More tests on updates. Clarifying comment 2014-02-17 16:10:19 -08:00
Slava Kim
690f7c485b A simple test for limits
and it does pass!
2014-02-17 16:10:19 -08:00
Slava Kim
4e095325cd Typo + always use inequalities with C-style comparators 2014-02-17 16:10:19 -08:00
Slava Kim
7493890bb2 Fix typos 2014-02-17 16:10:19 -08:00
Slava Kim
c389dadc46 Correctly distinguish queries with limits and sorts 2014-02-17 16:10:19 -08:00
Slava Kim
818a770ed9 Fix Dummy Structure
actually Dummy-structure was supposed to be so dummy, it would be trivially easy
to write a bug-free 20-line code for it. But I failed. To dummy structure...
2014-02-17 16:10:18 -08:00
Slava Kim
b8429fa0b1 Export sorter in Minimongo namespace 2014-02-17 16:10:18 -08:00
Slava Kim
ad0c88f071 Always use limit to separate ordered code vs unordered 2014-02-17 16:10:18 -08:00
Slava Kim
859ff555fe Limits in oplog code
- distinguish queries with limits and sorts
- separate the concept of matching set from published set
- keep a separate buffer for N documents outside of limit to reduce mongo
  lookups
2014-02-17 16:10:18 -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
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
Robert Dickert
d861776948 Put /node_modules in package root on build
Fixes #1761.

Package code pulled from a git repo does not contain the directory
`/node_modules`, as these modules are downloaded during the build
process. However, this can confuse NPM prior to build completion.

If the package directory doesn’t have a '/node_modules' subdirectory,
NPM will assume we are not at the package root and will search the
directory's parents for one. It will then set the root to any ancestor
that does have a '/node_modules' subdir. This can cause the build to
fail for downloaded user packages and also Meteor itself if run from
checkout.

See also #927.
2014-02-17 15:38:44 -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
Emily Stark
c09d5e1578 Remove stray %s in update message. 2014-02-14 18:46:57 -08:00
Emily Stark
bc0b1ce53c Rename a test timeout variable and use it in more places.
Bump some more timeouts too.
release/tools-refactoring-update-test
2014-02-14 18:30:15 -08:00
Emily Stark
b04aa12d39 Make 'empty' a test app with no packages.
Rename previous 'empty' app to 'standard-app'.
2014-02-14 17:59:59 -08:00
Emily Stark
f0b633e785 Rough draft of History.md 2014-02-14 17:51:02 -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
c248fcd673 Clarify registration test comment 2014-02-14 15:03:39 -08:00
Emily Stark
c847142344 Fix registration test error check 2014-02-14 15:02:51 -08:00
Emily Stark
708a818654 Fix typo in registration test comment 2014-02-14 15:01:22 -08:00
Emily Stark
e1548ed0cd Add first deferred registration test 2014-02-14 14:58:59 -08:00
Emily Stark
73a7a09ebe Require test-utils as testUtils instead of utils.
Avoids confusion with utils.js.
2014-02-14 10:01:14 -08:00
David Glasser
c5efe36bce Ensure we don't double-return through runFuture 2014-02-14 01:06:18 -08:00
David Glasser
72cc8603b5 publish-release needs a release file 2014-02-14 01:00:12 -08:00
David Glasser
f0983a0dde Merge branch 'pr/1808' into devel 2014-02-14 00:24:50 -08:00
David Glasser
d4328d89b9 history update for #1808 2014-02-14 00:24:50 -08:00
David Glasser
ea793cb906 Test for #1808 2014-02-14 00:24:49 -08:00
James Hamlin
be0bce89c1 Maintain file modes when copying a directory.
A package may depend on some files in its dependencies being executable,
so builder ought to respect the modes of source files when copying into
a bundle.
2014-02-14 00:24:49 -08:00
Emily Stark
1a421a8805 Merge branch 'accounts-tests' into devel 2014-02-13 23:20:07 -08:00
Emily Stark
e0719ecca2 Make 'deploy - logged out' test not depend on pre-existing apps.
Deploy tests pass, but soooo slooooooowly.
2014-02-13 23:12:43 -08:00
Emily Stark
eb570e686b Bump a deploy-auth test timeout 2014-02-13 21:23:59 -08:00
Emily Stark
d5a587cf1c Update test-utils comments 2014-02-13 21:23:44 -08:00
Emily Stark
51e5d197e6 Make 'meteor claim' test as slow 2014-02-13 21:20:41 -08:00
Emily Stark
06ff4d27fb Bump timeouts on 'meteor claim' tests 2014-02-13 21:11:25 -08:00
Emily Stark
66a5429fc7 Add markStack to 'meteor claim' test helpers. 2014-02-13 20:46:20 -08:00
Emily Stark
ccfd57f627 Clean up a deploy test with new test-utils 2014-02-13 20:43:49 -08:00
Emily Stark
33da8066ec Add forgotten test-utils export 2014-02-13 20:42:14 -08:00
Emily Stark
a3829ab5d8 Remove console.log, add semicolons 2014-02-13 20:41:27 -08:00
Emily Stark
53e87bc58b Put test-utils into their own namespace 2014-02-13 20:40:43 -08:00
Emily Stark
0c42976321 Merge branch 'devel' into accounts-tests 2014-02-13 20:32:01 -08:00
Emily Stark
c9ad8e9ec9 Adjust login button text 2014-02-13 20:25:45 -08:00
Emily Stark
055426a449 Add loginWithMeteorDeveloperAccount to docs 2014-02-13 20:25:45 -08:00