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/lib
AgeCommit message (Collapse)Author
2019-08-29Allow project feature permissions to be overridden during importGeorge Koltsov
2019-08-29Merge branch 'local-test-failures' into 'master'Robert Speicher
git-user-related local test failures See merge request gitlab-org/gitlab-ce!31437
2019-08-29Auto create authorized_keys file if doesn't existPatrick Bajao
Utilize the auto repair functionality of system checks.
2019-08-29Refactor specs to use one-liner expectationPatrick Bajao
2019-08-29Add system check for authorized_keys file permPatrick Bajao
This check is being removed from gitlab-shell as the file is now being managed by gitlab-rails.
2019-08-29Remove the fallback path from gitlab-cePatrick Bajao
2019-08-29Merge branch 'mk/simplify-internal-post-receive-messages' into 'master'Grzegorz Bizon
Simplify internal post receive messages Closes #59808 See merge request gitlab-org/gitlab-ce!31640
2019-08-29Merge branch 'performance-bar-warnings' into 'master'Stan Hu
Add warnings to performance bar response See merge request gitlab-org/gitlab-ce!31054
2019-08-29Simplify internal post receive messagesMichael Kozono
Instead of sending varied data to Gitaly, and making Gitaly construct various messages, build the messages first and have Gitaly print either basic messages or alert messages, in the order they come. Depends on https://gitlab.com/gitlab-org/gitaly/merge_requests/1410
2019-08-28Save board lists collapsed settingFelipe Artur
Persists if a board list is collapsed for each user.
2019-08-28Support Gitaly feature flags in workhorseJacob Vosmaer
2019-08-28Add top-level warnings key to performance bar responseSean McGivern
This key is useful to reduce the amount of logic needed on the frontend: if `has_warnings` is true, then the frontend knows that the request in question has warnings for some metric.
2019-08-28Return warnings for performance bar from backendSean McGivern
For each DetailedView subclass, we add a `warnings` array to: 1. The top-level response. 2. Each individual call under the `details` key. We use the `.thresholds` hash on the DetailedView to determine what's a warning. If that hash is empty (the default), then the warnings array will always be empty.
2019-08-28Merge branch 'sh-fix-issue-move-api' into 'master'Grzegorz Bizon
Fix moving issues API failing when text includes commit URLs Closes #66666 See merge request gitlab-org/gitlab-ce!32317
2019-08-28Fix moving issues API failing when text includes commit URLsStan Hu
When a issue is moved from one project to another, all associated Markdown text is rewritten in the context of the new project. If the note contained a link to a commit URL, `CommitRewriter#rewrite` would fail because `Commit#link_reference_pattern` would match `nil` `commit` values in the HTML generated from the Markdown. These `nil` values were passed along to `Project#commits_by` because `Commit#reference_valid?` was always returning `true`. To prevent this issue from happening, we tighten up the check for `Commit#reference_valid?` to look for valid SHA values. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66666
2019-08-28Changes snowplow to use cookies for sessionsJeremy Jackson
This also restructures how and where the configuration for Snowplow lives.
2019-08-28Rename dev, org, com helperDoug Stull
2019-08-27Fix a nil error in Gitlab::Danger::TeammateRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27Merge branch ↵Lin Jen-Shin
'65312-use-group-labels-instead-of-legacy-team-labels-for-danger-picking-test-reviewers' into 'master' Detect the new stage labels in `Gitlab::Danger::Teammate` Closes #65312 See merge request gitlab-org/gitlab-ce!32261
2019-08-27Merge branch '13806-fix' into 'master'Lin Jen-Shin
Add nil check for Gitlab.config.prometheus Closes #13806 See merge request gitlab-org/gitlab-ce!32201
2019-08-27Detect the new stage labels in Gitlab::Danger::TeammateRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27Update docs and comments about saml with allow_bypass_two_factordodocat
allow_bypass_two_factor configration dose not work with saml provider
2019-08-27Revert "Merge branch 'user-tracking-settings' into 'master'"Jeremy Jackson
This reverts merge request !31826
2019-08-26Changes snowplow to use cookies for sessionsJeremy Jackson
This also restructures how and where the configuration for Snowplow lives.
2019-08-26Replace echo function with a resolverBrett Walker
The `GraphQL::Function` has been deprecated in favor of resolvers.
2019-08-26Change default visibility level for FogBugz imported projects to PrivateGeorge Koltsov
2019-08-26Add usage pings for merge request creatingIgor
Code Review Usage Ping for Create SMAU
2019-08-26Merge branch 'db_load_balancing_service_discovery_srv' into 'master'Kamil Trzciński
DB Load Balancing: Support SRV lookups See merge request gitlab-org/gitlab-ce!32135
2019-08-26Add nil check for Gitlab.config.prometheusrpereira2
2019-08-25Add helper to exactly undo cleanup_concurrent_column_renameReuben Pereira
- Also add helper to undo rename_column_concurrently.
2019-08-24Drop existing trigger before creating new oneReuben Pereira
- When renaming a column concurrently, drop any existing trigger before attempting to create a new one. When running migration specs multiple times (as it happens during local development), the down method of previous migrations are called. If any of the called methods contains a call to rename_column_concurrently, a trigger will be created and not removed. So, the next time a migration spec is run, if the same down method is executed again, it will cause an error when attempting to create the trigger (since it already exists). Dropping the trigger if it already exists will prevent this problem.
2019-08-24Add a link to docs in project descriptionReuben Pereira
Add to the service and migration both.
2019-08-23Implement validation logic to ProjectStageAdam Hegyi
- Introducting StageEvents to define the available events - Define the event pairing rules, since some events are not compatible - Express default Cycle Analytics stages with the event structure
2019-08-23Add label_id parameter to label API for PUT and DELETEPatrick Derichs
Add specs for new parameter and updated documentation as well.
2019-08-23Handle when server info doesn't have the storage in questionJohn Cai
2019-08-23Merge branch 'frozen_string_lib_2' into 'master'Nick Thomas
Add frozen_string_literal to lib part 2 See merge request gitlab-org/gitlab-ce!32094
2019-08-23Exempt `jwt/auth` for user `gitlab-ci-token` from rate limitingMarius Bobin
2019-08-23CE port: allow SRV records in DB service discoveryTiger
2019-08-23Expose namespace storage statistics with GraphQLAlessio Caiazza
Root namespaces have storage statistics. This commit allows namespace owners to get those stats via GraphQL queries like the following one { namespace(fullPath: "a_namespace_path") { rootStorageStatistics { storageSize repositorySize lfsObjectsSize buildArtifactsSize packagesSize wikiSize } } }
2019-08-22Log time spent on CPU to sidekiq.logBalakumar
2019-08-22Fix frozen string errorsThong Kuah
2019-08-22Merge branch 'feat/smime-signed-notification-emails' into 'master'Sean McGivern
feat: smime signed notification emails See merge request gitlab-org/gitlab-ce!30644
2019-08-22Add frozen_string_literal to lib part 2Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-08-21Merge branch 'sidekiq-interrupt-running-jobs-deadset' into 'master'Stan Hu
Put cancelled job in DeadSet See merge request gitlab-org/gitlab-ce!32070
2019-08-21Put cancelled job in DeadSetKamil Trzciński
This replicates Sidekiq behavior of pushing dead job into DeadSet.
2019-08-21Ensure CI matching operator receives an objectMarius Bobin
Ensure the evaluation of right-hand side expression always results in the returning of an object or an empty String
2019-08-21Properly handle `sidekiq` skipKamil Trzciński
Transform `CancelledError` into `JobRetry::Skip`
2019-08-21Improve resillency of monitorKamil Trzciński
- Retry connection when it fails - Properly shutdown daemon - Stop monitor if the Exception is raised - Properly guard exception handling
2019-08-21Perform cheap thread findKamil Trzciński
If we process message that is not designated to us previously we would fire a separate Thread for that. We don't need to do it. We can cheaply check if thread is available, if it is, we can perform expensive operation then.
2019-08-21Rework `Sidekiq::JobsThreads` into `Monitor`Kamil Trzciński
This makes: - very shallow `Middleware::Monitor` to only request tracking of sidekiq jobs, - `SidekiqStatus::Monitor` to be responsible to maintain persistent connection to receive messages, - `SidekiqStatus::Monitor` to always use structured logging and instance variables