summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-03Bug 456919: Implement Bugzilla::Field::Choice->remove_from_db and have ↵mkanat%bugzilla.org1-0/+15
editvalues.cgi use it Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
2008-10-03Bug 455641: Implement Bugzilla::Field::Choice->update and have ↵mkanat%bugzilla.org1-0/+13
editvalues.cgi use it Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
2008-09-24Bug 357904: Create an object for a Field Value and have ↵mkanat%bugzilla.org1-2/+7
Bugzilla::Field->legal_values use it Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
2008-03-27Bug 372795: Implement Bugzilla::Product::preload() to speed up query.cgi ↵mkanat%bugzilla.org1-42/+41
when there are many products Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2008-01-18Bug 408172: [Oracle] Bug lists longer than 1000 bugs failmkanat%bugzilla.org1-2/+3
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
2007-11-29Bug 397099: Date/Time Fields should have a JavaScript widget for picking a datemkanat%bugzilla.org1-1/+13
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, r=glob, a=mkanat
2007-10-10Bug 313129: Implement $milestone->create and $milestone->update based on ↵lpsolit%gmail.com1-0/+1
Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2007-08-24Bug 373440: Make "check" into a generic function in Bugzilla::Objectmkanat%bugzilla.org1-3/+49
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2007-07-27Bug 388149: Move updating of time-tracking fields into Bugzilla::Bugmkanat%bugzilla.org1-1/+11
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2007-07-14Bug 388045: Move updating of cc_accessible and reporter_accessible into ↵mkanat%bugzilla.org1-0/+20
Bugzilla::Bug (from process_bug) Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2007-07-13Bug 385849: Make Bugzilla::Bug do updating for op_sys, rep_platform, and ↵mkanat%bugzilla.org1-0/+10
other product-inspecific fields Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit
2007-04-19Bug 372531: "match" should be a generic function in Bugzilla::Objectmkanat%bugzilla.org1-0/+69
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2007-03-24Bug 374012: Use transactions inside of Bugzilla::Objectmkanat%bugzilla.org1-1/+9
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit