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
AgeCommit message (Collapse)Author
2019-05-24Assert on no Gitaly requests in a job show testsGrzegorz Bizon
2019-05-24Enable counting Gitaly requests in jobs show testsGrzegorz Bizon
2019-05-24Add a controller test verifying exposure of stagesGrzegorz Bizon
2019-05-22#61441 Allow user to set email ID before setting up 2FAKartikey Tanna
2019-05-21Prevent password sign in restriction bypassJames Edwards-Jones
2019-05-20Require time window params in metrics dashboardSarah Yasonik
2019-05-16Hide issue title on unsubscribe for anonymous usersAlexandru Croitor
2019-05-16Merge branch 'reg-captcha-flag' into 'master'Nick Thomas
Add :registrations_recaptcha feature flag Closes gitlab-ee#11389 See merge request gitlab-org/gitlab-ce!28296
2019-05-16Add :registrations_recaptcha feature flagLuke Bennett
Allows instance owners to toggle the recaptcha requirement on the user registration page by feature flag. Allows GitLab Growth team to measure reCAPTCHA's impact on registrations.
2019-05-15Merge branch 'ce-jej/sso-enforcement-redirect' into 'master'Rémy Coutable
Refactor RoutableActions to allow additional not_found checks See merge request gitlab-org/gitlab-ce!28243
2019-05-15Avoid passing not_found_or_authorized_proc aroundJames Edwards-Jones
Since this needs to be called on every find_routable!(Project, ... we can instead move it to a RoutableActions check.
2019-05-15Added RoutableActions testsJames Edwards-Jones
2019-05-14Optimise upload path callsSean McGivern
String#underscore isn't particularly slow, but it's possible for us to call it many times in a users autocomplete request, with mostly-static values ('User', 'Group', etc.). We can memoise this and save a surprising amount of time (around 10% of the total request time in some cases).
2019-05-14Fix confidential issue label disclosure on milestone viewPatrick Derichs
Add changelog entry Method should be public Use milestonish method Use render data to filter labels Add specs for label visibility on milestone
2019-05-09Change DetectRepositoryLanguagesWorker to not receive userDiego Silva
Fixes #60425
2019-05-06Change specs to match gitlab code standardsJames Fargher
2019-05-06Stop using `go` function in clusters controller specsJames Fargher
2019-05-06Check instance cluster feature at policy levelJames Fargher
Try to simplify feature flag checks by using policies
2019-05-06Instance level kubernetes clusters adminJames Fargher
Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
2019-05-06Implement support for CI variables of type fileKrasimir Angelov
Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-03Add gitlab-managed option to clusters formMayra Cabrera
When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
2019-05-02Adds a way to start multiple manual jobs in stageMayra Cabrera
- Adds an endpoint on PipelinesController - Adds a service that iterates over every build in a stage and plays it. - Includes 'play_manual' details on EntitySerializer - Builds a new Stage state: PlayManual. An stage can take this status if it has manual builds or an skipped, scheduled or manual status - Includes FE modifications and specs
2019-05-01Update metrics dashboard API to load yml from repoSarah Yasonik
Updates the EnvironmentController#metrics_dashboard endpoint to support a "dashboard" param, which can be used to specify the filepath of a dashboard configuration from a project repository. Dashboard configurations are expected to be stored in .gitlab/dashboards/. Updates dashboard post-processing steps to exclude custom metrics, which should only display on the system dashboard.
2019-04-30Remove xit test for uninstall group cluster appDylan Griffith
2019-04-30DELETE clusters/:id/:application endpointThong Kuah
Add endpoint to delete/uninstall a cluster application
2019-04-29Load environment metrics only for JSON endpointPeter Leitzen
When showing the HTML version of the environment metrics we don't need to fetch their metrics because we don't use them anymore on the HTML version. We use additional_metrics.json endpoint now.
2019-04-28Merge branch '60383-setup-dashboard-endpoint' into 'master'Grzegorz Bizon
Create dashboards endpoint & setup dashboard post-processing Closes #60383 See merge request gitlab-org/gitlab-ce!27405
2019-04-26Add ProjectMetricsDashboardSetting model and tableReuben Pereira
This new table will be used to store the external_dashboard_url which allows users to add a link to their external dashboards (ex Grafana) to the Metrics dashboard.
2019-04-26Merge branch '57171-operations-controller-spec-refactor' into 'master'Grzegorz Bizon
Refactor operations controller spec Closes #57171 See merge request gitlab-org/gitlab-ce!27558
2019-04-26Merge branch '60906-fix-wiki-links' into 'master'Stan Hu
Use wiki partial in search results Closes #60906 See merge request gitlab-org/gitlab-ce!27634
2019-04-25Use wiki partial in search resultsMario de la Ossa
2019-04-25Fix a bug in shared_examples definitionrpereira2
2019-04-25Prefer safe_load and deep_symbolize_keyssyasonik
2019-04-25Added list_pages method to avoid loading all wiki pages contentFrancisco Javier López
Inside a wiki, when we show the sidebar or browse to the `pages`, all page contents are retrieved from Gitaly and that is a waste of resources, since no content from that pages are going to be showed. This MR introduces the method `ProjectWiki#list_pages`, which uses new wiki_list_pages RPC call to retrieve pages without content Also in the `WikisController` we're using the method to show pages in the sidebar and also on the `pages` page.
2019-04-24Redirect to settings page on invalid updateMatija Čupić
2019-04-24Defend against dashboard errors, rework sequencesyasonik
2019-04-24Inherit from BaseServicerpereira2
Change MetricsDashboard::Service to inherit from BaseService so that it can reuse methods like initialize, success, error.
2019-04-24Add unit tests and fix broken endpointsyasonik
2019-04-24Move shared context to top of spec filerpereira2
- Rename the shared_context - Use expect in stub_operations_update_service_returning.
2019-04-23Revert Rails.application.env_config after using mock_auth_hashRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-23Merge branch ↵Kamil Trzciński
'60569-timeline-entry-label-link-is-not-applying-the-filter-on-issues' into 'master' Adds `label_name` back as a scalar param in `IssuableFinder` Closes #60569 See merge request gitlab-org/gitlab-ce!27507
2019-04-23Add label_name as scalar param of IssuableFinderHeinrich Lee Yu
This was removed by a previous MR but broke some links
2019-04-22Refactor operations controller specrpereira2
- Move specs into a shared_context so that they can be reused. - Move common specs out of a more specific context.
2019-04-19Check that source and target branch existStan Hu
This ensures the return value is consistent if the source and/or branch do not exist.
2019-04-18Migrate correlation and tracing code to LabKitAndrew Newdigate
This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
2019-04-15Add ability to do variable substitutionReuben Pereira
- In prometheus proxy api, allow variables to be replaced. For example, if 'up{env="%{ci_environment_slug}"}' is passed to the endpoint, it becomes 'up{env="production"}' before being sent to prometheus.
2019-04-15Merge branch 'sh-validate-ref-name-in-commit' into 'master'Rémy Coutable
Validate refs used in controllers don't have spaces Closes #58572 and gitaly#1425 See merge request gitlab-org/gitlab-ce!24037
2019-04-15Add some frozen string to spec/**/*.rbgfyoung
Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15Validate refs used in controllers don't have spacesStan Hu
This avoids an unnecessary call to Gitaly and reduces gRPC errors. * Closes https://gitlab.com/gitlab-org/gitaly/issues/1425 * Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58572
2019-04-11Align UrlValidator to validate_url gem implementation.Thong Kuah
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.