nightflyza / Ubilling

Ubilling is opensource ISP billing system based on stargazer
https://ubilling.net.ua
GNU General Public License v2.0
134 stars 105 forks source link

XMLAgent_refactor_and_update #828

Closed bobr-kun closed 6 months ago

bobr-kun commented 6 months ago

XMLAgent:     Now is a separate class     A couple of new calls added     Changed user's tariff & services info output format     Three new requests implemented     Some minor additions and changes     Debugging mode added

VirtualServices:      Added "Archived" field      Refactored "Create" and "Edit" forms for better UI experience

A "UserStatsConfig" class been added as a full equivalent of "UbillingConfig" class with a strictly same intentions.

So, for now on the "zbs_UserShowXmlAgentData()" function might be considered as deprecated and might be removed, at least - if it's not used elsewhere in some sideway projects.

Meanwhile the original "zbs_XMLAgentRender()" function might be replaced with it's a lot shorter equivalent which uses the "XMLAgent::renderResponse()" method and that's, hopefully, shouldn't brake anything.