openflax_handlers-2003.0926 README ---------------------------------- The openflax_handlers library application is a collection of handlers for OpenFlax. The base application, OpenFlax, contains no handlers; it is kept small to minimize the chances of bugs and security holes being introduced into the code and to maximumize it's peer reviewability. The restrictions for openflax_handlers are less stringent, with the understanding that additional features mean additional risks. Each handler in the openflax_handlers library application lists its featurefulness/security tradeoff level in its' documentation: from 0 (intends to be as secure as possible) to 9 (intends to be as featureful as possible in spite of security risks.) This library application was previously known as openflax_mod. Installation ------------ openflax_handlers depends on the latest version of OpenFlax. Install it first. Unpack the archive so that the openflax_handlers-<> directory is in your Erlang lib directory. To recompile the binaries, if necessary: from the command prompt, in the openflax_handlers-<> directory, type erlc -o ebin/openflax/handler/ src/openflax/handler/*.erl Alter the settings in your configuration files to suit your system. Release Notes ------------- 2002.1113 - extracted openflax_mod from base openflax application - implementing ubiquitous session id's as part of openflax_mod_user 2002.1115 - mod_user now uses smtpe to send email - no more is external program shelled 2002.1120 - updated documentation 2002.1204 - removed memoization from openflax_mod_dir (should be general cacheing) - allows patch to be copy-pasted into form as well as uploaded 2002.1205 - fixed filename and copy-paste form bugs in openflax_mod_patch - all patches now uses seperate template (typically w/o upload form) 2002.1208 - made session ID carry through _dir and _patch (finally :) 2003.0218 - fixed longstanding inadequacies in openflax_mod_upload 2003.0219 - added "reload configuration" to openflax_mod_test 2003.0220 - removed openflax_mod_cgi - trimmed openflax_mod_upload - added index.pub reading in openflax_mod_dir, sets process dictionary vars - added keyword description tags in openflax_mod_dir configuration 2003.0223 - openflax_mod_dir & openflax_mod_tgz now configured with URLs, not filespecs 2003.0317 - added logs_accesses/0 to all modules as part of openflax_mod behaviour (currently only openflax_mod_user and openflax_mod_monitor log accesses) 2003.0325 - improved openflax_mod_dir; now has tgz link inside tarballable directories - openflax_mod_dir only shows patch links if openflax_mod_patch is in modules 2003.0327 - removed openflax_mod_latest, openflax_mod_peer (must be a better way) - removed all session & session_id support (will migrate to cookies) - adopted ce_log as wrapper to disk_log 2003.0330 - overhauled openflax_mod_patch - added dir_columns and file_columns settings to openflax_mod_dir 2003.0415 - updated all modules to new openflax_mod behaviour interface - removed allow_only config from openflax_mod_dir - added temp_dir setting to openflax_mod_tgz (TODO: _patch too) - replaced openflax_mod_monitor with simpler openflax_mod_admin - removed openflax_mod_test, folded functionality into openflax_mod_admin 2003.0416 - added openflax_mod_autocomplete - conform to new openflax_mod behaviour (serve(http(), dict())) 2003.0417 - removed openflax_mod_user, openflax_mod_html (need to be rewritten) - renamed openflax_mod_mnesia -> openflax_mod_ce_db (more literal) - fixed openflax_mod_upload, now uploads to basic-resource directory 2003.0418 - added e-mail facility to openflax_mod_admin - openflax_mod_upload e-mails admin each time a file is uploaded - removed openflax_mod_patch (no longer really necessary w/upload+dispatch) - made all modules blissfully unaware that Dict is a dictionary 2003.0419 - kept in sync with massive changes to openflax API 2003.0420 - added openflax_mod_feedback 2003.0421 - updated openflax_mod_upload - should be openflax_http_parse_multipart_formdata - updated openflax_mod_admin, now uses streaming facility, not openflax_response - note that sample.conf has not yet been updated to reflect new conf format 2003.0428 - added openflax_mod_guestbook as an example of serializing a shared resource - fixed tarball link in openflax_mod_dir. - changed to new api format 2003.0501 - worked on openflax_mod_upload 2003.0504 - openflax_mod_dir now accepts a "mirrorlink" field in cfg_files 2003.0516 - openflax_mod_tgz now sends Content-Disposition (confuses IE less) - openflax_mod_tgz now uses global cfg_temp_dir - openflax_mod_tgz's cfg_tgz_allow_archive is now a list of dirs - openflax_mod_upload now uploads into global cfg_temp_dir 2003.0526 - kept up with (minor) changes to openflax API, notably: - stream_start and stream_data responses now take a handler name, - switch_handler is no longer needed, only the new handler name 2003.0904 - major rewrite. conforms to new hierarchical package layout openflax.mod.* - openflax.mod.file now uses streaming response with known size - openflax.mod.file has more tweakable knobs (cfg_file_options, _chunk_size) - openflax.mod.template introduced with tail-recursive fill_out function 2003.0909 - using new functions from filelib module instead of openflax.mod.file 2003.0916 - removed 'allow archive' option from mod.tgz (not needed w/dispatching) 2003.0917 - tweaking mod.upload back into shape 2003.0925 - bloated openflax.mod.dir completely removed; openflax.mod.ls now suffices - fixed small bug in 2003.0909's openflax.mod.tgz - no more doubled entries - added openflax.mod.error 2003.0926 - appplication renamed to openflax_handlers. - conformed to new openflax standards for configuration file & naming. - fixed many small, largely inconsequential errors in documentation and code. - removed openflax.mod.error (no longer needed.)