-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue_tracker] Add attachments to issues (#5394)
This adds the ability to add attachments to issues in the issue tracker.
- Loading branch information
Showing
18 changed files
with
1,213 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
SQL/New_patches/2019-10-29_adding_issues_attachments_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CREATE TABLE `issues_attachments` ( | ||
`ID` int NOT NULL AUTO_INCREMENT, | ||
`issueID` int(11) NOT NULL, | ||
`file_hash` varchar(64) NOT NULL, | ||
`date_added` timestamp NOT NULL DEFAULT current_timestamp(), | ||
`file_name` varchar(255) NOT NULL DEFAULT '', | ||
`deleted` tinyint(1) NOT NULL DEFAULT 0, | ||
`user` varchar(255) NOT NULL DEFAULT '', | ||
`description` text DEFAULT NULL, | ||
`file_size` int(20) DEFAULT NULL, | ||
`mime_type` varchar(255) NOT NULL DEFAULT '', | ||
PRIMARY KEY (`ID`) | ||
) DEFAULT CHARSET=utf8mb4; | ||
|
||
INSERT INTO ConfigSettings (Name, Description, Visible, AllowMultiple, DataType, Parent, Label, OrderNumber) | ||
VALUES('IssueTrackerDataPath', 'Path to Issue Tracker data files', 1, 0, 'web_path', 26, 'Issue Tracker Data Path', 8); | ||
|
||
INSERT INTO Config (ConfigID, Value) | ||
SELECT | ||
ID, | ||
'/data/issue_tracker/' | ||
FROM | ||
ConfigSettings | ||
WHERE | ||
Name = "IssueTrackerDataPath"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Issue Tracker | ||
|
||
This module allows you to submit, edit, view, and track issues. | ||
This module allows you to submit, edit, view, upload and track issues. | ||
|
||
Use the *Selection Filter* section to search for specific issues, if desired. In the data table, you can navigate between different tabs—**All Issues**, **Active Issues**, **Closed Issues**, and **My Issues**—to further narrow your results. | ||
|
||
In the table, in the *Title* column, you can click on any issue name to edit its details. | ||
|
||
Click **New Issue** if you wish to add a new issue. Then, populate the fields and click **Submit Issue**. | ||
Click **New Issue** if you wish to add a new issue. Then, populate the fields and click **Submit Issue**. You may also upload an attachment for the issue. | ||
|
||
Note that you can add users to the "Watching" list - this will send email notifications to the selected users when the issue is created and updated. If you are the author of an issue, and you add yourself as Watching, you won't be sent notifications about your own updates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.