216 Commits

Author SHA1 Message Date
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
e8ffd81794 Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260499 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:16:36 +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
6add188323 Bug 24896: Make the First/Last/Prev/Next navigation on bugs work with
multiple buglists at once
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260472 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-16 01:46:23 +00:00
mkanat%bugzilla.org
60a840da00 Bug 561745: Impossible to uncheck boxes in the Email preferences
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260273 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-07 13:16:13 +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
f7e990146a Bug 560009: Use firstidx from List::MoreUtils instead of lsearch
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260217 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 18:16:55 +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
mkanat%bugzilla.org
7064b140f1 Bug 533018: "Confirm match" displays full email address to logged-out users in request.cgi
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259741 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-18 00:16:20 +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
e525c6b6f2 Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an address for the new assignee. "
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259642 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-08 00:21:03 +00:00
mkanat%bugzilla.org
e780151d9a Bug 543500: Cannot add/edit components anymore (regression in user matching)
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259591 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-03 20:26:05 +00:00
mkanat%bugzilla.org
2ec3edf95f Bug 543459: Speed up the new duplicates.cgi
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259558 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-02 00:02:51 +00:00
mkanat%bugzilla.org
3875453816 Bug 514970: Clean up duplicates.cgi and make it use Bug objects
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259557 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-01 23:57:10 +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
0cc827bc54 Bug 527586: Use X-Forwarded-For instead of REMOTE_ADDR for trusted proxies
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259326 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-31 12:53:21 +00:00
mkanat%bugzilla.org
15546c7c25 Bug 355283: Lock out a user account on a particular IP for 30 minutes if they fail to log in 5 times from that IP.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259208 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-13 20:46:28 +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
lpsolit%gmail.com
ef23f681c1 Bug 369080: Add the possibility to split emails with the semicolon character - Patch by Krzysztof Drewniak <krzysdrewniak@gmail.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@259181 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-06 17:18:02 +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
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
lpsolit%gmail.com
241dbe4bfb Bug 526271: Uninitialized value in can_enter_product() due to a missing argument - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@258858 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-03 19:46:15 +00:00
mkanat%bugzilla.org
ccb8bd9945 Bug 524234: When there are no search results, include helpful links
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258818 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-29 04:46:17 +00:00
mkanat%bugzilla.org
3945837e05 Bug 522404: Allow Bugzilla::Product->create to create multiple products in one script.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258773 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-24 05:24:53 +00:00
mkanat%bugzilla.org
b3e604abe5 Bug 449705: Make buglist.cgi's LookupNamedQuery use Bugzilla::Search::Saved
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258194 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-21 21:33:31 +00:00
lpsolit%gmail.com
98ef3ac616 Bug 471620: USER_PASSWORD_MAX_LENGTH is no longer needed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=dkl a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@258029 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-09 19:51:46 +00:00
wurblzap%gmail.com
a9b9f7e578 Bug 457657 – Make e-mail comment header localizable.
Patch by Marc Schumann <wurblzap@gmail.com>,
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@257367 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-02 22:04:19 +00:00
ghendricks%novell.com
e0d8ae73d8 Bug 494628 - Crash when trying to file a bug in a closed product r=LpSolit patch by ghendricks@novell.com
git-svn-id: svn://10.0.0.236/trunk@257327 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-01 14:43:19 +00:00
lpsolit%gmail.com
5201e6f0cd Bug 487443: MS-SQL requires a different use of SUBSTRING in Bugzilla::User - Patch by Michael Thomas <m.thomas@valueclick.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@257273 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-23 17:39:22 +00:00
lpsolit%gmail.com
740060abe9 Bug 339679: describecomponents.cgi doesn't show components of closed products, even when there are bugs in these products - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@257248 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-21 08:47:20 +00:00
ghendricks%novell.com
85f515c346 Bug 493090 - Product disallownew should be converted to isactive
patch by ghendricks r=mkanat a=mkanat


git-svn-id: svn://10.0.0.236/trunk@257245 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-20 23:10:23 +00:00
lpsolit%gmail.com
abeedd7168 Bug 487769: checksetup.pl can no longer create versions in TestProduct due to insufficient privileges (checksetup.pl fails) - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@256896 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-11 23:33:27 +00:00
lpsolit%gmail.com
04e32978ce Bug 440259 (2nd attempt): User::match should be using Bugzilla::User->new_from_list - Patch by arbingersys <arbingersys@gmail.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@256871 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-09 13:45:18 +00:00
lpsolit%gmail.com
844117889b Back out bug 440259. PostgreSQL fails
git-svn-id: svn://10.0.0.236/trunk@256850 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-08 09:48:59 +00:00
lpsolit%gmail.com
64c21303d4 Bug 486881: A powerless user can still see a restricted bug when he removes all his roles related to the bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256827 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-06 20:02:52 +00:00
lpsolit%gmail.com
2b875b5ece Bug 440259: User::match should be using Bugzilla::User->new_from_list - Patch by arbingersys <arbingersys@gmail.com> r=LpSolit a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256773 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 19:35:25 +00:00
lpsolit%gmail.com
f4803560fd Bug 399089: Remove the 'usermatchmode' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256772 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 19:24:34 +00:00
lpsolit%gmail.com
bfda31bbd9 Bug 478972: Remove the 'useentrygroupdefault' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256770 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 19:17:03 +00:00
lpsolit%gmail.com
ef74a28932 Bug 405355: Move flatten_group_membership() from User.pm to Group.pm - Patch by arbingersys <arbingersys@gmail.com> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@255919 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-25 18:49:31 +00:00
lpsolit%gmail.com
e0eb031b75 Bug 313126: Clean up editclassification.cgi and make it use Bugzilla::Classification methods - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@255699 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 13:59:25 +00:00
lpsolit%gmail.com
f43f36b6e7 Bug 364162: Code determining if named queries should be shown in the page footer is suboptimal - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@254968 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-08 19:03:33 +00:00
mkanat%bugzilla.org
96d447b585 Bug 460379: New user accounts could access editusers and add and remove themselves from groups
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@254627 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-17 02:53:23 +00:00
lpsolit%gmail.com
a73595f009 Bug 417290: Add an email pref to get notifications for newly created bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@254257 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-17 11:04:00 +00:00
dkl%redhat.com
7cd5f5ce53 Bug 455583 - Bugzilla::User::can_{set,request}_flag methods should use the respective {grant,request}_group_id values instead of loading new Group object
Patch by David Lawrence <dkl@redhat.com> - r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@254254 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-17 03:47:36 +00:00
lpsolit%gmail.com
8a9a851608 Bug 182238: Allow users to choose what time zone to display times in - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@253854 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 02:32:26 +00:00
mkanat%bugzilla.org
9631a438a2 Bug 451449: "Can't use undefined value as ARRAY reference" when logging into a new account
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@253733 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-20 23:34:50 +00:00
mkanat%bugzilla.org
80501696b2 Bug 442016: Bugzilla::User::bless_groups should be returning Bugzilla::Group objects
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@253703 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-19 21:32:40 +00:00
mkanat%bugzilla.org
510a0c596d Bug 440656: Implement Bugzilla::User::visible_bugs and have can_see_bug use it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@253586 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-14 12:01:11 +00:00
lpsolit%gmail.com
7fc7e84432 Fix POD for visible_groups_as_string(), see bug 284264 - r=mkanat on IRC
git-svn-id: svn://10.0.0.236/trunk@253489 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-09 06:24:32 +00:00
mkanat%bugzilla.org
438f372bd6 Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names).
git-svn-id: svn://10.0.0.236/trunk@253451 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-08 01:27:20 +00:00