summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
AgeCommit message (Collapse)AuthorFilesLines
2014-01-22Bug 951974: backport bug 237498 to bmo (Use memcached to improve performance)Byron Jones1-14/+53
2013-12-17Bug 815026: Bugzilla::Object cache should be cleared when an object is ↵Byron Jones1-0/+2
updated or removed from the database
2013-10-21Bug 910565: backport bug 877078 to bmo (shift bugmail generation to the ↵Byron Jones1-35/+80
jobqueue)
2013-07-25Bug 750742: Create new BMO extension called TrackingFlags to move current ↵David Lawrence1-0/+3
tracking flags away from custom fields
2012-11-28Bug 814411: Add a caching mechanism to Bugzilla::Object to avoid querying ↵Byron Jones1-1/+43
the database repeatedly for the same information
2012-11-14merged with bugzilla/4.2Dave Lawrence1-7/+8
2012-11-02Fix typoFrédéric Buclin1-1/+1
2012-11-02Bug 807937: Fix PODKoosha Khajeh Moogahi1-6/+7
r/a=LpSolit
2012-08-31Bug 783222 - Make set_all() throw error on invalid param names1-0/+5
r/a=LpSolit
2012-03-01Bug 731416 - Backport 528918 to BMODave Lawrence1-2/+5
r=glob
2012-01-12Bug 715902: Do not log personal common activities in audit_logFrédéric Buclin1-2/+4
r=dkl a=LpSolit
2011-09-29Bug 686786: Decreasing votestoconfirm in editproducts.cgi crashes BugzillaFrédéric Buclin1-0/+2
r/a=mkanat
2011-03-14Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objectsMax Kanat-Alexander1-2/+39
r=dkl, a=mkanat
2010-12-13Bug 617477: Fix numerous consistency and behavior issues surroudning Bug.updateMax Kanat-Alexander1-3/+0
and Bugzilla::Bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=617477#c2 for details. r=LpSolit, a=LpSolit
2010-10-14Bug 590334: Change Bug.pm to use the comment object (Bugzilla::Comment)Christian Legnitto1-3/+60
when creating or updating bug comment r=mkanat, a=mkanat
2010-09-02Bug 587793: Add a new "object_end_of_create" hook so that extensions canChristian Legnitto1-1/+6
operate on any new objects r=mkanat, a=mkanat
2010-08-05Bug 583690: (CVE-2010-2759) [SECURITY][PostgreSQL] Bugzilla crashes when ↵Frédéric Buclin1-0/+5
viewing a bug if a comment contains 'bug <num>' or 'attachment <num>' where <num> is greater than the max allowed integer r=mkanat a=LpSolit
2010-07-06Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, whichMax Kanat-Alexander1-0/+36
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
2010-06-24Bug 572602: Change the way that Bugzilla::Object determines what fieldsMax Kanat-Alexander1-17/+44
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
2010-06-03Bug 567846: Modify set_status, set_resolution, and set_dup_id to useMax Kanat-Alexander1-4/+11
VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.
2010-05-25"part" can return "undef" for a list, so sometimes $has_deps or $no_depsMax Kanat-Alexander1-2/+2
in Bugzilla::Object::_sort_by_deps were undef. https://bugzilla.mozilla.org/show_bug.cgi?id=567303
2010-05-25Bug 567303: Implement a working algorithm for sorting fields based onMax Kanat-Alexander1-19/+53
VALIDATOR_DEPENDENCIES in Bugzilla::Object. (The previous code did not actually sort fields correctly.) r=timello, a=mkanat
2010-04-22Bug 539865: Make Bugzilla::Object pass $params to validators during create()Max Kanat-Alexander1-7/+51
(implement VALIDATOR_DEPENDENCIES) r=LpSolit, a=LpSolit
2010-04-02Bug 556869: New Hook: object_before_deleteMax Kanat-Alexander1-0/+1
r=mkanat, a=mkanat (module owner)
2010-04-02Bug 556695: New Hook: object_end_of_setMax Kanat-Alexander1-0/+3
r=mkanat, a=mkanat (module owner)
2010-02-23Bug 486074: Allow the JSON-RPC interface to properly serialize objectsMax Kanat-Alexander1-0/+5
to JSON, so that the Bug.get "internals" return item works. r=dkl, a=mkanat
2010-02-16Bug 372979: Make voting into an extensionMax Kanat-Alexander1-1/+2
r=mkanat, a=mkanat, a=LpSolit
2010-02-11Bug 545551: Hook: object_update_columnsMax Kanat-Alexander1-2/+8
r=mkanat, a=mkanat (module owner)
2010-02-11Bug 545541: New Hook: object_columnsMax Kanat-Alexander1-8/+35
r=mkanat, a=mkanat (module owner)
2010-02-11Fix a typo in Object.pm.Max Kanat-Alexander1-1/+1
https://bugzilla.mozilla.org/show_bug.cgi?id=545524
2010-02-11Bug 545524: New Hook: object_validatorsMax Kanat-Alexander1-2/+23
r=mkanat, a=mkanat (module owner)
2010-02-05Bug 543986: False positive in 012throwables.t, 'object_does_not_exist' is ↵Frédéric Buclin1-2/+6
still in use r/a=mkanat
2010-02-02Bug 514970: Clean up duplicates.cgi and make it use Bug objectsMax Kanat-Alexander1-1/+2
r=LpSolit, a=LpSolit
2009-11-24Bug 430014: Re-write the code hooks system so that it uses modules instead ↵mkanat%bugzilla.org1-5/+5
of individual .pl files Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-11-23Fix checkin of bug 528062--it was missing ::process in the hook call.mkanat%bugzilla.org1-3/+3
2009-11-23Bug 528062: Hook: Object-end_of_updatemkanat%bugzilla.org1-0/+4
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-11-23Bug 521413: Hook: object-end_of_set_allmkanat%bugzilla.org1-0/+2
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-11-18Bug 525426: Hook: object-before_setmkanat%bugzilla.org1-0/+4
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
2009-11-18Bug 524007: New Hook: object-end_of_create_validatorsmkanat%bugzilla.org1-0/+3
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
2009-11-18Bug 521373: Hook: object-before_createmkanat%bugzilla.org1-0/+6
2009-10-24Bug 523977: Make Bugzilla::Object->check send the trimmed value to new(), ↵mkanat%bugzilla.org1-3/+10
and also be more accurate about what's "empty". This also makes detaint_natural and detaint_signed call int() on their return values. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2009-09-11Bug 515191: [SECURITY] SQL Injection via Bug.search (CVE-2009-3125) and ↵mkanat%bugzilla.org1-1/+27
Bug.create (CVE-2009-3165) Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2009-08-21Bug 449705: Make buglist.cgi's LookupNamedQuery use Bugzilla::Search::Savedmkanat%bugzilla.org1-2/+7
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2009-08-11Bug 509045: Make "use_keywords" a global template variable instead of having ↵mkanat%bugzilla.org1-5/+21
to pass it to templates all the time Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2009-04-08Fix the warning thrown by 011pod.tlpsolit%gmail.com1-1/+1
2009-03-31Bug 432907: Create a JSON frontend for WebServicesmkanat%bugzilla.org1-1/+6
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
2009-01-23Fix some nits that I forgot to fix on checkin for bug 474715.mkanat%bugzilla.org1-2/+1
2009-01-23Bug 474715: Add 'limit', 'offset' and 'changed_since' arguments to ↵mkanat%bugzilla.org1-5/+47
WebService::Bug.search() Patch By Kip Hampton <khampton@totalcinema.com> r=mkanat, a=mkanat
2008-10-25Bug 291433: Ability to have custom fields whose visibility depends on the ↵mkanat%bugzilla.org1-6/+4
values of other fields Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
2008-10-18Bug 460293: Implement Bugzilla::Object::set_all and have editkeywords.cgi use itmkanat%bugzilla.org1-4/+35
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit