<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/models/milestone.rb, branch docs-sethgitlab-dast</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>Added relationships between Release and Milestone</title>
<updated>2019-09-03T09:38:59+00:00</updated>
<author>
<name>Etienne Baqué</name>
<email>ebaque@gitlab.com</email>
</author>
<published>2019-09-03T09:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a43ab8d6a430014e875deb3bff3fd8d8da256747'/>
<id>a43ab8d6a430014e875deb3bff3fd8d8da256747</id>
<content type='text'>
Modified schema via migrations.
Added one-to-one relationship between the two models.
Added changelog file
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified schema via migrations.
Added one-to-one relationship between the two models.
Added changelog file
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge branch '4221-board-milestone-should-persist-any-none-properly-ce' into 'master'"</title>
<updated>2019-08-09T09:59:38+00:00</updated>
<author>
<name>Winnie Hellmann</name>
<email>winnie@gitlab.com</email>
</author>
<published>2019-08-09T09:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=915bc89396f6c8f7a1a82ffc3fce8ba5c0ac4a5f'/>
<id>915bc89396f6c8f7a1a82ffc3fce8ba5c0ac4a5f</id>
<content type='text'>
This reverts merge request !30613
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts merge request !30613
</pre>
</div>
</content>
</entry>
<entry>
<title>Port CE changes from EE</title>
<updated>2019-07-31T13:51:46+00:00</updated>
<author>
<name>charlie ablett</name>
<email>cablett@gitlab.com</email>
</author>
<published>2019-07-31T13:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5d7b46d523bb2310ac33d5b4c06137e9a3fd17aa'/>
<id>5d7b46d523bb2310ac33d5b4c06137e9a3fd17aa</id>
<content type='text'>
- DB migration of board milestone values
- issue finder &amp; spec updates
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- DB migration of board milestone values
- issue finder &amp; spec updates
</pre>
</div>
</content>
</entry>
<entry>
<title>Further remove code branches by database type</title>
<updated>2019-07-29T10:47:06+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-07-24T13:59:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=988dc80585c6e52970e94f22dff6bc1e4c786e9e'/>
<id>988dc80585c6e52970e94f22dff6bc1e4c786e9e</id>
<content type='text'>
We dropped MySQL support and a lot of mysql specific code has been
removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608.

This comes in from the other direction and removes any `if postgresql?`
branches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We dropped MySQL support and a lot of mysql specific code has been
removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608.

This comes in from the other direction and removes any `if postgresql?`
branches.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change query to work on mysql as well. Also set entire date because setting only the year can trip 'start_date_should_be_less_than_due_date'</title>
<updated>2019-05-31T10:31:47+00:00</updated>
<author>
<name>Luke Picciau</name>
<email>git@itscode.red</email>
</author>
<published>2019-05-31T10:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5e8184cc6601bfc690f533b48993904dfe3833eb'/>
<id>5e8184cc6601bfc690f533b48993904dfe3833eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Externalize strings in app/models</title>
<updated>2019-04-12T12:28:07+00:00</updated>
<author>
<name>Martin Wortschack</name>
<email>mwortschack@gitlab.com</email>
</author>
<published>2019-04-12T12:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cd6f77409359de53c20c99c5d291ada3545d9d28'/>
<id>cd6f77409359de53c20c99c5d291ada3545d9d28</id>
<content type='text'>
- Update PO file
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Update PO file
</pre>
</div>
</content>
</entry>
<entry>
<title>Inherit from ApplicationRecord instead of ActiveRecord::Base</title>
<updated>2019-03-28T16:18:23+00:00</updated>
<author>
<name>Nick Thomas</name>
<email>nick@gitlab.com</email>
</author>
<published>2019-03-28T13:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=013f7cd24c4359d5d704b719d85b6df7ca1fdd55'/>
<id>013f7cd24c4359d5d704b719d85b6df7ca1fdd55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Only count active milestones as started</title>
<updated>2019-03-19T14:28:30+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2019-03-11T14:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=222199f67032306aa318cab3f09f4be1d5c7e731'/>
<id>222199f67032306aa318cab3f09f4be1d5c7e731</id>
<content type='text'>
The Upcoming milestone filter only considers active milestones, but the
Started one included closed milestones, too. This was inconsistent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Upcoming milestone filter only considers active milestones, but the
Started one included closed milestones, too. This was inconsistent.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix upcoming milestone for far-future due dates</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:30:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8b9b37f6c86bfc049f0b4fc785ae01d94545ab48'/>
<id>8b9b37f6c86bfc049f0b4fc785ae01d94545ab48</id>
<content type='text'>
`NOW()` is a timestamp, with a maximum year (in Postgres) 294276 AD.

`milestones.due_date` is a date with a maximum year (again, in Postgres)
of 5874897 AD.

If there is a due date past the limit for the timestamp, comparing the
two will fail with:
    ERROR:  date out of range for timestamp

We also need to add validations to keep the due dates sensible, but for
now we can simply use `CURRENT_DATE` instead of `NOW()`, so the types
match with no coercion needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`NOW()` is a timestamp, with a maximum year (in Postgres) 294276 AD.

`milestones.due_date` is a date with a maximum year (again, in Postgres)
of 5874897 AD.

If there is a due date past the limit for the timestamp, comparing the
two will fail with:
    ERROR:  date out of range for timestamp

We also need to add validations to keep the due dates sensible, but for
now we can simply use `CURRENT_DATE` instead of `NOW()`, so the types
match with no coercion needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '54905-milestone-search' into 'master'</title>
<updated>2019-01-25T13:22:34+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2019-01-25T13:22:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=dfa31d5f2fa4a6c71c992710b9d1786707b4c912'/>
<id>dfa31d5f2fa4a6c71c992710b9d1786707b4c912</id>
<content type='text'>
Resolve "Milestone search"

Closes #54905

See merge request gitlab-org/gitlab-ce!24265</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve "Milestone search"

Closes #54905

See merge request gitlab-org/gitlab-ce!24265</pre>
</div>
</content>
</entry>
</feed>
