Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Malf Furious <m@lfurio.us>
|
|
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>
|
|
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>
|
|
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>
|
|
|