Commit Graph

4628 Commits

Author SHA1 Message Date
David Glasser
0da301c637 unbreak tests again 2014-07-01 13:33:39 -07:00
David Glasser
f4c5c5cb94 Express confusion that this does not lead to infinite recursion 2014-06-30 22:13:39 -07:00
David Glasser
9333b4612e consistently use wrapper instead of constructor 2014-06-30 22:11:44 -07:00
David Glasser
a0d7d04592 shrinkwrap update, should have been done earlier 2014-06-30 22:11:31 -07:00
David Glasser
f3096d1cef revert refactoring because sort was important 2014-06-30 22:10:45 -07:00
David Glasser
085f6bf581 rework earliestCompatibleVersion
troposphere needs to be changed to enforce the following constraint:

  "For any package version N@V with earliestCompatibleVersion E, if
   N@E is a published version, then its earliestCompatibleVersion is
   also E."

In this way, earliestCompatibleVersion partitions the set of versions of
a package into compatibility classes. There's no need to do comparisons
on ECVs; instead, you just can check to see if two versions have the
same ECV.

This makes some of the ECV logic simpler.

It should not longer be allowed to depend on a version that does not
exist (although this should really be an immediate error instead of an
unsatisfiable constraint like it is with this commit).
2014-06-30 22:05:58 -07:00
David Glasser
469ecda93c comment that propagateExactDeps is just for tests 2014-06-30 22:05:58 -07:00
David Glasser
abd8f59bf6 Use node-mongodb-native with https for js-bson 2014-06-30 16:53:43 -07:00
David Glasser
bfdc92dfac wrapper checkpoint 2014-06-26 13:53:14 -07:00
David Glasser
c0c7ecea48 stop mongo-livedata from being non-portable
it is way too hard to get a non-portable package to work both from
uniload (which can't depend on non-core packages) and with meteor deploy
from checkout on mac (which basically requires a non-core package to
have the non-portability in it)
2014-06-26 13:53:13 -07:00
David Glasser
d346df0d5d ignore build IDs in constraint solver 2014-06-26 13:53:13 -07:00
Emily Stark
7f4cc3299a Fix static file serving test.
Test assets are now served under /packages/<package name>:test/.
2014-06-24 15:20:44 -07:00
Emily Stark
1beb5ffe09 Fix Log._getCallerDetails() regex.
1. Now it matches `logging:test`, not `logging:tests`.
2. Now it is okay with server-side source maps, by matching
`/packages/logging/foo.js` in addition to `/packages/logging.js`.
2014-06-24 15:12:33 -07:00
David Glasser
5a85e2f24c Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/tests/login.js
	tools/unipackage.js
2014-06-23 14:48:21 -07:00
Emily Stark
1c12b1a49f Merge branch 'master' into devel
Conflicts:
	History.md
	packages/accounts-password/password_server.js
	packages/spacebars-tests/template_tests.html
	packages/spacebars-tests/template_tests.js
	packages/ui/base.js
2014-06-23 08:18:19 -07:00
Emily Stark
2b87aa1f00 Do feature detection instead of browser detection for ui test.
The previous `isIE()` check returned false for IE11.
2014-06-22 16:31:13 -07:00
Emily Stark
69455d4df7 Use _.toArray to make IE8 happy 2014-06-22 08:27:42 -07:00
Emily Stark
7b1cddad0c Merge branch 'fix-ui-hooks-nested-domranges' into release-0.8.2 2014-06-20 17:10:32 -07:00
Emily Stark
abd92999a4 Meteor.user()._id -> Meteor.userId() 2014-06-20 16:44:12 -07:00
Emily Stark
367516a966 Replace accidentally deleted comment line 2014-06-20 16:22:38 -07:00
Emily Stark
ea231729de Revert "Add a changePassword test"
This reverts commit 7e519e11b7.

This commit added a test that upgraded from srp to bcrypt via
changePassword for a user with only an email address, in addition to the
test that existed for a user with a username. Having two such tests is
now silly because Meteor.changePassword no longer has different code
paths for email/username users.
2014-06-20 16:22:38 -07:00
Emily Stark
76cfdd44a6 Use id as user selector instead of username or email 2014-06-20 16:22:38 -07:00
Emily Stark
924f51a0ed Add a changePassword test 2014-06-20 16:22:38 -07:00
Emily Stark
84774800b8 Add a comment 2014-06-20 16:22:38 -07:00
Emily Stark
137129b358 Upgrade from SRP to bcrypt on password change 2014-06-20 16:22:38 -07:00
Matthew Arbesfeld
42b0cad48f Allow styles to not have a trailing semicolon. Fix cannonicalize_html to
remove trailing semicolons from styles.
2014-06-20 14:06:37 -07:00
Matthew Arbesfeld
02c0c4de68 IE8 fix for StyleAttrHandler. 2014-06-20 13:28:23 -07:00
David Greenspan
085441524f Separate element removal and “teardown”
DomRange now never removes elements except through the removeElement UI hook.  If you write a hook that prevents removal, teardown still happens (e.g. templates stop updating).

This code also provides the basis for stopping updates to part of the DOM by triggering teardown without removal.

Before, DomBackend.removeElement would both trigger teardown and actually deparent the element.  Now we have DomBackend.tearDownElement, which just triggers the jQuery teardown (which in turn triggers finalization of DomRanges that have been inserted in the DOM tree).

The flag to {node,members,range}Removed is now named “alreadyTornDown” and documented.  Its purpose is to prevent redundant teardown walks through the DOM.
2014-06-20 12:34:23 -07:00
Avital Oliver
2ea77a9409 Even better checks for the arguments to UI.insert 2014-06-20 12:17:58 -07:00
Avital Oliver
35f1dc45dd Improve error when passing a jQuery object to UI.insert
Also add a test for this behavior
2014-06-20 12:13:04 -07:00
David Greenspan
4ec9cb5847 Prevent a test from leaving a DIV behind 2014-06-20 12:08:08 -07:00
Avital Oliver
4f75911a0a Guard against accidental usage of jQuery objects in UI.insert 2014-06-20 11:53:51 -07:00
Emily Stark
80ee5c19ee Add comment to findHelperHostComponent 2014-06-19 09:40:28 -07:00
Slava Kim
b31629de4e Fix incorrect arguments to observeSequence#changedAt callback 2014-06-18 18:35:12 -07:00
Joe Gallo
3c6c8e591c Only show duplicate id warning if really from _id
Fixes #1980
2014-06-18 17:38:05 -07:00
David Glasser
4bec4877e3 after startup, Meteor.startup(c) should call c now
This was the client behavior and is now the server behavior as well.

Fixes #2239.
2014-06-18 17:05:05 -07:00
Emily Stark
dc2b03aee6 Tentative maybe fix for UI hooks on nested domranges. 2014-06-18 17:03:46 -07:00
David Glasser
d180f9b02a Fix "Email already exists" error with MongoDB 2.6
Fixes #2238
2014-06-18 16:53:59 -07:00
Fredric Endrerud
722b666ab6 Upgrade Less from 1.6.1 to 1.7.1 2014-06-18 16:12:10 -07:00
Emily Stark
86aeec461a Fix canonicalizeHtml regexes.
Allows empty, quoted attributes (e.g. <div foo="">)
2014-06-17 22:32:21 -07:00
Emily Stark
7d9c1da444 Fix removeNode indentation 2014-06-17 21:09:14 -07:00
David Glasser
2d449ca752 missing var 2014-06-17 19:41:23 -07:00
David Glasser
4f3aa0fc53 initial checkpoint for "buildArchitectures"
this is a string like "browser+os"
2014-06-17 17:48:08 -07:00
David Glasser
fb20f60dcf rename build -> unibuild in constraint solver too 2014-06-17 17:35:55 -07:00
Slava Kim
734768ce9e Clean ups, renames, docs, etc 2014-06-17 17:27:10 -07:00
Slava Kim
f10a3dda92 Replace extra code in DependenciesList.toString() with .each 2014-06-17 17:27:10 -07:00
Slava Kim
13ddd795e5 Get rid of _priotized in favor of nauthinessRatings 2014-06-17 17:27:10 -07:00
Slava Kim
bc99786c91 Small clean ups 2014-06-17 17:27:10 -07:00
Slava Kim
16cca65136 Document Constraints-List better 2014-06-17 17:27:09 -07:00
Slava Kim
70b0115c89 Use semver.parse 2014-06-17 17:27:09 -07:00