API Changes
- Version 0.81
- Added locking functions lock_file, unlock_file and
unlock_all_files as described in the File Locking
section.
- Added action logging functions webmin_log,
system_logged, backquote_logged, kill_logged
and rename_logged as described in the Action Logging
section.
- Version 0.77
- The module.info file can now contain a category line.
See above for more details.
- Version 0.75
- The header function can now generate a header image
itself if the 2nd parameter is empty.
- Added support for internationalisation, in particular the text
function and the %text hash. See above for more details.
- Added the encode_base64 function.
- Version 0.74
- The header function now accepts an additional parameter
for adding extra HTML to the <head> section of the page.
- Added link to a font used for creating Webmin headers.
- Version 0.73
- The init_config function no longer needs the module name to
be passed as a parameter, in order to support the cloning of modules.
Modules should no longer have their name hard-coded anywhere in
CGI programs or perl scipts - instead, the $module_name
variable should be used.
- Version 0.72
- Added the get_module_acl and save_module_acl
functions for use with the per-module ACL feature. See above for
more details.
- Changed the way the Users and Groups module notifies other
modules when users are added, updated and deleted. The API for
notification is now documented above.
- Version 0.70
- Module library files should now include web-lib.pl with
the statement do '../web-lib.pl'; instead of
require '../web-lib.pl';. This is required to make foreign
function calls to your module possible.
- It is now possible to call functions from other modules' libraries,
using the foreign_require and foreign_call
functions. See the documentation above for more details.
- The function get_system_hostname has been added, to
return the hostname of the system Webmin is running on. The
hostname function in Sys::Hostname was failing
on some Linux systems.
- Added the function get_webmin_version.
- ACL checking is now automatic. The old acl_check function
now does nothing, and so no longer needs to be called.
- Version 0.63
- Added the hlink function, which returns HTML for a pop-up
window for some module help page.
- Added the user_chooser_button and group_chooser_button
functions, for more scalable selection of users and groups.