Commits

Alexander Vladishev authored d68c18817d0
A......... [ZBXNEXT-6566] improved performance of the user macros; added strict validation of user macros in host.create/update(), hostrototype.create/update(), template.create/update() and usermacros/update() methods * commit 'deb653052986766c6821da8393b30ccca9c18cd1': (38 commits) A......... [ZBXNEXT-6566] added a test on empty user macro name in API input validator A......... [ZBXNEXT-6566] fixed error reporting in the validation of user macros A......... [ZBXNEXT-6566] fixed mass update of the host and temlate macros A......... [ZBXNEXT-6566] fixed validation of the vault secrets in usermacro.update(), usermacro.updateglobal(), host.update(), hostprototype.update and template.update() methods A......... [ZBXNEXT-6566] fixed PHP runtime errors when updating host prototype macros linked to hosts and templates A......... [ZBXNEXT-6566] removed debug A......... [ZBXNEXT-6566] fixed updating of the inherited host macros; minor coding style fixes A......... [ZBXNEXT-6566] added new "inherited" option for usermacro.get method; fixed codung style A......... [ZBXNEXT-6566] removed duplicate code A......... [ZBXNEXT-6566] fixed multiple PHP runtime errors while creating a single host .D........ [ZBXNEXT-6566] updated list of authors in the ChangeLog entry A......... [ZBXNEXT-6566] simplified code; fixed code style A......... [ZBXNEXT-6566] fixed code style A......... [ZBXNEXT-6566] fixed inability to inherit the templated macros of host prototypes via usermacro API; removed the ability to create/update/delete the inherited macros via usermacro API .......... [ZBXNEXT-6566] added ChangeLog entry A......... [ZBXNEXT-6566] prevented loading of host macros from database, when it's not needed A......... [ZBXNEXT-6566] simplified code; fixed code style A......... [ZBXNEXT-6566] fixed error message of cross renaming of existing macros; fixed code style A......... [ZBXNEXT-6566] removed unused code A......... [ZBXNEXT-6566] fixed code style ... (cherry picked from commit 9da3824f6e583776e804142dac24e3223418e8a5)