Commit Graph

75 Commits

Author SHA1 Message Date
GitLab Bot 40b78ea2b6 Add latest changes from gitlab-org/gitlab@master 2021-04-07 15:09:18 +00:00
GitLab Bot de64b03b15 Add latest changes from gitlab-org/gitlab@master 2020-12-23 06:10:22 +00:00
GitLab Bot 2ac4833015 Add latest changes from gitlab-org/gitlab@master 2020-10-08 18:08:32 +00:00
GitLab Bot e6bcd6e738 Add latest changes from gitlab-org/gitlab@master 2020-09-25 09:09:40 +00:00
GitLab Bot 190e204dec Add latest changes from gitlab-org/gitlab@master 2019-11-17 12:06:19 +00:00
Martin Wortschack 5660690787 Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
2019-03-27 16:52:52 +00:00
Dmitriy Zaporozhets 600a10b9d1 Add subscribe filter to labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-10-04 10:24:50 +02:00
gfyoung 12ee2753c1 Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:

* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb

Partially addresses #47424.
2018-09-25 22:43:49 -07:00
Robert Speicher c7d1eef671 Merge branch 'rubocop-code-reuse' into 'master'
Add RuboCop cops to enforce code reusing rules

See merge request gitlab-org/gitlab-ce!21391
2018-09-13 14:53:05 +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
Dmitriy Zaporozhets 8d19f4b4a6
Add sort dropdown to project labels page and group labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-09-10 15:34:36 +03:00
Dmitriy Zaporozhets f42fe0b637 Add ability to filter labels by title or description
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-07-31 12:46:36 +03:00
Filipa Lacerda a0930b83ec Escapes milestone and label names when promoting them 2018-07-17 10:21:12 +01:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Felipe Artur ad7148d9ea Allow assigning and filtering issuables by ancestor group labels 2018-04-04 15:40:29 +00:00
Jose Ivan Vargas 2a9a15266d Fix middle alignment for the title 2018-03-28 14:18:09 -05:00
Jose Ivan Vargas 1f02673867 Fix promoting labels and milestones copy text 2018-03-28 14:18:09 -05:00
Jose Ivan Vargas a16547e5c2 used respond_to formats for persisting flash messages instead 2018-03-06 16:32:26 -06:00
Jose Ivan Vargas f42397d19a Add persistent flash messages 2018-03-01 16:10:04 -06:00
Jose Ivan Vargas d5c0018649 Added vue based promotion modals for labels and milestones 2018-03-01 16:10:03 -06: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
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Nick Thomas 8e5bf9d8dc Use the new check_project_feature_available! method in project controllers 2017-06-21 10:56:45 +01:00
Sean McGivern 737d194c08 Allow group reporters to promote labels
They can admin group labels anyway, we weren't checking the more specific
permission.
2017-06-08 11:44:33 +01:00
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Winnie Hellmann b51f2a6080 Colorize labels in issue search field 2017-05-05 22:47:32 +00:00
Dongqing Hu 6dd7695444 Labels support color names in backend 2017-03-29 11:45:15 +00:00
Sean McGivern 86af3ed55e Merge branch '24021-Migrate-Projects-Labels-to-Group-Labels' into 'master'
Promote project labels to group labels

Closes #24021

See merge request !7242
2017-01-31 13:35:26 +00:00
Ritave 5d871dccbe Abillity to promote project labels to group labels
Fixes #24021
2017-01-31 12:50:52 +01:00
Luke "Jared" Bennett bfbdc62a3f Added labels empty state and priority label empty state
Fixed delete labels not working

Review changes
2017-01-30 17:54:48 +03:00
Douglas Barbosa Alexandre b3249bc28f Use @project as default on ToggleSubscriptionAction concern 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre 4a29fde577 Allow users to subscribe to group labels at project-level 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre 7fcd469e3e Add subscribable_project to ToggleSubscriptionAction concern 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre 2525e55ec9 Remove unnecessary includes(:priorities) on Projects::LabelsController 2016-10-31 23:27:49 -02:00
Douglas Barbosa Alexandre 007267ef8b Use `includes(:priorities)` on Projects::LabelsController 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre 530aae9080 Abstract LabelPriority away into methods on Label model 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre 67314e95ae Add support to group labels prioritization on project level 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre 247859c829 Render all available labels to project on project labels dropdown 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre bde992a83a Limit what label fields we expose on Projects::LabelsController#index 2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre 0bfa39d5bd Remove scopes/types for labels 2016-10-19 14:58:25 -02:00
Douglas Barbosa Alexandre 1c73d302e2 Avoid an extra a query per label when setting label priority 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre baf47a0bd0 Remove project_labels from Projects::ApplicationController 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre bdb7bf4b51 List group labels on project labels page 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre 398ab263fd Allow users to apply group labels on Issues/MRs 2016-10-19 14:58:24 -02:00
Nick Thomas af5e54f9ce Convert label creation from API to controller endpoint 2016-09-23 12:21:47 +01:00
Felipe Artur 892dea6771 Project tools visibility level 2016-09-01 11:47:59 -03:00
Alfredo Sumaran 8b3ed9c355 add :set_priorities to :authorize_admin_labels! 2016-06-06 11:59:49 -05:00
Alfredo Sumaran 221d2e3aa0 Remove unnecesary param 2016-06-06 11:59:49 -05:00
Alfredo Sumaran fa6593b226 Update method and route 2016-06-06 11:59:49 -05:00
Alfredo Sumaran 8f0bf29767 Add unprioritized scope 2016-06-06 11:59:49 -05:00