From: <jgr...@us...> - 2003-03-25 05:25:28
|
Update of /cvsroot/popfile/engine/POPFile In directory sc8-pr-cvs1:/tmp/cvs-serv20897/POPFile Modified Files: Configuration.pm Module.pm Log Message: Make the UI pluggable; make SMTP, NNTP and POP3 modules register and handle their own configuration UI; factor the HTTP code out of the UI and into own class; implement XML-RPC interface; make test suite allow selection of tests to run; change the way POPFile reports its startup; make the version string work Index: Configuration.pm =================================================================== RCS file: /cvsroot/popfile/engine/POPFile/Configuration.pm,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Configuration.pm 8 Mar 2003 00:51:50 -0000 1.15 --- Configuration.pm 25 Mar 2003 05:24:54 -0000 1.16 *************** *** 235,252 **** # Parameters that are now handled by UI::HTML ! 'archive', 'ui_archive', ! 'archive_classes', 'ui_archive_classes', ! 'archive_dir', 'ui_archive_dir', ! 'history_days', 'ui_history_days', ! 'language', 'ui_language', ! 'last_reset', 'ui_last_reset', ! 'last_update_check', 'ui_last_update_check', ! 'localui', 'ui_local', ! 'page_size', 'ui_page_size', ! 'password', 'ui_password', ! 'send_stats', 'ui_send_stats', ! 'skin', 'ui_skin', ! 'test_language', 'ui_test_language', ! 'update_check', 'ui_update_check' ); --- 235,252 ---- # Parameters that are now handled by UI::HTML ! 'archive', 'html_archive', ! 'archive_classes', 'html_archive_classes', ! 'archive_dir', 'html_archive_dir', ! 'history_days', 'html_history_days', ! 'language', 'html_language', ! 'last_reset', 'html_last_reset', ! 'last_update_check', 'html_last_update_check', ! 'localui', 'html_local', ! 'page_size', 'html_page_size', ! 'password', 'html_password', ! 'send_stats', 'html_send_stats', ! 'skin', 'html_skin', ! 'test_language', 'html_test_language', ! 'update_check', 'html_update_check' ); Index: Module.pm =================================================================== RCS file: /cvsroot/popfile/engine/POPFile/Module.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Module.pm 5 Mar 2003 21:15:35 -0000 1.5 --- Module.pm 25 Mar 2003 05:24:54 -0000 1.6 *************** *** 374,376 **** --- 374,387 ---- } + sub version + { + my ( $self, $value ) = @_; + + if ( defined( $value ) ) { + $self->{version_} = $value; + } + + return $self->{version_}; + } + 1; |