114 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
d6e38c6740 Bug 1128245 - upgrading from v4.4.6 to v5.0rc2 fails on connection problem with MySQL
git-svn-id: svn://10.0.0.236/trunk@265802 18797224-902f-48f8-a5cc-f745e15eee43
2015-02-02 13:16:17 +00:00
bzrmirror%bugzilla.org
81d0ccc2e1 Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla into docs-relicensing
(except some changes not merged; will do them later)

Conflicts:
docs/en/rst/administration.rst
docs/en/rst/installation.rst
docs/en/rst/using.rst


git-svn-id: svn://10.0.0.236/trunk@265740 18797224-902f-48f8-a5cc-f745e15eee43
2014-12-03 22:39:24 +00:00
bzrmirror%bugzilla.org
200d60ec4d Remove docs changes by jwilmoth@starbucks.com.
git-svn-id: svn://10.0.0.236/trunk@265700 18797224-902f-48f8-a5cc-f745e15eee43
2014-12-03 22:02:31 +00:00
bzrmirror%bugzilla.org
a270621669 Bug 1073264 - allow attachment download to be offloaded to the webserver using X-SendFile or equivalent. r=gerv, a=glob.
git-svn-id: svn://10.0.0.236/trunk@265633 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-24 08:30:51 +00:00
bzrmirror%bugzilla.org
84c5be6eb5 Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265490 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-13 11:01:07 +00:00
bzrmirror%bugzilla.org
0e8e37b831 Bug 978146: activity entry when setting flags isn't split across multiple rows
r=dkl,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265425 18797224-902f-48f8-a5cc-f745e15eee43
2014-06-11 15:30:50 +00:00
bzrmirror%bugzilla.org
376f9a0fc0 Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265307 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-31 16:30:47 +00:00
bzrmirror%bugzilla.org
ccc663f126 Bug 294021: Allow requestees to set attachment flags even if they don't have editbugs privs
r=gerv a=justdave


git-svn-id: svn://10.0.0.236/trunk@265293 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-21 11:15:52 +00:00
bzrmirror%bugzilla.org
a3d4ea4500 Bug 947823: Replace gender-specific pronouns with gender-neutral pronouns
r=gerv a=justdave


git-svn-id: svn://10.0.0.236/trunk@265260 18797224-902f-48f8-a5cc-f745e15eee43
2014-02-27 09:00:54 +00:00
bzrmirror%bugzilla.org
47df6815a6 Bug 975896: Bugzilla crashes when editing a flag type which is not specifically requestable
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265249 18797224-902f-48f8-a5cc-f745e15eee43
2014-02-24 17:15:54 +00:00
bzrmirror%bugzilla.org
41a21e2898 Bug 956233: enable USE_MEMCACHE on most objects
r=dkl, a=glob


git-svn-id: svn://10.0.0.236/trunk@265222 18797224-902f-48f8-a5cc-f745e15eee43
2014-01-31 07:30:50 +00:00
bzrmirror%bugzilla.org
6600ccb376 Bug 945535 - When loading bugs with large number of attachments, $bug->attachments reloads all flags for each attachment even if preloaded
r=LpSolit,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265165 18797224-902f-48f8-a5cc-f745e15eee43
2014-01-02 23:31:24 +00:00
bzrmirror%bugzilla.org
2ed7b818d9 Bug 937180: creation_ts of bugs and attachments always at 0 seconds
r=dkl, a=simon


git-svn-id: svn://10.0.0.236/trunk@265115 18797224-902f-48f8-a5cc-f745e15eee43
2013-11-18 14:30:57 +00:00
bzrmirror%bugzilla.org
5cea11b84f Bug 914986 - Create Bug.update_attachment to update attachments via RPC/REST
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265008 18797224-902f-48f8-a5cc-f745e15eee43
2013-09-12 23:45:55 +00:00
bzrmirror%bugzilla.org
0c1b57d002 Fix bustage on Oracle due to bug 898830
git-svn-id: svn://10.0.0.236/trunk@264991 18797224-902f-48f8-a5cc-f745e15eee43
2013-09-02 00:52:51 +00:00
bzrmirror%bugzilla.org
008ced32b6 Bug 898830: Improve loading time of show_bug.cgi
r=sgreen a=justdave


git-svn-id: svn://10.0.0.236/trunk@264964 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:55:07 +00:00
bzrmirror%bugzilla.org
c9f2d293ab Bug 868330 - Password creation directions incomplete
r=sgreen, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@264957 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:47:50 +00:00
bzrmirror%bugzilla.org
ebf24bde9d Bug 898830: Improve loading time of show_bug.cgi
r=sgreen a=justdave


git-svn-id: svn://10.0.0.236/trunk@264953 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:42:43 +00:00
mkanat%bugzilla.org
b595a1b9a1 Bug 852445: Mime type detection truncates the first 32 bytes from attachments
r=LpSolit,r=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264803 18797224-902f-48f8-a5cc-f745e15eee43
2013-03-19 16:31:01 +00:00
mkanat%bugzilla.org
9ef692ca5e Bug 815532: Add caching for Bugzilla::User objects
r=dkl,a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264574 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-19 09:00:42 +00:00
mkanat%bugzilla.org
1764f0df90 Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264508 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-01 01:31:00 +00:00
mkanat%bugzilla.org
f6af30d002 Bug 816747 - Add dummy POD for unPODded methods.
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264502 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-30 14:45:59 +00:00
mkanat%bugzilla.org
b6f905fa00 Bug 811280: Adds a caching mechanism to Bugzilla::Object to avoid querying the database repeatedly for the same information
r=dkl,a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264478 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-22 14:45:44 +00:00
mkanat%bugzilla.org
88db07d224 Bug 802204 (CVE-2012-4197): [SECURITY] Marking an attachment you cannot see as obsolete can disclose its description
r=gerv a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264424 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-13 17:31:57 +00:00
mkanat%bugzilla.org
73121c5630 Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is not triggered by the code itself
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264418 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-12 18:00:45 +00:00
mkanat%bugzilla.org
8e47ba629a Bug 787529: Use |use 5.10.1| everywhere
r=wicked a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264195 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-01 21:45:59 +00:00
mkanat%bugzilla.org
7f670f5a56 Bug 760562: Integrate TypeSniffer into core codebase (auto-detect attachment MIME type)
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264011 18797224-902f-48f8-a5cc-f745e15eee43
2012-07-03 23:01:01 +00:00
mkanat%bugzilla.org
ff172c01f1 Bug 731559: Preload all attachment submitters when viewing a bug report
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263502 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-29 13:46:57 +00:00
mkanat%bugzilla.org
cb3d9dfb15 Bug 715902: Do not log personal common activities in audit_log
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263259 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-11 23:17:34 +00:00
mkanat%bugzilla.org
3b5e8524aa Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and add it to files which miss one
r=kiko r=mkanat r=mrbball a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263258 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-11 22:48:45 +00:00
mkanat%bugzilla.org
2597e87849 Bug 647662 - Add a "size" return value to Bug.attachments
[r=dkl r=mkanat a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@263220 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-30 23:47:01 +00:00
mkanat%bugzilla.org
ebec22a448 Suppress warning relating to new constant.
git-svn-id: svn://10.0.0.236/trunk@263144 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-08 14:16:24 +00:00
mkanat%bugzilla.org
98431c62d3 Expand max length of attachment filename from 100 to 255 characters. r=glob, a=LpSolit.
git-svn-id: svn://10.0.0.236/trunk@263143 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-08 13:01:41 +00:00
mkanat%bugzilla.org
7acf883f6a Bug 684225: The removal of locally stored attachments should be done from Bugzilla::Attachment->remove_from_db
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263142 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-07 23:16:18 +00:00
mkanat%bugzilla.org
fb93988c4d Bug 582529: Ambiguous error message "You did not specify a file to attach" when deleting an existing attachment filename
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262946 18797224-902f-48f8-a5cc-f745e15eee43
2011-10-01 11:31:19 +00:00
mkanat%bugzilla.org
47c81d81a7 Bug 677187: If the attachment filename contains a newline, an error is thrown when trying to download the attachment
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262637 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-09 23:46:18 +00:00
mkanat%bugzilla.org
2958380e5e Bug 660502: (CVE-2011-2977) [SECURITY] Temporary files for uploaded attachments are not deleted on Windows
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262584 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-04 20:33:34 +00:00
mkanat%bugzilla.org
50ea52fcb9 Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objects
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262039 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-14 05:16:46 +00:00
mkanat%bugzilla.org
77394fd1cb Bug 633041: Add an error code for zero_length_file and fill in content_type
for patches when content_type is missing in Bug.add_attachment in the
WebService
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261912 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-11 00:33:27 +00:00
mkanat%bugzilla.org
33225a5517 Bug 413648: Attachment mime type handling should strip leading and trailing spaces
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261444 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-22 13:05:03 +00:00
mkanat%bugzilla.org
a77eb64833 Bug 119703: Create an attachment by pasting it into a text field
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260809 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-18 17:31:54 +00:00
mkanat%bugzilla.org
4d8362abd8 Bug 412074: Ability to add attachments to a bug via the WebService
(Bug.add_attachment)
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260748 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 22:48:31 +00:00
mkanat%bugzilla.org
f7fcd61887 Bug 490930: Always store attachments locally if they are over X size (and below some threshold!), don't ever display "Big File" checkbox
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260674 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 17:03:37 +00:00
mkanat%bugzilla.org
1a4d14c903 Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, which
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


git-svn-id: svn://10.0.0.236/trunk@260643 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 02:31:41 +00:00
mkanat%bugzilla.org
31015da7f4 Bug 574327 - Map image/x-png to image/png (to fix IE's uploads)
[r=LpSolit a=LpSolit]


git-svn-id: svn://10.0.0.236/trunk@260623 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-05 06:18:02 +00:00
mkanat%bugzilla.org
1be00a65d9 Bug 572602: Change the way that Bugzilla::Object determines what fields
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


git-svn-id: svn://10.0.0.236/trunk@260542 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-24 00:47:53 +00:00
mkanat%bugzilla.org
24a1aa979c Bug 565880: Do not throw an error when obsoleting an already obsolete attachment
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260306 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 13:46:25 +00:00
mkanat%bugzilla.org
98a5bbf59c Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259069 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-24 06:09:55 +00:00
lpsolit%gmail.com
c8326196b1 Bug 140999: Users without edit permissions for an attachment should still be able to make comments - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@258513 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-28 17:24:41 +00:00
lpsolit%gmail.com
2b4f829545 Bug 480986: The BMP -> PNG conversion tool for new attachments should be an extension - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@258106 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-13 21:32:27 +00:00