<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models/milestone_spec.rb, branch docs/single-codebase-dev-guides</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>Add # frozen_string_literal to spec/models</title>
<updated>2019-04-01T01:37:54+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-03-30T07:23:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a2cfc150cec677b27728a4758e5e40fff5b4c284'/>
<id>a2cfc150cec677b27728a4758e5e40fff5b4c284</id>
<content type='text'>
Adds `# frozen_string_literal: true` to spec/models ruby files
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds `# frozen_string_literal: true` to spec/models ruby files
</pre>
</div>
</content>
</entry>
<entry>
<title>Add failing test for milestone with far-future date</title>
<updated>2019-03-06T13:40:03+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2019-03-06T12:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8a49eeed6db026b0454c2119ab18b0b09d9661ff'/>
<id>8a49eeed6db026b0454c2119ab18b0b09d9661ff</id>
<content type='text'>
When looking for upcoming milestones, we compare the milestone's due
date to `NOW()`. However, the due date is a date and `NOW()` is a
timestamp, and in Postgres, timestamps can't extend as far in the future
as dates can.

This test exposes the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When looking for upcoming milestones, we compare the milestone's due
date to `NOW()`. However, the due date is a date and `NOW()` is a
timestamp, and in Postgres, timestamps can't extend as far in the future
as dates can.

This test exposes the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Check issue milestone availability</title>
<updated>2019-02-14T14:28:02+00:00</updated>
<author>
<name>Jarka Košanová</name>
<email>jarka@gitlab.com</email>
</author>
<published>2019-01-14T10:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=30ab6ee416783cd9481085f021603383eeb4f317'/>
<id>30ab6ee416783cd9481085f021603383eeb4f317</id>
<content type='text'>
Add project when creating milestone in specs

We validate milestone is from the same
project/parent group as issuable -&gt;
we need to set project in specs correctly

Improve methods names and specs organization
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add project when creating milestone in specs

We validate milestone is from the same
project/parent group as issuable -&gt;
we need to set project in specs correctly

Improve methods names and specs organization
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds milestone search</title>
<updated>2019-01-24T17:44:09+00:00</updated>
<author>
<name>Jacopo</name>
<email>beschi.jacopo@gmail.com</email>
</author>
<published>2019-01-17T14:35:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=22eb2e4c227b060981bb37708222cdd07e825542'/>
<id>22eb2e4c227b060981bb37708222cdd07e825542</id>
<content type='text'>
Adds to search ILIKE search for milestones title in:
  - Milestones dashboard
  - Group milestones page
  - Project milestones page
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds to search ILIKE search for milestones title in:
  - Milestones dashboard
  - Group milestones page
  - Project milestones page
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix MilestonesFinder to pass relations to scope</title>
<updated>2019-01-11T16:05:36+00:00</updated>
<author>
<name>Heinrich Lee Yu</name>
<email>hleeyu@gmail.com</email>
</author>
<published>2019-01-11T14:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2f76ff19f8f520a584a1259bd0c779e988cd7360'/>
<id>2f76ff19f8f520a584a1259bd0c779e988cd7360</id>
<content type='text'>
Instead of querying relations into ids we just pass them to the model
scope because the scope supports it now.

Also changes other calls to `Milestone.for_projects_and_groups`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of querying relations into ids we just pass them to the model
scope because the scope supports it now.

Also changes other calls to `Milestone.for_projects_and_groups`
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor Milestone.for_projects_and_groups</title>
<updated>2018-12-31T03:09:17+00:00</updated>
<author>
<name>Heinrich Lee Yu</name>
<email>heinrich@gitlab.com</email>
</author>
<published>2018-12-17T12:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2490cfeeb2f8426b1a8f4e24bd0297e41a870ca2'/>
<id>2490cfeeb2f8426b1a8f4e24bd0297e41a870ca2</id>
<content type='text'>
Refactored to use Rails 5 ActiveRecord `or` so that it can handle ids,
objects, array of objects, or relations properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactored to use Rails 5 ActiveRecord `or` so that it can handle ids,
objects, array of objects, or relations properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add group milestones in upcoming filter</title>
<updated>2018-12-31T03:00:29+00:00</updated>
<author>
<name>Heinrich Lee Yu</name>
<email>hleeyu@gmail.com</email>
</author>
<published>2018-11-15T06:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=12e01daec9f24fda742103f9e6c795c358693de5'/>
<id>12e01daec9f24fda742103f9e6c795c358693de5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add % prefix to milestone reference link text</title>
<updated>2018-12-21T02:50:24+00:00</updated>
<author>
<name>Heinrich Lee Yu</name>
<email>hleeyu@gmail.com</email>
</author>
<published>2018-12-19T11:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=467337fa118ad0f04f93ba196a2cfbe178ccf74c'/>
<id>467337fa118ad0f04f93ba196a2cfbe178ccf74c</id>
<content type='text'>
Also update banzai tests to use reference_link_text
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also update banzai tests to use reference_link_text
</pre>
</div>
</content>
</entry>
<entry>
<title>Update MR based on Sean's feedback</title>
<updated>2018-10-26T11:43:28+00:00</updated>
<author>
<name>Eagllus</name>
<email>rvanzon@gitlab.com</email>
</author>
<published>2018-10-26T11:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3b70cf69188b9906098df5bd984e9337f16e1080'/>
<id>3b70cf69188b9906098df5bd984e9337f16e1080</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the print in test</title>
<updated>2018-10-25T09:52:26+00:00</updated>
<author>
<name>Ronald van Zon</name>
<email>rvzon84@gmail.com</email>
</author>
<published>2018-10-25T09:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0ff5b0f45361cf9fe622cc3265b943a999c14d0e'/>
<id>0ff5b0f45361cf9fe622cc3265b943a999c14d0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
