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
path: root/spec
AgeCommit message (Collapse)Author
2018-10-19Remove the `ForkedProjectLink` modelBob Van Landuyt
This removes the `ForkedProjectLink` model that has been replaced by the `ForkNetworkMember` and `ForkNetwork` combination. All existing relations have been adjusted to use these new models. The `forked_project_link` table has been dropped. The "Forks" count on the admin dashboard has been updated to count all `ForkNetworkMember` rows and deduct the number of `ForkNetwork` rows. This is because now the "root-project" of a fork network also has a `ForkNetworkMember` row. This count could become inaccurate when the root of a fork network is deleted.
2018-10-15Merge branch '52614-bugs-on-deployment-status-in-job-log-page' into 'master'Grzegorz Bizon
Send deployment_status when job starts environment Closes #52614 See merge request gitlab-org/gitlab-ce!22354
2018-10-15Send deployment_status when job starts environmentSteve Azzopardi
The check was if the job `has_environment` which results into showing the environment information when the job stops the environment. This result into having a blank `deployment_status`. Use `starts_environment?` to be the same as the haml we have in 11.3 https://gitlab.com/gitlab-org/gitlab-ce/blob/30f019dca78bb64bcb8b355a267be006884e6d8f/app/views/projects/jobs/show.html.haml#L28
2018-10-15Merge branch 'improve-spec-for-gitlab-ci-status-pipeline-factory' into 'master'Grzegorz Bizon
Improve spec for Gitlab::Ci::Status::Pipeline::Factory Closes #52280 See merge request gitlab-org/gitlab-ce!22247
2018-10-15Only display merge commit SHA when it existsMark Chao
2018-10-12Merge branch '52614-update-job-started-check' into 'master'Tim Zallmann
Updates the check for started in job header See merge request gitlab-org/gitlab-ce!22329
2018-10-12Add stage name in job.json responseSteve Azzopardi
2018-10-12Updates the check for started in job headerFilipa Lacerda
The function that was checking if the job was started or not was expecting a boolean, however it was receiving a null. During the refactor the condition was changed, causing the function to break with null This commit fixes the check
2018-10-12Backport CE changes for Ops Dashboard in EEPeter Leitzen
2018-10-12Hide job sidebar on mobileFilipa Lacerda
This commit adds back `js-` classes needed to automatically collapse the sidebar on resize.
2018-10-12Fix broken file name navigation on MRsJacques Erasmus
2018-10-12Merge branch '51712-prefer-jasmine-matcher' into 'master'Mike Greiling
4. enable jasmine/prefer-jasmine-matcher See merge request gitlab-org/gitlab-ce!22236
2018-10-11Merge branch '51712-new-line-between-declarations' into 'master'Mike Greiling
1. enable jasmine/new-line-between-declarations See merge request gitlab-org/gitlab-ce!22230
2018-10-11Fix erased block not being rendered when job was erasedFilipa Lacerda
2018-10-11Merge branch 'sh-fix-project-deletion-with-export' into 'master'Robert Speicher
Fix project deletion when there is a export available Closes #52362 See merge request gitlab-org/gitlab-ce!22276
2018-10-11Merge branch 'frontend-feature-flags' into 'master'Rémy Coutable
Support pushing of feature flags to the frontend Closes gitlab-org/release/framework#17 See merge request gitlab-org/gitlab-ce!22197
2018-10-11Merge branch '52472-pipeline-endpoint-json' into 'master'Tim Zallmann
Adds `.json` to the end of pipelines endpoint Closes #52472 See merge request gitlab-org/gitlab-ce!22293
2018-10-11Stuck block URL links to runners settingsFilipa Lacerda
2018-10-11Support pushing of feature flags to the frontendYorick Peterse
This adds a method to Gitlab::GonHelper called `push_frontend_feature_flag`. This method can be used to easily expose the state of a feature flag to Javascript code. For example, using this method we may write the following controller code: before_action do push_frontend_feature_flag(:vim_bindings) end def index # ... end def edit # ... end In Javascript we can then check the state of the flag as follows: if ( gon.features.vimBindings ) { // ... } Fixes https://gitlab.com/gitlab-org/release/framework/issues/17
2018-10-11Feature improved branch filter sortingJason Rutherford
2018-10-11Add new sort option "most_stars" to "Group > Children" pagesRene Hennig
2018-10-11Adds `.json` to the end of pipelines endpointFilipa Lacerda
When the job page is rendered we fetch the pipeline endpoint to render the stages in the sidebar. Without `.json` the response is cached, and when the user goes back to the pipeline's page it renders the json output instead of the Vue app
2018-10-10Fix project deletion when there is a export availableStan Hu
Project deletions were failing with "Can't modify frozen hash" because: 1. Project#remove_exports was called in the after_destroy hook 2. This would remove the file and update ImportExportUpload 3. ImportExportUpload#save would attempt to write to a destroyed model To avoid this, we just check if ImportExportUpload has been destroyed before attempting to save it. This would have a side effect of not running after_commit hooks to delete the repository on disk, making it impossible to delete the project entirely. Closes #52362
2018-10-10Convert remaining issue board components into ES module syntaxMike Greiling
2018-10-10Enhance and test JSON schema for deploymentsPeter Leitzen
2018-10-10Remove Git circuit breakerZeger-Jan van de Weg
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
2018-10-10Improve spec for Gitlab::Ci::Status::Pipeline::FactoryShinya Maeda
2018-10-09enable jasmine/prefer-jasmine-matcherJohann Hubert Sonntagbauer
2018-10-09enable jasmine/new-line-between-declarationsJohann Hubert Sonntagbauer
2018-10-09Resolve "Harmonize prettier and eslint configs"Mike Greiling
2018-10-09Merge branch 'sh-handle-invalid-comparison' into 'master'Douwe Maan
Reject invalid branch names in repository compare controller Closes #51003 See merge request gitlab-org/gitlab-ce!22186
2018-10-09Merge branch 'rails5-user-status-spec' into 'master'Sean McGivern
Rails5: fix user edit profile clear status spec See merge request gitlab-org/gitlab-ce!22169
2018-10-08Reject invalid branch names in repository compare controllerStan Hu
Closes #51003
2018-10-08Merge branch 'osw-remove-dead-code-on-mr-show' into 'master'Robert Speicher
Removes expensive dead code on main MR page request Closes #51172 See merge request gitlab-org/gitlab-ce!22153
2018-10-08Clean up ActiveRecord code in TodoServiceYorick Peterse
This refactors the TodoService class according to our code reuse guidelines. The resulting code is a wee bit more verbose, but it allows us to decouple the column names from the input, resulting in fewer changes being necessary when we change the schema. One particular noteworthy line in TodoService is the following: todos_ids = todos.update_state(state) Technically this is a violation of the guidelines, because `update_state` is a class method, which services are not supposed to use (safe for a few allowed ones). I decided to keep this, since there is no alternative. `update_state` doesn't produce a relation so it doesn't belong in a Finder, and we can't move it to another Service either. As such I opted to just use the method directly. Cases like this may happen more frequently, at which point we should update our documentation with some sort of recommendation. For now, I want to refrain from doing so until we have a few more examples.
2018-10-08Clean up ActiveRecord code in TodosFinderYorick Peterse
This refactors the TodosFinder finder according to the new code reuse rules, as enforced by the CodeReuse cops. I also changed some of the methods to use regular if statements, instead of assignments and/or early returns. This results in a more natural flow when reading the code, and it makes it harder to accidentally return the wrong result.
2018-10-08Merge branch 'Fix-pipeline-redirect' into 'master'Grzegorz Bizon
Redirect to the pipeline builds page when a build is canceled Closes #39161 See merge request gitlab-org/gitlab-ce!21595
2018-10-08Merge branch 'rails5-mysql-schedule-build' into 'master'Douwe Maan
Rails 5: fix mysql milliseconds problems in scheduled build specs See merge request gitlab-org/gitlab-ce!22170
2018-10-08Merge branch 'increase-event-retention-prune-old-events-worker' into 'master'Douwe Maan
Prune events older than 2 years instead of 12 months See merge request gitlab-org/gitlab-ce!22145
2018-10-08Merge branch 'backport-ce-to-ee-spec-fix' into 'master'Rémy Coutable
Fix issues controller N+1 failure See merge request gitlab-org/gitlab-ce!22141
2018-10-06Merge branch 'bw-fix-checking-disabled-services' into 'master'51761-create-new-project-auto-populate-project-slug-string-to-project-name-if-name-is-emptyStan Hu
Check disabled_services when finding a service See merge request gitlab-org/gitlab-ce!22172
2018-10-06Check disabled_services when finding a serviceBrett Walker
2018-10-06Fix invalid parent path on group settings pageDmitriy Zaporozhets
2018-10-06Add button to insert table in markdown editorGeorge Tsiolis
2018-10-06Rails 5: fix mysql milliseconds problems in scheduled build specsJasper Maes
2018-10-06Rails5: fix user edit profile clear status specJasper Maes
2018-10-06Fix LFS uploaded images not being renderedOswaldo Ferreira
2018-10-06Merge branch 'ee-7126-admin-projects-geo-status' into 'master'Douglas Barbosa Alexandre
EE Backport: enable Geo Status widget in admin/projects See merge request gitlab-org/gitlab-ce!22161
2018-10-06Remove dead code on main MR pageOswaldo Ferreira
2018-10-06Prepare admin/projects/show view to allow EE specific featureGabriel Mazetto
In EE it will render a Geo Status widget when Geo is enabled and it is in a secondary node. Also added minimal specs to that action.