Commit graph

35 commits

Author SHA1 Message Date
Douglas Barbosa Alexandre
4cccfc0f17 Fix issue boards leak private label names and descriptions 2016-08-29 16:04:28 -03:00
Douglas Barbosa Alexandre
3bfb94b759 Label list shows all issues (opened or closed) with that label 2016-08-25 09:39:23 -03:00
Douglas Barbosa Alexandre
a8cc69a281 Validate if the lists are different when moving issues between lists 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
997e77e74a Fix board create service namespace to avoid autoload issues 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
4de6799ef5 Inherit board related services from BaseService 2016-08-17 12:58:59 -03: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
f77c47a51c Remove lookup inside services to keep them consistent with other ones 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
affed37065 Use Issues::UpdateService to close/reopen an issue 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
d8fc783bb9 Remove useless increment when creating a new board list 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
8e4e294a7c Rename from/to params to from_list_id/to_list_id 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
1b7f137e95 Fix filtering issues by "No Label" 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
7ab5320c67 Use qualified name for services in generate default lists service 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
a8b1ad250e Add authorization to issues board related controllers 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
68cfdba701 Add service to generate default board lists 2016-08-17 12:58:59 -03:00
Douglas Barbosa Alexandre
c08a14c3c2 Removes all list-labels when moving to Backlog/Done 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
9e5a305f18 Use zero-based positions on issues board services 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
1fa7274c48 Rename list_id param to id in Boards::Issues::ListService 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
75f0bc4af8 Add endpoint to allow users to move issues between lists 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
aff7a2ef55 Extract base service class for boards related services 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
52b6a7e966 Add service to list issues for a board list 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
aa97c0fd12 Rename list_id param to id in Boards::Lists::DestroyService 2016-08-17 12:58:58 -03:00
Douglas Barbosa Alexandre
4f45d11363 Rename list_id param to id in Boards::Lists::MoveService 2016-08-17 12:58:58 -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
35420cec0b Respect Backlog/Done positions when creating a new list 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
260f1593bf Extract new list position validation to a method 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
22b8c0b7ae Check if user can update the issue before moving it betweens lists 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
115fca13c3 Add service to move issues between lists 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
26ac084640 Does not allow Backlog/Done lists to be moved 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
5ef567e33d Does not allow Backlog/Done lists to be removed 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
4180a15c56 Create Backlog/Done lists when creating a new board 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
b23683b00b Add service to remove a list from board 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
279361fa16 Add service to move board lists 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
247e11c948 Add service to create a board list 2016-08-17 12:58:57 -03:00
Douglas Barbosa Alexandre
a77aee9369 Add service to create a new board for a project 2016-08-17 12:58:57 -03:00