230 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
a4191be170 Bug 1075578: [SECURITY] Improper filtering of CGI arguments
r=dkl,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265601 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-06 14:45:58 +00:00
bzrmirror%bugzilla.org
daef60d81c Bug 330707: Add optional support for MarkDown
r=dkl,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265524 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-28 17:30:55 +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
064535f4e4 Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla
git-svn-id: svn://10.0.0.236/trunk@265292 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-21 10:46:46 +00:00
bzrmirror%bugzilla.org
673ec987f5 Bug 980918 - Rename "Tags" to "Personal Tags". Patch by acho; r=gerv, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@265291 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-21 10:45:55 +00:00
bzrmirror%bugzilla.org
7a93e17c52 Bug 983839 - Add the ability to add see_also values in enter_bug.cgi and Bug.create
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265290 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-20 20:00:53 +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
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
405bb0f5ae Bug 703975: CSRF vulnerability in post_bug.cgi allows possible unauthorized bug creation
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263097 18797224-902f-48f8-a5cc-f745e15eee43
2011-11-22 21:16:19 +00:00
mkanat%bugzilla.org
200da99ddf Bug 460074: Make post_bug.cgi use should_set for array fields, so they
are undef in Bugzilla::Bug->create if not passed to post_bug. This fixes
a bug with the guided bug form creating bugs without any groups.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262656 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-16 01:01:30 +00:00
mkanat%bugzilla.org
5e6e276a4a Bug 670128: Missing explicit exit after calls to $cgi->redirect(), making the rest of the scripts to be executed
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262495 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-18 00:34:12 +00:00
mkanat%bugzilla.org
963d886308 Bug 655210: Allows custom bug creation formats to specify a "created" format
r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262341 18797224-902f-48f8-a5cc-f745e15eee43
2011-05-24 07:48:19 +00:00
mkanat%bugzilla.org
2a70cfc7e4 Bug 598014: Document how to mark the initial comment as private when using Bug.create()
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261438 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-20 23:33:55 +00:00
mkanat%bugzilla.org
72363488c1 Bug 584110: Don't name attachment files "attachment.txt" by default, because this confuses IE
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260959 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-03 23:31:39 +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
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
ee678ea1c7 Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL"
[r=mkanat a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@260272 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-07 03:47:31 +00:00
mkanat%bugzilla.org
a066f0c3b7 Bug 539865: Make Bugzilla::Object pass $params to validators during create()
(implement VALIDATOR_DEPENDENCIES)
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260219 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 18:22:51 +00:00
mkanat%bugzilla.org
ea01bb9b51 Bug 556429: Stop sending bugmail from inside the template
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260155 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-05 23:32:33 +00:00
mkanat%bugzilla.org
913bf84f3e Bug 526184: Allow groups to be specified when creating bugs using email_in.pl
or the WebService Bug.create method.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259796 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-23 00:31:25 +00:00
lpsolit%gmail.com
ee772fc40e Bug 534057: Auto-completion no longer works in email_in.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@259526 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-31 23:33:32 +00:00
mkanat%bugzilla.org
2d0c3a6b06 Bug 526158: Make email_in.pl use Bugzilla::Bug->create to create bugs instead of requiring post_bug.cgi
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259199 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-10 22:18:07 +00:00
mkanat%bugzilla.org
4af90d4d96 Bug 452919: Allow the "created an attachment" message in comments to be localized
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259167 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-04 14:28:49 +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
mkanat%bugzilla.org
4ef6a799bc Bug 526165: Make it impossible to set creation_ts via Bugzilla::Bug->create
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258959 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 21:21:53 +00:00
mkanat%bugzilla.org
6d95687b90 Bug 472217: Create a Bugzilla::Comment object and eliminate GetComments
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258951 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 01:36:05 +00:00
mkanat%bugzilla.org
4f5ccb8607 Bug 509053: Implement Bugzilla->feature (feature_enabled in the templates), and use it to detect when PatchReader is available.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258543 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-30 22:39:32 +00:00
mkanat%bugzilla.org
c8661cf9f9 Bug 509108: Don't require a bug_list parameter to show the bug template (create the last_bug_list global template parameter)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258062 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 01:43:13 +00:00
mkanat%bugzilla.org
992afafa72 Bug 509045: Make "use_keywords" a global template variable instead of having to pass it to templates all the time
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258054 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 04:34:22 +00:00
lpsolit%gmail.com
8872215623 Bug 415541: Implement $bug->set_flags() and $attachment->set_flags() - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@257948 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-05 12:36:22 +00:00
lpsolit%gmail.com
843d034307 Bug 454251: Implement Bugzilla::Attachment->create() and $attachment->update() - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit (module owner)
git-svn-id: svn://10.0.0.236/trunk@256870 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-09 11:38:01 +00:00
mkanat%bugzilla.org
1d59fd5f61 Bug 452734: Remove the keyword chooser, because it's a usability regression
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@254284 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-17 23:49:08 +00:00
lpsolit%gmail.com
4b7fde17a0 Bug 388251: Implement 'new Bugzilla::Attachment' - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@254105 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-08 17:13:37 +00:00
lpsolit%gmail.com
9ac161ea1c Bug 415652: Implement Bugzilla->active_custom_fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@246442 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 16:06:26 +00:00
ghendricks%novell.com
a11fd09d96 Bug 414712 – Hook post_bug.cgi for post creation processing
patch by ghendricks@novell.com r=mkanat a=mkanat


git-svn-id: svn://10.0.0.236/trunk@244944 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-05 18:56:23 +00:00
lpsolit%gmail.com
7b21005ba0 Bug 415155: Remove $cgi from the list of arguments when calling Bugzilla::Flag subroutines - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@244865 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 13:29:29 +00:00
lpsolit%gmail.com
5c70717ea2 Bug 413772: Eliminate sqlify_criteria() in Bugzilla::Flag and replace match() there with Bugzilla::Object::match() - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@244862 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 12:23:48 +00:00
lpsolit%gmail.com
702b8f6c80 Bug 183665: Accessing post_bug.cgi directly gives a weird error message and should redirect to enter_bug.cgi instead - Patch by Matt Tasker <mtasker@gmail.com> (based on the original patch from victory <spam@bmo2007.rsz.jp>) r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@239399 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-14 22:50:25 +00:00
mkanat%bugzilla.org
d7e641858a Bug 399954: Make Bugzilla able to hold its dependencies in a local directory
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@237891 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 06:46:19 +00:00
lpsolit%gmail.com
d4fc24bcbd Midair with product change while adding an attachment silently clears flags - Patch by Tiago R. Mello <timello@gmail.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@237452 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 13:06:13 +00:00
lpsolit%gmail.com
4911077997 Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@237340 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:05:32 +00:00
mkanat%bugzilla.org
f26081431c Bug 287330: Multi-Select Custom Fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@235398 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-08 00:14:30 +00:00
timeless%mozdev.org
e2473ad484 Bug 365472 rename 'token_inexistent' to 'token_does_not_exist' or something
r=lpsolit a=lpsolit


git-svn-id: svn://10.0.0.236/trunk@229594 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 07:08:12 +00:00
lpsolit%gmail.com
d60bedb7aa Bug 80169: JavaScript-enhanced keyword editing - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=justdave a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@226386 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 17:56:32 +00:00
lpsolit%gmail.com
20dacaac32 Bug 376497: validateID() should return an attachment object - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@224148 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 15:52:43 +00:00
lpsolit%gmail.com
ad140442bc Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@221384 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 11:43:01 +00:00
lpsolit%gmail.com
a2bc326acd Bug 364177: On attachment and bug creation, if *one* requestee cannot see the bug, *all* requests are cancelled - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@219468 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 15:36:47 +00:00
lpsolit%gmail.com
c1e595e7c1 Bug 346121: Creating an attachment upon new bug doesn't create attachment link in comment #0 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217545 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 22:18:55 +00:00
olav%bkor.dhs.org
8e7b912e4c Bug 352695: Custom select fields are mandatory on bug creation (despite they shouldn't be)
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk


git-svn-id: svn://10.0.0.236/trunk@213943 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-20 23:31:31 +00:00