<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app, branch 6097-cache-route-WayCosts</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs #6337; Make date validation JS locale-agnostic</title>
<updated>2018-04-16T13:43:21+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-13T12:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=cdd19438366641ef5069929982030c10018ec00f'/>
<id>cdd19438366641ef5069929982030c10018ec00f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6450; Don't consider the empty string as a valid color for Timetables</title>
<updated>2018-04-16T13:34:37+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-13T13:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ac508f15b191a28a6582a8acb4d177fd20b9baa2'/>
<id>ac508f15b191a28a6582a8acb4d177fd20b9baa2</id>
<content type='text'>
Same for PurchazeWindows
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same for PurchazeWindows
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6458; Fix Timetables autocompletion</title>
<updated>2018-04-16T13:23:04+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-13T14:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=51125f25847db2bb2c654c1bbfd1fd39295693f6'/>
<id>51125f25847db2bb2c654c1bbfd1fd39295693f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #485 from af83/6551-add_custom_field_values_to_journey_patterns</title>
<updated>2018-04-16T09:50:36+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-16T09:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=caaa83f6e4fd5404161974de16974b1e0d66b6f9'/>
<id>caaa83f6e4fd5404161974de16974b1e0d66b6f9</id>
<content type='text'>
Add CustomFields to JourneyPatterns. Refs #6551 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add CustomFields to JourneyPatterns. Refs #6551 </pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #411 from af83/5949-referential-date-select</title>
<updated>2018-04-16T09:10:45+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-04-16T09:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=69feaded19e5dec406424b1ee42bf3e1d7936ad5'/>
<id>69feaded19e5dec406424b1ee42bf3e1d7936ad5</id>
<content type='text'>
Refs #5949 Change default years collection in referential#new date se…</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #5949 Change default years collection in referential#new date se…</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6551; Add CustomFields to JourneyPatterns</title>
<updated>2018-04-16T08:40:23+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-16T08:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a0592079dd01b7bc37da91606243de446847ba28'/>
<id>a0592079dd01b7bc37da91606243de446847ba28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve Route stop_points position check. Use CHOUETTE_ROUTE_POSITION_CHECK env variable. Refs #6179</title>
<updated>2018-04-16T07:36:59+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-16T07:28:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c16f90bca5e3ffef46a67623f2c316a2fd79a18a'/>
<id>c16f90bca5e3ffef46a67623f2c316a2fd79a18a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes Chouette::Route.skip_callback/set_callback in RouteWayCostWorker. Refs #6407</title>
<updated>2018-04-16T07:09:53+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-16T07:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=0bfb394fea60f2f7a3680eb8768118cd99758d39'/>
<id>0bfb394fea60f2f7a3680eb8768118cd99758d39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Route: Change `#calculate_costs!` to `after_commit` callback</title>
<updated>2018-04-16T07:09:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-06T14:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b05676bdda09c10a7130e0f86527a75e6535dad8'/>
<id>b05676bdda09c10a7130e0f86527a75e6535dad8</id>
<content type='text'>
Use an `after_commit` instead of an `after_save`. The `after_save` could
cause intermittent problems due to Sidekiq starting before the
record/transaction actually gets committed to the database. In those
cases, the record wouldn't be found and cause an error.

With an `after_commit` callback, the record is sure to be committed
before Sidekiq takes over.

Additionally, limit the callback to `:create` and `:update` because
otherwise it will be active on `:destroy` by default also. This work
isn't relevant on destroy, so don't do it then.

Update the tests:

* Update labels
* Use `build` instead of `create` because we're saving the record at the
  end anyway so we don't need an object that starts out persisted
* Use `truncation: true` for these tests because otherwise the `commit`
  callback doesn't get called due to transactional teardown

Refs #6407
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use an `after_commit` instead of an `after_save`. The `after_save` could
cause intermittent problems due to Sidekiq starting before the
record/transaction actually gets committed to the database. In those
cases, the record wouldn't be found and cause an error.

With an `after_commit` callback, the record is sure to be committed
before Sidekiq takes over.

Additionally, limit the callback to `:create` and `:update` because
otherwise it will be active on `:destroy` by default also. This work
isn't relevant on destroy, so don't do it then.

Update the tests:

* Update labels
* Use `build` instead of `create` because we're saving the record at the
  end anyway so we don't need an object that starts out persisted
* Use `truncation: true` for these tests because otherwise the `commit`
  callback doesn't get called due to transactional teardown

Refs #6407
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge#save_current makes ready the new current referential. Refs #6554</title>
<updated>2018-04-15T21:15:25+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-15T21:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=2346cdedc9f75cc3af36f856d2b732209af8caab'/>
<id>2346cdedc9f75cc3af36f856d2b732209af8caab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
