summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch '56850-add-new-unicorn-metrics' into 'master'"revert-c5a9bc17Ryan Cobb2019-05-203-69/+17
| | | This reverts merge request !27474
* Fix typos in the whole gitlab-ce projectYoginth2019-05-208-12/+12
|
* Merge branch '49517-fix-notes-import-export' into 'master'Mayra Cabrera2019-05-201-0/+2
|\ | | | | | | | | | | | | Include type to notes import / export Closes #49517 See merge request gitlab-org/gitlab-ce!28401
| * Include type to notes import / export49517-fix-notes-import-exportHeinrich Lee Yu2019-05-171-0/+2
| |
* | Merge branch 'kinolaev-master-patch-13154' into 'master'Grzegorz Bizon2019-05-201-1/+3
|\ \ | | | | | | | | | | | | Auto-DevOps: allow to disable rollout status check See merge request gitlab-org/gitlab-ce!28130
| * | Auto-DevOps: allow to disable rollout status checkSergej2019-05-171-1/+3
| | |
* | | Merge branch 'ce-57402-add-issues-statistics-api-endpoints' into 'master'Rémy Coutable2019-05-204-38/+147
|\ \ \ | | | | | | | | | | | | | | | | Add issues_statistics api endpoints See merge request gitlab-org/gitlab-ce!27366
| * | | Review updates and cleanupce-57402-add-issues-statistics-api-endpointsAlexandru Croitor2019-05-174-40/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cleaned issues and issues_statistics docs * Renamed param with_labels_data to with_labels_details * Added spec for N+1 check when retrieving labels from issue * Refactoed CheckAssigneesCount validation class
| * | | Add params validations and remove extra params supportAlexandru Croitor2019-05-153-19/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove label_name and milestone_title params support Add mutually_exclusive validation for author_id and author_username Add mutually_exclusive validation for assignee_id and assignee_username Add validation to allow single value for asignee_username on CE Add separate issue_stats_params helper for statistics params and reuse in issues_params.
| * | | Move issue details to from IssueBasic to Issue entityAlexandru Croitor2019-05-153-14/+26
| | | | | | | | | | | | | | | | | | | | Cleanup IssueBasic entity to keep it basic and move extra attributes to Issue entity which contains more details
| * | | Changes to issues apiAlexandru Croitor2019-05-153-28/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When issues_controller endpoint was used for search, the parameters passed to the controller were slightly different then the ones passed to API. Because the searchbar UI is reused in different places and builds the parameters passed to request in same way we need to account for old parameter names. Add issues_statistics api endpoints Adds issue_statistics api endpoints for issue lists and returns counts of issues for all, closed and opened states. Expose more label attributes based on a param When requesting issues list through API expose more attributes for labels, like color, description if with_labels_data param is being passed, avoiding this way to change response schema for users that already use API. https://gitlab.com/gitlab-org/gitlab-ce/issues/57402
* | | | Avoid pipes so it doesn't overflow61432-lib-tasks-lint-rake-can-block-indefinitely-if-stderr-fills-upLin Jen-Shin2019-05-181-26/+9
| | | |
* | | | Replace Unicorn with web server in the init.d script [ci skip]Dmitriy Zaporozhets2019-05-172-18/+22
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Add new version of scriptSarah Groff Hennigh-Palermo2019-05-171-0/+1
| | | | | | | | | | | | | | | | More aligned design. More functionality.
* | | | Merge branch 'mm12935' into 'master'Jan Provaznik2019-05-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Content-Type override for Mattermost OAuth login Closes #46810 See merge request gitlab-org/gitlab-ce!28374
| * | | | Remove Content-Type override for Mattermost OAuth loginHarrison Healey2019-05-161-1/+1
| | | | |
* | | | | Add PoolRepository to the usage pingZeger-Jan van de Weg2019-05-171-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PoolRepository is a relatively new model of which the counts could help to further determine the priority of new features. Also gives some insight into the number of forks customers have.
* | | | | Edit comments in CI templateEvan Read2019-05-171-41/+50
| | | | |
* | | | | #46469 - Added ref querystring parameter to project search to allow ↵Lee Tickett2019-05-171-1/+2
| |_|_|/ |/| | | | | | | | | | | searching on branches other than master
* | | | Merge branch 'haml-lint-fe' into 'master'Douglas Barbosa Alexandre2019-05-161-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add haml-lint.yml to FE for roulette See merge request gitlab-org/gitlab-ce!28301
| * | | | Add haml-lint.yml to FE for roulettehaml-lint-feLuke Bennett2019-05-131-0/+2
| | | | |
* | | | | Merge branch 'jc-omit-count-diverging-commits-max' into 'master'Lin Jen-Shin2019-05-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Omit max-count for diverging_commit_counts behind feature flag See merge request gitlab-org/gitlab-ce!28157
| * | | | | Omit max-count for diverging_commit_counts behind feature flagjc-omit-count-diverging-commits-maxJohn Cai2019-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to optimize the query for the CountDivergingCommits rpc by removing the --max-count argument now that we have commit graphs enabled for all repositories during housekeeping. However, we want to test this first behind a feature flag.
* | | | | | Add Let's Encrypt clientVladimir Shushlin2019-05-163-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
* | | | | | Merge branch 'patch-55' into 'master'Achilleas Pipinellis2019-05-151-1/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Removed the unnecessary line. It would be covered anyway by line 352... See merge request gitlab-org/gitlab-ce!28228
| * | | | | Removed the unnecessary line. It would be covered anyway by line 352 ↵bardia zamanian2019-05-091-1/+0
| | |/ / / | |/| | | | | | | | | | | | | (replicas=$(get_replicas "$track" "$percentage")
* | | | | Merge branch 'bvl-add-corrilation-id-to-all-exception' into 'master'Douglas Barbosa Alexandre2019-05-141-6/+9
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Add correlation id to all sentry errors Closes #61699 See merge request gitlab-org/gitlab-ce!28253
| * | | | Add correlation id to all sentry errorsBob Van Landuyt2019-05-131-6/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this, we were only adding the correlation id to the "acceptable exceptions" which we handle in code. But we need to add it to the default raven context so the information would be available for uncaught exceptions.
* | | | Merge branch 'patch-58' into 'master'Stan Hu2019-05-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | delete feature flag when disabling Rugged See merge request gitlab-org/gitlab-ce!28289
| * | | | delete feature flag when disabling RuggedBen Bodenmiller2019-05-131-1/+1
| |/ / /
* | | | Rename methods that conflict in Rails 5.255583-rename-method-conflictsHeinrich Lee Yu2019-05-121-1/+1
|/ / / | | | | | | | | | | | | Adds suffix to enum methods and changes `in_groups` to `of_groups`
* | | Add warning that gitlab-secrets isn't includedadd-warning-to-backup-rake-taskCindy Pallares2019-05-081-0/+8
| | | | | | | | | | | | | | | | | | Many customers forget to include the gitlab-secrets.json file. This adds a warning that both gitlab-secrets.json and gitlab.rb are not included in the backup.
* | | Refactor spec to reload existing_label right after creationPatrick Derichs2019-05-081-1/+1
| | | | | | | | | | | | | | | This will avoid timestamp comparison issues later within equality check with attributes
* | | Merge branch ↵Robert Speicher2019-05-071-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'ce-11099-removing-the-project-that-holds-the-insights-configuration-raises-an-error' into 'master' Add remove_foreign_key_if_exists See merge request gitlab-org/gitlab-ce!28172
| * | | Add remove_foreign_key_if_existsce-11099-removing-the-project-that-holds-the-insights-configuration-raises-an-errorLin Jen-Shin2019-05-071-0/+6
| | | |
* | | | Merge branch '56850-add-new-unicorn-metrics' into 'master'Ash McKenzie2019-05-073-17/+69
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Add new Unicorn metrics" Closes #56850 See merge request gitlab-org/gitlab-ce!27474
| * | | | Add back ruby_memory_bytes metric, limit duplication, clean upRyan Cobb2019-04-292-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds back ruby_memory_bytes for backwards compatibility, limits code duplication, cleans up unused methods, and limits the unicorn worker sampling scope.
| * | | | Cleanup syntax in System max_open_file_descriptorsRyan Cobb2019-04-261-4/+2
| | | | |
| * | | | Update docs and calculate process start time via proc tableRyan Cobb2019-04-242-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates monitor docs to reflect the new ruby and unicorn metrics as well as making it so we fetch process start time via the proc table instead of via CLOCK_BOOTTIME
| * | | | Move process specific metrics to ruby samplerRyan Cobb2019-04-242-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | These metrics are not unicorn specific and can be used across ruby processes
| * | | | Adds new metrics for unicorn monitoringRyan Cobb2019-04-182-8/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds new metrics for monitoring unicorn. These metrics include process_cpu_seconds_total, process_start_time_seconds, process_max_fds, and unicorn_workers.
* | | | | Confirm existence of head_pipeline if pipeline success requiredKerri Miller2019-05-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pipelines are created by an async worker, so a rapid sequence of API calls can trigger a state where the pipeline, whose existence is part of determining if we wait for the pipeline to successfully complete before merging, can trigger the MR to be immediately merged instead. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55127
* | | | | Register "gitaly_delta_islands" feature flagJacob Vosmaer2019-05-071-1/+2
| | | | |
* | | | | Merge branch 'sh-fix-related-merge-requests-path' into 'master'Rémy Coutable2019-05-071-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a path for the related merge requests endpoint Closes #61280 See merge request gitlab-org/gitlab-ce!28171
| * | | | | Use a path for the related merge requests endpointsh-fix-related-merge-requests-pathStan Hu2019-05-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hosts using a non-standard configuration may have a different hostname/port/scheme than what may be configured on the GitLab server. While expose_url should generate a proper URL, there are cases where it may not work. Since we don't need the full URL, we can use the relative path. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61280
* | | | | | Bump clair-local-scan to v2.0.8Olivier Gonzalez2019-05-071-1/+1
|/ / / / /
* | | | | Add improvements to the global search processFrancisco Javier López2019-05-073-47/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the conditions added to Project.with_feature_available_for_user, and moved to the IssuableFinder. Now, we ensure that, in the projects retrieved in the Finder, the user has enough access for the feature.
* | | | | Merge branch 'winh-separate-frontend-fixtures' into 'master'Phil Hughes2019-05-071-1/+5
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Generate EE-specific JavaScript fixtures into ee/ directory (CE-backport) See merge request gitlab-org/gitlab-ce!28032
| * | | | Allow to override Gitlab.ee? with IS_GITLAB_EEWinnie Hellmann2019-05-021-1/+5
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit f3b74d59865a88be67663339447667c725961413)
* | | | | Merge branch 'allow-replying-to-individual-notes-from-api' into 'master'James Lopez2019-05-071-1/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Allow replying to an individual note in the API Closes #61392 See merge request gitlab-org/gitlab-ce!28120