Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed label removal from issueccr/51052_keep_labels_on_issue | Chantal Rollison | 2018-11-05 | 1 | -1/+1 |
| | |||||
* | Add subscribe filter to labels page | Dmitriy Zaporozhets | 2018-10-04 | 1 | -0/+9 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Added FromUnion to easily select from a UNION | Yorick Peterse | 2018-09-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Add sort dropdown to project labels page and group labels page | Dmitriy Zaporozhets | 2018-09-10 | 1 | -0/+3 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Use optionally_search for group labels index page | Dmitriy Zaporozhets | 2018-09-07 | 1 | -0/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Merge branch 'frozen-string-enable-app-models' into 'master' | Rémy Coutable | 2018-08-02 | 1 | -0/+2 |
|\ | | | | | | | | | Enable frozen string in app/models/*.rb See merge request gitlab-org/gitlab-ce!20851 | ||||
| * | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | | | | | Partially addresses #47424. | ||||
* | | Add ability to filter labels by title or description | Dmitriy Zaporozhets | 2018-07-31 | 1 | -0/+12 |
|/ | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Properly detect label reference if followed by period or question mark | Douwe Maan | 2018-06-18 | 1 | -5/+10 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into ↵ | Luke Bennett | 2018-05-28 | 1 | -2/+2 |
|\ | | | | | | | 39549-label-list-page-redesign-with-draggable-labels | ||||
| * | Revert the addition of goldiloader | Yorick Peterse | 2018-04-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This reverts the addition of the "goldiloader" Gem and all use of it. While this Gem is very promising it's causing a variety of problems on GitLab.com due to it eager-loading too much data in places where we don't expect/can handle this. At least for the time being this means we have to go back to manually fixing N+1 query problems, but at least those should not cause a negative impact on availability. | ||||
* | | Add/use Label#priority? and remove weird padding | Luke Bennett | 2018-04-19 | 1 | -0/+4 |
|/ | |||||
* | Use Goldiloader for handling N+1 queries | Yorick Peterse | 2018-04-09 | 1 | -2/+2 |
| | | | | | | | Goldiloader (https://github.com/salsify/goldiloader) can eager load associations automatically. This removes the need for adding "includes" calls in a variety of different places. This also comes with the added benefit of not having to eager load data if it's not used. | ||||
* | Bring one group board to CE | Felipe Artur | 2018-03-03 | 1 | -0/+1 |
| | |||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Fix link text from group context | Jarka Kadlecova | 2017-11-23 | 1 | -3/+3 |
| | |||||
* | fix another N+1 query for label priorities34510-board-issues-sql-speedup | micael.bergeron | 2017-09-12 | 1 | -1/+6 |
| | | | | added a QueryRecorder for IssuesController#index.json | ||||
* | Fix failing specee_issue_928_backport | Felipe Artur | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Continue BE backport | Felipe Artur | 2017-08-31 | 1 | -0/+1 |
| | |||||
* | Group boards CE backport | Felipe Artur | 2017-08-28 | 1 | -1/+2 |
| | |||||
* | Added Cop to blacklist the use of `dependent:` | Yorick Peterse | 2017-07-06 | 1 | -2/+2 |
| | | | | | | | | This is allowed for existing instances so we don't end up 76 offenses right away, but for new code one should _only_ use this if they _have_ to remove non database data. Even then it's usually better to do this in a service class as this gives you more control over how to remove the data (e.g. in bulk). | ||||
* | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -6/+6 |
| | |||||
* | Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-cop | Rémy Coutable | 2017-06-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Provide default for calculating label text color (!11681) | winh | 2017-05-25 | 1 | -0/+4 |
| | |||||
* | Add board_move slash command | Alex Sanford | 2017-04-28 | 1 | -0/+1 |
| | |||||
* | Remove heading and trailing spaces from label's color and title | blackst0ne | 2017-04-12 | 1 | -0/+6 |
| | |||||
* | Added labels to the issue web hook | Luke "Jared" Bennett | 2017-03-17 | 1 | -0/+4 |
| | |||||
* | Revert "Enable Style/DotPosition" | Douwe Maan | 2017-02-23 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb | ||||
* | Revert "Prefer leading style for Style/DotPosition" | Douwe Maan | 2017-02-23 | 1 | -9/+9 |
| | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b. | ||||
* | Prefer leading style for Style/DotPosition | Douwe Maan | 2017-02-23 | 1 | -9/+9 |
| | |||||
* | Enable Style/MutableConstant | Douwe Maan | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | Enable Style/DotPosition | Douwe Maan | 2017-02-23 | 1 | -3/+3 |
| | |||||
* | validate length of label.title | Tomáš Kukrál | 2017-01-09 | 1 | -0/+1 |
| | | | | + add test for label.title length validation | ||||
* | Fix cross-project references copy to include the project referencefix/cross-project-ref-path | James Lopez | 2017-01-03 | 1 | -5/+5 |
| | | | | Also added relevant specs and refactored to_references in a bunch of places to be more consistent. | ||||
* | Add shorthand support to gitlab markdown references | Oswaldo Ferreira | 2016-12-02 | 1 | -9/+6 |
| | |||||
* | Use label subject to calculate number of issues/mrs within the group | Douglas Barbosa Alexandre | 2016-10-31 | 1 | -15/+15 |
| | |||||
* | Use join instead of subquery on Label.unprioritized scope | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -1/+8 |
| | |||||
* | Abstract LabelPriority away into methods on Label model | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -1/+15 |
| | |||||
* | Fix issue board related controllers to expose label priority per project | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+6 |
| | |||||
* | Fix sorting by label priorities | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+11 |
| | |||||
* | Add support to group labels prioritization on project level | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -4/+6 |
| | |||||
* | Add LabelPriority model | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -6/+1 |
| | |||||
* | Remove `::` for method call on Label#text_color | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Use reverse_merge on Label#issues_count and Label#merge_requests_count | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -2/+2 |
| | |||||
* | Move common logic to reference group/project label to Label#to_reference | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -0/+28 |
| | |||||
* | Unfold references for group labels when moving issue to another project | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -24/+0 |
| | |||||
* | Validate if project label title does not exist at group level | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -2/+3 |
| | |||||
* | Add ProjectLabel model | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -7/+0 |
| | |||||
* | Validates uniqueness of title unless label is a template | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -4/+2 |
| | |||||
* | List group labels on project labels page | Douglas Barbosa Alexandre | 2016-10-19 | 1 | -6/+18 |
| |