View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009802||mantisbt||attachments||public||2008-11-11 08:38||2020-09-19 10:53|
|Target Version||2.23.0||Fixed in Version||2.23.0|
|Summary||0009802: Support attachments associated with private notes|
I'm attaching a patch to allow private attachments upon issue update, it works exactly as private/public bugnotes and uses the same thresholds. There is a .sql in the package to alter the needed table in the database.
patch1.1.4-privateAttachments.zip (3,383 bytes)
patch1.2snapshot-privateAttachments.zip (1,986 bytes)
patch20090113snapshot-privateAttachments.zip (1,997 bytes)
|related to||0021733||closed||vboctor||Attachments should be linkable to notes in db|
|related to||0022817||closed||vboctor||"private bugnotes" as default setting prevents uploading further attachments|
|has duplicate||0002461||closed||dhx||Private attachments|
|has duplicate||0007533||closed||atrol||Upload File to be PRIVATE.|
|has duplicate||0013207||closed||dregad||FEATURE REQUEST: Private attachment log in "issue history"|
|has duplicate||0008367||closed||dregad||Set view status (private / public) for uploaded files|
|has duplicate||0022303||closed||vboctor||When trying to add an attachement note status V_PRIVATE has effect (hide the attachment section)|
|has duplicate||0022491||closed||dregad||Add Note - confusing behavior after View Status toggle is selected|
|related to||0021843||closed||vboctor||Attachment dropzone missing from notes when the note is private|
|related to||0024021||new||Mark an attachment as outdated|
|related to||0024831||closed||dregad||Unable to create private note|
|related to||0025935||closed||vboctor||Warning for users when making public notes with attachments private|
|related to||0026150||closed||vboctor||Closing issues via group action with empty note creates a bugnote record|
|related to||0026631||closed||vboctor||file_get_visible_attachments shows private files that should be invisible to the user|
|related to||0027039||closed||dregad||CVE-2020-25781: Access to private bug note attachments|
Since the 1.1.x releases are not considered for feature upgrades, could you grab the latest snapshot of 1.2.x from http://git.mantisbt.org/?p=mantisbt.git;a=summary and resubmit a patch against that version?
Find patch for 1.2.x latest snapshot attached.
Can you please provide new patches based on git trunk (with context). 3 out of 4 patch files do not apply anymore.
C:\branches\mantisbt>patch core/bug_api.php core/bug_api.php.patch
C:\branches\mantisbt>patch core/file_api.php core/file_api.php.patch
C:\branches\mantisbt>patch bug_file_add.php bug_file_add.php.patch
C:\branches\mantisbt>patch bug_file_upload_inc.php bug_file_upload_inc.php.patc
patching file `bug_file_upload_inc.php'
It's done, see "patch20090113snapshot-privateAttachments.zip"
What is the status of this? Are there chances that it comes into 1.2?
So, could this go into 1.3? :-)
For the record, as I closed 0008367 as duplicate: