<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/views/routes, branch master</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 #6433 Use ransackable scope for stop area status filter</title>
<updated>2018-05-28T10:48:49+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2018-04-26T18:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9f988815907182dd9194d546b19ac4911c804d0e'/>
<id>9f988815907182dd9194d546b19ac4911c804d0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6860 Change StopPoint show link to stop_area_referential_stop_area_path</title>
<updated>2018-04-30T13:28:16+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2018-04-30T13:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f16f8ebf092edf45f063835d83153498ba13e212'/>
<id>f16f8ebf092edf45f063835d83153498ba13e212</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6431 Add small changes on stop area &amp; line status display to have the same logic</title>
<updated>2018-04-24T20:03:04+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2018-04-24T20:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9050f4dde351e27e2cf33df7d1a4bc3b694ac04c'/>
<id>9050f4dde351e27e2cf33df7d1a4bc3b694ac04c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6370 Add some more translations</title>
<updated>2018-04-04T21:52:43+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2018-04-04T21:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f04d4420053dc995bad52b5b87ff7f15e302c2b3'/>
<id>f04d4420053dc995bad52b5b87ff7f15e302c2b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6156 Update route translations</title>
<updated>2018-03-29T08:10:31+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2018-03-28T05:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=5da1b946dce489b785e74d2f711b2dd3ce3900ea'/>
<id>5da1b946dce489b785e74d2f711b2dd3ce3900ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `RouteWayCostJSONSerializer` to `RouteWayCostUnitConverter`</title>
<updated>2018-03-15T16:44:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-15T16:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=18bf033af20f883e92a4f05bbba5070d70fe9d90'/>
<id>18bf033af20f883e92a4f05bbba5070d70fe9d90</id>
<content type='text'>
Because we need to pass a Ruby hash to Rabl instead of a JSON string,
get rid of our serialiser and instead turn it into a function that just
converts the distance &amp; time units.

Fix a bug in the test that had the `'1-2'` key as a symbol instead of a
string which was caused by a copy-paste from JSON and not being thorough
enough in search-and-replace.

Refs #6203
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because we need to pass a Ruby hash to Rabl instead of a JSON string,
get rid of our serialiser and instead turn it into a function that just
converts the distance &amp; time units.

Fix a bug in the test that had the `'1-2'` key as a symbol instead of a
string which was caused by a copy-paste from JSON and not being thorough
enough in search-and-replace.

Refs #6203
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `RouteWayCostJSONSerializer`</title>
<updated>2018-03-15T16:44:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-15T16:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=7fb536325c19e837d10707e9adfc0d8bce5a3976'/>
<id>7fb536325c19e837d10707e9adfc0d8bce5a3976</id>
<content type='text'>
This serialiser will take `Route#costs` and convert the distance and
time fields from meters to kilometres and seconds to minutes
respectively. We need this because the frontend uses kilometre and
minute units while the TomTom API gives us the others (and we store the
data we get from TomTom without treatment).

Unfortunately, due to the way that Rabl works, this doesn't quite work
just yet. The serializer returns a string, and Rabl just puts this
string into the JSON output instead of a real JSON hash. Looks like I'm
going to have to convert my serializer into a generic converter.

Refs #6203
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This serialiser will take `Route#costs` and convert the distance and
time fields from meters to kilometres and seconds to minutes
respectively. We need this because the frontend uses kilometre and
minute units while the TomTom API gives us the others (and we store the
data we get from TomTom without treatment).

Unfortunately, due to the way that Rabl works, this doesn't quite work
just yet. The serializer returns a string, and Rabl just puts this
string into the JSON output instead of a real JSON hash. Looks like I'm
going to have to convert my serializer into a generic converter.

Refs #6203
</pre>
</div>
</content>
</entry>
<entry>
<title>Routes: Add `/costs` route</title>
<updated>2018-03-15T16:42:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-03-14T17:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d43365e243a8cf9bef3a856e2bf65c9b401e78e5'/>
<id>d43365e243a8cf9bef3a856e2bf65c9b401e78e5</id>
<content type='text'>
Render the `costs` field of a `Chouette::Route` as JSON. This lives at:
http://stif-boiv.dev:3000/referentials/4/lines/1857/routes/7/costs.json

I want this in order to get the distance &amp; time costs of a route so that
I can merge them with `JourneyPattern#costs` on the frontend on
`JourneyPatternsCollection#show`.

Refs #6203
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Render the `costs` field of a `Chouette::Route` as JSON. This lives at:
http://stif-boiv.dev:3000/referentials/4/lines/1857/routes/7/costs.json

I want this in order to get the distance &amp; time costs of a route so that
I can merge them with `JourneyPattern#costs` on the frontend on
`JourneyPatternsCollection#show`.

Refs #6203
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #4126 @6h; Add i18n to JS</title>
<updated>2018-02-09T12:56:54+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-07T08:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ae36ee8a9270540cea2b0bea70b0f7c46a1818ef'/>
<id>ae36ee8a9270540cea2b0bea70b0f7c46a1818ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>StopPointDecorator: Convert to new action links interface</title>
<updated>2018-01-25T16:18:03+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-25T11:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c9e5f4e5ab03c0d8e4ff65e72b8c77260cba9c20'/>
<id>c9e5f4e5ab03c0d8e4ff65e72b8c77260cba9c20</id>
<content type='text'>
Subtleties were that the links need to reference `StopArea`s. In
particular, the `edit` link goes to the `StopAreaReferential` path
instead of the referential-StopArea path.

Refs #5586
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Subtleties were that the links need to reference `StopArea`s. In
particular, the `edit` link goes to the `StopAreaReferential` path
instead of the referential-StopArea path.

Refs #5586
</pre>
</div>
</content>
</entry>
</feed>
