<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/javascripts/lib/utils/poll_spec.js, branch patch-63</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Remove duplicate XHR request when requesting new pipeline page</title>
<updated>2019-02-24T05:27:53+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-02-23T19:00:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ec5bbd27f5b334a6e338574ebafe6b0cd39461bc'/>
<id>ec5bbd27f5b334a6e338574ebafe6b0cd39461bc</id>
<content type='text'>
When a user clicked on another page in the pipeline page, the following
would happen:

1. PipelinesService.getPipelines() would be called to fetch the new page
2. In the success handler, Poll.restart() would be called
3. This would invoke Poll.makeRequest(), which would fire off a new
request.

To fix this, we introduce a enable(), which will:

1. Update the request data accordingly
2. Clear the old timeout if necessary and start a new timer

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58095
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a user clicked on another page in the pipeline page, the following
would happen:

1. PipelinesService.getPipelines() would be called to fetch the new page
2. In the success handler, Poll.restart() would be called
3. This would invoke Poll.makeRequest(), which would fire off a new
request.

To fix this, we introduce a enable(), which will:

1. Update the request data accordingly
2. Clear the old timeout if necessary and start a new timer

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58095
</pre>
</div>
</content>
</entry>
<entry>
<title>Prettify all spec files</title>
<updated>2018-10-17T16:18:17+00:00</updated>
<author>
<name>Mike Greiling</name>
<email>mike@pixelcog.com</email>
</author>
<published>2018-10-17T07:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f666026d71ebefd70219d5078b1f0c83fa01f84d'/>
<id>f666026d71ebefd70219d5078b1f0c83fa01f84d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade eslint-plugin-jasmine and resolve violations</title>
<updated>2018-09-20T07:40:18+00:00</updated>
<author>
<name>Mike Greiling</name>
<email>mike@pixelcog.com</email>
</author>
<published>2018-09-20T06:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1f177a385dd3a54d6db82b4dbd2c9f5fe692b195'/>
<id>1f177a385dd3a54d6db82b4dbd2c9f5fe692b195</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes poll.js to keep polling on any 2xx http status code</title>
<updated>2018-07-30T14:44:01+00:00</updated>
<author>
<name>Filipa Lacerda</name>
<email>filipa@gitlab.com</email>
</author>
<published>2018-07-30T14:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=49948c1ff614bd6eaa8340860c6863408b67cebc'/>
<id>49948c1ff614bd6eaa8340860c6863408b67cebc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stops page reload when changing tabs or pages - uses API requests instead</title>
<updated>2017-11-14T15:35:29+00:00</updated>
<author>
<name>Filipa Lacerda</name>
<email>filipa@gitlab.com</email>
</author>
<published>2017-11-14T15:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=be4abe7719a500852ce4f913d345e9b3e8794dc3'/>
<id>be4abe7719a500852ce4f913d345e9b3e8794dc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix transient rspec failure due to Poll.js race condition</title>
<updated>2017-07-18T02:17:55+00:00</updated>
<author>
<name>Simon Knox</name>
<email>psimyn@gmail.com</email>
</author>
<published>2017-07-18T01:35:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=53e7bf047084876cf441c010f683119fc54dfb6a'/>
<id>53e7bf047084876cf441c010f683119fc54dfb6a</id>
<content type='text'>
don't treat aborted requests as failures, they are often triggered during unload (e.g after clicking a link)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
don't treat aborted requests as failures, they are often triggered during unload (e.g after clicking a link)
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unneeded false from poll_spec mockServiceCall call</title>
<updated>2017-05-11T19:11:03+00:00</updated>
<author>
<name>Luke "Jared" Bennett</name>
<email>lbennett@gitlab.com</email>
</author>
<published>2017-05-11T19:11:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=55b6232c74fbfdfaeed096c8df955a2017086824'/>
<id>55b6232c74fbfdfaeed096c8df955a2017086824</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed promise action binding and simplified callbacks spy</title>
<updated>2017-05-11T12:09:13+00:00</updated>
<author>
<name>Luke "Jared" Bennett</name>
<email>lbennett@gitlab.com</email>
</author>
<published>2017-05-11T12:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2d7b9455e1067994d2f071ca790a731df16db9c3'/>
<id>2d7b9455e1067994d2f071ca790a731df16db9c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improved mockservicecall and fixed up a settimeout</title>
<updated>2017-05-11T11:48:24+00:00</updated>
<author>
<name>Luke "Jared" Bennett</name>
<email>lbennett@gitlab.com</email>
</author>
<published>2017-05-11T11:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=dbab076b05e4bbd6faa9f59cf07401de76081fd5'/>
<id>dbab076b05e4bbd6faa9f59cf07401de76081fd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed vue and vue-resource from poll_spec in an attempt to fix the transient failures relating to async timeout</title>
<updated>2017-05-10T19:41:06+00:00</updated>
<author>
<name>Luke "Jared" Bennett</name>
<email>lbennett@gitlab.com</email>
</author>
<published>2017-05-10T19:41:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4a4b586aa0cd1298d515fb172a7bd90ff3591970'/>
<id>4a4b586aa0cd1298d515fb172a7bd90ff3591970</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
