summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
AgeCommit message (Collapse)AuthorFilesLines
2018-06-25Bug 1471044 - Allow some model classes to have dynamic column names with ↵Dylan William Hardison1-7/+16
class method DYNAMIC_COLUMNS When working on bug 1253535 I kept encountering the fragility of our model system. This fragility involves two things: 1) Extensions adding new columns to model objects 2) The use of those model objects in checksetup. In particular, the SecureMail extension causes this problem because (at checksetup-time) we need to lookup certain Group objects. Thus I propose to 1) allow model classes to take their list of columns from the informations schema (exposed via `bz_table_columns_real`) 2) Have Bugzilla::Group do this when being used in a commandline (e.g. checksetup) context.
2018-03-07Revert Bug 1273381Dylan William Hardison1-0/+3
This reverts commit ed53ecda0546d6c639fa3d227a59ace4d57b81a5.
2018-03-05Bug 1273381 - Improve bugzilla object performance by using Class::XSAccessor ↵Upasana1-3/+0
for object accessors
2017-07-07Bug 1377933 - Remove trailing whitespace from all perl filesDylan William Hardison1-43/+43
2016-09-13Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + ↵Dylan William Hardison1-21/+9
local symlink to data/ directory
2016-09-12Revert "Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to ↵Dylan William Hardison1-9/+21
bmo/master + local symlink to data/ directory" This reverts commit e6bf4cacb10f86077fe898349485f5c7ab9fb4b6.
2016-09-12Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + ↵Dylan William Hardison1-21/+9
local symlink to data/ directory
2015-09-02Bug 1199136 - lower memory consumption to better operate in bugzilladm'sByron Jones1-0/+32
low memory environment
2015-04-13Bug 1152818: changing an assignee to nobody@mozilla.org or any .bugs address ↵Byron Jones1-1/+5
should automatically reset the status to NEW
2014-07-07Bug 1033955: backport bug 1028795 to bmo (pre-load all related bugs during ↵Byron Jones1-0/+68
show_bug initialisation)
2014-05-12Bug 992767: backport bug 987032 to bmo (allow memcached to cache bugzilla ↵Byron Jones1-21/+59
configuration information)
2014-03-04Bug 966180: backport bug 956233 to bmo (enable USE_MEMCACHE on most objects)Byron Jones1-4/+16
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