Commit graph

22 commits

Author SHA1 Message Date
charlieablett
04d2d8f9b7 Move order lambda to list scope
- apply ordering to both list scopes in `Board`
2019-06-27 10:32:51 +12:00
Nick Thomas
013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
Jasper Maes
d36b022fae Fix deprecation: returning false in Active Record and Active Model callbacks will not implicitly halt a callback chain 2019-01-03 23:43:53 +01:00
Chantal Rollison
c871faa3e4 Add preload in issues controller 2018-10-18 18:43:50 -07:00
Oswaldo Ferreira
ddb14e4098 Backport issue board milestone lists EE changes 2018-08-07 17:29:06 +00:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Mario de la Ossa
cf41aaba5a Backport of "Add assignee lists to boards" 2018-06-07 20:54:24 +00:00
Oswaldo Ferreira
e2e72fe568 Adjust board lists header text color
Adjusts regression fixed by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18786/. We were not returning the label text color correctly on the backend.
2018-05-14 19:05:20 -03:00
Douwe Maan
0bcb1d35ec Merge branch 'expand-backlog-closed-lists-issue-boards' into 'master'
Expand/collapse close & backlog lists in issue boards

Closes #23917

See merge request !11820
2017-06-07 15:05:37 +00:00
Rémy Coutable
4cfa5ce4a9
Enable the Style/PreferredHashMethods cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02 19:11:26 +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
86e0b5d643 Fix issue board related controllers to expose label priority per project 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
50ac488c73 Add a movable scope and a movable? method to List model 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
c6511235e4 Add a destroyable scope and a destroyable? method to List model 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
847ebce90a Remove useless delegate method on List model 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
c14ac83575 Ensure that we have only one list per label per board 2016-08-17 12:58:58 -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
252e93c9e6 Title of a list is either the label name, or Backlog, or Done 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