Commit Graph

47 Commits

Author SHA1 Message Date
GitLab Bot a14bf87924 Add latest changes from gitlab-org/gitlab@master 2025-07-14 15:07:25 +00:00
GitLab Bot ab5132651a Add latest changes from gitlab-org/gitlab@master 2025-06-12 00:12:54 +00:00
GitLab Bot b3bdfebdb7 Add latest changes from gitlab-org/gitlab@master 2024-12-10 18:31:27 +00:00
GitLab Bot d4a47f4e96 Add latest changes from gitlab-org/gitlab@master 2024-11-13 15:29:32 +00:00
GitLab Bot fa4896b854 Add latest changes from gitlab-org/gitlab@master 2024-05-28 09:21:49 +00:00
GitLab Bot 0daed6230d Add latest changes from gitlab-org/gitlab@master 2024-02-14 21:08:31 +00:00
GitLab Bot c277e21e16 Add latest changes from gitlab-org/gitlab@master 2023-09-18 06:10:06 +00:00
GitLab Bot e01e71a98f Add latest changes from gitlab-org/gitlab@master 2022-08-23 15:09:40 +00:00
GitLab Bot 1f6abbe6fa Add latest changes from gitlab-org/gitlab@master 2022-05-18 21:07:37 +00:00
GitLab Bot c753fd0bf4 Add latest changes from gitlab-org/gitlab@master 2021-09-30 18:11:31 +00:00
GitLab Bot e7e40d45b0 Add latest changes from gitlab-org/gitlab@master 2021-04-26 18:09:45 +00:00
GitLab Bot 6a3c4476fa Add latest changes from gitlab-org/gitlab@master 2021-04-19 15:09:08 +00:00
GitLab Bot 8e35232810 Add latest changes from gitlab-org/gitlab@master 2020-09-02 15:10:54 +00:00
George Koltsov 679e9cd1a5 Change default visibility level for FogBugz imported projects to Private 2019-08-26 16:19:47 +00:00
Andrew Newdigate 3288e1a874 Adds the Rubocop ReturnNil cop
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02:00
gfyoung ebf98f27c4 Enable even more frozen string in lib/gitlab
Enables frozen string for the following:

* lib/gitlab/fogbugz_import/**/*.rb
* lib/gitlab/gfm/**/*.rb
* lib/gitlab/git/**/*.rb
* lib/gitlab/gitaly_client/**/*.rb
* lib/gitlab/gitlab_import/**/*.rb
* lib/gitlab/google_code_import/**/*.rb
* lib/gitlab/gpg/**/*.rb
* lib/gitlab/grape_logging/**/*.rb
* lib/gitlab/graphql/**/*.rb
* lib/gitlab/graphs/**/*.rb
* lib/gitlab/hashed_storage/**/*.rb
* lib/gitlab/health_checks/**/*.rb

Partially address gitlab-org/gitlab-ce#47424.
2018-11-13 11:42:15 -08:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Lin Jen-Shin 3bfe306624 Resolve Naming/UncommunicativeMethod 2018-07-09 21:13:08 +08:00
🙈 jacopo beschi 🙉 729f05f0e3 Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
Jacopo 181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Valery Sizov 387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Adam Niedzielski e2c603696a Pass user instance to Labels::FindOrCreateService or skip_authorization: true
Do not pass project.owner because it may return a group and Labels::FindOrCreateService
throws an error in this case.
Fixes #23694.
2016-10-28 11:31:45 +02:00
Douglas Barbosa Alexandre edef2d15f9 Use LabelsFinder on Fogbuz importer 2016-10-19 17:28:14 -02:00
Douglas Barbosa Alexandre 4f6d1c1d70 Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre d009d38ed6 User Labes::CreateService to create labels 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre f008cdf218 Remove Issuable#add_labels_by_names 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre 7e11ca86fd Reuse LabelsFinder on Issueable#add_labels_by_names 2016-10-19 14:58:25 -02:00
James Lopez 1322c981a0 create import data in service 2016-05-10 11:10:51 +02:00
James Lopez a1a1d1f7de refactored create_or_update_import_data 2016-04-07 15:08:38 +02:00
James Lopez 15044e7d85 refactored a few things based on MR feedback 2016-04-07 15:00:20 +02:00
James Lopez b97654393e fix some issues with credentials 2016-04-06 10:36:30 +02:00
James Lopez 5e51fce4dc some refactoring to symbolise keys across importers and left a TODO 2016-04-05 15:41:15 +02:00
James Lopez 7f7769172e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-import_url
# Conflicts:
#	db/schema.rb
2016-04-04 20:03:25 +02:00
James Lopez ef85c510fa corrected a couple of based on MR review 2016-04-04 09:57:52 +02:00
James Lopez 43ee65e173 remove useless var 2016-04-01 17:50:50 +02:00
James Lopez 6d12d79d29 fix fogbugz import 2016-04-01 12:04:41 +02:00
James Lopez 2d544d5445 spec and fix for fogbugz lonely user problem 2016-03-30 18:48:28 +02:00
James Lopez 075b56aae2 more fixes after doing more manual testing on importing 2016-03-29 18:43:23 +02:00
James Lopez c93570d8fb fixing a few issues after testing imports 2016-03-29 16:10:35 +02:00
James Lopez 6967871fc5 fogbugz importer, also refactored migration again to make it easier to add new importers 2016-03-23 12:52:50 +01:00
Douwe Maan 0614793b38 DRY up upload and download services 2016-01-08 17:38:53 +01:00
Douwe Maan 706d7eb0b7 Satisfy Rubocp 2016-01-07 13:37:59 +01:00
Douwe Maan 1886d727f7 Add API project upload endpoint 2016-01-07 13:37:14 +01:00
Gabriel Mazetto b5291f9599 Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
Guilherme Garnier 59d0263bc8 Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
Jared Szechy 4e2bb80fb3 FogBugz Import: Closed comments may contain user data 2015-09-21 10:49:44 -04:00
Jared Szechy e156f42079 FogBugz project import 2015-09-08 20:23:01 -04:00