aboutsummaryrefslogtreecommitdiffstats
path: root/public
AgeCommit message (Collapse)Author
2018-05-11Make favicon transparent and retina compatible6627-favicon--make-transparent-and-retina-compatibleTeddy Wing
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
2018-04-27Add Chouette favicon6627-add-chouette-faviconTeddy Wing
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
2017-04-11added public/uploadsRobertDober
2017-03-22Refs #2802: 404/500 errors updatejpl
2016-10-07Policy Chouette::StopAreaXinhui
Refs #1780
2016-01-11update helpMichel Etienne
2015-10-11enhance online helpMichel Etienne
2015-08-13update helpMichel Etienne
2015-06-11add screenshot for help pageMarc Florisson
2015-06-11update help for new version delivery, update footer links to product web siteMarc Florisson
2015-05-21Delete sitemap generator not useful for our rails appLuc Donnet
2015-02-09Initialize sitemap to use help with search engineLuc Donnet
2014-12-04update helpMichel Etienne
2014-11-24update helpMichel Etienne
2014-11-14resize help imagesMichel Etienne
2014-11-04update helpMichel Etienne
2014-03-03remove old test sheetsMichel Etienne
2014-02-14add validation helpMichel Etienne
2014-02-14add import helpMichel Etienne
2013-01-17correct characters in error pagesMichel Etienne
2013-01-10refactor error pagesMichel Etienne
2013-01-10refactor error pagesMichel Etienne
2012-11-12manage generic access_links and hide/show datas on several viewsMichel Etienne
2012-09-24correct image location for test_sheetMichel Etienne
2012-04-17stop icons in help and stoptype filterMichel Etienne
2012-02-23Update controler for resource and collectionLuc Donnet
2012-02-20Add requests spec, Fix viewLuc Donnet
2012-01-06Initialize chouette2Luc Donnet