<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/assets, branch 6092-update-custom-fields</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 #6092; Add specs on CustomlFields</title>
<updated>2018-05-03T14:42:28+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-03T14:42:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=581dbb024db288dc70713af3c5b5052b453412a9'/>
<id>581dbb024db288dc70713af3c5b5052b453412a9</id>
<content type='text'>
- Show validation errors on fields
- Smarter attachments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Show validation errors on fields
- Smarter attachments
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Chouette favicon</title>
<updated>2018-04-27T15:32:03+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-27T15:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ae387752e9ae26a296b5d1a016cd3b53bf7f298c'/>
<id>ae387752e9ae26a296b5d1a016cd3b53bf7f298c</id>
<content type='text'>
Adds a favicon to the site to respond to these errors:

    ActionController::RoutingError (No route matches [GET] "/favicon.ico"):

Using `favicon_link_tag` allows us to get the image from the asset
pipeline, which makes it easier to update if necessary, since browsers
tend to cache the default `/favicon.ico` indeterminably (source:
http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-favicon_link_tag).

According to some Stack Overflow posts I've been reading, it looks like
it's advisable to put the `favicon.ico` file in both `/assets/images/`
and `/public/`:
- https://stackoverflow.com/questions/15687506/actioncontrollerroutingerror-no-route-matches-get-favicon-ico-in-rails#15688041
- https://stackoverflow.com/questions/11071445/favicon-in-ruby-on-rails-application

This way, you can serve the favicon from the asset pipeline, but if any
requesters try to get `/favicon.ico`, the server will respond with the
image instead of an error.

To be honest, when I was testing locally, I couldn't get the icon in
`/public` to display, both without a `link` tag and with the following
`link` tag:

    / application.html.slim
    / ...
    link href='/favicon.ico' rel='shortcut icon'

As a result, I'm adding the image to `/public` with fingers crossed that
it's going to work if requested.

I generated the `favicon.ico` file with a 256x256px PNG supplied by
Cyrielle in the Redmine ticket and the following ImageMagick command:

    $ convert -resize x16 -gravity center -crop 16x16+0+0 \
        Logo_Chouette-256x256.png -flatten -colors 256 favicon.ico

(Copied from:
https://stackoverflow.com/questions/3185677/converting-gifs-pngs-and-jpgs-to-ico-files-using-imagemagick)

Refs #6627
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a favicon to the site to respond to these errors:

    ActionController::RoutingError (No route matches [GET] "/favicon.ico"):

Using `favicon_link_tag` allows us to get the image from the asset
pipeline, which makes it easier to update if necessary, since browsers
tend to cache the default `/favicon.ico` indeterminably (source:
http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-favicon_link_tag).

According to some Stack Overflow posts I've been reading, it looks like
it's advisable to put the `favicon.ico` file in both `/assets/images/`
and `/public/`:
- https://stackoverflow.com/questions/15687506/actioncontrollerroutingerror-no-route-matches-get-favicon-ico-in-rails#15688041
- https://stackoverflow.com/questions/11071445/favicon-in-ruby-on-rails-application

This way, you can serve the favicon from the asset pipeline, but if any
requesters try to get `/favicon.ico`, the server will respond with the
image instead of an error.

To be honest, when I was testing locally, I couldn't get the icon in
`/public` to display, both without a `link` tag and with the following
`link` tag:

    / application.html.slim
    / ...
    link href='/favicon.ico' rel='shortcut icon'

As a result, I'm adding the image to `/public` with fingers crossed that
it's going to work if requested.

I generated the `favicon.ico` file with a 256x256px PNG supplied by
Cyrielle in the Redmine ticket and the following ImageMagick command:

    $ convert -resize x16 -gravity center -crop 16x16+0+0 \
        Logo_Chouette-256x256.png -flatten -colors 256 favicon.ico

(Copied from:
https://stackoverflow.com/questions/3185677/converting-gifs-pngs-and-jpgs-to-ico-files-using-imagemagick)

Refs #6627
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6572; Updte wording</title>
<updated>2018-04-27T09:17:19+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-19T14:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c495d4bb70b85db944a41be139c78c68c5623357'/>
<id>c495d4bb70b85db944a41be139c78c68c5623357</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6572; Update filters on referentials list</title>
<updated>2018-04-27T09:17:19+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-19T14:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e8e029da36b493827820289f8db50645eb939806'/>
<id>e8e029da36b493827820289f8db50645eb939806</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ReferentialVehicleJourneys: Fix line drop-down placeholder</title>
<updated>2018-04-26T07:16:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-19T15:23:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=de3762e2db02f876bdd032c9e1afe716d3c25dde'/>
<id>de3762e2db02f876bdd032c9e1afe716d3c25dde</id>
<content type='text'>
After adding the `initvalue` data attribute, the placeholder was no
longer rendered. Fix this by:

1. Removing all elements from the collection to ensure that boolean
   options don't get added by default to the select
   (https://github.com/plataformatec/simple_form/blob/84e4465/lib/simple_form/inputs/collection_input.rb#L36-L41)
2. Not setting an `initSelection` on the Select2 config if the initial
   selection fields are empty.

This finally gets the placeholder to display correctly again.

Refs #5889
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After adding the `initvalue` data attribute, the placeholder was no
longer rendered. Fix this by:

1. Removing all elements from the collection to ensure that boolean
   options don't get added by default to the select
   (https://github.com/plataformatec/simple_form/blob/84e4465/lib/simple_form/inputs/collection_input.rb#L36-L41)
2. Not setting an `initSelection` on the Select2 config if the initial
   selection fields are empty.

This finally gets the placeholder to display correctly again.

Refs #5889
</pre>
</div>
</content>
</entry>
<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>Merge pull request #446 from af83/6382-compliance-control-block-refacto</title>
<updated>2018-04-13T14:33:55+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-04-13T14:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3864c37d9d07113baeb05c3d16ca646f8e49abaa'/>
<id>3864c37d9d07113baeb05c3d16ca646f8e49abaa</id>
<content type='text'>
Refs #6382 Refacto display of ccblock transport mode errors</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #6382 Refacto display of ccblock transport mode errors</pre>
</div>
</content>
</entry>
<entry>
<title>Fix css for errors display on compliance control block Refs #6382</title>
<updated>2018-04-13T14:33:17+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-04-13T14:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=7384f9c69c72b83264b6bc83cdbf94fd63b82660'/>
<id>7384f9c69c72b83264b6bc83cdbf94fd63b82660</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6426; Disable "Create opposite route" action instead of hiding it</title>
<updated>2018-04-11T06:28:47+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-06T12:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=03b4010981f5d47fbd8dd468bbe5fc320fd7a9e4'/>
<id>03b4010981f5d47fbd8dd468bbe5fc320fd7a9e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs 5846; Fix wrong translation</title>
<updated>2018-04-11T03:52:21+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-05T10:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9f374650488fdbfd86fbbdc66cfebda4e9f5a551'/>
<id>9f374650488fdbfd86fbbdc66cfebda4e9f5a551</id>
<content type='text'>
And a very small css fix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And a very small css fix
</pre>
</div>
</content>
</entry>
</feed>
