Commit graph

14 commits

Author SHA1 Message Date
Stan Hu
b2da8042b4 Fix 403 errors when adding an assignee list in project boards
Due to a bug in `BoardPolicy`, users were getting back a 403 error when
trying to assign users to an assignee list and seeing "Something went
wrong while fetching assignees list". For some reason, the declarative
policy runtime was ignoring the ternary condition.

To work around the issue, we make the project board an explicit
condition check.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9727
2019-02-14 13:41:43 -08:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Lin Jen-Shin
6b43e8e636 Unify app/views/shared/issuable/_search_bar.html.haml
This brings some EE changes which don't hurt
2018-07-05 17:27:30 +08:00
Felipe Artur
dd071c4b6e Bring one group board to CE 2018-03-03 12:56:17 -03:00
Felipe Artur
aa997e4297 Small fixes 2017-08-31 16:34:57 -03:00
Felipe Artur
f2a43ff5b7 Group boards CE backport 2017-08-28 18:56:49 -03:00
Yorick Peterse
8fbbf41e29
Added Cop to blacklist the use of dependent:
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).
2017-07-06 12:01:36 +02:00
Phil Hughes
f452c1aa7d Expand/collapse close & backlog lists in issue boards
The closed & backlog lists in issue boards are no collapsible. They can
be collapsed independently of each other & this selection is then saved
to the browser through localStorage. When the page loads, the code gets
the data from localStorage & determines whether to show or hide the list

Closes #23917
2017-05-31 12:34:54 +01:00
blackst0ne
1fb9de2bf7 Change Done column to Closed in issue boards 2017-03-24 23:40:35 +11:00
Douglas Barbosa Alexandre
682d213f43 Remove backlog lists from boards 2017-02-03 17:02:43 +03:00
Douglas Barbosa Alexandre
97551e8dd9 Improve project_with_board factory to create the default lists 2016-09-26 14:42:38 -03:00
Douglas Barbosa Alexandre
4b75c75018 The lists: Backlog, and Done cannot be destroyed 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
b07c5f23b8 Order board lists by list_type, and position 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
611dab2e52 Add Board model 2016-08-17 12:58:57 -03:00