<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/api/issues.rb, branch docs_refactor</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Merge branch 'rename-abilities' into 'master'</title>
<updated>2015-06-26T16:39:17+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2015-06-26T16:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9f166a864959370d3e31931519506887b902cd11'/>
<id>9f166a864959370d3e31931519506887b902cd11</id>
<content type='text'>
Rename abilities to correspond contoller/model action names

write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

```
def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end
```

See merge request !896
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename abilities to correspond contoller/model action names

write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

```
def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end
```

See merge request !896
</pre>
</div>
</content>
</entry>
<entry>
<title>Only people who can manage issue can assign labels to it</title>
<updated>2015-06-26T14:02:57+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2015-06-26T14:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=58ceb8e95097df51d08a74c16de83152044e9c58'/>
<id>58ceb8e95097df51d08a74c16de83152044e9c58</id>
<content type='text'>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename abilities to correspond contoller/model action names</title>
<updated>2015-06-26T13:55:56+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2015-06-26T13:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=342d5537091e61c1fc52f3e54df926159f326eb8'/>
<id>342d5537091e61c1fc52f3e54df926159f326eb8</id>
<content type='text'>
write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end

Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end

Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Query issues, merge requests and milestones with their IID through API</title>
<updated>2015-05-02T08:44:52+00:00</updated>
<author>
<name>jubianchi</name>
<email>contact@jubianchi.fr</email>
</author>
<published>2015-01-17T22:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2c544d43c832e816614a9bef35e1899f34b4a53d'/>
<id>2c544d43c832e816614a9bef35e1899f34b4a53d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor and improve sorting objects in API for projects, issues and merge requests</title>
<updated>2015-02-06T06:00:54+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2015-02-06T06:00:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bdfb349ff70f0fde6d4dc7b4317c3bc7ead580a4'/>
<id>bdfb349ff70f0fde6d4dc7b4317c3bc7ead580a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicitly define ordering in models using default_scope</title>
<updated>2015-02-05T22:20:55+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2015-02-05T22:20:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=62ed1c537e9b8aa85d354b377f18083fb71b8e05'/>
<id>62ed1c537e9b8aa85d354b377f18083fb71b8e05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Filters issues by milestone via API</title>
<updated>2014-09-26T20:03:37+00:00</updated>
<author>
<name>jubianchi</name>
<email>contact@jubianchi.fr</email>
</author>
<published>2014-09-04T22:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f258a59ef6156f9da3b527efe9088fd0708f6fdf'/>
<id>f258a59ef6156f9da3b527efe9088fd0708f6fdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error reporting on users API</title>
<updated>2014-09-15T23:25:24+00:00</updated>
<author>
<name>jubianchi</name>
<email>contact@jubianchi.fr</email>
</author>
<published>2014-08-18T18:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=998cd3cb63d56a0058c8e519d7c20e3d6e540899'/>
<id>998cd3cb63d56a0058c8e519d7c20e3d6e540899</id>
<content type='text'>
* users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username
* MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks
* issues
* labels
* projects
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username
* MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks
* issues
* labels
* projects
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicit issues order in API. Fixes tests for mysql. Again :)</title>
<updated>2014-09-04T14:15:08+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2014-09-04T14:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=66516da3c1d7a5fda7876b564a7be00b17d38d25'/>
<id>66516da3c1d7a5fda7876b564a7be00b17d38d25</id>
<content type='text'>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Filters issues by labels via API</title>
<updated>2014-09-04T12:41:31+00:00</updated>
<author>
<name>jubianchi</name>
<email>julien.bianchi@pmsipilot.com</email>
</author>
<published>2014-08-14T14:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0ac4a933ffae00adc4b7ab58af9bef15ed8c412b'/>
<id>0ac4a933ffae00adc4b7ab58af9bef15ed8c412b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
