summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
AgeCommit message (Collapse)AuthorFilesLines
2016-02-29Bug 1136137: Require Perl 5.14Frédéric Buclin1-1/+1
r=dkl
2016-01-05Bug 1235270: Set submitter_id before calling _check_data()Mahdi Mokhtari1-1/+2
r=LpSolit
2015-04-29Bug 622455: The attachment mime type autodetection shouldn't rely on the ↵Frédéric Buclin1-5/+3
browser when it gets text/x-* r=dkl a=glob
2015-01-21Bug 1079065: [SECURITY] Always use the 3 arguments form for open() to ↵Gervase Markham1-2/+2
prevent shell code injection r=dylan,a=simon
2014-10-24Bug 1073264 - allow attachment download to be offloaded to the webserver ↵Damien Nozay1-2/+42
using X-SendFile or equivalent. r=gerv, a=glob.
2014-08-13Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modulesFrédéric Buclin1-0/+1
r=dkl a=sgreen
2014-06-11Bug 978146: activity entry when setting flags isn't split across multiple rowsByron Jones1-7/+3
r=dkl,a=sgreen
2014-03-31Bug 989633 - Unable to change content type using Bug.update_attachment if ↵David Lawrence1-1/+2
attachment previously set to is_patch = 1 r=glob,a=justdave
2014-03-21Bug 294021: Allow requestees to set attachment flags even if they don't have ↵Frédéric Buclin1-6/+5
editbugs privs r=gerv a=justdave
2014-02-27Bug 947823: Replace gender-specific pronouns with gender-neutral pronounsCharlie Somerville1-1/+1
r=gerv a=justdave
2014-02-24Bug 975896: Bugzilla crashes when editing a flag type which is not ↵Frédéric Buclin1-4/+4
specifically requestable r/a=glob
2014-01-31Bug 956233: enable USE_MEMCACHE on most objectsByron Jones1-1/+14
r=dkl, a=glob
2014-01-03Bug 945535 - When loading bugs with large number of attachments, ↵Dave Lawrence1-15/+21
$bug->attachments reloads all flags for each attachment even if preloaded r=LpSolit,a=sgreen
2013-11-18Bug 937180: creation_ts of bugs and attachments always at 0 secondsByron Jones1-16/+13
r=dkl, a=simon
2013-09-13Bug 914986 - Create Bug.update_attachment to update attachments via RPC/RESTSimon Green1-4/+5
r=dkl, a=sgreen
2013-09-02Fix bustage on Oracle due to bug 898830Frédéric Buclin1-2/+2
2013-08-09Bug 898830: Improve loading time of show_bug.cgiFrédéric Buclin1-35/+27
r=sgreen a=justdave
2013-03-19Bug 852445: Mime type detection truncates the first 32 bytes from attachmentsByron Jones1-0/+1
r=LpSolit,r=LpSolit
2012-12-19Bug 815532: Add caching for Bugzilla::User objectsByron Jones1-3/+2
r=dkl,a=LpSolit
2012-12-01Bug 787668: Use |use parent| instead of |use base|Matt Selsky1-1/+1
r/a=LpSolit
2012-11-30Bug 816747 - Add dummy POD for unPODded methods.Marc Schumann1-0/+26
r/a=LpSolit
2012-11-22Bug 811280: Adds a caching mechanism to Bugzilla::Object to avoid querying ↵Byron Jones1-1/+1
the database repeatedly for the same information r=dkl,a=LpSolit
2012-11-13Bug 802204 (CVE-2012-4197): [SECURITY] Marking an attachment you cannot see ↵Frédéric Buclin1-3/+0
as obsolete can disclose its description r=gerv a=LpSolit
2012-11-12Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is ↵Frédéric Buclin1-19/+14
not triggered by the code itself r=glob a=LpSolit
2012-09-01Bug 787529: Use |use 5.10.1| everywhereFrédéric Buclin1-2/+3
r=wicked a=LpSolit
2012-07-04Bug 760562: Integrate TypeSniffer into core codebase (auto-detect attachment ↵Matt Selsky1-7/+46
MIME type) r/a=LpSolit
2012-02-29Bug 731559: Preload all attachment submitters when viewing a bug reportFrédéric Buclin1-5/+16
a=LpSolit
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