Commit Graph

32 Commits

Author SHA1 Message Date
GitLab Bot d2d913b606 Add latest changes from gitlab-org/gitlab@master 2023-04-25 12:18:56 +00:00
GitLab Bot fd9a56d56f Add latest changes from gitlab-org/gitlab@master 2023-02-24 15:09:55 +00:00
GitLab Bot dd8c199e98 Add latest changes from gitlab-org/gitlab@master 2023-01-30 21:09:38 +00:00
GitLab Bot 60e09a0cef Add latest changes from gitlab-org/gitlab@master 2022-01-20 12:16:19 +00:00
GitLab Bot 49bb78aac3 Add latest changes from gitlab-org/gitlab@master 2021-05-17 18:10:42 +00:00
GitLab Bot 0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot a0b4a462b0 Add latest changes from gitlab-org/gitlab@master 2021-03-17 21:11:29 +00:00
GitLab Bot 26e44c6225 Add latest changes from gitlab-org/gitlab@master 2021-03-12 12:09:33 +00:00
GitLab Bot 7f5e08060f Add latest changes from gitlab-org/gitlab@master 2021-02-12 09:08:48 +00:00
GitLab Bot e43077ab47 Add latest changes from gitlab-org/gitlab@master 2020-02-07 15:09:52 +00:00
GitLab Bot 37eff29d5c Add latest changes from gitlab-org/gitlab@master 2020-01-17 15:08:37 +00:00
GitLab Bot 6b75320f52 Add latest changes from gitlab-org/gitlab@master 2019-10-17 12:07:33 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Jan Provaznik 243bd0202f Create an event on epic actions
Creates new event when an epic is created, closed, reopened or
commented.
2019-09-03 21:29:55 +00:00
charlieablett 04d2d8f9b7 Move order lambda to list scope
- apply ordering to both list scopes in `Board`
2019-06-27 10:32:51 +12:00
charlieablett 82b87ae509 Compound lists scopes to preserve ordering 2019-06-26 21:49:53 +12:00
charlieablett 426f1c20b1 Remove N+1 query for project and group boards
- Add test for N+1 queries
- Add destroyable lists scope to Board and List
- Preload lists for both project and group boards
2019-06-26 11:47:18 +12:00
Nick Thomas 013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
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