View Issue Details

IDProjectCategoryView StatusLast Update
0009802mantisbtattachmentspublic2018-10-09 06:17
ReporterrzuastiAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version1.1.4 
Target VersionFixed in Version 
Summary0009802: Private attachments
Description

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.

Tagspatch, schema

Relationships

related to 0021733 new Attachments should be linkable to notes in db 
related to 0022817 confirmed "private bugnotes" as default setting prevents uploading further attachments 
has duplicate 0002461 closeddhx Private attachments 
has duplicate 0007533 closedatrol Upload File to be PRIVATE. 
has duplicate 0013207 closeddregad FEATURE REQUEST: Private attachment log in "issue history" 
has duplicate 0008367 closeddregad Set view status (private / public) for uploaded files 
has duplicate 0022303 closedvboctor When trying to add an attachement note status V_PRIVATE has effect (hide the attachment section) 
has duplicate 0022491 closeddregad Add Note - confusing behavior after View Status toggle is selected 
related to 0021843 closedvboctor Attachment dropzone missing from notes when the note is private 
related to 0024021 new Mark an attachment as outdated 
related to 0024831 closeddregad Unable to create private note 

Activities

2008-11-11 08:38

 

patch1.1.4-privateAttachments.zip (3,383 bytes)
jreese

jreese

2008-11-11 08:47

reporter   ~0019842

Last edited: 2008-11-11 08:47

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?

Cheers.

rzuasti

rzuasti

2008-11-11 15:10

reporter   ~0019844

Find patch for 1.2.x latest snapshot attached.

rgds,
r.

2008-11-11 15:10

 

patch1.2snapshot-privateAttachments.zip (1,986 bytes)
siebrand

siebrand

2009-01-12 18:32

developer   ~0020596

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
patching file `core/bug_api.php'
Hunk 0000002 FAILED at 1394.
1 out of 2 hunks FAILED -- saving rejects to core/bug_api.php.rej

C:\branches\mantisbt>patch core/file_api.php core/file_api.php.patch
patching file `core/file_api.php'
Hunk 0000001 FAILED at 536.
Hunk 0000004 succeeded at 690 (offset 53 lines).
Hunk 0000005 FAILED at 692.
2 out of 5 hunks FAILED -- saving rejects to core/file_api.php.rej

C:\branches\mantisbt>patch bug_file_add.php bug_file_add.php.patch
patching file `bug_file_add.php'
Hunk 0000002 FAILED at 59.
1 out of 2 hunks FAILED -- saving rejects to bug_file_add.php.rej

C:\branches\mantisbt>patch bug_file_upload_inc.php bug_file_upload_inc.php.patc

patching file `bug_file_upload_inc.php'

2009-01-13 15:05

 

patch20090113snapshot-privateAttachments.zip (1,997 bytes)
rzuasti

rzuasti

2009-01-13 15:06

reporter   ~0020611

It's done, see "patch20090113snapshot-privateAttachments.zip"

polzin

polzin

2010-02-15 05:25

reporter   ~0024391

What is the status of this? Are there chances that it comes into 1.2?

polzin

polzin

2010-12-07 09:40

reporter   ~0027565

So, could this go into 1.3? :-)

dregad

dregad

2016-11-04 09:33

developer   ~0054411

For the record, as I closed 0008367 as duplicate:
Forum discussion on this topic https://www.mantisbt.org/forums/viewtopic.php?f=2&t=2103

Issue History

Date Modified Username Field Change
2008-11-11 08:38 rzuasti New Issue
2008-11-11 08:38 rzuasti File Added: patch1.1.4-privateAttachments.zip
2008-11-11 08:47 jreese Note Added: 0019842
2008-11-11 08:47 jreese Note Edited: 0019842
2008-11-11 08:48 jreese Status new => acknowledged
2008-11-11 15:10 rzuasti Note Added: 0019844
2008-11-11 15:10 rzuasti File Added: patch1.2snapshot-privateAttachments.zip
2008-11-12 01:10 vboctor Tag Attached: patch
2009-01-12 18:32 siebrand Note Added: 0020596
2009-01-12 18:32 siebrand Status acknowledged => feedback
2009-01-13 15:05 rzuasti File Added: patch20090113snapshot-privateAttachments.zip
2009-01-13 15:06 rzuasti Note Added: 0020611
2010-02-15 05:25 polzin Note Added: 0024391
2010-02-15 19:51 dhx Relationship added has duplicate 0002461
2010-12-07 09:40 polzin Note Added: 0027565
2011-08-14 10:15 atrol Relationship added has duplicate 0007533
2011-12-14 04:04 rombert Severity minor => feature
2016-09-30 21:32 vboctor Relationship added related to 0021733
2016-09-30 21:32 vboctor Tag Attached: schema
2016-09-30 21:33 vboctor Status feedback => new
2016-09-30 21:33 vboctor Category feature => attachments
2016-11-04 09:30 dregad Relationship added related to 0021843
2016-11-04 09:31 dregad Relationship added has duplicate 0013207
2016-11-04 09:32 dregad Relationship added has duplicate 0008367
2016-11-04 09:33 dregad Note Added: 0054411
2016-11-04 09:33 dregad Status new => acknowledged
2017-02-03 00:23 vboctor Relationship added has duplicate 0022303
2017-03-07 12:26 dregad Relationship added has duplicate 0022491
2017-04-26 11:20 vboctor Relationship added related to 0022817
2018-02-20 03:39 atrol Relationship added related to 0024021
2018-10-09 06:17 dregad Relationship added related to 0024831