Commit Graph

7606 Commits

Author SHA1 Message Date
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
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.
release/0.8.2-rc4
2014-06-17 16:58:54 -07:00
Emily Stark
40e45cab00 more detail in History 2014-06-17 15:33:00 -07:00
Matthew Arbesfeld
ae0fab33d2 Fix quotes in History.md 2014-06-17 14:02:26 -07:00
Matthew Arbesfeld
c25017edf0 Update History.md with 'UI._parentData(n)'. 2014-06-17 14:02:22 -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
Emily Stark
7336bf901b bump some self-test timeouts 2014-06-16 18:15:38 -07:00
Emily Stark
566302f1cb Export the number of bcrypt rounds and checkPassword release/0.8.2-rc3 2014-06-14 14:23:08 -07:00
Emily Stark
dd034b3f0b Maintain old behavior of plaintext password handler.
This is for backwards compatibility with old standalone DDP clients
(like the Meteor command line tool). Note that we are not maintaining
back-compat with old standalone DDP clients that implemented SRP.
release/0.8.2-rc2
2014-06-13 09:44:29 -07:00
Emily Stark
58182f2009 Merge branch 'fix-style-handler-test' into release-0.8.2 2014-06-12 20:24:38 -07:00
Emily Stark
a6ecfb3825 Use $.trim in StyleHandler when String.trim isn't available.
(Safari 4)
2014-06-12 20:24:20 -07:00
Matthew Arbesfeld
961965a7c5 fix merge 2014-06-12 20:24:20 -07:00
Matthew Arbesfeld
4f20802cf9 Fix test expectations 2014-06-12 20:24:20 -07:00
Emily Stark
15804badf4 Remove forgotten debugging argument 2014-06-12 20:24:19 -07:00
Emily Stark
0950952c26 partial fix to ui reactive attributes style diffing test
It's failing in IE10, maybe other IEs also
2014-06-12 20:24:19 -07:00
Emily Stark
2554228e49 History tweaks 2014-06-11 17:50:38 -07:00
Emily Stark
e43d13e9f0 organization pass on history 2014-06-11 17:46:46 -07:00
Emily Stark
8b9a61b39c Use 'protocol' property to detect javascript: URLs.
This strategy works in Safari 4, unlike what we were doing previously.
release/0.8.2-rc1
2014-06-11 15:13:27 -07:00
Emily Stark
81dbf20ea3 Ensure that user fields exist before setting them.
Follow-up to 4acfc5c6f
2014-06-11 10:11:20 -07:00
Emily Stark
5e0c9923d4 Update mailmap/history release/0.8.2-rc0 2014-06-10 21:10:50 -07:00
Emily Stark
89d8f41156 Update History 2014-06-10 20:59:19 -07:00
Maxime Quandalle
f65451e196 Upgrade Stylus from 0.42.3 to 0.46.3 2014-06-10 17:28:17 -07:00
David Glasser
2a8da041e7 Merge branch 'pr/2215' into devel 2014-06-10 17:11:49 -07:00
David Glasser
31a5f4014f Improve comment and message
Make sure that it shows you that it added '.meteor.com'.
2014-06-10 17:10:34 -07:00
J. Bruni
ab5c2513cd Show meaningful deploy error message for long hostname
https://github.com/meteor/meteor/issues/1208#issuecomment-45158503
2014-06-10 17:05:28 -07:00
Frederico Carvalho
4acfc5c6ff before passing 'user' to email template functions, update with new token information 2014-06-10 16:59:51 -07:00
Tim Phillips
b3d7434e06 Add command line h1 to docs
Remove unused template
2014-06-10 16:40:26 -07:00
Emily Stark
31a0db621f Add History entry for bcrypt 2014-06-10 16:04:19 -07:00
Emily Stark
1ce98b5e02 Add History entry for userEmail option 2014-06-10 15:39:06 -07:00
Emily Stark
05bfdc297e Merge branch 'pr/2183' into devel 2014-06-10 15:17:24 -07:00
Emily Stark
ab6091ef43 Add docs for Meteor.loginWithMDA userEmail option. 2014-06-10 15:11:23 -07:00
David Greenspan
832f3bab02 Test the interpretation of event map selectors
If you listen on “div p”, for example, both the div and the p have to be in the template.
2014-06-10 14:51:58 -07:00
Matthew Arbesfeld
c346568cef Update StyleAttributeHandler to prevent conflicts in css styles. This fix will ensure that Blaze and external javascript cannot both set the same property on an element. If both Blaze and external javascript modify the same property, then the most recent modification will win. 2014-06-10 11:33:33 -07:00
Matthew Arbesfeld
5ab3fbc17e Allow external CSS style attributes to interop with Blaze style attributes. This fixes cases where jQuery calls .hide() or .show() on an element which also has a Blaze defined dynamic attribute. 2014-06-10 11:05:43 -07:00
Cangit
dbca6908f3 Don't decrement the line number in LESS error reporting.
LESS fixed their math problem in 1.6.0
2014-06-10 09:45:03 -07:00
Emily Stark
1638ca0e1b Merge branch 'srp-to-bcrypt' into devel 2014-06-09 20:46:55 -07:00
Emily Stark
d61a676ac3 Extract number of bcrypt rounds to top of file 2014-06-09 20:43:40 -07:00
Emily Stark
e1669f464c Remove 'plaintextPassword'.
'password' can always be either a string or an object (indicating that
it's been hashed already with something). When the server receives a
string, it hashes it with SHA256 before bcrypt.
2014-06-09 20:42:49 -07:00
Emily Stark
55cecde404 Make an error message nicer 2014-06-09 20:42:49 -07:00
Emily Stark
254075587c Nick code review items (mostly comments) 2014-06-09 20:42:49 -07:00
Andrew Wilcox
338ede1266 code review II 2014-06-09 20:42:49 -07:00
Andrew Wilcox
ef697a6fa7 code review items 2014-06-09 20:42:49 -07:00
Andrew Wilcox
644dde0382 account data is no longer used for the srp challenge 2014-06-09 20:42:48 -07:00
Andrew Wilcox
b567046300 Migrate from SRP to bcrypt.
See the spec https://meteor.hackpad.com/SRP-bcrypt-J5mdBojeVfe for
details.
2014-06-09 20:42:48 -07:00
Emily Stark
f6cb154770 Make sure autoruns for {{#with}} get cleaned up.
Related to #2145, #2023, #2031.
2014-06-09 19:13:23 -07:00
Avital Oliver
6aba501e46 Fix ui hooks tests on IE 2014-06-09 18:10:02 -07:00
Andrew Mao
e2ac94b89d Check for localStorage, catching exceptions - fixes #1291, fixes #1688.
Accessing `window.localStorage` can immediately throw an exception, which needs to be caught.
For more information, see http://www.w3.org/TR/webstorage/#dom-localstorage.
2014-06-09 15:53:17 -07:00
Emily Stark
ef3eaa427a Configure parties oauth in deploy-examples 2014-06-09 15:27:17 -07:00
Avital Oliver
76cb9bd36f Minor changes on deploy-example.sh 2014-06-09 14:55:27 -07:00