aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
Commit message (Collapse)AuthorAgeFilesLines
* Backport upstream bug 622455: The attachment mime type autodetectionFrédéric Buclin2017-04-221-5/+3
| | | | shouldn't rely on the browser when it gets text/x-*
* Bug 1235270: Set submitter_id before calling _check_data()Mahdi Mokhtari2016-01-051-1/+2
| | | | r=LpSolit a=dkl
* Bug 1079065: [SECURITY] Always use the 3 arguments form for open() to ↵Gervase Markham2015-01-211-2/+2
| | | | | | prevent shell code injection r=dkl,a=glob
* Revert "Bug 1073264 - allow attachment download to be offloaded to the ↵Gervase Markham2014-10-241-42/+2
| | | | | | webserver using X-SendFile or equivalent. r=gerv, a=glob." Morning brain thought this bug was approved for 5.0. This reverts commit 55e8faeed19ff618483cb5803847bdba6c80c752.
* Bug 1073264 - allow attachment download to be offloaded to the webserver ↵Damien Nozay2014-10-241-2/+42
| | | | using X-SendFile or equivalent. r=gerv, a=glob.
* Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modulesFrédéric Buclin2014-08-131-0/+1
| | | | r=dkl a=sgreen
* Bug 978146: activity entry when setting flags isn't split across multiple rowsByron Jones2014-06-111-7/+3
| | | | r=dkl,a=sgreen
* Bug 989633 - Unable to change content type using Bug.update_attachment if ↵David Lawrence2014-03-311-1/+2
| | | | | | attachment previously set to is_patch = 1 r=glob,a=justdave
* Bug 294021: Allow requestees to set attachment flags even if they don't have ↵Frédéric Buclin2014-03-211-6/+5
| | | | | | editbugs privs r=gerv a=justdave
* Bug 947823: Replace gender-specific pronouns with gender-neutral pronounsCharlie Somerville2014-02-271-1/+1
| | | | r=gerv a=justdave
* Bug 975896: Bugzilla crashes when editing a flag type which is not ↵Frédéric Buclin2014-02-241-4/+4
| | | | | | specifically requestable r/a=glob
* Bug 956233: enable USE_MEMCACHE on most objectsByron Jones2014-01-311-1/+14
| | | | r=dkl, a=glob
* Bug 945535 - When loading bugs with large number of attachments, ↵Dave Lawrence2014-01-021-15/+21
| | | | | | $bug->attachments reloads all flags for each attachment even if preloaded r=LpSolit,a=sgreen
* Bug 937180: creation_ts of bugs and attachments always at 0 secondsByron Jones2013-11-181-16/+13
| | | | r=dkl, a=simon
* Bug 914986 - Create Bug.update_attachment to update attachments via RPC/RESTSimon Green2013-09-131-4/+5
| | | r=dkl, a=sgreen
* Fix bustage on Oracle due to bug 898830Frédéric Buclin2013-09-021-2/+2
|
* Bug 898830: Improve loading time of show_bug.cgiFrédéric Buclin2013-08-091-35/+27
| | | | r=sgreen a=justdave
* Bug 852445: Mime type detection truncates the first 32 bytes from attachmentsByron Jones2013-03-201-0/+1
| | | | r=LpSolit,r=LpSolit
* Bug 815532: Add caching for Bugzilla::User objectsByron Jones2012-12-191-3/+2
| | | | r=dkl,a=LpSolit
* Bug 787668: Use |use parent| instead of |use base|Matt Selsky2012-12-011-1/+1
| | | | r/a=LpSolit
* Bug 816747 - Add dummy POD for unPODded methods.Marc Schumann2012-11-301-0/+26
| | | | r/a=LpSolit
* Bug 811280: Adds a caching mechanism to Bugzilla::Object to avoid querying ↵Byron Jones2012-11-221-1/+1
| | | | | | the database repeatedly for the same information r=dkl,a=LpSolit
* Bug 802204 (CVE-2012-4197): [SECURITY] Marking an attachment you cannot see ↵Frédéric Buclin2012-11-131-3/+0
| | | | | | as obsolete can disclose its description r=gerv a=LpSolit
* Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is ↵Frédéric Buclin2012-11-121-19/+14
| | | | | | not triggered by the code itself r=glob a=LpSolit
* Bug 787529: Use |use 5.10.1| everywhereFrédéric Buclin2012-09-011-2/+3
| | | | r=wicked a=LpSolit
* Bug 760562: Integrate TypeSniffer into core codebase (auto-detect attachment ↵Matt Selsky2012-07-041-7/+46
| | | | | | MIME type) r/a=LpSolit
* Bug 731559: Preload all attachment submitters when viewing a bug reportFrédéric Buclin2012-02-291-5/+16
| | | | a=LpSolit
* Bug 715902: Do not log personal common activities in audit_logFrédéric Buclin2012-01-121-0/+1
| | | | r=dkl a=LpSolit
* Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin2012-01-111-22/+5
| | | | | | add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
* Bug 647662 - Add a "size" return value to Bug.attachmentsReed Loden2011-12-301-1/+1
| | | | [r=dkl r=mkanat a=mkanat]
* Suppress warning relating to new constant.Gervase Markham2011-12-081-1/+1
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=705078
* Expand max length of attachment filename from 100 to 255 characters. r=glob, ↵Gervase Markham2011-12-081-3/+5
| | | | | a=LpSolit. https://bugzilla.mozilla.org/show_bug.cgi?id=705078
* Bug 684225: The removal of locally stored attachments should be done from ↵c1541@hotmail.com2011-12-081-0/+5
| | | | | | Bugzilla::Attachment->remove_from_db r/a=LpSolit
* Bug 582529: Ambiguous error message "You did not specify a file to attach" ↵Frédéric Buclin2011-10-011-1/+8
| | | | | | when deleting an existing attachment filename a=LpSolit
* Bug 677187: If the attachment filename contains a newline, an error is ↵Frédéric Buclin2011-08-101-3/+7
| | | | | | thrown when trying to download the attachment r/a=mkanat
* Bug 660502: (CVE-2011-2977) [SECURITY] Temporary files for uploaded ↵Frédéric Buclin2011-08-041-1/+4
| | | | | | attachments are not deleted on Windows r=glob a=LpSolit
* Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objectsMax Kanat-Alexander2011-03-131-0/+2
| | | | r=dkl, a=mkanat
* Bug 633041: Add an error code for zero_length_file and fill in content_typeMax Kanat-Alexander2011-02-101-3/+8
| | | | | | for patches when content_type is missing in Bug.add_attachment in the WebService r=LpSolit, a=LpSolit
* Bug 413648: Attachment mime type handling should strip leading and trailing ↵Frédéric Buclin2010-10-221-0/+1
| | | | | | spaces a=LpSolit
* Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin2010-07-181-49/+7
| | | | r/a=mkanat
* Bug 412074: Ability to add attachments to a bug via the WebServiceMax Kanat-Alexander2010-07-131-0/+2
| | | | | (Bug.add_attachment) r=timello, a=mkanat
* Bug 490930: Always store attachments locally if they are over X size (and ↵Frédéric Buclin2010-07-081-79/+37
| | | | | | below some threshold!), don't ever display "Big File" checkbox r=mkanat a=LpSolit
* Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, whichMax Kanat-Alexander2010-07-051-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
* Bug 574327 - Map image/x-png to image/png (to fix IE's uploads)Reed Loden2010-07-051-0/+6
| | | | [r=LpSolit a=LpSolit]
* Bug 572602: Change the way that Bugzilla::Object determines what fieldsMax Kanat-Alexander2010-06-231-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
* Bug 565880: Do not throw an error when obsoleting an already obsolete attachmentFrédéric Buclin2010-05-141-5/+5
| | | | a=LpSolit
* Bug 430014: Re-write the code hooks system so that it uses modules instead ↵mkanat%bugzilla.org2009-11-241-1/+1
| | | | | | of individual .pl files Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
* Bug 140999: Users without edit permissions for an attachment should still be ↵lpsolit%gmail.com2009-09-281-8/+6
| | | | able to make comments - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
* Bug 480986: The BMP -> PNG conversion tool for new attachments should be an ↵lpsolit%gmail.com2009-08-131-18/+0
| | | | extension - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
* Bug 509027: Add a hook in Bugzilla::Attachment::_check_data() - Patch by ↵lpsolit%gmail.com2009-08-131-46/+48
| | | | Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat