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-07-12Merge branch 'js-specs-transactions' into 'master'Andreas Brandl
Use transactions in JS feature specs Closes #60207 See merge request gitlab-org/gitlab-ce!27496
2019-07-12Use transactions in JS feature specsHeinrich Lee Yu
Uses Rails transactional tests instead of DatabaseCleaner transaction strategy because that doesn't work with JS tests
2019-07-12Upgrade to Rails 5.2Heinrich Lee Yu
Updates changed method names and fixes spec failures
2019-06-05Allow BetterErrors REPL to be enabledAsh McKenzie
This allows the BetterErrors REPL to be available when your GitLab instance is listening on something _other_ than localhost.
2019-05-20Fix typos in the whole gitlab-ce projectYoginth
2018-12-14Remove rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes
2018-11-21Explicitly set locale fallbacksJan Provaznik
With a recent change in i18n, default language is not included in fallbacks by default. This causes that MissingTranslationData exception is raised both in development and production mode. This patch sets explicitly fallbacks language to english which assures that english is used for missing translations.
2018-11-05Allow concurrency when using PumaAndrew Newdigate
2018-09-11Fix rails 5 deprecation warningsJan Provaznik
Fixes rails 5 deprecation warnings in `config/` files
2018-07-06Move spec/mailers/previews to app/mailers/previewsLin Jen-Shin
2018-06-13[Rails5] Pass class references instead of strings to middleware builderblackst0ne
It fixes Rails 5.0 deprecation flooding like: ``` DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change them to actual class references. For example: "::Gitlab::Middleware::ReadOnly" => Gitlab::Middleware::ReadOnly (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11) DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change them to actual class references. For example: "ActionDispatch::Static" => ActionDispatch::Static (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11) DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change them to actual class references. For example: "Gitlab::Testing::RequestBlockerMiddleware" => Gitlab::Testing::RequestBlockerMiddleware (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11) DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change them to actual class references. For example: "ActionDispatch::Static" => ActionDispatch::Static (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11) DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change them to actual class references. For example: "Gitlab::Testing::RequestInspectorMiddleware" => Gitlab::Testing::RequestInspectorMiddleware (called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11) ```
2018-03-22[Rails5] Update files by `rails app:update`blackst0ne
2017-10-23implement basic request inspector for use in Capybara testsMike Greiling
2017-10-03Resolve "Precompiled assets with digest strings are ignored in CI"Mike Greiling
2017-07-20Fix logger disabling on the CI: instantiate an ActiveSupport::TaggedLoggingRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-18Disable Rails logging in CI test environmentsRobert Speicher
See https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
2017-06-15Rename CDN_HOST to GITLAB_CDN_HOSTStan Hu
2017-06-15Support a configurable Rails asset_host to allow for CDNsStan Hu
Adds support for https://gitlab.com/gitlab-com/infrastructure/issues/57
2017-05-16Merge branch '29421-production-config-assets-compile-false' into 'master' Stan Hu
Set 'config.assets.compile = false' in production Closes #29421 See merge request !9917
2017-04-15Turn on caching of classes in Knapsack specsStan Hu
Enabling caching of classes slows start-up time because all controllers are loaded at initialization, but it reduces memory and load because files are not reloaded with every request. For example, caching is not necessary for loading database migrations but useful for handling Knapsack specs. Addresses gitlab-org/gitlab-ee#2162
2017-03-22Introduce a new middleware for the test environment that can block requestsRémy Coutable
The idea is that after each feature spec example, we block all incoming requests at the Rack level, go to the 'about:blank' page, and wait until the current requests reach 0. This should solve the problem where a request would end after database cleaner performed the database truncation. The problem was that a GET request can still lead to records creation (e.g. namespaces or routes). Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-14Set 'config.assets.compile = false' in productionJames Edwards-Jones
2016-07-01Remove quiet_assets in favor of built-in sprockets-rails config.Connor Shea
quiet_assets has been seemingly abandoned, and now sprockets-rails has the feature built-in! From this PR: https://github.com/rails/sprockets-rails/pull/355
2016-05-25Customize ActionMailer preview pathRobert Speicher
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto
2016-04-22Add letter_opener_web gemRobert Speicher
Sent emails in the development environment will no longer automatically be opened in the browser. If a sent email needs to be viewed, it can be found at the `/rails/letter_opener` route.
2016-04-10Enable asset compression in production.connorshea
`config.assets.compress` needed to be explicitly enabled. Follow-up to !3544. Resolves #14344.
2016-04-05Bump rails to 4.2.6Robert Speicher
2016-03-02Remove duplicate 'cache_store' configuration in test environmentRémy Coutable
2016-01-19Raise an error on page load if there are pending migrations on dev envDouglas Barbosa Alexandre
2016-01-15Don't send (fake) email during dev bootstrapJacob Vosmaer
This allows you to do: rake dev:setup BOOTSTRAP=1 and prevent dozens of letter_opener emai popups in your browser.
2015-12-03Merge branch 'master' into reference-pipeline-and-cachingDouwe Maan
2015-12-03Rails deprecation warning about log_levelValery Sizov
2015-12-02Merge branch 'master' into reference-pipeline-and-cachingDouwe Maan
2015-11-30fix notification_service specsValery Sizov
2015-11-26Migrate mailers to ActiveJobValery Sizov
2015-11-25Rails update to 4.2.4Valery Sizov
2015-11-19Merge branch 'master' into reference-pipeline-and-cachingDouwe Maan
2015-11-16Disabling cache for test environmentValery Sizov
2015-10-22Disabling caching in test environment because it was causing issues with ↵Douwe Maan
Markdown
2015-10-15Added rack-lineprof for developmentYorick Peterse
This can be used to measure the time (roughly) spent on a per line basis. This can also be used to measure timings for views, for example by adding the following to a URL: ?lineprof=app/views/projects/notes/_note rack-lineprof is only enabled when: 1. The application runs in development mode 2. The used Ruby is MRI 3. The environment variable ENABLE_LINEPROF is set to a non-empty value
2015-08-26Groundwork for merging CI into CEDouwe Maan
2015-03-03Merge pull request #8349 from divineforest/cleanup-assets-compressDmitriy Zaporozhets
Remove useless `assets.compress` option, Rails 4 uses only `assets.js_co...
2015-02-12Don't cache classes in testsJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2014-11-18Remove useless `assets.compress` option, Rails 4 uses only ↵Alexander Balashov
`assets.js_compressor` > The config.assets.compress option should be changed to config.assets.js_compressor like so for instance
2014-08-26Configure Redis cache for all environmentsJacob Vosmaer
Also add support for connecting to Redis with Unix sockets.
2014-08-12Disable debug assetsJan-Willem van der Meer
It's good for debugging javacsript, but creates massive amounts of http request by adding each javascript individually. Only turn it on while debugging js code.
2014-06-26Fix dev env. Fix MR creationDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-03Remove active_record.auto_explain_treshold_in_seconds, rails 4.0 deprecationMarin Jankovski
2014-04-15Give the Rails cache its own Redis namespaceJacob Vosmaer
Before this change, Rails cache data was stored in a global Redis namespace. As a consequence, clearing the Rails cache (`rake cache:clear`) would also delete all Sidekiq queue data and session storage. This change puts all Rails cache data in a `cache:gitlab` namespace, making `rake cache:clear` safe again.