summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
AgeCommit message (Collapse)AuthorFilesLines
2012-01-12Bug 715902: Do not log personal common activities in audit_logFrédéric Buclin1-0/+1
r=dkl a=LpSolit
2012-01-11Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin1-22/+5
add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
2011-12-31Bug 647662 - Add a "size" return value to Bug.attachmentsReed Loden1-1/+1
[r=dkl r=mkanat a=mkanat]
2011-12-08Suppress warning relating to new constant.Gervase Markham1-1/+1
https://bugzilla.mozilla.org/show_bug.cgi?id=705078
2011-12-08Expand max length of attachment filename from 100 to 255 characters. r=glob, ↵Gervase Markham1-3/+5
a=LpSolit. https://bugzilla.mozilla.org/show_bug.cgi?id=705078
2011-12-08Bug 684225: The removal of locally stored attachments should be done from ↵c1541@hotmail.com1-0/+5
Bugzilla::Attachment->remove_from_db r/a=LpSolit
2011-10-01Bug 582529: Ambiguous error message "You did not specify a file to attach" ↵Frédéric Buclin1-1/+8
when deleting an existing attachment filename a=LpSolit
2011-08-10Bug 677187: If the attachment filename contains a newline, an error is ↵Frédéric Buclin1-3/+7
thrown when trying to download the attachment r/a=mkanat
2011-08-04Bug 660502: (CVE-2011-2977) [SECURITY] Temporary files for uploaded ↵Frédéric Buclin1-1/+4
attachments are not deleted on Windows r=glob a=LpSolit
2011-03-14Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objectsMax Kanat-Alexander1-0/+2
r=dkl, a=mkanat
2011-02-11Bug 633041: Add an error code for zero_length_file and fill in content_typeMax Kanat-Alexander1-3/+8
for patches when content_type is missing in Bug.add_attachment in the WebService r=LpSolit, a=LpSolit
2010-10-22Bug 413648: Attachment mime type handling should strip leading and trailing ↵Frédéric Buclin1-0/+1
spaces a=LpSolit
2010-07-18Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin1-49/+7
r/a=mkanat
2010-07-14Bug 412074: Ability to add attachments to a bug via the WebServiceMax Kanat-Alexander1-0/+2
(Bug.add_attachment) r=timello, a=mkanat
2010-07-08Bug 490930: Always store attachments locally if they are over X size (and ↵Frédéric Buclin1-79/+37
below some threshold!), don't ever display "Big File" checkbox r=mkanat a=LpSolit
2010-07-06Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, whichMax Kanat-Alexander1-0/+1
allows specifying that certain fields have validator defaults even if they also have a database default or are in another table. r=LpSolit, a=LpSolit
2010-07-05Bug 574327 - Map image/x-png to image/png (to fix IE's uploads)Reed Loden1-0/+6
[r=LpSolit a=LpSolit]
2010-06-24Bug 572602: Change the way that Bugzilla::Object determines what fieldsMax Kanat-Alexander1-8/+8
are required for create(). It now assumes that any column that is NOT NULL and has not DEFAULT in the database is required. We also shift the burden of throwing errors about empty values to the validators. This fixes the bug that Bugzilla::Bug->create() wasn't populating default values for fields if they weren't specified in the create() parameters. r=timello, a=mkanat
2010-05-14Bug 565880: Do not throw an error when obsoleting an already obsolete attachmentFrédéric Buclin1-5/+5
a=LpSolit
2009-11-24Bug 430014: Re-write the code hooks system so that it uses modules instead ↵mkanat%bugzilla.org1-1/+1
of individual .pl files Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-09-28Bug 140999: Users without edit permissions for an attachment should still be ↵lpsolit%gmail.com1-8/+6
able to make comments - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
2009-08-13Bug 480986: The BMP -> PNG conversion tool for new attachments should be an ↵lpsolit%gmail.com1-18/+0
extension - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2009-08-13Bug 509027: Add a hook in Bugzilla::Attachment::_check_data() - Patch by ↵lpsolit%gmail.com1-46/+48
Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2009-08-05Bug 415541: Implement $bug->set_flags() and $attachment->set_flags() - Patch ↵lpsolit%gmail.com1-16/+42
by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
2009-04-09Fix a warning thrown in the web server error log (due to bug 454251)lpsolit%gmail.com1-1/+2
2009-04-09Bug 454251: Implement Bugzilla::Attachment->create() and ↵lpsolit%gmail.com1-311/+324
$attachment->update() - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit (module owner)
2008-12-10Bug 399074: Remove the 'maxpatchsize' parameter - Patch by Frédéric ↵lpsolit%gmail.com1-3/+2
Buclin <LpSolit@gmail.com> r/a=mkanat
2008-09-09Fix bustage due to bug 453743: I have to exclude flags related to private ↵lpsolit%gmail.com1-0/+3
attachments you cannot see
2008-09-09Bug 388251: Implement 'new Bugzilla::Attachment' - Patch by Frédéric ↵lpsolit%gmail.com1-83/+56
Buclin <LpSolit@gmail.com> a=LpSolit
2008-09-08Bug 453743: Decrease the number of calls to the DB about flags when viewing ↵lpsolit%gmail.com1-3/+57
a bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2008-02-04Bug 415155: Remove $cgi from the list of arguments when calling ↵lpsolit%gmail.com1-3/+3
Bugzilla::Flag subroutines - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
2008-02-04Bug 413772: Eliminate sqlify_criteria() in Bugzilla::Flag and replace ↵lpsolit%gmail.com1-2/+2
match() there with Bugzilla::Object::match() - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r/a=LpSolit
2008-01-20Bug 413222: Implement $attachment->remove_from_db - Patch by Frédéric ↵lpsolit%gmail.com1-2/+26
Buclin <LpSolit@gmail.com> a=LpSolit
2008-01-18Bug 408172: [Oracle] Bug lists longer than 1000 bugs failmkanat%bugzilla.org1-7/+8
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
2007-12-12Bug 375007: [Oracle] Some CGIs use SQL names in their "AS" clauses that ↵mkanat%bugzilla.org1-2/+2
don't work in Oracle Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
2007-11-30Bug 99215: Attachments have no midair collision protection - Patch by ↵lpsolit%gmail.com1-5/+22
Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=justdave a=justdave
2007-10-09Midair with product change while adding an attachment silently clears flags ↵lpsolit%gmail.com1-7/+7
- Patch by Tiago R. Mello <timello@gmail.com> r/a=LpSolit
2007-08-14Bug 392175: Move isViewable out of attachment.cgi + some other minor cleanup ↵lpsolit%gmail.com1-11/+38
- Patch by Frédéric Buclin <LpSolit@gmail.com>
2007-07-25Bug 345970 Avoid using the string 'the web'timeless%mozdev.org1-1/+1
patch by jhulten@tragicallyleet.com r=timeless I've updated it to trunk r=lpsolit a=lpsolit
2007-07-20Bug 365756 text/x-patch and text/x-diff should be mapped to [x] patchtimeless%mozdev.org1-0/+9
r=lpsolit a=lpsolit
2007-04-04Bug 376497: validateID() should return an attachment object - Patch by ↵lpsolit%gmail.com1-8/+8
Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
2007-02-05Bug 364177: On attachment and bug creation, if *one* requestee cannot see ↵lpsolit%gmail.com1-1/+1
the bug, *all* requests are cancelled - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2007-01-17Bug 367077: Big attachments which should be stored locally are not - Patch ↵lpsolit%gmail.com1-1/+4
by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
2007-01-04Bug 365739: An error is thrown when attaching a too big file on bug creation ↵lpsolit%gmail.com1-1/+1
- Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
2006-12-02Bug 356395: On bug creation, an error is thrown when the requestee of a ↵lpsolit%gmail.com1-8/+21
private attachment is not in the insidergroup, or when the requestee is not in the grant group (for attachment flags) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
2006-11-11Bug 189627: Implement per-product privileges - Patch by Frédéric ↵lpsolit%gmail.com1-10/+13
Buclin <LpSolit@gmail.com> r=mkanat a=myk
2006-10-15Bug 346086: [SECURITY] attachment.cgi lets you view descriptions of private ↵lpsolit%gmail.com1-25/+51
attachments even when you are not in the insidergroup - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=justdave
2006-08-25Bug 343809: Merge FlagType::validate() with Flag::validate() - Patch by ↵lpsolit%gmail.com1-7/+5
Frédéric Buclin <LpSolit@gmail.com> a=myk
2006-07-25Bug 174039: Set flags on bug entry - Patch by Frédéric Buclin ↵lpsolit%gmail.com1-8/+116
<LpSolit@gmail.com> r=wurblzap r=myk a=myk
2006-07-04Bug 338375: Use Bugzilla->params everywhere instead of Param().mkanat%bugzilla.org1-1/+0
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave