Commit Graph

48 Commits

Author SHA1 Message Date
GitLab Bot 5bb4992da2 Add latest changes from gitlab-org/gitlab@master 2023-07-20 21:10:44 +00:00
GitLab Bot 51d59a3538 Add latest changes from gitlab-org/gitlab@master 2023-05-02 12:18:53 +00:00
GitLab Bot 4720346c2e Add latest changes from gitlab-org/gitlab@master 2023-04-24 12:08:36 +00:00
GitLab Bot 5dc70663c4 Add latest changes from gitlab-org/gitlab@master 2022-11-21 15:12:22 +00:00
GitLab Bot 983f6954d1 Add latest changes from gitlab-org/gitlab@master 2022-11-02 18:10:05 +00:00
GitLab Bot 6619ed911f Add latest changes from gitlab-org/gitlab@master 2022-08-30 18:09:50 +00:00
GitLab Bot 475d5a7a17 Add latest changes from gitlab-org/gitlab@master 2022-03-03 00:20:18 +00:00
GitLab Bot 6463521e08 Add latest changes from gitlab-org/gitlab@master 2021-04-19 18:09:09 +00:00
GitLab Bot 99551d4458 Add latest changes from gitlab-org/gitlab@master 2020-10-20 06:09:03 +00:00
GitLab Bot 316fbf9f95 Add latest changes from gitlab-org/gitlab@master 2020-10-15 18:08:43 +00:00
GitLab Bot d6348d22dd Add latest changes from gitlab-org/gitlab@master 2020-06-24 09:08:32 +00:00
GitLab Bot b375c6c05f Add latest changes from gitlab-org/gitlab@master 2020-03-02 15:08:01 +00:00
GitLab Bot e06d0e7796 Add latest changes from gitlab-org/gitlab@master 2020-02-25 15:08:50 +00:00
GitLab Bot 163a7046ac Add latest changes from gitlab-org/gitlab@master 2020-02-18 15:08:51 +00:00
GitLab Bot 6755df108b Add latest changes from gitlab-org/gitlab@master 2020-01-21 00:08:46 +00:00
GitLab Bot 7f8330873c Add latest changes from gitlab-org/gitlab@master 2019-12-18 21:07:37 +00:00
GitLab Bot e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +00:00
GitLab Bot 123c68a7cf Add latest changes from gitlab-org/gitlab@master 2019-12-16 18:08:22 +00:00
GitLab Bot 784fae4b9d Add latest changes from gitlab-org/gitlab@master 2019-12-12 12:07:33 +00:00
GitLab Bot dea6ebd31a Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
Patrick Derichs 927f608f2c Fix HTML injection for label description
Add changelog entry

Add spec
2019-08-05 16:01:43 +02:00
Heinrich Lee Yu f5ec6b4e12 Remove project from show_label_issuables_link?
The project param is unnecessary here
2019-07-23 17:30:25 +08:00
Jan Provaznik 4df0e2599b Fix display of promote to group label
Since label presenter is used in label index view, label class
check doesn't work as expected because the class is now LabelPresenter.

Also `label.subject` doesn't work as expected now because Label's model
`subject` method is shadowed by Gitlab's presenter's method which uses
`subject` for referencing the original object.

Instead we use a presenter's method for both checks now.

`label_deletion_confirm_text` is not used anywhere so it's removed
2019-05-28 10:05:20 +00:00
Jan Provaznik 8ce4b6093a Move scoped_label into label presenter
When rendering a label we want to check 'scoped_label' feature
availability on a project/group where label is being used. For
this reason a label presenter is used in UI and information about
context project/group is passed to this presenter.
2019-04-23 19:58:20 +00:00
Jan Provaznik f88607923a Fix scoped_labels feature check
Check this feature per project/group instead of globally.
Also do not show tooltip if it's disabled.
2019-04-04 19:34:14 +02:00
Dmitriy Zaporozhets 0a11d5e245
Sort labels alphabetically
Sorts labels alphabetically on issues (and merge requests) list.
Before it was order id desc.
Now it will be consistent with sidebar and labels page.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-02-21 22:19:24 +02:00
Dmitriy Zaporozhets bd872bb83f Fix typo in labels_helper_spec.rb 2018-11-01 15:26:59 +00:00
Dmitriy Zaporozhets 6f11593774
Fix bug when links in tabs of the labels index pages ends with .html
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-10-31 18:04:36 +02:00
Kushal Pandya 557344539d Add helpers for labels dropdown 2018-03-12 10:49:55 +05:30
Takuya Noguchi 2b6307f6ad Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
Sophie Herold 7ccd6a51a5
Hide issues and MRs in labels list if disabled
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-11 20:38:53 +01:00
Bob Van Landuyt 58d1d6a5c7 Free up some group reserved words 2017-11-07 19:52:09 +01:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Gabriel Mazetto abb878326c Rename many path_with_namespace -> full_path 2017-08-01 07:26:58 +02:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Oswaldo Ferreira f272ee6eba Add shorthand support to gitlab markdown references 2016-12-02 19:18:17 -02:00
Douglas Barbosa Alexandre b654229dcd Fix LabelsHelper#link_to_label to use the subject argument 2016-10-19 14:58:24 -02:00
Phil Hughes 0158b86d8c Updated label links to work correctly for filtering
See !3846#note_5033951
2016-04-26 09:13:03 +01:00
Arinde Eniola 367818d293 change the css class has_tooltip to has-tooltip universally 2016-03-20 21:37:22 +01:00
Rémy Coutable 9d15814eb0 Fix specs 2016-03-18 20:26:30 +01:00
Rémy Coutable 6e79ce2efd Allow link_to_label to take an optional type arg
You can set type: :merge_request to create a link to merge request
lists instead of issues list. Accept both Symbol & String as type
argument for the link_to_label helper
2016-02-04 19:14:48 +01:00
Robert Speicher 2e911721d2 Update text_color_for_bg helper to support RGB triplet color codes
Closes #12677
2016-01-24 15:06:46 -08:00
Douwe Maan d10e3c4498 Merge branch 'master' into filter-label 2015-10-14 13:23:01 +02:00
Stan Hu dfbbc80611 Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters
Closes #2619

Closes https://github.com/gitlabhq/gitlabhq/issues/9631
2015-10-07 07:21:50 -07:00
Robert Speicher 9bdd7f34a5 Add link_to_label helper 2015-05-21 23:40:25 -04:00
Robert Speicher 96c2b94048 Reference filters
Commit ranges, commits, external issues, issues, labels, merge requests,
snippets, users.
2015-04-20 13:01:42 -04:00
Dmitriy Zaporozhets d9d8d3b799
Fix old api compatibility and tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-30 17:17:29 +03:00
Jeroen van Baarsen 28f1a5d7d8 Determine label color based on lowercase name 2014-04-11 19:06:27 +02:00