<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/public, branch 6979-ruby-controls-sets</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Make favicon transparent and retina compatible</title>
<updated>2018-05-11T13:17:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-11T13:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4a7959496287ecded189da4518757e63280ff93f'/>
<id>4a7959496287ecded189da4518757e63280ff93f</id>
<content type='text'>
Use a transparent background version of the favicon instead of setting
it on white as per the new requirements.

Include both 16x16 and 32x32 sizes to support retina displays.

I resized the `Logo_Chouette-256x256 transparent.png` logo in GIMP to
16x16 and 32x32 sizes using cubic interpolation. Then used Imagemagick
to create the ICO file:

    $ convert \
        Logo_Chouette-16x16\ transparent.png \
        Logo_Chouette-32x32\ transparent.png \
        favicon.ico

Refs #6627
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a transparent background version of the favicon instead of setting
it on white as per the new requirements.

Include both 16x16 and 32x32 sizes to support retina displays.

I resized the `Logo_Chouette-256x256 transparent.png` logo in GIMP to
16x16 and 32x32 sizes using cubic interpolation. Then used Imagemagick
to create the ICO file:

    $ convert \
        Logo_Chouette-16x16\ transparent.png \
        Logo_Chouette-32x32\ transparent.png \
        favicon.ico

Refs #6627
</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>added public/uploads</title>
<updated>2017-04-11T13:39:41+00:00</updated>
<author>
<name>RobertDober</name>
</author>
<published>2017-04-06T12:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b19578172fc0d8ddc3d9ec8fa325854a8eebbe69'/>
<id>b19578172fc0d8ddc3d9ec8fa325854a8eebbe69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2802: 404/500 errors update</title>
<updated>2017-03-22T10:57:19+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-03-22T10:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ab39dca3844ff87c063d86b65748669fa3e7d223'/>
<id>ab39dca3844ff87c063d86b65748669fa3e7d223</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Policy Chouette::StopArea</title>
<updated>2016-10-07T13:57:38+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2016-10-07T13:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8bf58bfada05c61dbd773b74e9e6d91f01d3aae1'/>
<id>8bf58bfada05c61dbd773b74e9e6d91f01d3aae1</id>
<content type='text'>
Refs #1780
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #1780
</pre>
</div>
</content>
</entry>
<entry>
<title>update help</title>
<updated>2016-01-11T18:30:12+00:00</updated>
<author>
<name>Michel Etienne</name>
</author>
<published>2016-01-11T18:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=468d33b4725f91d506b6e1e74ab6d25698241d53'/>
<id>468d33b4725f91d506b6e1e74ab6d25698241d53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>enhance online help</title>
<updated>2015-10-11T20:34:11+00:00</updated>
<author>
<name>Michel Etienne</name>
</author>
<published>2015-10-11T20:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=566c6599aec105e9fe6534c03ade53afae921647'/>
<id>566c6599aec105e9fe6534c03ade53afae921647</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update help</title>
<updated>2015-08-13T14:28:33+00:00</updated>
<author>
<name>Michel Etienne</name>
</author>
<published>2015-08-13T14:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e0ae959933352558572edde7655777fe5029f5d5'/>
<id>e0ae959933352558572edde7655777fe5029f5d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add screenshot for help page</title>
<updated>2015-06-11T09:50:53+00:00</updated>
<author>
<name>Marc Florisson</name>
</author>
<published>2015-06-11T09:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ee408a454da06257436ccc57e624aba9102d7e6e'/>
<id>ee408a454da06257436ccc57e624aba9102d7e6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update help for new version delivery, update footer links to product web site</title>
<updated>2015-06-11T09:09:49+00:00</updated>
<author>
<name>Marc Florisson</name>
</author>
<published>2015-06-11T09:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=dd1635f95d06c679e7e5eb8a5ef10225628c0e23'/>
<id>dd1635f95d06c679e7e5eb8a5ef10225628c0e23</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
