summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Guard against nested allows with ref name cachingsh-fix-gitaly-find-commit-cachingStan Hu2019-03-272-1/+2
| | | | | | | | | | | | This avoids the case: ``` allow_ref_name_caching do allow_ref_name_caching do # using-feature end end ```
* Allow ref name caching CommitService#find_commitStan Hu2019-03-278-14/+69
| | | | | | | | | | | | | | | | | | For a given merge request, it's quite common to see duplicate FindCommit Gitaly requests because the Gitaly CommitService caches the request by the commit SHA, not by the ref name. However, most of the duplicate requests use the ref name, so the cache is never actually used in practice. This leads to unnecessary requests that slow performance. This commit allows certain callers to bypass the ref name to OID conversion in the cache. We don't do this by default because it's possible the tip of the branch changes during the commit, which would cause the caller to get stale data. This commit also forces the Ci::Pipeline to use the full ref name so that caching can work for merge requests. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57083
* Merge branch '13784-validate-variables-for-masking' into 'master'Kamil Trzciński2019-03-2717-50/+195
|\ | | | | | | | | | | | | Add control for masking variable values in runner logs Closes #13784 See merge request gitlab-org/gitlab-ce!25476
| * Scaffold UI elements for minimal versionMiranda Fluharty2019-03-2717-50/+195
|/ | | | | Add a masked switch to variable rows Copy some behavior from the protected switch
* Merge branch 'refactor-verify-pages-domain-specs' into 'master'Kamil Trzciński2019-03-271-50/+92
|\ | | | | | | | | Refactor verify_pages_domain_service specs See merge request gitlab-org/gitlab-ce!26178
| * Refactor verify_pages_domain_service specsVladimir Shushlin2019-03-271-50/+92
|/ | | | | | | Add specs for new/disabled pages domain Extract contexts from examples Use `let` instead of `set` since domain is being changed in each example
* Merge branch 'qa-ml-feature-flag-command-line' into 'master'Dan Davison2019-03-2719-26/+259
|\ | | | | | | | | | | | | [QA] Toggle Gitaly N+1 detector via feature flag and run tests Closes gitlab-qa#374 See merge request gitlab-org/gitlab-ce!26060
| * Set feature flag via command lineMark Lapierre2019-03-2719-26/+259
|/ | | | | | | | | | | First attempt at allowing a feature flag to be set via the command line when running tests. This will enable the flag, run the tests, and then disable the flag. Using OptionParser meant changing how scenarios get the instance address, so this also allows the address to be set as a command line option. It's backwards compatible (you can still provide the address as the command line option after the scenario)
* Merge branch 'leipert-upgrade-bootstrap-ce' into 'master'Clement Ho2019-03-275-17/+84
|\ | | | | | | | | | | | | Update bootstrap to 4.3.1 Closes #52091 See merge request gitlab-org/gitlab-ce!25911
| * Disable icons in bootstrap form validationLukas Eipert2019-03-271-0/+8
| | | | | | | | See https://gitlab.com/gitlab-org/design.gitlab.com/issues/242
| * Whitelist additional elements and attributesLukas Eipert2019-03-271-0/+60
| | | | | | | | | | | | Bootstrap 4.3.1 introduced sanitation for HTML popovers / tooltips. The rules are rather strict, so we extend the default whitelists with safe attributes / tags.
| * Update bootstrap to 4.3.1Lukas Eipert2019-03-273-17/+16
| |
* | Merge branch 'docs/improve-auto-fetch-endpoint' into 'master'Achilleas Pipinellis2019-03-271-5/+11
|\ \ | | | | | | | | | | | | Expand and improve autofetch of endpoint section See merge request gitlab-org/gitlab-ce!26303
| * | Expand and improve autofetch of endpoint sectionEvan Read2019-03-271-5/+11
|/ /
* | Merge branch 'docs-disable_nfs_delegation' into 'master'Achilleas Pipinellis2019-03-271-3/+2
|\ \ | | | | | | | | | | | | Recommend disabling NFS server delegation See merge request gitlab-org/gitlab-ce!26668
| * | Recommend disabling NFS server delegationDrew Blessing2019-03-271-3/+2
| | |
* | | Merge branch 'osw-multi-line-suggestions-creation-strategy' into 'master'Andreas Brandl2019-03-2728-147/+633
|\ \ \ | | | | | | | | | | | | | | | | Prepares suggestion implementation for multi-line support See merge request gitlab-org/gitlab-ce!26057
| * | | Prepare suggestion implementation for multi-lineOswaldo Ferreira2019-03-2728-149/+613
| | | | | | | | | | | | | | | | | | | | | | | | Adds the groundwork needed in order to persist multi-line suggestions, while providing the parsing strategy which will be reused for the **Preview** as well.
| * | | Add multi-line suggestion migrationsOswaldo Ferreira2019-03-262-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds outdated, lines_above and lines_below columns to suggestions table. outdated - boolean which represents whether the suggestion is outdated or not. For instance, if any line changed after you left the multi-line suggestion, even though the note is not outdated, it helps tracking if the content has changed in the latest file. We cache this information in a column given it's not a cheap operation to do for every suggestion in the request time. lines_below, lines_above - persists the parsed arguments from `suggestion:-10+3` syntax, where `10` would be lines_above and 3 lines_below. We need that to dynamically calculate which lines we should monitor for outdating / persisting the correct content in from_content column.
* | | | Merge branch 'mw-i18n-controllers' into 'master'Rémy Coutable2019-03-2736-108/+374
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Externalize strings in controllers See merge request gitlab-org/gitlab-ce!26420
| * | | Externalize strings in projects controllersMartin Wortschack2019-03-2736-108/+374
|/ / / | | | | | | | | | | | | | | | | | | - concerns - dashboard - groups - import
* | | Merge branch 'issue_58547' into 'master'Nick Thomas2019-03-273-0/+55
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Add API access check to Graphql Closes #58547 See merge request gitlab-org/gitlab-ce!26570
| * | Add API access check to GraphqlFelipe Artur2019-03-273-0/+55
|/ / | | | | | | Check if user can access API on GraphqlController
* | Merge branch '10714-env-table' into 'master'Phil Hughes2019-03-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Removes EE differences for environments_table Closes gitlab-ee#10714 See merge request gitlab-org/gitlab-ce!26655
| * | Removes EE differences for environments_tableFilipa Lacerda2019-03-271-1/+1
| | |
* | | Merge branch '10719-stage-spec' into 'master'Phil Hughes2019-03-271-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Removes EE differences for stage_column_component_spec Closes gitlab-ee#10719 See merge request gitlab-org/gitlab-ce!26659
| * | | Removes EE differences for stage_column_component_specFilipa Lacerda2019-03-271-1/+1
| |/ /
* | | Merge branch '10711-pipeline-bundle' into 'master'Phil Hughes2019-03-272-9/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Removes EE differences for pipelines_details_bundle Closes gitlab-ee#10711 See merge request gitlab-org/gitlab-ce!26654
| * | | Removes EE differences for pipelines_details_bundleFilipa Lacerda2019-03-272-9/+10
| |/ /
* | | Merge branch '10708-environments-scss' into 'master'Phil Hughes2019-03-271-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Removes EE differences for environments.scss Closes gitlab-ee#10708 See merge request gitlab-org/gitlab-ce!26648
| * | | Removes EE differences for environments.scssFilipa Lacerda2019-03-271-1/+3
| |/ /
* | | Merge branch 'winh-cleanup-note_form_spec' into 'master'Fatih Acet2019-03-271-6/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove top-level mount from note_form_spec.js Closes #59114 See merge request gitlab-org/gitlab-ce!26616
| * | | Remove top-level mount from note_form_spec.jsWinnie Hellmann2019-03-261-6/+12
| | | |
* | | | Merge branch 'qa-create-personal-access-token-in-seeds' into 'master'Andreas Brandl2019-03-271-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add seed for personal access token Closes #59500 See merge request gitlab-org/gitlab-ce!26582
| * | | | Add seed for personal access tokenSanad Liaquat2019-03-261-0/+15
| |/ / /
* | | | Merge branch 'update-security-mr-templates' into 'master'Robert Speicher2019-03-271-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the MR template for security MRs Closes gitlab-org/release/framework#256 See merge request gitlab-org/gitlab-ce!26658
| * | | | Update the MR template for security MRsYorick Peterse2019-03-271-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes two changes to the template: 1. EE MRs are now always required (see https://gitlab.com/gitlab-org/release/framework/issues/256 for a backstory). 2. We clarify that a release manager is not a suitable reviewer for security merge requests.
* | | | | Merge branch 'sh-optimize-projects-api' into 'master'Douwe Maan2019-03-274-10/+89
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Optimize /api/v4/projects endpoint for visibility level See merge request gitlab-org/gitlab-ce!26481
| * | | | Skip querying for private projects if they are not requestedStan Hu2019-03-271-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the requested visibility levels contains only public and/or internal, omitting private, then we can skip the EXISTS query to search for private projects for the user.
| * | | | Optimize /api/v4/projects endpoint for visibility levelStan Hu2019-03-274-7/+71
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when a user requested a list of projects, `Project#public_or_visible_to_user` would search all authorized projects and public/internal projects as well. However, when a user requests a specific `visibility_level` (e.g. private), that should reduce the search space, and we shouldn't need to load public/internal projects. Improves https://gitlab.com/gitlab-org/gitlab-ce/issues/59329
* | | | Merge branch 'qa-dd-unquarantine-autodevops-test' into 'master'Mark Lapierre2019-03-271-2/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Unquarantine previously failing auto devops test See merge request gitlab-org/gitlab-ce!26641
| * | | | Unquarantine previously failing auto devops testDan Davison2019-03-271-2/+1
|/ / / / | | | | | | | | | | | | | | | | The smoke test for AutoDevOps was previously failing. This test is now passing and ready to be unquarantined
* | | | Merge branch '10710-pipeline-store' into 'master'Phil Hughes2019-03-271-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes extra space in CE Closes gitlab-ee#10710 See merge request gitlab-org/gitlab-ce!26649
| * | | | Removes extra space in CEFilipa Lacerda2019-03-271-1/+0
| |/ / /
* | | | Merge branch '6658-issuable-css' into 'master'Phil Hughes2019-03-271-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Removes EE differences for issuable.scss See merge request gitlab-org/gitlab-ce!26588
| * | | | Removes EE differences for issuable.scssFilipa Lacerda2019-03-261-1/+7
| | | | |
* | | | | Merge branch '59502-fix-breadcrumb-artifacts' into 'master'Phil Hughes2019-03-273-1/+12
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Fixes link in artifacts breadcrumb Closes #59502 See merge request gitlab-org/gitlab-ce!26592
| * | | | Fixes link in artifacts breadcrumbFilipa Lacerda2019-03-273-1/+12
|/ / / / | | | | | | | | | | | | | | | | The link to the job page was not set properly, with this commit it links to the correct job page.
* | | | Merge branch 'winh-assignees_spec' into 'master'Filipa Lacerda2019-03-271-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy missing test in assignees_spec.js from EE Closes gitlab-ee#6641 See merge request gitlab-org/gitlab-ce!26618
| * | | | Copy missing test in assignees_spec.js from EEWinnie Hellmann2019-03-261-0/+13
| | |_|/ | |/| |