aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
Commit message (Collapse)AuthorAgeFilesLines
* Bug 904568: emails generated by jobqueue.pl unable to reference custom fieldsByron Jones2013-08-271-46/+65
| | | | r=simon, a=simon
* Bug 877078: shift bugmail generation to the jobqueueByron Jones2013-07-311-2/+48
| | | | r=sgreen, a=sgreen
* Bug 824644: Typo in code comment: request_cahceOlav Vitters2012-12-251-1/+1
| | | | r=LpSolit, a=LpSolit
* Bug 816747 - Add dummy POD for unPODded methods.Marc Schumann2012-11-301-0/+16
| | | | r/a=LpSolit
* Bug 811280: Adds a caching mechanism to Bugzilla::Object to avoid querying ↵Byron Jones2012-11-221-1/+30
| | | | | | the database repeatedly for the same information r=dkl,a=LpSolit
* Fix typoFrédéric Buclin2012-11-021-1/+1
|
* Bug 807937: Fix PODKoosha Khajeh Moogahi2012-11-021-6/+7
| | | | r/a=LpSolit
* Bug 787529: Use |use 5.10.1| everywhereFrédéric Buclin2012-09-011-2/+3
| | | | r=wicked a=LpSolit
* Bug 783222 - Make set_all() throw error on invalid param names2012-08-311-0/+5
| | | | r/a=LpSolit
* Bug 528918: Bugzilla::Object->match() shouldn't call _check_field() when the ↵Frédéric Buclin2012-02-291-2/+5
| | | | | | field being passed can be trusted (deserialising the DB schema is slow) r=dkl a=LpSolit
* Bug 715902: Do not log personal common activities in audit_logFrédéric Buclin2012-01-121-2/+4
| | | | r=dkl a=LpSolit
* Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin2012-01-111-19/+5
| | | | | | add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
* Bug 686786: Decreasing votestoconfirm in editproducts.cgi crashes BugzillaFrédéric Buclin2011-09-291-0/+2
| | | | r/a=mkanat
* Bug 622943: Simple auditing of changes to Bugzilla::Object subclass objectsMax Kanat-Alexander2011-03-131-2/+39
| | | | r=dkl, a=mkanat
* Bug 617477: Fix numerous consistency and behavior issues surroudning Bug.updateMax Kanat-Alexander2010-12-131-3/+0
| | | | | | and Bugzilla::Bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=617477#c2 for details. r=LpSolit, a=LpSolit
* Bug 590334: Change Bug.pm to use the comment object (Bugzilla::Comment)Christian Legnitto2010-10-131-3/+60
| | | | | when creating or updating bug comment r=mkanat, a=mkanat
* Bug 587793: Add a new "object_end_of_create" hook so that extensions canChristian Legnitto2010-09-011-1/+6
| | | | | operate on any new objects r=mkanat, a=mkanat
* Bug 583690: (CVE-2010-2759) [SECURITY][PostgreSQL] Bugzilla crashes when ↵Frédéric Buclin2010-08-051-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
* Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, whichMax Kanat-Alexander2010-07-051-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
* Bug 572602: Change the way that Bugzilla::Object determines what fieldsMax Kanat-Alexander2010-06-231-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
* Bug 567846: Modify set_status, set_resolution, and set_dup_id to useMax Kanat-Alexander2010-06-031-4/+11
| | | | VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.
* "part" can return "undef" for a list, so sometimes $has_deps or $no_depsMax Kanat-Alexander2010-05-241-2/+2
| | | | | in Bugzilla::Object::_sort_by_deps were undef. https://bugzilla.mozilla.org/show_bug.cgi?id=567303
* Bug 567303: Implement a working algorithm for sorting fields based onMax Kanat-Alexander2010-05-241-19/+53
| | | | | | VALIDATOR_DEPENDENCIES in Bugzilla::Object. (The previous code did not actually sort fields correctly.) r=timello, a=mkanat
* Bug 539865: Make Bugzilla::Object pass $params to validators during create()Max Kanat-Alexander2010-04-221-7/+51
| | | | | (implement VALIDATOR_DEPENDENCIES) r=LpSolit, a=LpSolit
* Bug 556869: New Hook: object_before_deleteMax Kanat-Alexander2010-04-021-0/+1
| | | | r=mkanat, a=mkanat (module owner)
* Bug 556695: New Hook: object_end_of_setMax Kanat-Alexander2010-04-011-0/+3
| | | | r=mkanat, a=mkanat (module owner)
* Bug 486074: Allow the JSON-RPC interface to properly serialize objectsMax Kanat-Alexander2010-02-221-0/+5
| | | | | to JSON, so that the Bug.get "internals" return item works. r=dkl, a=mkanat
* Bug 372979: Make voting into an extensionMax Kanat-Alexander2010-02-151-1/+2
| | | | r=mkanat, a=mkanat, a=LpSolit
* Bug 545551: Hook: object_update_columnsMax Kanat-Alexander2010-02-101-2/+8
| | | | r=mkanat, a=mkanat (module owner)
* Bug 545541: New Hook: object_columnsMax Kanat-Alexander2010-02-101-8/+35
| | | | r=mkanat, a=mkanat (module owner)
* Fix a typo in Object.pm.Max Kanat-Alexander2010-02-101-1/+1
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=545524
* Bug 545524: New Hook: object_validatorsMax Kanat-Alexander2010-02-101-2/+23
| | | | r=mkanat, a=mkanat (module owner)
* Bug 543986: False positive in 012throwables.t, 'object_does_not_exist' is ↵Frédéric Buclin2010-02-051-2/+6
| | | | | | still in use r/a=mkanat
* Bug 514970: Clean up duplicates.cgi and make it use Bug objectsMax Kanat-Alexander2010-02-011-1/+2
| | | | r=LpSolit, a=LpSolit
* Bug 430014: Re-write the code hooks system so that it uses modules instead ↵mkanat%bugzilla.org2009-11-241-5/+5
| | | | | | of individual .pl files Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
* Fix checkin of bug 528062--it was missing ::process in the hook call.mkanat%bugzilla.org2009-11-231-3/+3
|
* Bug 528062: Hook: Object-end_of_updatemkanat%bugzilla.org2009-11-231-0/+4
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
* Bug 521413: Hook: object-end_of_set_allmkanat%bugzilla.org2009-11-231-0/+2
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
* Bug 525426: Hook: object-before_setmkanat%bugzilla.org2009-11-181-0/+4
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
* Bug 524007: New Hook: object-end_of_create_validatorsmkanat%bugzilla.org2009-11-181-0/+3
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
* Bug 521373: Hook: object-before_createmkanat%bugzilla.org2009-11-181-0/+6
|
* Bug 523977: Make Bugzilla::Object->check send the trimmed value to new(), ↵mkanat%bugzilla.org2009-10-241-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
* Bug 515191: [SECURITY] SQL Injection via Bug.search (CVE-2009-3125) and ↵mkanat%bugzilla.org2009-09-111-1/+27
| | | | | | Bug.create (CVE-2009-3165) Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
* Bug 449705: Make buglist.cgi's LookupNamedQuery use Bugzilla::Search::Savedmkanat%bugzilla.org2009-08-211-2/+7
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
* Bug 509045: Make "use_keywords" a global template variable instead of having ↵mkanat%bugzilla.org2009-08-111-5/+21
| | | | | | to pass it to templates all the time Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
* Fix the warning thrown by 011pod.tlpsolit%gmail.com2009-04-081-1/+1
|
* Bug 432907: Create a JSON frontend for WebServicesmkanat%bugzilla.org2009-03-311-1/+6
| | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
* Fix some nits that I forgot to fix on checkin for bug 474715.mkanat%bugzilla.org2009-01-231-2/+1
|
* Bug 474715: Add 'limit', 'offset' and 'changed_since' arguments to ↵mkanat%bugzilla.org2009-01-231-5/+47
| | | | | | WebService::Bug.search() Patch By Kip Hampton <khampton@totalcinema.com> r=mkanat, a=mkanat
* Bug 291433: Ability to have custom fields whose visibility depends on the ↵mkanat%bugzilla.org2008-10-251-6/+4
| | | | | | values of other fields Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat