summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Remove old migrations and specs44990-remove-old-iHeinrich Lee Yu2019-07-032-95/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This removes old migrations that violate the FactoriesinMigrationSpecs cop
| * | | | Show upcoming status for releasesJason Goodman2019-07-033-1/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | Add released_at field to releases API Add released_at column to releases table Return releases to the API sorted by released_at
| * | | Add username to deploy tokensKrasimir Angelov2019-07-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new attribute is optional and used when set instead of the default format `gitlab+deploy-token-#{id}`. Empty usernames will be saved as null in the database. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/50228.
| * | | Merge branch '63690-issue-trackers-title' into 'master'Dmitriy Zaporozhets2019-07-021-0/+1
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Use title and description fields for issue trackers Closes #63690 See merge request gitlab-org/gitlab-ce!30096
| | * | Use title and description fields for issue trackers63690-issue-trackers-titleJarka Košanová2019-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | - instead of using properties - backward compatibility has to be kept for now
| * | | Merge branch '59177-squash-old-migrations' into 'master'harish-and-cindy-ssl-check-rake-taskharish-and-cindy-ldap-sync-rake-tasksDmitriy Zaporozhets2019-07-027-880/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash old migrations Closes #59177 See merge request gitlab-org/gitlab-ce!30226
| | * | | Remove background migrations for old schemasNick Thomas2019-07-027-880/+0
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the assumption that a background migration whose specs need a schema older than 2018 is obsoleted by this migration squash, we can remove both specs and code for those that fail to run in CI as a result of the schema at that date no longer existing. This is true for all but the MigrateStageStatus background migration, which is also used from the MigrateBuildStage background migration.
| * | | Merge branch '58808-fix-image-diff-on-text' into 'master'James Lopez2019-07-021-0/+33
| |\ \ \ | | |/ / | |/| | | | | | | | | | Don't show image diff note on text file See merge request gitlab-org/gitlab-ce!30221
| | * | Don't show image diff note on text file58808-fix-image-diff-on-textPatrick Bajao2019-07-011-0/+33
| | |/
| * | Merge branch '9491-graphql-view-design-board-at-version-ce' into 'master'Nick Thomas2019-07-011-0/+44
| |\ \ | | |/ | |/| | | | | | | CE backport for "Show design boards at previous versions in GraphQL" See merge request gitlab-org/gitlab-ce!30151
| | * CE backport for changes in EE MR 142929491-graphql-view-design-board-at-version-ceLuke Duncalfe2019-06-281-0/+44
| | | | | | | | | | | | | | | EE MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14292 https://gitlab.com/gitlab-org/gitlab-ee/issues/9491
| * | Merge branch 'tc-rake-orphan-artifacts' into 'master'Dmitriy Zaporozhets2019-07-012-0/+134
| |\ \ | | | | | | | | | | | | | | | | Add rake task to clean orphan artifact files See merge request gitlab-org/gitlab-ce!29681
| | * | Add rake task to clean orphan artifact filestc-rake-orphan-artifactsToon Claes2019-06-282-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the rake task rake gitlab:cleanup:orphan_job_artifact_files. This rake task cleans all orphan job artifact files it can find on disk. It performs a search on the complete folder of all artifacts on disk. Then it filters out all the job artifact ID for which it could not find a record with matching ID in the database. For these, the file is deleted from disk.
| * | | Merge branch 'add-clusters-to-deployment' into 'master'Lin Jen-Shin2019-07-011-18/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Add clusters association to deployment See merge request gitlab-org/gitlab-ce!29960
| | * | | Drop fallback to deployment platformThong Kuah2019-06-271-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All deployments should have already their cluster_id filled in on creation. Legacy deployments will not be retried as:- * Ci::Build#retry calls `Ci::RetryBuildService` * Ci::Pipeline#retry calls `Ci::RetryPipelineService` which also calls `Ci::RetryBuildService` * `Ci::RetryBuildService` will clone a build to retry It is also impossibly to backfill Deployment#cluster_id from Project#deployment_platform correctly as clusters could have been deleted, added or altered in the intervening time.
| * | | | Merge branch '63874-use-process-cpu-time-instead-of-thread-for-cpu-metrics' ↵Stan Hu2019-06-281-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Use PROCESS_CPUTIME_ID for cpu time metrics Closes #63874 See merge request gitlab-org/gitlab-ce!30166
| | * | | | Fix spec definitions63874-use-process-cpu-time-instead-of-thread-for-cpu-metricsAleksei Lipniagov2019-06-281-2/+2
| | | | | |
| * | | | | Replace 'JIRA' with 'Jira'Takuya Noguchi2019-06-283-5/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
| * | | | Merge branch '3264-project-aliases-ce' into 'master'Bob Van Landuyt2019-06-281-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14108 See merge request gitlab-org/gitlab-ce!29604
| | * | | | Add project_aliases to be imported/exportedPatrick Bajao2019-06-261-0/+1
| | | | | |
| * | | | | Merge branch 'sh-support-subnets-ip-rate-limiter' into 'master'Thong Kuah2019-06-281-0/+65
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support CIDR notation in IP rate limiter See merge request gitlab-org/gitlab-ce!30146
| | * | | | | Support CIDR notation in IP rate limitersh-support-subnets-ip-rate-limiterStan Hu2019-06-271-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it possible to whitelist multiple IP addresses (e.g. 192.168.0.1/24).
| * | | | | | Merge branch 'graphql-tree-last-commit' into 'master'Lin Jen-Shin2019-06-281-0/+20
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Added commit type to tree GraphQL type See merge request gitlab-org/gitlab-ce!29412
| | * | | | | Added commit type to tree GraphQL typePhil Hughes2019-06-281-0/+20
| | | |_|/ / | | |/| | |
| * | | | | Merge branch '62826-graphql-emoji-mutations' into 'master'Jan Provaznik2019-06-282-1/+22
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | GraphQL mutations for add, remove and toggle emoji See merge request gitlab-org/gitlab-ce!29919
| | * | | | GraphQL mutations for add, remove and toggle emoji62826-graphql-emoji-mutationsLuke Duncalfe2019-06-282-1/+22
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding new `AddAwardEmoji`, `RemoveAwardEmoji` and `ToggleAwardEmoji` GraphQL mutations. Adding new `#authorized_find_with_pre_checks!` and (unused, but for completeness `#authorized_find_with_post_checks!`) authorization methods. These allow us to perform an authorized find, and run our own additional checks before or after the authorization runs. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826
| * | | | Support jsonb Default Value in add_column_with_default Migration HelperJason Goodman2019-06-281-0/+18
| |/ / /
| * | | Add permission check to dashboardsSarah Yasonik2019-06-274-8/+27
| |/ / | | | | | | | | | | | | | | | Adds permission checks to the metrics_dashboard endpoint. Users with role of Reporter or above should have access to view the metrics for a given project.
* | | Prevent Billion Laughs attackFabio Pitino2019-07-023-4/+132
| | | | | | | | | | | | | | | | | | It keeps track of the memory being used when loading the YAML file as well as the depth of nesting. Track exception when YAML is too big
* | | Merge branch 'security-bvl-enforce-graphql-type-authorization' into 'master'Marin Jankovski2019-07-021-34/+48
|\ \ \ | | | | | | | | | | | | | | | | Fix type authorizations in GraphQL See merge request gitlab/gitlabhq!3170
| * | | Enforce authorizations for non-nullable fieldsBob Van Landuyt2019-06-211-34/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure we also enforce authorizations for non-nullable fields. We are defining our authorizations on the unwrapped types (Repository). But when a type like that is presented in a non-nullable field, it's type is different (Repository!). The non-nullable type would not have the authorization metadata. This makes sure we check the metadata on the unwrapped type for finding authorizations.
* | | | Merge branch 'security-59581-related-merge-requests-count' into 'master'Marin Jankovski2019-07-021-4/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Expose merge requests count based on user access See merge request gitlab/gitlabhq!3157
| * | | Expose merge requests count based on user accessAlexandru Croitor2019-06-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Count issues related merge requests based on user access level. And issue can have related MRs from projects where user does not have access so the number of related merge requests should be adjusted based on user's ability to access the related MRs. https://gitlab.com/gitlab-org/gitlab-ce/issues/59581
* | | | Merge branch 'sh-cache-negative-entries-find-commit' into 'master'Douglas Barbosa Alexandre2019-06-261-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Allow caching of negative FindCommit matches See merge request gitlab-org/gitlab-ce!29952
| * | | | Allow caching of negative FindCommit matchessh-cache-negative-entries-find-commitStan Hu2019-06-251-0/+13
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | When FindCommit ref caching is enabled, negative matches would previously not be cached. However, if a source branch is deleted, there's no need to keep looking up the same commit. This change caches the result of a nil commit.
* | | | Merge branch 'graphql-error-when-authorizing-with-no-permissions-defined' ↵Bob Van Landuyt2019-06-261-12/+39
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | into 'master' Sanity check for GraphQL authorized? See merge request gitlab-org/gitlab-ce!29921
| * | | Remove unused authorized_find methodgraphql-error-when-authorizing-with-no-permissions-definedLuke Duncalfe2019-06-261-18/+0
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29921#note_184713939
| * | | Sanity check for GraphQL authorized?Luke Duncalfe2019-06-261-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise an exception if a developer calls any of the GraphQL authorization methods and a `authorize :permission` is missing from a mutation class. Previously `authorized?` would return `true` in this situation, which although technically is accurate is not what a developer is intending.
* | | | Parse the cached value when the it is falseDouglas Barbosa Alexandre2019-06-251-1/+34
|/ / /
* | | Fix broken worktree testGitalyBot2019-06-251-9/+9
| | | | | | | | | | | | | | | The setup was wrong, and due to Gitaly being a bit more strict it had to match up. The test is now accurate and passing again.
* | | Use project depended feature flag for pages sslpages-ssl-project-aware-feature-flagVladimir Shushlin2019-06-252-36/+56
| | | | | | | | | | | | | | | Also add ::Gitlab::LetsEncrypt.enabled? shortcut and simplify it a lot
* | | Rename to time_tracking_limit_to_hours30355-use-hours-only-for-time-trackingHeinrich Lee Yu2019-06-251-0/+43
| | | | | | | | | | | | Changes migration and all other places the attribute is used
* | | Merge branch 'refactor_deployment_cluster' into 'master'Stan Hu2019-06-241-4/+4
|\ \ \ | | | | | | | | | | | | | | | | Refactor Deployment#cluster to #deployment_platform_cluster See merge request gitlab-org/gitlab-ce!29961
| * | | Rename method to not clash with #clusterrefactor_deployment_clusterThong Kuah2019-06-241-4/+4
| | | | | | | | | | | | | | | | | | | | We will introduce #cluster at a later stage. Also deprecate this method
* | | | Revert "Merge branch..."Kamil Trzciński2019-06-242-9/+9
| | | | | | | | | | | | | | | | This reverts merge request !29832
* | | | Merge branch 'search-blob-basenames' into 'master'Kamil Trzciński2019-06-241-7/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Build correct basenames for title search results See merge request gitlab-org/gitlab-ce!29898
| * | | | Build correct basenames for title search resultssearch-blob-basenamesMarkus Koller2019-06-201-7/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "basename" here needs to be the full path without the trailing extension, instead of stripping the leading path as well. This was previously fixed in 2f36efa0871 inside the view, but the problematic code was still present in FoundBlob, and the corresponding spec didn't actually use a child wiki page to properly verify the fix.
* | | | | Merge branch 'ci-pipeline-build-seed-spec-refactor' into 'master'Kamil Trzciński2019-06-241-47/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | RSpec::Parameterized syntax for CI pipeline build seed specs See merge request gitlab-org/gitlab-ce!29947
| * | | | | RSpec::Parameterized syntax for CI pipeline build seed specsdrew cimino2019-06-211-47/+43
| | | | | |
* | | | | | Merge branch 'fix-labels-in-hooks' into 'master'Ash McKenzie2019-06-242-8/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix label serialisation in issue and note hooks Closes #63473 See merge request gitlab-org/gitlab-ce!29850