<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/models, 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 #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>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>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>
<entry>
<title>Change Referential.new_from invocation in Merge#prepare_new. Refs #6535</title>
<updated>2018-04-15T20:04:06+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-15T20:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3790cb1fe774579c09b37005b7955120b610a865'/>
<id>3790cb1fe774579c09b37005b7955120b610a865</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove CustomField :for_workgroup scope (use Workgroup#custom_fields)</title>
<updated>2018-04-15T18:53:45+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-04-15T18:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=dbecff41f8db17c2eb37fcb28a2a30b25d9a3738'/>
<id>dbecff41f8db17c2eb37fcb28a2a30b25d9a3738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6527; Fix VJs editor</title>
<updated>2018-04-12T14:26:59+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-12T14:26:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d79680f013d63f377bd8655f2a095d231d4b0441'/>
<id>d79680f013d63f377bd8655f2a095d231d4b0441</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
