Commit Graph

4617 Commits

Author SHA1 Message Date
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
Slava Kim
7f6ea3ddc2 Assume that packages always have 2 archs: browser and os 2014-06-17 17:27:09 -07:00
Slava Kim
62004c0994 Memoize calls to the catalog 2014-06-17 17:27:09 -07:00
Emily Stark
b84c7662f3 Fix UI._templateInstance() to look at surrounding template.
Previously we were using the current component to retrieve the template
instance, but what we actually want is the template instance of the
surrounding component that is a template.
2014-06-17 16:58:54 -07:00
Matthew Arbesfeld
6b48630160 Adds UI._parentData(n) method in template helpers.
This method returns the parent data context which surrounds the
helper call. This mirrors the effect of {{..}} in Spacebars. So
UI._parentData(2) is equivalent to {{../..}}.
2014-06-17 14:02:17 -07:00
Matthew Arbesfeld
0a7b1b6acb Adds UI._parentData(n) method in template helpers.
This method returns the parent data context which surrounds the
helper call. This mirrors the effect of {{..}} in Spacebars. So
UI._parentData(2) is equivalent to {{../..}}.
2014-06-17 12:26:48 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
Avital Oliver
600ae65304 Don't print errors on stream level failures, and a little reorg
In particular, this becomes especially important with packaging
since we ping the server with a DDP connection every time you
run an app. Multiple times actually.

So now there's no ECONN error messages printed
2014-06-16 16:33:07 -07:00
ekatek
8ff8040924 no longer require test & name in package.describe 2014-06-16 14:38:47 -07:00
Emily Stark
566302f1cb Export the number of bcrypt rounds and checkPassword 2014-06-14 14:23:08 -07:00
Slava Kim
4a5f2d544c Change wording 2014-06-13 15:28:07 -07:00
Slava Kim
f6b8549adc Remove useless stacktrace from error reporting, add the method name 2014-06-13 15:23:25 -07:00