<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ngResource, branch g3_v1_3</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix($http): do not add trailing question</title>
<updated>2014-02-21T22:51:10+00:00</updated>
<author>
<name>Boris Serdyuk</name>
</author>
<published>2014-02-19T11:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=c8e03e34b27a8449d8e1bfe0e3801d6a67ae2c49'/>
<id>c8e03e34b27a8449d8e1bfe0e3801d6a67ae2c49</id>
<content type='text'>
Closes #6342
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6342
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngResource): don't filter "$"-prefixed properties from ngResource requests/responses</title>
<updated>2014-02-04T15:51:24+00:00</updated>
<author>
<name>Thomas Belin</name>
</author>
<published>2014-01-07T15:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=d2e4e499862aeca157dbe7a7422c465e7c79205e'/>
<id>d2e4e499862aeca157dbe7a7422c465e7c79205e</id>
<content type='text'>
ngResource no longer filters properties prefixed with a single "$" character from requests or
responses, correcting a regression introduced in 1.2.6 (cb29632a) which caused shallowCopy and
shallowClearAndCopy to ignore properties prefixed with a single "$".

Closes #5666
Closes #6080
Closes #6033
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ngResource no longer filters properties prefixed with a single "$" character from requests or
responses, correcting a regression introduced in 1.2.6 (cb29632a) which caused shallowCopy and
shallowClearAndCopy to ignore properties prefixed with a single "$".

Closes #5666
Closes #6080
Closes #6033
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngResource): don't append number to '$' in url param value when encoding URI</title>
<updated>2014-02-03T16:12:07+00:00</updated>
<author>
<name>Caitlin Potter</name>
</author>
<published>2014-01-27T19:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ce1f1f97f0ebf77941b2bdaf5e8352d33786524d'/>
<id>ce1f1f97f0ebf77941b2bdaf5e8352d33786524d</id>
<content type='text'>
Previously, if a URL parameter value included a $, it would replace the dollar sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string circumvents this
behaviour and produces a more expected result.

Closes #6003
Closes #6004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if a URL parameter value included a $, it would replace the dollar sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string circumvents this
behaviour and produces a more expected result.

Closes #6003
Closes #6004
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($resource): prevent URL template from collapsing into an empty string</title>
<updated>2014-01-03T07:07:27+00:00</updated>
<author>
<name>Gias Kay Lee</name>
</author>
<published>2013-12-20T15:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=131e4014b831ac81b7979c4523da81ebc5861c70'/>
<id>131e4014b831ac81b7979c4523da81ebc5861c70</id>
<content type='text'>
if url template would result in an empty string, we should make a request
to '/' instead.

Closes #5455
Closes #5493
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if url template would result in an empty string, we should make a request
to '/' instead.

Closes #5455
Closes #5493
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($resource): Always return a resource instance when calling class methods on resources.</title>
<updated>2013-11-21T17:51:02+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-21T00:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=f6ecf9a3c9090593faf5fa50586c99a56b51c776'/>
<id>f6ecf9a3c9090593faf5fa50586c99a56b51c776</id>
<content type='text'>
Previously, calling `MyResource.save(myResourceInstance)`returned
a promise, in contrast to the docs for `$resource`. However,
calling `MyResource.save({name: 'Tobias"})`already correctly
returned a resource instance.

Fixes #4545.
Closes #5061.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, calling `MyResource.save(myResourceInstance)`returned
a promise, in contrast to the docs for `$resource`. However,
calling `MyResource.save({name: 'Tobias"})`already correctly
returned a resource instance.

Fixes #4545.
Closes #5061.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($resource): don't use $parse for @dotted.member</title>
<updated>2013-11-12T00:17:34+00:00</updated>
<author>
<name>Chirayu Krishnappa</name>
</author>
<published>2013-11-09T04:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=9577702e8d2519c1a60f5ac4058e63bd7b919815'/>
<id>9577702e8d2519c1a60f5ac4058e63bd7b919815</id>
<content type='text'>
params and paramDefaults support looking up the parameter value from the
data object.  The syntax for that is `@nested.property.name`.
Currently, $resource uses $parse to do this.  This is too liberal
(you can use values like `@a=b` or `@a | filter` and have it work -
which doesn't really make sense).  It also puts up a dependency on
$parse which is has restrictions to secure expressions used in
templates.  The value here, though a string, is specified in Javascript
code and shouldn't have those restrictions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
params and paramDefaults support looking up the parameter value from the
data object.  The syntax for that is `@nested.property.name`.
Currently, $resource uses $parse to do this.  This is too liberal
(you can use values like `@a=b` or `@a | filter` and have it work -
which doesn't really make sense).  It also puts up a dependency on
$parse which is has restrictions to secure expressions used in
templates.  The value here, though a string, is specified in Javascript
code and shouldn't have those restrictions.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(*): protect calls to hasOwnProperty in public API</title>
<updated>2013-10-07T16:01:13+00:00</updated>
<author>
<name>Peter Bacon Darwin</name>
</author>
<published>2013-10-05T09:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=7a586e5c19f3d1ecc3fefef084ce992072ee7f60'/>
<id>7a586e5c19f3d1ecc3fefef084ce992072ee7f60</id>
<content type='text'>
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.

Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.

BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.

Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope.  Now a badname exception is thrown.

Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.

Closes #3331</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.

Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.

BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.

Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope.  Now a badname exception is thrown.

Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.

Closes #3331</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngResource): Remove request body from $delete</title>
<updated>2013-10-04T23:50:08+00:00</updated>
<author>
<name>Jen Bourey</name>
</author>
<published>2013-10-04T19:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=8336b3a286f8469d4cd7c412c41ca8c1a31fecf0'/>
<id>8336b3a286f8469d4cd7c412c41ca8c1a31fecf0</id>
<content type='text'>
Prevent the  obj.$delete instance method from sending the resource as the request body.  This commit uses the existing hasBody boolean to only set httpConfig.data for methods which should have a request body.

Closes #4280
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent the  obj.$delete instance method from sending the resource as the request body.  This commit uses the existing hasBody boolean to only set httpConfig.data for methods which should have a request body.

Closes #4280
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($resource): pass transformed value to both callbacks and promises</title>
<updated>2013-10-03T00:03:53+00:00</updated>
<author>
<name>jankuca</name>
</author>
<published>2013-08-30T23:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e36e28ebd4a6c144e47d11fba8e211d8d5a9d03e'/>
<id>e36e28ebd4a6c144e47d11fba8e211d8d5a9d03e</id>
<content type='text'>
Closes #3817
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3817
</pre>
</div>
</content>
</entry>
<entry>
<title>test: rename / remove duplicate unit tests</title>
<updated>2013-08-23T19:43:42+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2013-08-20T21:41:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=b89a4e49b922894f93d5cc69e00016f157dee625'/>
<id>b89a4e49b922894f93d5cc69e00016f157dee625</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
