Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-08Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-08Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-05Use stub_rails_env for Rails.env stubbingAsh McKenzie
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
2019-09-03Merge branch '13988-add-rails-helpers' into 'master'Stan Hu
Add new RailsHelpers module for specs Closes #66688 See merge request gitlab-org/gitlab-ce!32309
2019-08-30Replace rails_helper.rb with spec_helper.rbAsh McKenzie
rails_helper.rb's only logic was to require spec_helper.rb.
2019-08-28Use new RailsHelpers moduleAsh McKenzie
2019-05-13EE backport to CE of favicon_spec.rblmcandrew
2018-10-02Fix favicon specShinya Maeda
2018-06-29Read asset host from ActionController::Base instead of application configDouwe Maan
2018-06-20Fix: Serve favicon image always from the main GitLab domain to avoid issues ↵Alexis Reigel
with CORS
2018-06-15Remove FaviconUploader favicon_main versionDouwe Maan
See https://gitlab.com/gitlab-org/gitlab-ce/issues/47677 for more information
2018-06-11Don't use Rails.root.join for upload fixture pathsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-05remove all .ico favicon variations, use png alwaysAlexis Reigel
the ci status icons are generated client side, wo we don't need the static files anymore.
2018-06-05create favicon overlay on the clientAlexis Reigel
the initial reason for this change was that graphicsmagick does not support writing to ico files. this fact lead to a chain of changes: 1. use png instead of ico (browser support is good enough) 2. render the overlays on the client using the canvas API. this way we only need to store the original favion and generate the overlay versions dynamically. this change also enables (next step) to simplify the handling of the stock favicons as well, as we don't need to generate all the versions upfront.
2018-06-05call Gitlab::Favicon.status in serializerAlexis Reigel
this ways we can keep the `lib/gitlab/ci/status/*` classes to return the bare favicon name as it was before. also the favicon uploader versions are now have the same names as the stock favicons (+ `favicon_` prefix), which makes working with the status names easier.
2018-06-05add request store caching to faviconAlexis Reigel
2018-06-05Add a '?' to the custom favicon's urlsAlexis Reigel
Without the '?' at the end of the favicon url the custom favicon (i.e. the favicons that are served through `UploadController`) are not shown in the browser. It may have something to do with how `#send_file` / `#send_data` set http headers. When serving the same icon file from the public directory everything is fine.
2018-06-05use custom favicon for ci build status faviconsAlexis Reigel
2018-06-05extract favicon logic to lib classAlexis Reigel