summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
AgeCommit message (Collapse)AuthorFilesLines
2014-08-13Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modulesFrédéric Buclin1-0/+1
r=dkl a=sgreen
2014-07-03Bug 1028795: pre-load all related bugs during show_bug initialisationByron Jones1-0/+69
r=sgreen,a=sgreen
2014-04-07Bug 987032: allow memcached to cache bugzilla configuration informationByron Jones1-21/+59
r=dkl, a=glob
2014-01-31Bug 956233: enable USE_MEMCACHE on most objectsByron Jones1-3/+2
r=dkl, a=glob
2014-01-14Bug 955962: memcached touched unnecessarily when USE_MEMCACHED is false or ↵Byron Jones1-2/+4
no updates made r=dkl, a=sgreen
2013-12-19Bug 237498: Add memcached integrationByron Jones1-15/+52
r=dkl, a=sgreen
2013-12-17Bug 815026: Bugzilla::Object cache should be cleared when an object is ↵Byron Jones1-1/+15
updated or removed from the database r=dkl, a=sgreen
2013-08-26Bug 904568: emails generated by jobqueue.pl unable to reference custom fieldsByron Jones1-46/+65
r=simon, a=simon
2013-07-31Bug 877078: shift bugmail generation to the jobqueueByron Jones1-2/+48
r=sgreen, a=sgreen
2012-12-25Bug 824644: Typo in code comment: request_cahceOlav Vitters1-1/+1
r=LpSolit, a=LpSolit
2012-11-30Bug 816747 - Add dummy POD for unPODded methods.Marc Schumann1-0/+16
r/a=LpSolit
2012-11-22Bug 811280: Adds a caching mechanism to Bugzilla::Object to avoid querying ↵Byron Jones1-1/+30
the database repeatedly for the same information r=dkl,a=LpSolit
2012-11-02Fix typoFrédéric Buclin1-1/+1
2012-11-02Bug 807937: Fix PODKoosha Khajeh Moogahi1-6/+7
r/a=LpSolit
2012-09-01Bug 787529: Use |use 5.10.1| everywhereFrédéric Buclin1-2/+3
r=wicked a=LpSolit
2012-08-31Bug 783222 - Make set_all() throw error on invalid param names1-0/+5
r/a=LpSolit
2012-02-29Bug 528918: Bugzilla::Object->match() shouldn't call _check_field() when the ↵Frédéric Buclin1-2/+5
field being passed can be trusted (deserialising the DB schema is slow) r=dkl a=LpSolit
2012-01-12Bug 715902: Do not log personal common activities in audit_logFrédéric Buclin1-2/+4
r=dkl a=LpSolit
2012-01-11Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin1-19/+5
add it to files which miss one r=kiko r=mkanat r=mrbball 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