| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a rubocop for Rails.logger | Mayra Cabrera | 2019-07-10 | 1 | -1/+1 |
| | | | | | | | Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102 | ||||
| * | Check if labels are available for target issuable | Jarka Košanová | 2019-03-28 | 1 | -0/+60 |
| | | | | | | - labels have to be in the same project/group as an issuable | ||||
| * | Incorporate feedback from Nick | Robert Schilling | 2019-01-31 | 1 | -0/+1 |
| | | |||||
| * | Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-cop | Rémy Coutable | 2019-01-24 | 1 | -1/+1 |
| | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Fix several ActionController::Parameters deprecations | Jasper Maes | 2019-01-11 | 2 | -2/+2 |
| | | |||||
| * | Fix deprecation: Passing ActiveRecord::Base objects to ↵ | Jasper Maes | 2018-12-13 | 1 | -4/+4 |
| | | | | | sanitize_sql_hash_for_assignment | ||||
| * | Replace deprecated uniq on a Relation with distinct | Jasper Maes | 2018-10-26 | 1 | -1/+1 |
| | | |||||
| * | Added FromUnion to easily select from a UNION | Yorick Peterse | 2018-09-17 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the module `FromUnion`, which provides the class method `from_union`. This simplifies the process of selecting data from the result of a UNION, and reduces the likelihood of making mistakes. As a result, instead of this: union = Gitlab::SQL::Union.new([foo, bar]) Foo.from("(#{union.to_sql}) #{Foo.table_name}") We can now write this instead: Foo.from_union([foo, bar]) This commit also includes some changes to make this new setup work properly. For example, a bug in Rails 4 (https://github.com/rails/rails/issues/24193) would break the use of `from("sub-query-here").includes(:relation)` in certain cases. There was also a CI query which appeared to repeat a lot of conditions from an outer query on an inner query, which isn't necessary. Finally, we include a RuboCop cop to ensure developers use this new module, instead of using Gitlab::SQL::Union directly. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/51307 | ||||
| * | Disable existing offenses for the CodeReuse cops | Yorick Peterse | 2018-09-11 | 3 | -0/+28 |
| | | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop. | ||||
| * | Use ResourceLabelEvent for tracking label changes | Jan Provaznik | 2018-09-07 | 1 | -0/+7 |
| | | |||||
| * | Whitelist existing destroy_all offensesblacklist-destroy-all | Yorick Peterse | 2018-08-16 | 1 | -1/+1 |
| | | | | | This whitelists all existing places where we use "destroy_all". | ||||
| * | Enable frozen string in apps/services/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-apps-services-inner | gfyoung | 2018-07-16 | 6 | -0/+12 |
| | | | | | | | For directories application_settings --> labels. Partially addresses #47424. | ||||
| * | Backport from EE !5954 | Mark Chao | 2018-07-04 | 1 | -1/+7 |
| | | | | | | | Allow Labels::FindOrCreateService to find ancestor group labels Add authentication check on API endpoint Update flayignore | ||||
| * | Fix label links update on project transfer | Jan Provaznik | 2018-04-19 | 1 | -3/+8 |
| | | |||||
| * | Allow to find labels in ancestor groups and better group support in label ↵ | Jan Provaznik | 2018-02-26 | 1 | -6/+16 |
| | | | | | service | ||||
| * | Keep subscribers when promoting labels to group labels37199-labels-fix | Jarka Kadlecová | 2018-01-12 | 1 | -1/+11 |
| | | |||||
| * | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 1 | -0/+1 |
| | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | ||||
| * | Re-enable SqlInjection and CommandInjection | Brian Neel | 2017-08-08 | 1 | -1/+1 |
| | | |||||
| * | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 2 | -24/+24 |
| | | |||||
| * | Labels support color names in backend | Dongqing Hu | 2017-03-29 | 4 | -2/+203 |
| | | |||||
| * | Abillity to promote project labels to group labels | Ritave | 2017-01-31 | 1 | -0/+71 |
| | | | | | Fixes #24021 | ||||
| * | Merge branch 'zj-fix-label-creation-non-members' into 'security' | Douwe Maan | 2016-11-28 | 1 | -1/+6 |
| | | | | | | | | | Fix label creation non members Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23416 See merge request !2006 | ||||
| * | Pass user instance to Labels::FindOrCreateService or skip_authorization: trueadam-fix-labels-find-or-create | Adam Niedzielski | 2016-10-28 | 1 | -4/+7 |
| | | | | | | | Do not pass project.owner because it may return a group and Labels::FindOrCreateService throws an error in this case. Fixes #23694. | ||||
| * | Avoid touch label links that does not belongs to project when moving itfeature/group-level-labels | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -15/+42 |
| | | |||||
| * | Rename Labels::CreateService to Labels::FindOrCreateService | Douglas Barbosa Alexandre | 2016-10-19 | 2 | -2/+2 |
| | | |||||
| * | User Labes::CreateService to create labels | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -6/+2 |
| | | |||||
| * | Add service to create project labels | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+33 |
| | | |||||
| * | Recreates the label priorities when moving project to another group | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -1/+2 |
| | | |||||
| * | Skip update query if label have the same id on Labels::TransferService | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+2 |
| | | |||||
| * | Recreates missing group labels when moving project to another group | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+52 |
| | | |||||
| * | Refactor global and group milestones logic | Dmitriy Zaporozhets | 2015-11-16 | 1 | -26/+0 |
| | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| * | Allow dashboard and group issues/MRs to be filtered by label | Douwe Maan | 2015-10-14 | 1 | -0/+26 |
