0.99: 15.03.2004 10:30 - pulldown menu rendering fixed (no glitches now); - js function open_popup_menu is moved to navigation.js; - HTTP_X_FORWARDED_FOR logging; 0.98: 12.03.2004 11:00 - new feature: 2-level main menu; sub get_menu_for_my_role { return [ { name => 'type1', label => 'Screen Type 1', items => [ { name => 'type11', label => 'Screen Type 11', }, { name => 'type12', label => 'Screen Type 12', }, ] }, { name => 'type2', label => 'Screen Type 2', }, ] } 0.97: 10.03.2004 16:40 - sql_reconnect and Config reloading order fixed; - target option added in draw_toolbar_button sub; 0.96: 09.03.2004 17:00 - target option added in draw_toolbar sub; - Zanas::Install is forked out; - order sub fixed for correct DESC handling; - draw_table fixed for not scrolling through totals; - added is_total option to draw_text_cell sub; - added real_path option to upload_file output; - added add_columns option in sql_upload_file sub (by pashka); - Zanas::Request fixed for the case where directory listing is denied; - Apache::Constants::OK fixed for prototype matching. 0.95: 03.03.2004 12:30 - add_totals sub added; - $_REQUEST {__response_sent} is now used when doing actions (by pashka); - redirection target is changed from _top to _parent (by pashka); 0.94: 02.03.2004 16:00 - (by pashka) no more strong dependency on Apache::Request or even mod_perl. One can use Zanas.pm based apps on any raw CGI hosting. The script is ----------- cut here ------------------------ #!/usr/bin/perl -w use lib '/path/to/webapp/library'; use MYAPP; $MYAPP::preconf = { db_dsn => "DBI:mysql:database=mybase", db_user => 'myuser', db_password => 'mypassword', core_load_modules => 0, core_spy_modules => 0, core_fix_modules => 0, core_gzip => 1, }; MYAPP::handler; ----------- cut here ------------------------ It's 20 times more slow, but it works; - fixed a security hole with 'type=users_for_admin' (by pashka); - multirole fixes (by pashka); - added $_REQUEST {redirect_params} handling (idea by pashka); - new log fields: id_object and ip; 0.93: 26.02.04 12:50 - targets are now in use with activate_link js function; - target option is now passed in draw_text_cells; - don't show labels for hrgoups items that are off; - are now marked as id="tr_$$field{name}" in draw_form; - added setVisible js function; - added onChange option to draw_form_field_select sub; - added onClose option to draw_form_field_datetime sub; - fixed a bug with calendar format; 0.92: 19.02.04 10:40 - added href option in draw_text_cells sub; - draw_text_cell now receives 2 args: data and options, data can be scalar (label only); - '..' option in draw_table; - don't load Mozilla3; 0.91: 13.02.04 10:30 - added a 'no_nobr' option in draw_text_cell; - added a 'title' option in draw_text_cell; 0.90: 12.02.04 10:30 - added a configuration option: $conf -> {exit_url}; 0.89: - fixed a bug in draw_toolbar_input_text (useless sid hidden input); - fixed a bug in check_href (useless sid appending); - href option in check_href sub ( => almost *EVRYWHERE*) can now be a HASHref (fed to create_url); - added 'additional_buttons' option in draw_form. - added 'status_switch' utility function. Synopsis (in YOUR_APP/Config.pm): our ($SQL_STATUS, $status) = status_switch (< my_table.expire_dt THEN 2 # Expired WHEN my_table.is_ok THEN 1 # OK ELSE 0 # New END EOS To use it, add 'use Zanas::Util;' BEFORE 'use YOUR_APP::Config;'. - added 'read_only' option for all form inputs; - now working unless Apache::Request is installed: in this case, params are fetched with CGI.pm; - 'values' option in draw_form_field_static sub can be a hashref; 0.88: added 'headers' sub: draw_table ( headers (qw( ¹ no Label label _ )), sub { ... } ) - added 'hrefs' sub (for column ordering): href => create_url (order => $order, desc => 0), href_asc => create_url (order => $order, desc => 0), href_desc => create_url (order => $order, desc => 1), - added 'href_asc' and 'href_desc' options to draw_text_cell. - new magic parameter: __pack. Resizes the new opened window to fit its contents. - added js function: nop. Does nothing. - new magic parameter: __read_only. All form inputs are static. - added 'picture' option to draw_form_field_string and draw_form_field_static subs 0.87: 30.01.04 10:30 - added 'value' option to draw_checkbox_cell sub 0.86: 29.01.04 16:30 - added 'confirm' option to draw_centered_toolbar_button sub - added 'target' option to draw_toolbar_button sub 0.85: 22.01.04 11:52 - 0.gif is relocated to the root - no more 'keepalive' iframe on logon screen 0.84: 21.01.04 13:45 - Accept-Encoding header is now considered 0.83: 21.01.04 12:15 - menu.js is killed 0.82: 21.01.04 11:00 - 0.html is relocated to the root 0.81: 20.01.04 14:00 - Zanas::Install module added; - gzip encoding for basic js and css; - sub sql_select_subtree added; 0.80: 26.12.03 14:30 - basic js and css is now served from Zanas.pm itself; - fixed a memory leak related to __include_js and __include_css handling; - distro is cleaned up; 0.79: 25.12.03 12:30 - added html sweeping option ($conf -> {core_sweep_spaces}); - _W_A_R_N_I_N_G_ !!! Basic navigation javaScript is now served as static content. Copy or symlink static/navigation.js to your app /docroot/i/ dir; - added gzipping option ($conf -> {core_gzip}). Requires Compress::Zlib. - added Content-Range header in download_file sub; 0.78: 24.12.03 12:30 - added Content-Length header in download_file sub; - added support for $preconf configuration hash (setting in section); - added support for __focused_input magic parameter; - sub add_vocabularies added; - sub sql_select_vocabulary added; - $conf -> {top_banner} is now rendered; 0.77: 17.12.03 10:30 - added db schema autocheck with DBIx::ModelUpdate; - added support for multiroled users (by pashka); - __no_navigation is now passed through URL rewriting (by pashka); - fixed check_href for /i/ (by pashka); 0.76: 16.12.03 10:30 - various js fixes in table scrolling/focus handling; 0.75: 15.12.03 14:00 - new field type: 'calendar' (control taken from http://dynarch.com/mishoo/calendar.epl); - added support for: $conf -> {include_js} ||= ['js']; $_REQUEST {__include_js} = $conf -> {include_js}; $conf -> {include_css} ||= ['new']; $_REQUEST {__include_css} = $conf -> {include_css}; Fckeditor js include moved there. - added off option to draw_toolbar_input_htmleditor sub; 0.74: 04.12.03 14:00 - added confirm option to draw_toolbar_button sub; - added target option to draw_form sub; 0.73: 02.12.03 15:00 - added off option to draw_toolbar_input_text sub; - added top_banner configuration option; 0.72: 28.11.03 16:00 - added type-ahead facility to all