84 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
6e74e81608 Bug 757935: Bugs with resolution MOVED cannot be edited
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@264289 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-03 17:46:25 +00:00
mkanat%bugzilla.org
f78a6e3580 Bug 666695 - Voting Extension templates have unfiltered directives
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262458 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-05 05:01:53 +00:00
mkanat%bugzilla.org
da7e12a7e2 Bug 666699 - Example extension templates have unfiltered directives
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262456 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-05 04:16:39 +00:00
mkanat%bugzilla.org
b7cdcf951b Bug 663696: Remove 'config' hook example from the Example extension
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262381 18797224-902f-48f8-a5cc-f745e15eee43
2011-06-13 02:07:39 +00:00
mkanat%bugzilla.org
ab525ee7b3 Bug 652381: The "Show Votes" page is completely broken
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262223 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-24 23:18:44 +00:00
mkanat%bugzilla.org
3ef1cec3f6 Bug 468375: Add example code for hooks that were missing it.
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262135 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-05 00:06:29 +00:00
mkanat%bugzilla.org
7d9d746454 Bug 644334 - Add hook to Bugzilla::Install::Filesystem to allow extensions to create files/directories/htaccess
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262130 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-01 04:05:49 +00:00
mkanat%bugzilla.org
1a8bb7bf49 Allow extensions to alter quicksearch terms and search format. r=mkanat.
git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261850 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-27 13:03:40 +00:00
mkanat%bugzilla.org
010d9932db Bug 621105 - [SECURITY] Voting lacks CSRF protection
r=mkanat,a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261814 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-24 19:53:26 +00:00
mkanat%bugzilla.org
a09da32128 Bug 621107: [SECURITY] Sanity checking lacks CSRF protection
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261804 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-24 17:20:55 +00:00
mkanat%bugzilla.org
31ef49da46 Document how to add user settings. r,a=mkanat.
git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261709 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-05 17:03:49 +00:00
mkanat%bugzilla.org
560361c5b7 Bug 622437: Remove 'colchange_columns' hook from the Example extension
r/a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261705 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-02 20:04:09 +00:00
mkanat%bugzilla.org
ac3a7fa00a Bug 618161: Make VERSION into a constant in two included extensions so that
calling $class->VERSION on them won't throw an error on Perl 5.12 when there
are non-numeric characters in BUGZILLA_VERSION.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261651 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-12 19:03:37 +00:00
mkanat%bugzilla.org
9ea97c6a51 Bug 596611: Add a hook to email_in.pl
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261527 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-04 17:23:45 +00:00
mkanat%bugzilla.org
50928d975a Bug 485418: Code and template hooks for userprefs.cgi to be able to add additional tabs
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261526 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-04 17:20:39 +00:00
mkanat%bugzilla.org
dbd5b16af8 Bug 584427: Move "Only bugs with at least X votes" search form to the
"Detailed Bug Information" section of query.cgi
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261243 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-18 23:50:28 +00:00
mkanat%bugzilla.org
dba7274ed2 Bug 587793: Add a new "object_end_of_create" hook so that extensions can
operate on any new objects
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261163 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-01 23:06:21 +00:00
mkanat%bugzilla.org
025275bc7d Bug 583243: Add new hook 'search_operator_field_override'
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261094 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-24 21:32:13 +00:00
mkanat%bugzilla.org
d1682b88c0 Bug 581690: Restore the ability to move several bugs at once to another installation
r=ghendricks a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261032 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-12 23:19:11 +00:00
mkanat%bugzilla.org
d275436852 Bug 577049: POD must mention Bugzilla 4.0 instead of 3.8
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260649 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 17:31:55 +00:00
mkanat%bugzilla.org
741d40d875 Bug 457373: Refactor the permissions system in Bugzilla::Install::Filesystem
to use constants instead of local variables. Also, change the permissions
so that they are stricter in general, and work better under suexec.
This also fixes the problem that dependency graphs didn't work under
suexec, and adds a "web" directory by default to Extensions created with
extension/create.pl.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260580 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-25 00:31:32 +00:00
mkanat%bugzilla.org
a3d7656f23 Bug 556422: Move the existing bug-moving functionality into an extension
called OldBugMove.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260491 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 21:16:53 +00:00
mkanat%bugzilla.org
05f390461e Bug 567846: Modify set_status, set_resolution, and set_dup_id to use
VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.


git-svn-id: svn://10.0.0.236/trunk@260420 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-03 19:31:22 +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
6526f953de Bug 558032: Incorrect "X votes" link when viewing a bug
r=reed a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260171 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-08 12:21:22 +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
b9f9993bcf Bug 556869: New Hook: object_before_delete
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260131 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-02 21:17:50 +00:00
mkanat%bugzilla.org
274232bd59 Bug 556736: Make the bug_end_of_update hook also send $old_bug to the hook
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260122 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-02 12:03:13 +00:00
mkanat%bugzilla.org
468f302c50 Bug 556695: New Hook: object_end_of_set
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260121 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-02 05:47:50 +00:00
mkanat%bugzilla.org
4aa7fb0cb3 Bug 544332 - New bug_check_can_change_field hook for Bugzilla/Bug.pm
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260022 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-23 20:01:25 +00:00
mkanat%bugzilla.org
5754033260 Bug 498309: Speed up show_bug.cgi when there are many comments by caching
field-descs globally for all template calls
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259959 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-14 00:46:13 +00:00
mkanat%bugzilla.org
3584a9ab78 Bug 508823: Make it so that you don't ever have to reset template_inner (like
Bugzilla->template_inner("")).
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259847 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-01 01:46:32 +00:00
mkanat%bugzilla.org
e4c6ae95f8 "my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug
in the Voting extension. (Thanks to timello for pointing this out!)


git-svn-id: svn://10.0.0.236/trunk@259747 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-18 23:16:46 +00:00
mkanat%bugzilla.org
7202732b54 * Disable the Voting extension by default.
* There was a syntax error in the code-error-errors.html.tmpl hook in the
Voting extension.
* Creating the TestProduct during checksetup was throwing an warning
about use of an uninitialized value, due to the Voting extension.


git-svn-id: svn://10.0.0.236/trunk@259711 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-16 00:16:26 +00:00
mkanat%bugzilla.org
e714a3b2bd Move the no_open_bug_status code error into the Voting extension.
git-svn-id: svn://10.0.0.236/trunk@259710 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-16 00:01:42 +00:00
mkanat%bugzilla.org
a68210b184 Bug 372979: Make voting into an extension
r=mkanat, a=mkanat, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259709 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-15 23:32:10 +00:00
mkanat%bugzilla.org
51cfb5259c Bug 545715: New Hook: bugmail_relationships
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259699 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 20:46:22 +00:00
mkanat%bugzilla.org
ed58742a10 Add a "bug" argument to the bugmail_recipients hook that was just checked in.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259694 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 19:16:16 +00:00
mkanat%bugzilla.org
98f3be684e Bug 545683: New Hook: bugmail_recipients
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259691 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 19:01:29 +00:00
mkanat%bugzilla.org
e68544b6f9 Bug 545551: Hook: object_update_columns
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259685 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 01:46:31 +00:00
mkanat%bugzilla.org
69d853b916 Bug 545541: New Hook: object_columns
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259683 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 01:01:40 +00:00
mkanat%bugzilla.org
fe4c8eab48 Bug 545524: New Hook: object_validators
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259681 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 00:16:29 +00:00
mkanat%bugzilla.org
f9e1aefcfb Bug 496488: Hooks for creating, updating, and deleting groups
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259638 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-07 21:17:25 +00:00
mkanat%bugzilla.org
7df8bdf4b9 Bug 525606: Make the template_before_process hook run whenever a template is loaded (including PROCESS and INCLUDE), not just when $template->process is called.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259240 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-17 05:27:12 +00:00
mkanat%bugzilla.org
b31ce53818 Bug 523411: Hook: product-end_of_create
Patch by Dave Lawrence <dkl@redhat.com> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259100 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-30 04:18:37 +00:00
mkanat%bugzilla.org
d4b993f019 Bug 530252: Create a script that sets up the framework of an extension
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259083 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-25 05:02:57 +00:00
mkanat%bugzilla.org
7488d682fc Bug 530960: Put hooks into template/default/hook instead of template/hook
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259081 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-25 03:37:11 +00:00
mkanat%bugzilla.org
41534b852d Bug 530746: Create a script that converts extensions from the old format to the new format
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259080 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-25 01:46:37 +00:00
mkanat%bugzilla.org
d6ee1842fb Bug 430013: Make extensions load their modules like Bugzilla::Extension::Foo::Bar, where Bar.pm is in extensions/Foo/lib/.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259073 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-24 11:50:27 +00:00