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
2022-01-20Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42GitLab Bot
2021-12-20Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot
2021-07-20Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2019-09-05Use stub_rails_env for Rails.env stubbingAsh McKenzie
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
2019-04-05Autocorrect with RSpec/ExampleWording copThong Kuah
- rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
2018-12-14Resolve transient failure in Help page specRobert Speicher
Sometimes due to a slow request to load the version check image, the placeholder image data was still being seen, resulting in this failure: expected "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" to end with "/version-check-url" Now we check the `data-src` attribute, which allows us to remove the `:js` metadata. This commit also removes a redundant test, which was just ensuring that the selector we were already using in the other test is visible. If this test were failing, the other one would always fail too, so it was pointless. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55372
2018-12-14Use class methods for VersionCheckRobert Speicher
All of these methods are stateless, there was no point to have them as instance methods. Mostly this allows us to remove an `allow_any_instance_of` usage.
2018-11-23Refactor landing page CEEvan Read
2017-12-19Fix shortcut links on help pageClement Ho
2017-12-15Don't use Markdown cache for stubbed settings in specsSean McGivern
The ApplicationSetting model uses the CacheMarkdownField concern, which updates the cached HTML when the field is updated in the database. However, in specs, when we want to test conditions using ApplicationSetting, we stub it, because this is accessed in different ways throughout the application. This means that if a spec runs that caches one of the Markdown fields, and a later spec uses `stub_application_setting` to set the raw value of that field, the cached value was still the original one. We can work around this by ignoring the Markdown cache in contexts where we're using `stub_application_setting`. We could be smarter, and only do this on the Markdown fields of the model, but this is probably fine.
2017-08-16Fix help page version image specPhil Hughes
2017-07-27Remove superfluous type defs in specsKeifer Furzland
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-29Change gitlab_sign_in to sign_in where possibleRobert Speicher
2017-06-20Change `login_as` uses to `gitlab_sign_in`Robert Speicher
2017-06-14Help landing page customizationsRobin Bobbitt
2017-06-12Let PhantomJS load local imagesRémy Coutable
This change fix a memory leak due to a Webkit bug: https://github.com/ariya/phantomjs/issues/12903 Also: - Whitelist only localhost and 127.0.0.1 in Capybara + JS specs - Blacklist all requests to media such as images, videos, PDFs, CSVs etc. - Log all the requests made. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-22added specs for version check imageLuke "Jared" Bennett
2016-12-09Stop replacing `$your_email` with the user's emailRémy Coutable
The `$your_email` was removed from the SSH doc. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-01Fix URL rewritting in the Help sectionRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-25Check that both '/help' and '/help/' URLs have the same behaviourDavid Wagner
The links in the help page may be modified. This new test checks that URLs in this page are absolute and do not depend on the presence of a trailing slash in the URL. Signed-off-by: David Wagner <david@marvid.fr>
2016-08-09fixes part1 of files to start using active tensetiagonbotelho
2016-07-11Update the help_page_path route to accept paths directly instead of using ↵Connor Shea
parameters.
2015-04-15Re-fix image rendering for help pagesRobert Speicher
2015-04-15Revert "Fix and improve help rendering"Robert Speicher
This reverts commit d365004e684e98459061fcd5fbaf9bea880934a8.
2015-04-03Fix and improve help renderingSullivan SENECHAL
2015-02-12Updated rspec to rspec 3.x syntaxJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-05Fix testsDmitriy Zaporozhets
2015-01-18Change to single-quoted strings in help_pages_specCarlos Ribeiro
2015-01-16Fix the email variable substituation in ssh help pageCarlos Ribeiro