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
William George
1b153d497b
Make getting a user by the username case insensitive
2018-10-18 09:06:44 +00: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
Rémy Coutable
4cfa5ce4a9
Enable the Style/PreferredHashMethods cop
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02 19:11:26 +02:00
Valery Sizov
387c4b2c21
Backport of multiple_assignees_feature [ci skip]
2017-05-04 17:11:53 +03:00
Maxim Rydkin
37c2c4a433
Decrease Cyclomatic Complexity threshold to 16
2017-04-26 10:40:28 +00:00
Dmitriy Zaporozhets
6676b4f0dd
Use Namespace#full_path instead of Namespace#path
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-14 18:38:20 +02: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
97762a5858
Use LabelsFinder on Google Code importer
2016-10-19 17:27:58 -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
Douglas Barbosa Alexandre
cfedd42bad
Add ProjectLabel model
2016-10-19 14:58:24 -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
c93570d8fb
fixing a few issues after testing imports
2016-03-29 16:10:35 +02:00
James Lopez
459ad34493
refactored code based on feedback plus fixed a couple of other issues
2016-03-28 16:35:03 +02:00
James Lopez
cc4d04f97f
added rest of importers, fixed specs and some issues with the migration
2016-03-23 17:57:10 +01:00
Gabriel Mazetto
b5291f9599
Fixed Rubocop offenses
2015-12-15 00:53:52 -02:00
Dmitriy Zaporozhets
c903f23f3c
Split complex methods in GoogleCodeImport::Importer
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 00:55:20 +01:00
Guilherme Garnier
59d0263bc8
Fix rubocop warnings in lib
2015-10-03 01:29:58 -05:00
Sven Strickroth
5eeab9f0a6
GoogleCode importer: Do not care about casing of image file extensions
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2015-07-20 00:53:43 +02:00
Stan Hu
9c76a6fa96
Show incompatible projects in Google Code import status
...
Importing a JSON file with only one Subversion project lead to confusion
over whether the system was working. Provide status why these projects
could not be imported directly.
Closes #1531
2015-04-30 06:56:49 -07:00
Douwe Maan
1c30f77599
Don't autolink masked imported email addresses.
2015-04-21 10:32:48 +02:00
Douwe Maan
18f80c5560
Fix rendering of deleted blocking/blocked-on statuses.
2015-04-21 10:32:29 +02:00
Douwe Maan
bc2dd5e772
Import "Comment #10" as "Comment 10" to not incorrectly reference issue.
2015-04-21 10:31:50 +02:00
Douwe Maan
c242ca9a17
Get imported links to render correctly by not escaping all special chars.
2015-04-21 10:31:15 +02:00
Douwe Maan
96c03199dd
Add "imported from Google Code" to imported issues.
2015-04-21 10:30:23 +02:00
Douwe Maan
38982136ec
Decrease memory use and increase performance of Google Code importer.
2015-04-17 14:55:51 +02:00
Douwe Maan
7d98c8842d
Move import data out of project so it doesn't take ages to load.
2015-04-17 14:49:00 +02:00
Douwe Maan
9d00bb0896
Import Google Code issue assignee when mapped.
2015-04-14 23:22:14 +02:00
Douwe Maan
2f797a140b
Skip issue comment when its content, updates and attachments are empty.
2015-04-14 23:13:48 +02:00
Douwe Maan
dba63d667d
Allow user map to be specified.
2015-04-14 14:50:56 +02:00
Douwe Maan
f6cb42f3d1
Add comment number to imported Google Code comments.
2015-04-14 13:13:18 +02:00
Douwe Maan
dfe659c16d
Remove author link since all code.google.com links will be shut down.
2015-04-14 13:11:29 +02:00
Douwe Maan
06399b3261
Show Google Code image attachments inline.
2015-04-04 14:19:05 +02:00
Douwe Maan
c590cd3443
Mask owner email when updated.
2015-04-03 16:21:32 +02:00
Douwe Maan
7b5bc32cad
Allow projects to be imported from Google Code.
2015-04-03 15:29:27 +02:00