summaryrefslogtreecommitdiff
path: root/changelogs
Commit message (Collapse)AuthorAgeFilesLines
* Adds download CSV functionality to dropdown in metricsLaura Montemayor2019-08-141-0/+5
| | | | | | | 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.
* Add link to resend confirmation emailAlex Buijs2019-08-141-0/+5
| | | | | This link is shown when a user tries to login with an unconfirmed email address and the grace period has expired
* Changed selection classes to harmonize with other settingsMarc Schwede2019-08-141-0/+5
|
* Migrate remaining users with null private_profileAdam Hegyi2019-08-141-0/+5
|
* Merge remote-tracking branch ↵John T Skarbek2019-08-141-0/+5
|\ | | | | | | 'dev/security-2873-restrict-slash-commands-to-users-who-can-log-in'
| * Restrict slash commands to users who can log inHordur Freyr Yngvason2019-07-191-0/+5
| |
* | Revert "Merge branch '64341-data-and-privacy-agreement-for-gitlab-users' ↵Kushal Pandya2019-08-141-5/+0
| | | | | | | | | | | | into 'master'" This reverts merge request !30808
* | Track page views for cycle analytics show pageAdam Hegyi2019-08-141-0/+5
| | | | | | | | | | This change adds a new counter 'cycle_analytics_views' to the usage data metrics to count the page views for cycle analytics show page.
* | Fix style-lint errors in wiki.scssHimanshu Kapoor2019-08-141-0/+5
| | | | | | | | | | | | | | | | | | There were two errors: duplicate styles and @extend used with a class name. I added `.top-area` class to all the instances where `.wiki-page-header` is used since %top-area didn't really make a lot of sense as a placeholder selector. This is also consistent with behaviour on other pages where the `.top-area` class is used alongside the other classes for the specific header styling.
* | Merge branch 'sh-optimize-commit-deltas-post-receive' into 'master'Nick Thomas2019-08-141-0/+5
|\ \ | | | | | | | | | | | | | | | | | | Reduce Gitaly calls in PostReceive Closes #65878 See merge request gitlab-org/gitlab-ce!31741
| * | Reduce Gitaly calls in PostReceivesh-optimize-commit-deltas-post-receiveStan Hu2019-08-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reduces I/O load and memory utilization during PostReceive for the common case when no project hooks or services are set up. We saw a Gitaly N+1 issue in `CommitDelta` when many tags or branches are pushed. We can reduce this overhead in the common case because we observe that most new projects do not have any Web hooks or services, especially when they are first created. Previously, `BaseHooksService` unconditionally iterated through the last 20 commits of each ref to build the `push_data` structure. The `push_data` structured was used in numerous places: 1. Building the push payload in `EventCreateService` 2. Creating a CI pipeline 3. Executing project Web or system hooks 4. Executing project services 5. As the return value of `BaseHooksService#execute` 6. `BranchHooksService#invalidated_file_types` We only need to generate the full `push_data` for items 3, 4, and 6. Item 1: `EventCreateService` only needs the last commit and doesn't actually need the commit deltas. Item 2: In addition, `Ci::CreatePipelineService` only needed a subset of the parameters. Item 5: The return value of `BaseHooksService#execute` also wasn't being used anywhere. Item 6: This is only used when pushing to the default branch, so if many tags are pushed we can save significant I/O here. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65878 Fic
* | | Add notification for updated privacy policyDennis Tang2019-08-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This adds a notification to let users know of our updated privacy policy. Users can dismiss the notification either by following the link or closing the notification via an "x" icon.
* | | Merge branch '10-adjust-copy-for-adding-additional-members' into 'master'Tim Zallmann2019-08-141-0/+5
|\ \ \ | | | | | | | | | | | | | | | | Adjust copy for adding additional members See merge request gitlab-org/gitlab-ce!31726
| * | | Add changelog entry10-adjust-copy-for-adding-additional-membersAlex Buijs2019-08-121-0/+5
| | | |
* | | | Merge branch '66008-fix-project-image-in-slack-notifications' into 'master'Robert Speicher2019-08-131-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix project avatar image in Slack pipeline notifications Closes #66008 See merge request gitlab-org/gitlab-ce!31788
| * | | | Fix project image in Slack pipeline notifications66008-fix-project-image-in-slack-notificationsNathan Friend2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the project avatar images that are rendered in the footer of Slack pipeline notifications. Previously, the image URLs provided to Slack were relative URLs; now they are absolute.
* | | | | Add usage pings for source code pushesIgor2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | Source Code Usage Ping for Create SMAU
* | | | | Merge branch 'bump_helm_kubectl_gitlab' into 'master'Douglas Barbosa Alexandre2019-08-131-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Bump Helm to 2.14.3 and kubectl to 1.11.10 See merge request gitlab-org/gitlab-ce!31716
| * | | | | Bump Helm to 2.14.3 and kubectl to 1.11.10bump_helm_kubectl_gitlabThong Kuah2019-08-131-0/+5
| | | | | |
* | | | | | Rework retry strategy for remote mirrorsBob Van Landuyt2019-08-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Prevention of running 2 simultaneous updates** Instead of using `RemoteMirror#update_status` and raise an error if it's already running to prevent the same mirror being updated at the same time we now use `Gitlab::ExclusiveLease` for that. When we fail to obtain a lease in 3 tries, 30 seconds apart, we bail and reschedule. We'll reschedule faster for the protected branches. If the mirror already ran since it was scheduled, the job will be skipped. **Error handling: Remote side** When an update fails because of a `Gitlab::Git::CommandError`, we won't track this error in sentry, this could be on the remote side: for example when branches have diverged. In this case, we'll try 3 times scheduled 1 or 5 minutes apart. In between, the mirror is marked as "to_retry", the error would be visible to the user when they visit the settings page. After 3 tries we'll mark the mirror as failed and notify the user. We won't track this error in sentry, as it's not likely we can help it. The next event that would trigger a new refresh. **Error handling: our side** If an unexpected error occurs, we mark the mirror as failed, but we'd still retry the job based on the regular sidekiq retries with backoff. Same as we used to The error would be reported in sentry, since its likely we need to do something about it.
* | | | | | Merge branch 'sh-only-flush-tags-once-per-push' into 'master'Douwe Maan2019-08-131-0/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Only expire tag cache once per push See merge request gitlab-org/gitlab-ce!31641
| * | | | | Only expire tag cache once per pushsh-only-flush-tags-once-per-pushStan Hu2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously each tag in a push would invoke the Gitaly `FindAllTags` RPC since the tag cache would be invalidated with every tag. We can eliminate those extraneous calls by expiring the tag cache once in `PostReceive` and taking advantage of the cached tags. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/65795
* | | | | | representing error message with .flash-container elementMesut Güneş2019-08-131-0/+5
| | | | | |
* | | | | | Update personal access token api scope descriptionNick Kipling2019-08-131-0/+6
|/ / / / /
* | | | | Merge branch '65803-invalidate-branches-cache-on-refresh' into 'master'Bob Van Landuyt2019-08-131-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Only expire branch cache once per push See merge request gitlab-org/gitlab-ce!31653
| * | | | | Invalidate branches cache on PostReceivePatrick Bajao2019-08-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever `PostReceive` is enqueued, `UpdateMergeRequestsWorker` is enqueued and `MergeRequests::RefreshService` is called, it'll check if the source branch of each MR asssociated to the push exists or not via `MergeRequest#source_branch_exists?`. The said method will call `Repository#branch_exists?` which is cached in `Rails.cache`. When the cache contains outdated data and the source branch actually exists, the `MergeRequests#RefreshService` job will close associated MRs which is not correct. The fix is to expire the branches cache of the project so we have updated data during the post receive hook which will help in the accuracy of the check if we need to close associated MRs or not.
* | | | | | Merge branch 'fix-filename-length' into 'master'Rémy Coutable2019-08-132-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure changelog filenames have length less than 99 characters See merge request gitlab-org/gitlab-ce!31752
| * | | | | | Rename changelog files to have their less than 100 characters longBalasankar "Balu" C2019-08-132-0/+0
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* | | | | | Upgrade Gitaly to v1.59.0GitalyBot2019-08-131-0/+5
|/ / / / /
* | | | | Improve quick action error messagesHeinrich Lee Yu2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | Standardize punctuation and format
* | | | | Merge branch ↵Thong Kuah2019-08-121-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '63942-remove-config-action_dispatch-use_authenticated_cookie_encryption-configuration' into 'master' Remove `config.action_dispatch.use_authenticated_cookie_encryption` configuration Closes #63942 See merge request gitlab-org/gitlab-ce!31463
| * | | | | Enable use of Rails' new cookie encryptionHeinrich Lee Yu2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old cookies are still valid and are automatically upgraded by Rails
* | | | | | Merge branch 'ce-12547-load-search-counts-async' into 'master'Michael Kozono2019-08-121-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Load search result counts asynchronously (CE) See merge request gitlab-org/gitlab-ce!31663
| * | | | | | Load search result counts asynchronouslyMarkus Koller2019-08-121-0/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Querying all counts for the different search results in the same request led to timeouts, so we now only calculate the count for the *current* search results, and request the others in separate asynchronous calls.
* | | | | | Merge branch 'sh-fix-import-export-suggestions' into 'master'Michael Kozono2019-08-121-0/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly save suggestions in project exports Closes #65880 See merge request gitlab-org/gitlab-ce!31690
| * | | | | Properly save suggestions in project exportssh-fix-import-export-suggestionsStan Hu2019-08-101-0/+5
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously imports would fail if a merge request note included a suggestion with an `ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection` exception. This was happening because suggestions were listed as a descendant of merge requests, but this doesn't work because suggestions are directly associated with notes, not merge requests, and that association is lost. Rails also disallows creating intializing a has_many association through a different object. We fix this by making `suggestions` a child of `notes` within a merge request. This doesn't fix previously broken exported project exports, but new exports will work. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65880
* | | | | Merge branch '65790-highlight' into 'master'Annabel Dunstone Gray2019-08-121-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds highlight to collapsible line in job log Closes #65790 See merge request gitlab-org/gitlab-ce!31665
| * | | | | Adds highlight to collapsible lineFilipa Lacerda2019-08-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the job log adds a highlight when hovering the collapsible line
* | | | | | Resolve "Add externalization and fix regression in shortcuts helper modal"Thomas Randolph2019-08-121-0/+6
| | | | | |
* | | | | | Merge branch 'update-graphicsmagick-to-1.3.33' into 'master'Stan Hu2019-08-121-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update GraphicsMagick from 1.3.29 to 1.3.33 See merge request gitlab-org/gitlab-ce!31692
| * | | | | | Update GraphicsMagick from 1.3.29 to 1.3.33 for CI testsTakuya Noguchi2019-08-121-0/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* | | | | | Merge branch '65278-fix-puma-master-counter-wipe' into 'master'Stan Hu2019-08-121-0/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Fix active metric files being wiped after the app starts See merge request gitlab-org/gitlab-ce!31668
| * | | | | Fix metric files being wiped after the app startsAleksei Lipniagov2019-08-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we hit our app with the initial request, in `warmup`, some metrics already being created as well as corresponding files. If we do `multiproc_file_dir` cleanup after that, we delete the files from the dir while keeping them in memory which leads to the incorrect behavior: the metric is being updated in in-memory, while is not present in the db, not sent to Prometheus as the result.
* | | | | | Merge branch 'georgekoltsov/63408-user-mapping' into 'master'Grzegorz Bizon2019-08-121-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add author lines to project import comments See merge request gitlab-org/gitlab-ce!31579
| * | | | | | Apply code review feedbackGeorge Koltsov2019-08-081-2/+1
| | | | | | |
| * | | | | | Add changelog entryGeorge Koltsov2019-08-071-0/+6
| | | | | | |
* | | | | | | Merge branch 'georgekoltsov/51260-add-filtering-to-bitbucket-server-import' ↵Tim Zallmann2019-08-121-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Add BitBucketServerImport project filtering See merge request gitlab-org/gitlab-ce!31420
| * | | | | | | Add BitbucketServerController filtering specGeorge Koltsov2019-08-121-1/+1
| | | | | | | |
| * | | | | | | Add changelog entryGeorge Koltsov2019-08-121-0/+5
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge branch 'alipniagov-fix-wiki_can_not_be_created_total-counter' into ↵Thong Kuah2019-08-121-0/+5
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Fix :wiki_can_not_be_created_total counter See merge request gitlab-org/gitlab-ce!31673