summaryrefslogtreecommitdiffstats
path: root/app/view/issue.php (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-11-10Fix bug in assignee selectionMalf Furious1-3/+5
Previously, issues on pads owned by a group (rather than by a user) would incorrectly present options for user assignment. It would show the group as a member of the list, misleadingly with the user icon to the left of it. This patch uses the new agent::getContainedUsers() function to resolve the pad's owner to an array of users accessible via the owner 'agent'. Signed-off-by: Malf Furious <m@lfurio.us>
2018-11-05Only display 'iss-mesg-add' form for open issuesMalf Furious1-42/+44
Disallow posting to closed issues. This is a temporary soultion and will likely be reverted in the future. The main reason this is being done now is because this form, as written, depends on an open issue state. To aid diff comprehension, note that most lines are only indented one level, the code area affected is wrapped in a PHP if. Note that form submissions are still allowed for closed issues. This commit only disable the _displaying_ of the form. Signed-off-by: Malf Furious <m@lfurio.us>
2018-11-04Add user interface for issue assignmentMalf Furious1-0/+26
This allows users to add assignees when posting to an issue. A dropdown is revealed which contains the pad owner and all members. Signed-off-by: Malf Furious <m@lfurio.us>
2018-11-01Add advance button to issue message formMalf Furious1-0/+4
If this submit button is used, the message will be posted as usual, then the issue will be moved to the next stage in the pipeline. Signed-off-by: Malf Furious <m@lfurio.us>
2018-11-01Update issue message submit buttonsMalf Furious1-4/+4
I'm going to be adding another button down here in the btn-group (more later). So to make room, I'm removing the text on these buttons, leaving only the icons. The text will instead be a tooltip, visible when the button is hovered. In the case of the 'Close issue' button, it is changed from btn-success to btn-default. I will tweak colors once this portion of the UI matures. For now, I don't want the rainbow in my face. Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-27Remove unnecessary commentMalf Furious1-8/+1
Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-25issue: Fix bug in iss-mesg-add formMalf Furious1-1/+1
Since this form submits a file upload, we need it to be set enctype="multipart/form-data". Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-25issue: Implement form handler iss-mesg-addMalf Furious1-0/+1
Submissions to the iss-mesg-add form are now handled by this function. User must be logged in and permitted to post to the issue in question. Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-24issue: Add message log to issue view modalMalf Furious1-0/+62
Listing all message (and log messages) beneath the OP in chrono order. There is a form at the bottom to submit new messages. Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-22issue: Add start of issue modal viewMalf Furious1-0/+118