Changelog 2.6.0.16881 -> 2.6.0.16912 ==================================== [FIX] waptagent write_audit_data insert: handle conflicts on id key * if several _different_ processes write audit data in the same second, id calculation is handled by db * improve max_count and expiration_date handling * use a time based id for audit_data * handle properly audit_data if host is reformated after registration on server * send max audit value_date as iso date in the hashes the same way other hashes are handled * added a higher resolution now_isodate_utc() function * added a hack to prevent now_isodate_utc returning 2 times the same value in case of high frequency calls [FIX] waptserver hostauditdata: unique index for the .on_conflict('update' to handle conflicts on (host_id,value_id) and avoid duplicating rows * on_conflict update instead of ignore * force send audit_data if previous server hash of audit_data did not not look like a date (for backward compat) [FIX] regression on faked host_organizational_unit_dn * host_dn must be calculated from CN=, in this case * waptwua: reworked install_callback [UPD] don't zero fill password in waptlicences "wapt_local_json_get" and wapt_local_login" helpers * python str was zero filled too ... [NEW] python waptlicences wapt_local_json_get imporved and new 'wapt_local_login" helper [UPD] add loglevel_waptwua to dynamic configuration form [FIX] missing proxy in _waptwua_on_get_repo_url callback result * bad force argument for download_updates() [FIX] breaking change: don't use wincomputername() api for windows host computer_name inventory. * use get_computer_name() instead. [FIX] waptwua regression : waptwua repo url calc... * fix registry keys with faulty ending spaces * pywaptwua: code cleanup * UpdateServerStatus proxy callback: ensure we have the GIL before calling the python code * restore threads in installed_windows_updates() and update_history() long running queries. * waptwua: registry settings cleanup * pywapwua GIL management tweaking [NEW] waptwua : load an optional download_urls override map from pf32\wapt\waptwua\download_urls_patches.json * {"c0fef64e-5cc8-468a-bab8-2e70ceecc203_100": ["https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/db0d5972-d5ac-4706-ae45-d2fb38680308/public/windows11.0-kb5050021-x64_d1c06c1c0d32a7ff8879f1e2a386d26df113a227.msu"]} * add a "scan_service" parameter to scan using WU or MU [NEW] waptwua : add a callback in waptwua to override the download_urls associated with an IUpdate instance * to hard code in python some MSU urls for win11 23H2 for example [IMP] peercache: enhanced logged content in verbose mode * peercache: avoid mdSeq false positive error [IMP] waptserver register endpoint: optionaly returns configurations on register * should allow to apply configurations right after registration [IMP] Remove sudo in postconf * run_as_user_unix use lambda for subprocess.Popen