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
2019-08-19Clean Sidekiq metrics from multiproc dir on startAleksei Lipniagov
After moving the multiproc dir cleanup into `config.ru`:`warmup`, we stopped cleaning Sidekiq metrics dir which is not correct. This MR intended to fix that. More details: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31668
2019-08-19Add warning when LE certificate can't be obtainedVladimir Shushlin
* Refactor some tests as well
2019-08-19Move cycle analytics stages templates to vueEzekiel Kigbo
The existing stage list items are rendered in haml, migrating them to vuejs for future work. Fix alignment of median value Test for stage_nav_item.vue
2019-08-17Fix pipelines not always being created after a pushStan Hu
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31741 introduced a regression where not all the right parameters would be passed into `Ci::CreatePipelineService`. We fix this by breaking out the pipeline parameters and reusing a method from `Gitlab::DataBuilder::Push`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66196
2019-08-17UI for disabling group/project email notificationBrett Walker
- Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
2019-08-17Merge branch 'legacy-attachments-migrate-fix' into 'master'Michael Kozono
Migrate legacy uploads rake tasks See merge request gitlab-org/gitlab-ce!29409
2019-08-16Merge branch '66023-starrers-count-do-not-match-after-searching' into 'master'Stan Hu
Fix starrers counts after searching See merge request gitlab-org/gitlab-ce!31823
2019-08-16Merge branch 'dm-process-commit-worker-n+1' into 'master'Stan Hu
Look up upstream commits once before queuing ProcessCommitWorkers Closes #65464 See merge request gitlab-org/gitlab-ce!31871
2019-08-16Expire project caches once per push instead of once per refStan Hu
Previously `ProjectCacheWorker` would be scheduled once per ref, which would generate unnecessary I/O and load on Sidekiq, especially if many tags or branches were pushed at once. `ProjectCacheWorker` would expire three items: 1. Repository size: This only needs to be updated once per push. 2. Commit count: This only needs to be updated if the default branch is updated. 3. Project method caches: This only needs to be updated if the default branch changes, but only if certain files change (e.g. README, CHANGELOG, etc.). Because the third item requires looking at the actual changes in the commit deltas, we schedule one `ProjectCacheWorker` to handle the first two cases, and schedule a separate `ProjectCacheWorker` for the third case if it is needed. As a result, this brings down the number of `ProjectCacheWorker` jobs from N to 2. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52046
2019-08-16Look up upstream commits once before queuing ProcessCommitWorkersDouwe Maan
Instead of checking if a commit already exists in the upstream project in its ProcessCommitWorker and bailing out if it does, we check the existence of all commits in bulk in Git::BranchHooksService, so that we can skip scheduling ProcessCommitWorker jobs for those commits that already exist upstream entirely.
2019-08-16Remove Security Dashboard feature flagrossfuhrman
This removes the group_overview_security_dashboard feature flag
2019-08-16Add clipboard button to metric chart dropdownTristan Read
Adds a clipboard button to the metrics dashboard, that allows copying a link to an individual chart.
2019-08-16Merge branch 'mc/feature/pipeline-tracking-config-ce' into 'master'Kamil Trzciński
Add `needs:` CI config option CE Closes gitlab-ee#12334 See merge request gitlab-org/gitlab-ce!31346
2019-08-16Merge branch 'fix/commits-api-empty-refname' into 'master'Nick Thomas
fix handling of empty ref_name parameter string in commits api Closes #64745 See merge request gitlab-org/gitlab-ce!31687
2019-08-16Merge branch '56130-deployment-date' into 'master'Grzegorz Bizon
Expose finished_at for the Deployment entity See merge request gitlab-org/gitlab-ce!31808
2019-08-16Merge branch ↵Grzegorz Bizon
'47003-user-onboarding-replace-current-email-confirmation-flow-with-a-soft-email-confirmation-flow' into 'master' Soft email confirmation flow Closes #47003 See merge request gitlab-org/gitlab-ce!31245
2019-08-16Merge branch 'dm-fix-quarantined-spec' into 'master'Nick Thomas
Fix quarantined spec by waiting for requests Closes #65329 See merge request gitlab-org/gitlab-ce!31862
2019-08-16Rewrite changed_file_icon_spec in JestPaul Slaughter
- Uses vue-test-utils - More complete coverage with parameterized tests
2019-08-16Add feature specs for multiple group issue boardsFelipe Artur
Add feature specs for multiple issue boards for groups
2019-08-16Merge branch 'fe-add-unbinds-to-discussion-keyboard-navigator' into 'master'Kushal Pandya
Add key unbinds to DiscussionKeyboardNavigator See merge request gitlab-org/gitlab-ce!31857
2019-08-16Add rake tasks for migrating leacy uploadsJarka Košanová
- move uploads created by AttachmentUploader - handle also files created for legacy_diff_notes
2019-08-16Merge branch '24705-multi-selection-for-delete-on-registry-page' into 'master'Thong Kuah
Resolve "Multi selection for delete on registry page" Closes #24705 See merge request gitlab-org/gitlab-ce!30837
2019-08-16Support query parameters in metrics embedsSarah Yasonik
https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support for embedding specific charts from the metrics dashboard. Expected parameters are dashboard, title, group, and y_label.
2019-08-15Squash project templates on updateHordur Freyr Yngvason
As per https://gitlab.com/gitlab-org/gitlab-ce/issues/46043, project templates should be squashed before updating, so that repositories created from these templates don't include the full history of the backing repository.
2019-08-15Merge branch 'sh-fix-discussions-spec' into 'master'Mayra Cabrera
Fix failing N+1 spec in spec/requests/api/discussions_spec.rb See merge request gitlab-org/gitlab-ce!31865
2019-08-15Migrations for Cycle Analytics backendAdam Hegyi
This change lays the foundation for customizable cycle analytics stages. The main reason for the change is to extract the event definitions to separate objects (start_event, end_event) so that it could be easily customized later on.
2019-08-15Fix failing N+1 spec in spec/requests/api/discussions_spec.rbStan Hu
This test was failing in EE because the API helper `get()` creates a personal access token each time it's run. We can avoid that by pre-creating a personal access token and passing it each time.
2019-08-15Only read rebase status from the modelNick Thomas
Prior to 12.1, rebase status was looked up directly from Gitaly. In https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14417 , a DB column was added to track the status instead. However, we couldn't stop looking at the gitaly status immediately, since some rebases may been running across the upgrade. Now that we're in 12.3, it is safe to remove the direct-to-gitaly lookup. This also happens to fix a 500 error that is seen when viewing an MR for a fork where the source project has been removed. We still look at the Gitaly status in the service, just in case Gitaly and Sidekiq get out of sync - I assume this is possible, and it's a relatively cheap check. Since we atomically check and set `merge_requests.rebase_jid`, we should never enqueue two `RebaseWorker` jobs in parallel.
2019-08-15Removes db/fixtures from database filesMayra Cabrera
This will avoid Danger to suggest a database review for files inside db/fixtures
2019-08-15Allow disabling group/project email notificationsBrett Walker
- Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
2019-08-15Fix starrers counters after searchingDouglas Barbosa Alexandre
2019-08-15Fix quarantined spec by waiting for requestsDouwe Maan
2019-08-15Merge branch 'dblessing-fix-public-project-ssh-only-ci-failure' into 'master'Douglas Barbosa Alexandre
Allow CI to clone public projects when HTTP protocol is disabled Closes #65805 See merge request gitlab-org/gitlab-ce!31632
2019-08-15Merge branch 'sh-fix-discussions-api-perf' into 'master'Douglas Barbosa Alexandre
Eliminate many Gitaly calls in discussions API Closes #65957 See merge request gitlab-org/gitlab-ce!31834
2019-08-15Add key unbinds to DiscussionKeyboardNavigatorPaul Slaughter
Also adds comment to explain why this works on the diff-tab when it's only used in `notes-app`. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30144#note_204066538
2019-08-15Eliminate many Gitaly calls in discussions APIStan Hu
Previously, the API to retrieve discussions from merge requests often generated hundreds of Gitaly calls to determine whether a system note should be shown to the user. It did this by: 1. Rendering the Markdown 2. Extracting cross-references from the Markdown 3. For cross-references that were commits, a Gitaly FindCommit RPC would be issued to validate that the commit exists. The last step is unnecessary because we don't need to display a commit if the user doesn't have access to the project in the first place. `RendersNotes#prepare_notes_for_rendering` is already used in `MergeRequestsController`, which is why we don't see N+1 Gitaly calls there. We use it here to optimize the note redaction process. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65957
2019-08-15Merge branch 'georgekoltsov/48854-fix-empty-flash-message' into 'master'Stan Hu
Exclude json content type from workhorse interception See merge request gitlab-org/gitlab-ce!31809
2019-08-15Merge branch '65278-livesum-puma-phase' into 'master'Kamil Trzciński
Remove :puma_phase metrics See merge request gitlab-org/gitlab-ce!31773
2019-08-15Merge branch 'allow-focus-in-specs' into 'master'Bob Van Landuyt
Allow to use focus: true in specs See merge request gitlab-org/gitlab-ce!31691
2019-08-15Add finished_at to the internal API Deployment entityKrasimir Angelov
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/56130.
2019-08-15Merge branch 'ce-11982-merge-trains-helper-text' into 'master'Paul Slaughter
CE backport for gitlab-org/gitlab-ee!14097: Add merge train helper text to merge request widget See merge request gitlab-org/gitlab-ce!30686
2019-08-15Adds download CSV functionality to dropdown in metricsLaura Montemayor
This MR adds the functionality to download metrics data as CSV. It also removes the exportMetricsToCsvEnabled feature flag which was used before the dropdown was implemented to display a button.
2019-08-15Merge branch ↵Stan Hu
'46548-open-source-alternative-to-recaptcha-for-gitlab-com-registration' into 'master' Open source alternative to reCAPTCHA for GitLab.com registration See merge request gitlab-org/gitlab-ce!31625
2019-08-15Add link to resend confirmation emailAlex Buijs
This link is shown when a user tries to login with an unconfirmed email address and the grace period has expired
2019-08-15Add merge train helper text to MR widget (CE)Nathan Friend
This commit adds a helper text that describes what will happen when a user clicks the "Start/Add to merge train when pipeline succeeds" button. This text appears at the bottom of the merge request widget. In addition, this commit renames the "merge_train_info" component to "merge_train_position_indicator" to avoid ambiguity with the "merge_train_helper_text" component.
2019-08-15Changed selection classes to harmonize with other settingsMarc Schwede
2019-08-14Make use of Gitlab::KubernetesJoão Cunha
- refactor Knative and Prometheus
2019-08-14Migrates Snowplow backend from EE to CEJeremy Jackson
This introduces several changes, but these are all just ported from the EE project.
2019-08-14Allow CI to clone public projects when HTTP protocol is disabledDrew Blessing
GitLab has a mechanism that allows CI to clone repositories via HTTP even when the HTTP protocol is disabled. This works as expected when a project is private or internal. However, when a project is public CI gets an error message that HTTP is not allowed. This happens because Git only sends auth in a subsequent request after a 401 is returned first. For public projects, GitLab grabs onto that unauthenticated request and sends it through since it recognizes that Guests are ordinarily allowed to access the repository. Later on this leads to a 403 since HTTP protocol is disabled. Fix this by only continuing with unauthenticated requests when HTTP is allowed.
2019-08-14Merge remote-tracking branch ↵John T Skarbek
'dev/security-2873-restrict-slash-commands-to-users-who-can-log-in'