Commit graph

15 commits

Author SHA1 Message Date
Yorick Peterse
d0b8f536a1
Remove soft removals related code
This removes all usage of soft removals except for the "pending delete"
system implemented for projects. This in turn simplifies all the query
plans of the models that used soft removals. Since we don't really use
soft removals for anything useful there's no point in keeping it around.

This _does_ mean that hard removals of issues (which only admins can do
if I'm not mistaken) can influence the "iid" values, but that code is
broken to begin with. More on this (and how to fix it) can be found in
https://gitlab.com/gitlab-org/gitlab-ce/issues/31114.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
2018-01-08 17:04:45 +01:00
Oswaldo Ferreira
cba40a1f55 Stop sending milestone and labels data over the wire for MR widget
requests
2017-12-15 15:31:16 -02:00
Yorick Peterse
d825c9cb5d
Clean up schema of the "issues" table
This adds various foreign key constraints, indexes, missing NOT NULL
constraints, and changes some column types from timestamp to
timestamptz.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/31811
2017-11-09 18:00:30 +01:00
Jarka Kadlecova
064c8949bd CE port of code changed for epics 2017-11-02 07:14:35 +01:00
Jarka Kadlecova
360c147057 Disable comment form when discussion locked for user 2017-09-26 08:42:33 +02:00
Luke "Jared" Bennett
04793ff1eb
Expose discussion_locked for issue_entity 2017-09-14 14:22:18 +01:00
Jarka Kadlecova
fc9e57434c Fix failing static-analysis (rubocop) 2017-08-11 14:24:59 +02:00
Douwe Maan
0149648638 Remove noteable ID and type from IssueEntity create_note_path 2017-07-21 22:35:25 +03:00
Douwe Maan
73b813117a Fix IssueEntity create_note_path 2017-07-21 22:35:25 +03:00
Douwe Maan
ebf9155113 Add data required for note form 2017-07-21 22:35:25 +03: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
Phil Hughes
625d344206 renamed path to web_url in endpoint 2017-05-25 11:20:52 +01:00
Phil Hughes
907dd68e0a Added move to project in issue inline edit form
[ci skip]
2017-05-17 13:01:24 +01:00
Valery Sizov
387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Ruben Davila
452d1d0824 Backport some changes done from Time Tracking feature in EE. 2016-11-18 21:19:04 -05:00