# Copyright (c) 2001-2011 bivio Software, Inc. All Rights reserved. # # Visit http://www.bivio.biz for more info. # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of the # License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; If not, you may get a copy from: # http://www.opensource.org/licenses/lgpl-license.html # # $Id: bOP.pm,v 11.49 2012/01/17 00:14:53 nagler Exp $ package Bivio::bOP; use strict; use base 'Bivio::UNIVERSAL'; our($VERSION) = sprintf('%d.%02d', q$Revision: 11.49 $ =~ /\d+/g); =head1 NAME Bivio::bOP - bivio OLTP Platform (bOP) overview and version =head1 RELEASE SCOPE bOP =head1 SYNOPSIS use Bivio::bOP; =head1 DESCRIPTION C is a multi-dimensional, application framework. At the highest level, bOP provides support for web-delivered applications based on a Model-View-Controller (MVC) architecture. At the lowest level, bOP provides a cohesive infrastructure for any Perl application. We'll be writing more here later. Please visit http://www.bivio.biz for more info. =head1 CHANGES $Log: bOP.pm,v $ Revision 11.49 2012/01/17 00:14:53 nagler * Bivio::BConf fmt * Bivio::Biz::Action::AssertClient added execute_is_test * Bivio::Biz::Action::FileManagerAjax NEW * Bivio::Biz::Model::DBAccessModelForm Remove debug * Bivio::Biz::Model::FileChangeForm Refactor image upload in wysiwig editor, make image upload locations configurable, make 'upload image' tab optional * Bivio::Biz::Model::RealmUserAddForm fmt * Bivio::Biz::Model::TestWidgetForm added another test field * Bivio::Delegate::TaskId Support for Simon Georget's File Manager (https://github.com/simogeo/Filemanager) info_dev => info_test gather all test tasks in info_test Added AssertClient->execute_is_test to all test tasks * Bivio::IO::File comment * Bivio::Test::Language::HTTP added local_mail_host() home_page_uri($facade) calls http_facade() if $facade is passed, because http_facade wasn't sticky otherwise generate_local/remote_email accept email addresses as first args and will replace with facade domain if specified * Bivio::UI::FacadeBase Support for Simon Georget's File Manager (https://github.com/simogeo/Filemanager) encapsulate "/b" from CKEditor in get_local_file_plain_common_uri() _cfg_dev => _cfg_test * Bivio::UI::Facade added get_local_file_plain_common_uri which encapsulates "/b" from CKEditor fmt * Bivio::UI::HTML::ViewShortcuts cruft * Bivio::UI::HTML::Widget::CKEditor Refactor image upload in wysiwig editor, make image upload locations configurable, make 'upload image' tab optional * Bivio::UI::HTML::Widget::MultipleChoice fixed enum sorting to work if enum_sort is as_int (not just defaulted) cleaned up formatting * Bivio::UI::View::Blog Refactor image upload in wysiwig editor, make image upload locations configurable, make 'upload image' tab optional * Bivio::UI::View::FileManager NEW * Bivio::UI::View::Wiki Refactor image upload in wysiwig editor, make image upload locations configurable, make 'upload image' tab optional * Bivio::UI::View::WysiwygFile Refactor image upload in wysiwig editor, make image upload locations configurable, make 'upload image' tab optional * Bivio::Util::Project creates "/b" link in files//plain for CKEditor if it doesn't exist -- assumes files structure is $ENV{HOME}/src/perl/Bivio Symlinks of directories stay symlinks (not directories, because "/b" wasn't working) * Bivio::Util::SQL delete log files in destroy_db Revision 11.48 2012/01/10 16:17:15 moeller * Bivio::Biz::Model::TupleSlotType validate_slot() returns choice value which matched * Bivio::Delegate::TaskId load paged list for FORUM_MOTION_STATUS fpc * Bivio::UI::View::Motion added pager to status page * Bivio::Util::Project if the directory is a link, don't mkdir, rather link to it Revision 11.47 2012/01/06 00:42:23 nagler * Bivio::Biz::Action::AssertNotRobot return NOT_FOUND so search engines do not get to login page * Bivio::Biz::Model::DBAccessModelForm NEW * Bivio::Biz::Model::DBAccessModelList NEW * Bivio::Biz::Model::DBAccessRowList NEW * Bivio::Biz::Model::ForumUserDeleteForm need to return 1 from Forum->do_iterate * Bivio::Delegate::TaskId DBAccess utility' * Bivio::UI::FacadeBase DBAccess utility' * Bivio::UI::View::DBAccess NEW Revision 11.46 2011/12/23 17:36:53 moeller * Bivio::UI::XHTML::ViewShortcuts vs_descriptive_field() - don't show label if wf_type is Boolean * Bivio::Util::Search fixed dup declaration * Bivio::Util::SQL added upgrade_db tuple_boolean_type Revision 11.45 2011/12/21 23:58:42 nagler * Bivio::Biz::Model::CRMThread Added cascade_delete to remove TupleTags * Bivio::Biz::Model::RealmMail delete_message: fix updating of non-root messages, CRMThreads aren't always associated with a given message todos * Bivio::Die added catch_quietly_unless_test * Bivio::PetShop::Util::TestData added clear_crm_threads * Bivio::Type::GeomPoint b_use * Bivio::UI::FacadeBase msg_summary is 50em * Bivio::UI::View::CSS added CSS for msg_summary * Bivio::UI::XHTML::Widget::WikiText::Widget call catch_quietly_unless_test so get errors to logs in dev/test * Bivio::UI::XHTML::Widget::WikiText clean up _task_id() so returns SITE_WIKI_VIEW if in that context wasn't cascading $task_id in all places call catch_quietly_unless_test so get errors to logs in dev/test * Bivio::Util::RealmMail added toggle_is_public_for_all added USAGE Revision 11.44 2011/12/20 01:38:21 nagler * Bivio::Biz::Model::RealmMail Deleting root RealmMail of ticket did not work * Bivio::Type::DecimalDegree compute to 8 decimal places * Bivio::UI::FacadeBase added xhtml_copyright_qualifier which can be overwritten * Bivio::UI::View::Motion use TrimmedText widget for comment and text columns * Bivio::UI::ViewShortcuts added vs_now_as_year * Bivio::UI::XHTML::ViewShortcuts added vs_trimmed_text_column() * Bivio::UI::XHTML::Widget::XLink factored out XLinkURI * Bivio::UI::XHTML::Widget::XLinkURI NEW * Bivio/UI-xml NEW * Bivio::Util::SiteForum init_bulletin: moved set_user_to_any_online_admin inside with_realm so would get a user in general realm. fixed formatting * Bivio::Util::TestMail num_msgs is now fixed (not random) Revision 11.43 2011/12/06 03:06:59 nagler * Bivio::Agent::Request removed is_production config param * Bivio::Biz::Action::RealmMail Don't queue a job if the user agent is_mail_agent so that we lock up an apache process * Bivio::Biz::Model::MailRealmsThreadRootList removed * Bivio::Delegate::TaskId reflectors need MailReceiveStatus * Bivio::PetShop::Test::PetShop b_use * Bivio::ShellUtil added do_backticks * Bivio::Test::ShellUtilConf call do_backticks * Bivio::Type::String canonicalize_and_excerpt is now re-entrant * Bivio::Type::UserAgent added is_mail_agent * Bivio::UI::HTML::Widget::SourceCode use do_backticks * Bivio::UI::View::ThreePartPage indirect the xhtml_head_title in xhtml_head_tags * Bivio::UI::XHTML::Widget::WikiText::Macro allow for @{param} in text so can be inline with other \w chars * Bivio/UI-xml NEW * Bivio::Util::TestMail NEW * Bivio::XML::DocBook use do_backticks Revision 11.42 2011/12/05 20:16:59 moeller * ckeditor.js render underlined text correctly Revision 11.41 2011/12/05 19:42:16 moeller * Bivio::BConf Synchronize newly created/deleted realm files with failover host * Bivio::Biz::FailoverWorkQueue NEW * Bivio::Biz::Model::RealmFile Synchronize newly created/deleted realm files with failover host * Bivio::Delegate::FailoverWorkQueueOperation NEW * Bivio::Search::Xapian Xapian DB replication to failover host using xapian-replicate(-server) and rs ync * Bivio::SQL::DDL Synchronize newly created/deleted realm files with failover host * Bivio::Type::FailoverWorkQueueOperation NEW * Bivio::Type::TimeZone UTC now included in DateTime::TimeZone->all_names * Bivio::Util::FailoverWorkQueue NEW * Bivio::Util::Search Xapian DB replication to failover host using xapian-replicate(-server) and rs ync * Bivio::Util::SQL Synchronize newly created/deleted realm files with failover host Revision 11.40 2011/11/22 20:49:31 schellj * Bivio::Biz::Model::MailRealmsThreadRootList move execute_load_recent here from subclasses * Bivio::UI::HTML::Format::DateTime don't add 'GMT' when using rfc822 mode (already included) * Bivio::UI::HTML::Widget::DateTime add previously unsupported date modes * Bivio::UI::HTML::Widget::Table allow use of table_max_rows without explicit source_name Revision 11.39 2011/11/17 17:26:26 moeller * Bivio::Biz::Action::AssertNotRobot NEW * Bivio::Biz::Model::CSVImportForm work-around for slow unicode value parsing, write and then read back the csv file before parsing * Bivio::Biz::Model::MailRealmsThreadRootList only allow public messages * Bivio::Delegate::TaskId added Action.AssertNotRobot to FORUM_FILE_TREE_LIST * Bivio::MIME::Calendar handle empty VCALENDAR case * Bivio::SQL::Connection::Postgres Allow connection host and port to be specified. Method to get postgres settings * Bivio::Util::PGStandby NEW Revision 11.38 2011/11/09 22:59:28 schellj * Bivio::Biz::Model::MailFromRealmsList removed * Bivio::Biz::Model::MailRealmsThreadRootList NEW * Bivio::Type::Gender match "M" and "F" literals use "M" and "F" as MALE and FEMALE string names, respectively * Bivio::UI::View::Mail sytax error in internal_thread_root_list * Bivio::UI::XHTML::Widget::MobileDetector added robot_redirect_for_desktop * Bivio::Util::HTTPD don't require port * Bivio/Util/t/Release NEW Revision 11.37 2011/11/06 16:29:36 nagler * Bivio::Agent::HTTP::Query die if a value is a reference when formatting (and not a command line) * Bivio::Agent::Request added set_task_and_uri used by Test.Request to correctly set the task * Bivio::Biz::Action::WikiValidator _uri_root() must be dynamically computed, because initial_uri will change for each path. Use set_task_and_uri() to set the task * Bivio::Biz::FormModel set empty_properties properly * Bivio::Biz::Model::MailFromRealmsList get message sender display_name from file, not message from_display_name, which isn't a required field * Bivio::Delegate::Cookie removed b_debug() * Bivio::Delegate::NoCookie stubbed out put_escaped() and unsafe_get_escaped() * Bivio::Ext::HTTPCookies fixed clone to really delete temp files. HTTP::Coookies will save to the file always if there's a $self->{file} * Bivio::IO::Ref nested_differences documents the differences in keys of a hash, even if the number of keys is different * Bivio::Mail::Common need to set test-recipient * Bivio::SQL::ListQuery THIS_REGEX not needed * Bivio::Test::HTMLParser::Forms don't label a field if no class is being parsed * Bivio::Test::Language::HTTP added save_cookies_in_history() -- don't save cookies in the history by default, because too many tests depend on go_back() to stay logged in * Bivio::Test::Request use set_task_and_uri() to set the task * Bivio::Type::DateTime added common_log_format (Apache/NCSA) parsing * Bivio::Type::Enum added as_query * Bivio::Type::HTTPStatus added as_string * Bivio::Type::IPAddress added to_inet & unsafe_to_domain * Bivio::Type::UserAgent added is_robot_search_verified() to verify ip addresses of (popular) robots * Bivio/UI-xml NEW * Bivio::Util::Wiki b_use Revision 11.36 2011/11/02 22:45:10 schellj Release notes: * Bivio::Agent::Request use clone_return_is_self() interface rather than explictly returning singleton * Bivio::Biz::Action::AssertClient *** empty log message *** * Bivio::Biz::Action::WikiValidator fixed uri_root * Bivio::Biz::Model::MailFromRealmsList NEW * Bivio::Biz::Model use clone_return_is_self() interface rather than explictly returning singleton * Bivio::Delegate::Cookie Provide methods to get/put cookie values that may contain the RS (036) character * Bivio::Ext::HTTPCookies NEW * Bivio::IO::Ref nested_copy wasn't actually cloning the object nested_copy wasn't calling clone. The test for an instance was incorrect. nested_copy was also not copying the referential structure properly, that is, if a reference was copied around a structure (e.g. via a Collection.Attribute "parent"), then the reference was duplicated. Now nested_copy manages references properly. To accomplish this, had to add nested_copy_notify_clone API which is called by UNIVERSAL->clone to manage recursive references * Bivio::SQL::ListQuery added THIS_REGEX * Bivio::SQL::Support use clone_return_is_self() interface rather than explictly returning singleton * Bivio::t::UNIVERSAL::Clonee2 NEW * Bivio::Test::Language::HTTP added reset_user_agent to set to undef fixed set_user_agent_to_robot_other to set to an actual browser string. save_excursion() saves cookies (uses new Bivio::Ext::HTTPCookies) fixed tmp_file() call * Bivio::Type::Enum use clone_return_is_self() interface rather than explictly returning singleton * Bivio::UNIVERSAL IO.Ref->nested_copy was not calling clone (even though it was supposed to) so clone wasn't really being tested. Need to make sure that when cloning, you get a new instance unless clone_return_is_self() is true in which case you are returning self (which usually means the instance is a singleton) * Bivio/Util/t/Release NEW Revision 11.35 2011/10/24 03:24:51 nagler * Bivio::Test::Language::HTTP added set_user_agent_to_actual_browser/etc. * Bivio::Type::UserAgent added BROWSER_ROBOT_SEARCH renamed BROWSER_ROBOT => BROWSER_ROBOT_OTHER added is_robot*() routines. Don't rely on the UA being an exact value. Revision 11.34 2011/10/23 23:28:41 nagler * Bivio::Biz::Model::RealmFile rewrote delete_empty_folders to not delete '/' and to not rely on pattern matching or multiple questions (is_empty) on every row. * Bivio::Type::UserAgent added is_robot added is_real_user (is_browser & is_robot) * Bivio::UNIVERSAL added self_from_req Changed unsafe_self_from_req to work if no request is passed, similar to Facade->get_from_request_or_self Revision 11.33 2011/10/23 02:20:18 nagler * Bivio::Util::Release Save the values of _b_release_define() so they can not only be used in other sections but also in _b_release_file. See Release.bunit as an example. need to allow semicolons in arguments to _b_release_*() _b_release_files: handle multi-line macro expansions * Bivio/Util/t/Release removed Revision 11.32 2011/10/21 23:16:20 schellj * Bivio::Biz::Action::WikiValidator added the uri root to uris missing a leading / * Bivio::Biz::Model::RealmFile add delete_empty_folders set auth_id to loaded realm_id on RealmFileList query in is_empty * Bivio::Util::HTTPD fixed "tail -f ..." message added ExtendedStatus On and /z server-status location Revision 11.31 2011/10/19 04:11:02 nagler * Bivio::Die format the incoming SIG{DIE} msg, because it may be an improperly overloaded object (APR::Error doesn't implement "eq", for example) * Bivio::IO::Alert format the incoming SIG{WARN} msg, because it may be an improperly overloaded object (APR::Error doesn't implement "eq", for example) format_args() stringifies incoming objects. * Bivio::Search::Xapian acquire_lock everywhere * Bivio::Util::HTTPConf no trans_handler * Bivio::Util::Search acquire_lock at start of rebuild_realm Revision 11.30 2011/10/16 23:05:16 nagler * Bivio::Agent::HTTP::Dispatcher added a trans_handler, because apache 2.0 reports: Module bug? Request filename is missing for URI / You need to set filename to something so that Apache's trans_handler code doesn't produce this message * Bivio::Util::HTTPConf Changed trans_handler to 'Bivio::Agent::HTTP::Dispatcher::trans_handler' to fix Module bug? Request filename is missing for URI / * Bivio::Util::HTTPD set PerlTransHandler for 2.0 (good for testing so matches what Util.HTTPConf does Revision 11.29 2011/10/16 04:01:07 nagler * Bivio::Util::HTTPConf Load mod_authz_user and mod_authn_default load mod_authz_default module (with this, you'll get weird errors) Revision 11.28 2011/10/15 23:26:49 nagler * Bivio::Type::CIDRNotation use IPAddress REGEX Added get_net_mask and assert_host_address * Bivio::Type::IPAddress NEW * Bivio::Util::HTTPConf turn on basic auth * Bivio::Util::NetConf NEW * Bivio::Util::Release added _b_release_define so can have formatted %define's in spec files Revision 11.27 2011/10/13 21:19:08 schellj * Bivio::Util::CSV cols containing \r need to be quoted * Bivio::Util::SQL changed column_exists() sql for pg Revision 11.26 2011/10/11 16:40:04 schellj * Bivio::Test::Util save unit test output to unit_log_dir * Bivio::UI::FacadeBase change text for ok_no_validate_button, ok_button for sub/super users * Bivio::UI::View::Wiki switch order of ok_button, ok_no_validate_button * Bivio::Util::SQL added drop_constraints() Revision 11.25 2011/10/07 23:43:07 nagler * Bivio::Biz::IIF NEW * Bivio::Test::Util make sure we can delete test directories * Bivio::Util::Forum Added create_realm * Bivio::Util::IIF Moved to Biz.IIF * Bivio::Util::LinuxConfig loosen IP regexp Revision 11.24 2011/10/05 00:26:24 moeller * Bivio::Biz::Model::CRMThread now calls Email->unsafe_user_id_from_email() * Bivio::Biz::Model::Email added unsafe_user_id_from_email() * Bivio::Mail::Incoming share get_from_user_id() in Model.Email->unsafe_user_id_from_email() * Bivio::Util::LinuxConfig need to generate networks with Type.CIDRNotation.map_host_addresses b/c was only handling 24 bit subnets or smaller Revision 11.23 2011/10/04 00:15:42 schellj * Bivio::Test::Util unit test bconf suffix now "-bunit" remove unnecessary var * Bivio::UI::View::WysiwygFile Improve private/public image upload Revision 11.22 2011/10/03 04:00:16 nagler * Bivio::Agent::Reply need to default set_cache_max_age * Bivio::Biz::Model::DAVList b_use * Bivio::Biz::Model::MailReceiveDispatchForm use Mail.Common->TEST_RECIPIENT_HDR (was incorrectly using X-Bivio-Mail-Test) * Bivio::Biz::Model::RealmDAVList need to list specific order_by, because UserRealmDAVList.bunit was failing on with Postgres 8.4. Sort order was varying without it being set explicitly * Bivio::UI::View::Blog create*() needs to reference BlogCreateForm, not BlogEditForm. _edit() needs to accept $form param Revision 11.21 2011/10/02 03:18:43 nagler * Bivio::Agent::HTTP::Reply send: don't set_cache_private if already set Cache-Control and is scalar, because some other module either set_cache_private or wanted non-private caching added set_cache_max_age * Bivio::Biz::Action::LocalFilePlain set_cacheable_output: Moved Cache-Control/Expires to set_cache_max_age Revision 11.20 2011/10/02 00:08:40 nagler * Bivio::Agent::HTTP::Reply b_use return $self from a few more routines * Bivio::Agent::Reply added unsafe_get_header (better than explicitly touching attribute "headers") * Bivio::Biz::Action::LocalFilePlain added set_cacheable_output and if Facade.want_local_file_cache is true, cache for 3600 seconds (setting Cache-Control and Expires) headers * Bivio::Biz::Model::MailPartList use LocalFilePlain.set_cacheable_output for parts * Bivio::Biz::Model::TupleDefListForm need to proccess the row if it was not empty previously update existing label/moniker only clear label errors if the field is blank * Bivio::IO::t::Config::T2 NEW * Bivio::Type::UserAgent facebookexternalhit is a robot * Bivio::UI::HTML::ViewShortcuts allow html_attrs which contain underscores and dashes. vs_html_attrs_render_one won't strip the last part if the attr is all upper case. This preserves behavior for Grid, Table, etc., but allows attributes with underscores (e.g. Facebook's show_face) * Bivio::UI::HTML::Widget::ControlBase allow attributes with underscores and dashes * Bivio::UI::HTML::Widget::Grid fmt * Bivio::UI::HTML::Widget::Page doc * Bivio::UI::HTML::Widget::Tag allow tags with ':' so can support xml namespaces (e.g. FBXML) * Bivio::UI::Icon added get_uri Revision 11.19 2011/09/28 20:07:19 moeller * Bivio::Biz::Model::BlogList Fix images with ^href sources in blogs * Bivio::UI::View::Blog Fix images with ^href sources in blogs Fix images with ^href sources in blogs * Bivio::UI::View::File add buttons to top of file-change edit contents form * Bivio::UI::XHTML::Widget::TaskMenu Allow 'link_target' to be specified on TaskMenu items Revision 11.18 2011/09/26 16:08:43 schellj * Bivio::Type::String more transliteration * Bivio::UI::HTML::Widget::Table add column_summary_value * Bivio::UI::View::Blog Creating a blog entry was always non-wysiwyg even if wysiwyg mode enabled Revision 11.17 2011/09/23 12:25:23 nagler * Bivio::IO::Config added ignore_errors config param for certain cases (link_facade_files) * Bivio::UI::HTML::Widget::Script trim_text guard against null element * Bivio::UI::XHTML::Widget::TrimmedText don't render javascript unless rendered length greater than cutoff Revision 11.16 2011/09/21 20:59:53 moeller * Bivio::Agent::Request warn if an unresolvable facade name is passed to format_http_prefix() * Bivio::Biz::Model::FileChangeForm Allow new images to be uploaded and existing images to be browsed from wysiwyg editor * Bivio::Delegate::TaskId Allow new images to be uploaded and existing images to be browsed from wysiwyg editor * Bivio::HTML::Scraper instruct HTMLParser to ignore script, object, style and xml tags when parsing text * Bivio::Test::Util fix for nightly_output_to_wiki reporting directories with /t/ in the middle * Bivio::Type::String transliterate "zero width space" * Bivio::UI::FacadeBase Allow new images to be uploaded and existing images to be browsed from wysiwyg editor * Bivio::UI::HTML::Widget::CKEditor Allow new images to be uploaded and existing images to be browsed from wysiwyg editor * Bivio::UI::HTML::Widget::Script added trim_text script * Bivio::UI::View::Wiki Allow new images to be uploaded and existing images to be browsed from wysiwyg editor * Bivio::UI::View::WysiwygFile NEW * Bivio::UI::XHTML::Widget::TrimmedText NEW * Bivio::Util::User during merge_users(), copy user's RealmFile records rather than update to avoid dependencies with nested folders Revision 11.15 2011/09/13 20:32:15 schellj * Bivio::Biz::ListFormModel add get_non_empty_result_set_size * Bivio::Biz::ListModel add get_non_empty_result_set_size * Bivio::MIME::JSON added to_text() * Bivio::Test::Util fix for test paths that have a /t/ in the middle * Bivio::UI::HTML::Widget::Table add summary_only attr * Bivio::Util::CSV added sort_csv() utility * Bivio::Util::LinuxConfig while (--$i) gets into an infinite loop if the mask is 32 Revision 11.14 2011/08/29 20:37:12 nagler * Bivio::Test::Util don't change directory to create link use unit test specific bconf * Bivio::Type::CIDRNotation added address_to_host_num * Bivio::Util::LinuxConfig _bits2netmask supports all net sizes * Bivio::Util::NamedConf handle larger address spaces than just class C * Bivio::Util::Release added run_sh fpc fpc Revision 11.13 2011/08/25 17:15:11 schellj * Bivio::Test::Util _make_nightly_dir: symlink will fail if the link already exists * Bivio::UI::HTML::Widget::ListActions Allow 'path_info' to be specified on ListActions Revision 11.12 2011/08/24 20:56:24 schellj * Bivio::MIME::Calendar ignore contact apply tzid to dtstart, dtend if present removed TODO * Bivio::Test::Util create symlink 'latest' to latest nightly cvs dir * Bivio::Util::HTTPConf interim checking for apache2 so have original /etc/rc.d/init.d/httpd from apache2 $_INIT_RC_V2 should work for apache2 fpc PerlFreshRestart is not an apache2 command, need Apache2::compat fpc no SSLLog in v2 no SSLLogLevel need mod_authz_host trans_handler by default is Apache::Constants::OK trans_handler uses Ext.ApacheConstants, because v1 & v2 are so different (and screwed up) * Bivio::Util::LinuxConfig postgres_base: need to have sameuser as optional * Bivio::Util::SQL fmt * Bivio::Util::SSL need to set_serial Revision 11.11 2011/08/22 18:50:24 nagler * Bivio::Util::HTTPConf support apache v2 * Bivio::Util::HTTPD better support v2 Revision 11.10 2011/08/22 16:28:57 schellj * Bivio::Biz::Model::Motion Change motion question to Text64K * Bivio::SQL::DDL Change motion question to Text64K * Bivio::SQL::ListQuery changed CORRUPT_QUERY die to a warn when unknown order by column is used. clears the order_by and continues instead. * Bivio::Test::ShellUtilConf use builtin_bunit_base_name not simple_package_name * Bivio::Test::Unit added builtin_bunit_base_name * Bivio::TypeValue fixed as_string() for values with multiple items * Bivio::UI::HTML::Widget::Page added html_tag_attrs * Bivio::UI::View::Wiki added blank label to version_list() radios * Bivio::UI::XHTML::Widget::Page3 use qualified class, not package * Bivio::Util::SQL Change motion question to Text64K add motion_question_64k to bundle Revision 11.9 2011/08/12 16:04:02 moeller * Bivio::UI::HTML::Widget::Checkbox refactored to allow Radio widget to subclass added label tag around label text * Bivio::UI::HTML::Widget::RadioGrid Radio.value --> Radio.on_value * Bivio::UI::HTML::Widget::Radio refactored, now a subclass of Checkbox * Bivio::UI::HTML::Widget::YesNo refactored, now uses Radio widgets * Bivio::UI::View::CSS cleanup checkbox css * Bivio::UI::View::Wiki Radio.value --> Radio.on_value Revision 11.8 2011/08/11 00:03:39 schellj * Bivio::PetShop::Facade::PetShop add GROUP_MAIL_RECEIVE_WEEKLY_BUILD_OUTPUT * Bivio::Test::Util run all unit tests for bOP, not just Bivio/PetShop * Bivio::UI::FacadeBase add GROUP_MAIL_RECEIVE_WEEKLY_BUILD_OUTPUT Revision 11.7 2011/08/08 23:59:32 schellj * Bivio::Biz::Action::WeeklyBuildOutput NEW * Bivio::Delegate::TaskId add GROUP_MAIL_RECEIVE_WEEKLY_BUILD_OUTPUT * Bivio::Test::Util add weekly_build_output_to_wiki weekly_build_output_to_wiki - toss content older than one day Revision 11.6 2011/08/08 20:15:19 schellj * Bivio::Agent::Embed::Request override need_to_secure_task(), embeded tasks don't need to switch to secure mode * Bivio::BConf also include commit_or_rollback in the sql filter * Bivio::Biz::Model::ForumUserDeleteForm fix for not finding RealmUser records in sub forums where none exist in the parent forum * Bivio::Biz::Util::RealmRole set_user to reset cached values after un/make_super_user * Bivio::IO::Log require 'directory' * Bivio::Test::Util allow unit tests to run if acceptance tests failed * Bivio::UI::FacadeBase RCS file: /home/cvs/perl/Bivio/UI/FacadeBase.pm,v Working file: Bivio/UI/FacadeBase.pm head: 1.326 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 326; selected revisions: 0 description: * Bivio::Util::SiteForum improved init_admin_user added admin_user() don't set auth_user_id if the default in init_admin_user * Bivio::Util::SQL need to rollback on create_db, because facade init does queries which are in error, and PG complains about that clearer prompt on destroy_db Revision 11.5 2011/07/29 17:28:19 moeller * Bivio::UI::View::Wiki fixed baked in $req for wiki buttons, added wiki buttons to wysiwyg edit Revision 11.4 2011/07/28 20:08:24 moeller * Bivio::Biz::Model::MotionForm archive old same-named files when creating motion document * Bivio::Biz::Model::MotionList use versionless tail for file name * Bivio::Biz::Model::WikiForm add ok_no_validate_button * Bivio::DefaultBConf need to set NoDbAuthSupport explicitly * Bivio::Ext::DBI connect: die if db is not set * Bivio::IO::Zip minor refactoring * Bivio::MIME::Calendar allow continued line to start with a tab allow empty values canonicalize_charset for result from HTML->unescape() * Bivio::UI::FacadeBase add ok_no_validate_button to WikiForm * Bivio::UI::View::Motion use versionless tail when displaying motion file name * Bivio::UI::View::Wiki add ok_no_validate_button for sub/superusers Revision 11.3 2011/07/14 19:13:08 moeller * Bivio::UI::View::Wiki add buttons to top of wiki edit form * Bivio::Util::User when merging RealmFile records, override_is_read_only for updates Revision 11.2 2011/07/04 16:47:25 nagler * Bivio::DefaultBConf added facade and taskid * Bivio::Delegate::DefaultTaskId NEW * Bivio/UI/Facade NEW Revision 11.1 2011/07/04 16:17:12 nagler * Bivio::BConf added dev_root and DELEGATE_ROOT_PREFIX added CURRENT_VERSION * Bivio::DefaultBConf NEW Revision 11.0 2011/07/04 16:02:53 nagler * Bivio::BConf added dev_root and DELEGATE_ROOT_PREFIX * Bivio::Biz::Model::RealmOwner added unauth_load_and_get_id * Bivio::Collection::Attributes added put_req, and expose REQ_KEY * Bivio::Delegate::SimpleTypeError added INTERNAL_SYSTEM_ERROR for cases outside of normal syntax * Bivio::ShellUtil new() takes a $req so can initialize with directly linked request removed get_project_root * Bivio::Test::Unit display comments with /* */ on cases * Bivio::Test::Util print for unit tests * Bivio::UI::FacadeBase expose internal_site_name * Bivio::Util::HTTPD use get_local_file_root * Bivio::Util::RealmAdmin added is_realm_user * Bivio::Util::SQL added ddl_dir() use that instead of hack to find files Revision 10.91 2011/07/01 23:28:02 schellj * Bivio::Biz::Model::AcceptanceTestList NEW * Bivio::Biz::Model::AcceptanceTestTransactionList NEW * Bivio::Biz::Model::UserSettingsListForm don't require verification if substitute user changes email * Bivio::Delegate::Cookie ignore prior tag values if current tag exists clear prior tags with hostname domain * Bivio::Delegate::TaskId Acceptance Test Result Viewer - generate view on the fly * Bivio::Test::Util also run unit tests in nightly * Bivio::Type::UserAgent _is_robot: added other robots, added (?:) to avoid setgin $n variables added libcurl * Bivio::UI::FacadeBase Acceptance Test Result Viewer - generate view on the fly * Bivio::UI::HTML::Widget::File fixed missing size attribute render * Bivio::UI::View::AcceptanceTestResultViewer NEW Revision 10.90 2011/06/27 23:40:08 schellj * Bivio::Biz::Model::EmailVerifyForceForm NEW * Bivio::Delegate::TaskId add USER_EMAIL_VERIFY_FORCE_FORM * Bivio::UI::FacadeBase add force verify email * Bivio::UI::View::UserAuth add force verify email * Bivio::Util::LinuxConfig turn on NETWORKING_IPV6=yes Revision 10.89 2011/06/22 18:04:47 schellj * Bivio::Type::String fixed AE transliteration, added C cedilla * Bivio::Util::Forum add forum_activity, cascade_forum_activity Revision 10.88 2011/06/21 17:25:29 moeller * Bivio::Biz::Action::EasyForm fpc: separate $form into $form and $form_param, and only return goto if not $form_param * Bivio::Delegate::Cookie delete the prior_tag cookies for both IP and $domain (if exists) * Bivio::Delegate::SimpleTypeError updated FILE_NAME error message * Bivio::Test::Language::HTTP Add test script file name and line number to request log file for test result viewer * Bivio::Type::FileName don't allow % in a file name * Bivio::Type::UserAgent added BROWSER_ROBOT * Bivio::UI::FacadeBase column string for email_verified_date_time * Bivio::Util::HTTPD added search paths for apache on CentOS 5.6 * Bivio::Util::ResultViewer NEW Revision 10.87 2011/06/08 21:40:14 moeller * Bivio::Biz::Model::RoleBaseList added internal_cache_key() for subclasses to override if they change roles_by_category() Revision 10.86 2011/06/06 20:49:22 moeller * Bivio::UI::HTML::Widget::Radio render enum as html before comparing values Revision 10.85 2011/06/03 20:02:38 schellj * Bivio::UI::HTML::Widget::RadioGrid double escaping the enum value Revision 10.84 2011/06/03 15:49:38 nagler * Bivio::UI::HTML::Widget::RadioGrid put spans around elements only put the span around the label if it is not a blessed widget * Bivio::UI::XHTML::Widget::RealmCSS fmt Revision 10.83 2011/06/02 02:44:20 schellj * Bivio::BConf added "all" trace * Bivio::Biz::Action::EasyForm Added $no_update_mail param for subclasses fpc added ability to pass in form directly * Bivio::Biz::Action::RealmFile fix error output * Bivio::Test::Language::HTTP update uri with internal_append_query * Bivio::UI::View::Motion For entity ePOlls, add affiliation to summary screen, summary csv, comment list/csv and votes list/csv Revision 10.82 2011/05/24 23:47:38 moeller * Bivio::Agent::TaskEvent use facade_uri with redirects * Bivio::Biz::Model::AdmUserList b_use * Bivio::Delegate::TaskId load Model.Model in FORUM_MOTION_VOTE_LIST_CSV Revision 10.81 2011/05/23 20:23:41 moeller * Bivio::Biz::Model::MotionList refactored vote count columns * Bivio::UI::View::Motion Allow subclasses to override motion type column and vote list fields Revision 10.80 2011/05/20 19:01:25 nagler * Bivio::BConf Bivio::IO::Log.directory is $uri based * Bivio::IO::Log log directory can't be required, because default_merge_overrides() isn't always called in Bivio::BConf directory is required, and now in Bivio::BConf to use the main uri, not the specific facade uri Revision 10.79 2011/05/18 02:15:30 schellj * Bivio::Util::RealmAdmin add force_email_verify Revision 10.78 2011/05/16 22:12:46 nagler * Bivio::BConf dev(): added is_dev => 1 * Bivio::Biz::Action::Error Facade configurable view (ActionError_default_value) * Bivio::Delegate::Cookie added prior_tags which are read and deleted if found * Bivio::IO::Config added is_dev * Bivio::Test::Language::HTTP login_as accepts facade * Bivio::UI::FacadeBase export internal_merge and internal_base_tasks allowing filtering by sublcasses * Bivio::UI::View::Error export body * Bivio::UI::XHTML::Widget::RealmCSS added view_name so can specify which view to render Revision 10.77 2011/05/12 20:57:48 moeller * Bivio::UI::View::Motion Added internal_display_comment_field() for subclasses Revision 10.76 2011/05/12 00:46:22 schellj * Bivio::Biz::Model::EmailVerify don't need internal_get_realm_id anymore added force_update to use when people first register Revision 10.75 2011/05/11 21:49:26 schellj * Bivio::Biz::Model::EmailVerifyForm add internal_get_mail will be logged in, load email from auth_user * Bivio::Delegate::TaskId moved email verify views to UserAuth redirect to USER_SETTINGS_FORM on USER_EMAIL_VERIFY cancel * Bivio::Test::Unit allow more than 9 test files for a module * Bivio::UI::FacadeBase email verify text change verify email text adjustment * Bivio::UI::View::Mail moved email verify views to UserAuth * Bivio::UI::View::UserAuth moved email verify views from Mail Revision 10.74 2011/05/10 23:39:15 moeller * Bivio::Biz::Model::MotionVote removed items already defined in superclass * Bivio::UI::HTML::Widget::MultipleChoice NEW * Bivio::UI::HTML::Widget::RadioGrid now derived from MultipleChoice widget * Bivio::UI::HTML::Widget::Radio rm pod, refactored convert selected value using get_field_type()->to_html() added event_handler * Bivio::UI::HTML::Widget::Select moved logic to superclass for sharing with RadioGrid Revision 10.73 2011/05/10 16:33:01 nagler * Bivio::Biz::Model::TaskLog added set_user_id() * Bivio::UI::FacadeBase moved USER_EMAIL_VERIFY tasks to _cfg_user_auth() Revision 10.72 2011/05/10 03:01:59 schellj * Bivio::Util::SQL added upgrade_db email_verify Revision 10.71 2011/05/10 01:18:20 schellj * Bivio::Biz::Model::EmailVerifyForm NEW * Bivio::Biz::Model::EmailVerify NEW * Bivio::Biz::Model::UserSettingsListForm redirect to USER_EMAIL_VERIFY if email changed * Bivio::Delegate::SimpleTypeError add EMAIL_VERIFY_KEY * Bivio::Delegate::TaskId add USER_EMAIL_VERIFY, USER_EMAIL_VERIFY_SENT * Bivio::Search::Parser set modified_date_time to model * Bivio::SQL::DDL add email_verify_t * Bivio::Type::EmailVerifyKey NEW * Bivio::UI::FacadeBase changes for USER_EMAIL_VERIFY * Bivio::UI::HTML::Widget::JavaScript made newlines in-place * Bivio::UI::View::Mail added email_verify_mail, email_verify_sent * Bivio::UI::View::UserAuth remove row control on email * Bivio::UI::XHTML::Widget::MobileDetector removed unused handle_cookie_in() Revision 10.70 2011/05/09 17:30:45 nagler * Bivio::BConf added ability to set "uri" so can have different value from Root added backup_root; added "uri" so can be different from Root * Bivio::Biz::File addec backup_root * Bivio::UI::View::Motion Add badge number to vote result CSV (refactor) Fix comment list on status screen Revision 10.69 2011/05/03 19:15:08 moeller * Bivio::Biz::Action::RealmMailBase fixed arg order to format_recipient() * Bivio::Biz::Model::MotionVoteList Add display name to mail link in vote list * Bivio::UI::View::Motion Add display name to mail link in vote list * Bivio::Util::Project ignore .cvsignore Revision 10.68 2011/05/02 18:23:54 nagler * Bivio::Biz::Action::EasyForm ensure the existing csv file content has a trailing "\n" so heading substitution works * Bivio::Biz::Action::SCMViewerTunnel removed * Bivio::Biz::Action::SFEETunnel removed * Bivio::Biz::Model::MotionCommentList Truncate long comments and provide link to comment detail * Bivio::Delegate::TaskId Truncate long comments and provide link to comment detail removed MotionAux from FORUM_MOTION_COMMENT_DETAIL changed items loaded for FORUM_MOTION_COMMENT_DETAIL * Bivio::PetShop::BConf turn on use_wysiwyg * Bivio::UI::FacadeBase Yes/No -> Approve/Disapprove and other labels Display only own vote for non-officers. Refactor open/closed ePoll lists Truncate long comments and provide link to comment detail * Bivio::UI::View::Motion Show the initiator's name and email on the ePoll status page. Yes/No -> Approve/Disapprove and other labels Truncate long comments and provide link to comment detail added items to comment_detail() Include motion ID in both "parent" and "this" in URL to vote form. Make "comment" list action optional * Bivio::Util::Project was including the default facade directory as one of the dirs to link Revision 10.67 2011/04/26 17:14:06 moeller * Bivio::Biz::Action::RealmMailBase use format_recipient to format the email address * Bivio::Biz::Model::MailReceiveDispatchForm removed '.' and '-' support. Now use '*' to separate the op * Bivio::Biz::Model::RealmMailBounce use format_recipient to format the email address * Bivio::Type::String convert U+2BC to single-quote * Bivio::Util::RealmAdmin added initialize_ui() to create_user() Revision 10.66 2011/04/21 22:29:40 moeller * Bivio::UI::FacadeBase removed ref to UserInfo * Bivio::UI::View::Motion added internal_comment_csv_fields() for subclasses Revision 10.65 2011/04/21 21:04:05 nagler * Bivio::Util::HTTPConf added cookie_domain support Revision 10.64 2011/04/21 18:12:09 nagler * Bivio::UI::ViewShortcuts vs_is_current_facade uses simple_class, not uri, because uri may change Revision 10.63 2011/04/20 21:42:33 moeller * Bivio::Biz::Model::CSVImportForm allow columns with constraint NONE to be missing * Bivio::Biz::Model::MotionComment Change motion comment to Text64K * Bivio::Biz::Model::MotionForm update Motion with motion_file_id * Bivio::SQL::DDL Change motion comment to Text64K * Bivio::UI::Text::Widget::CSV strip trailing newlines from values * Bivio::Util::SQL Change motion comment to Text64K Revision 10.62 2011/04/20 04:46:09 schellj * Bivio::Biz::Model::MotionCommentList Add badge number to comment csv. Remove comment in vote list and csv removed UserInfo ref * Bivio::Biz::Model::MotionForm When creating a new ePoll, if a document was supplied and the ePoll name already existed then an internal error resulted instead of "already exists".. * Bivio::UI::FacadeBase Add badge number to comment csv. Remove comment in vote list and csv * Bivio::UI::View::File show "(locked)" on non-simple file trees * Bivio::UI::View::Motion Add badge number to comment csv. Remove comment in vote list and csv * Bivio::Util::RealmFile made audit_folders() public Revision 10.61 2011/04/18 21:42:40 nagler * Bivio::Search::Xapian store the actual modified_date_time not yyyy_mm_dd. It's not used by Xapian so is ok to do this * Bivio::UI::View::Motion Make comment in vote list optional. Revision 10.60 2011/04/18 01:39:03 nagler * Bivio::Biz::Model::RealmSettingList Added get_file_path, which can rely on FILE_PATH_BASE. Makes easier for subclasses to specify file path in multiple places * Bivio::Collection::Attributes added get_request. WidgetValueSource already had get_request and this makes it more coupled by asking if "req" is on self first * Bivio::Search::Parser added xapian_posting_synonyms (defaults []) fmt Add req to attributes * Bivio::Search::Xapian Added get_stemmer (needed for parsers which want to create synonyms) Bind synonyms (only stemmed versions) * Bivio::UI::Facade revert find_by_uri_or_domain to use $_URI_SEARCH_LIST. Needed to allow "dotted" facade uris * Bivio::UI::Widget::URI subclass as ControlBase so MobileToggler won't render tasks without uri's * Bivio::UI::XHTML::Widget::MobileDetector uri_args_for returns a hash with a control that won't render the URI if there's no uri for the current task uri_args_for: control can't use vs_task_has_uri, because doesn't work when not in a view Revision 10.59 2011/04/12 23:07:50 moeller * Bivio::UI::Facade revert find_by_uri_or_domain() to search domain parts in order * Bivio::UI::XHTML::Widget::RealmCSS backed out last change, caused bad css in NO-MATCH case Revision 10.58 2011/04/11 22:54:52 schellj * Bivio::Biz::Model::CalendarEventMonthList time zone fix q586 * Bivio::Biz::Model::CalendarEventWeekList time zone fix q586 * Bivio::Biz::Model::TupleDef removed unused arg from create_from_hash() * Bivio::Biz::Model::TupleSlotDef minor refactoring * Bivio::Delegate::TaskId fixed load_all on TupleUseList Revision 10.57 2011/04/08 00:51:53 schellj * Bivio::Biz::Model::Motion avoid uninitialized value in update() fixed status compare in update() * Bivio::Biz::Model::RealmFileDeletePermanentlyForm NEW * Bivio::Biz::Model::RealmFile added restore, restore_path, create_or_update_with_file * Bivio::Biz::Model::RealmFileRestoreForm NEW * Bivio::Biz::Model::RealmFileTreeList fix for is_archive, old $_VERSIONS_FOLDER_RE didn't work * Bivio::Delegate::TaskId added FORUM_FILE_RESTORE_FORM, FORUM_FILE_DELETE_PERMANENTLY_FORM * Bivio::SQL::ListQuery format_uri_for_this() doesn't include order_by from current list * Bivio::UI::FacadeBase added support for FORUM_FILE_RESTORE_FORM, FORUM_FILE_DELETE_PERMANENTLY_FORM * Bivio::UI::HTML::Widget::Tag die unless tag has a value * Bivio::UI::View::File added "Restore", "Delete Permanently" links for archived files * Bivio::UI::View::Motion removed Results and View Comments, now shown on Status page added internal_list_actions() for subclasses * Bivio::UI::XHTML::ViewShortcuts don't create Tag() for names which start with '_' Revision 10.56 2011/04/04 21:25:26 moeller * Bivio::Biz::Model::ContactForm minor refactoring * Bivio::UI::View::UserAuth general_contact_mail() now gets subject from ContactForm Revision 10.55 2011/04/04 16:23:20 moeller * Bivio::Util::RealmAdmin added leave_role() * Bivio::Util::SQL added sentinels for bundle upgrades motion2 and motion3 Revision 10.54 2011/04/01 00:03:42 moeller * Bivio::Biz::Model::Motion set start_date_time and end_date_time from status changes for apps without start/end date_time * Bivio::Biz::Model::MotionVoteForm removed Motion fields * Bivio::Biz::Model::MotionVote default user_id and realm_id in create() * Bivio::Delegate::TaskId removed unneeded MotionList->execute_load_all_with_query * Bivio::UI::View::Motion made internal_topic_from_list() and internal_topic_from_motion() public use internal_date_time_attr() for status dates Revision 10.53 2011/03/30 21:27:25 nagler * Bivio::BConf use localhost.localdomain * Bivio::Biz::Model::RealmMail delete RealmMailBounce during delete_message() * Bivio::Delegate::TaskId Moniker combobox for additional comment fields. Use of wysiwyg editor is confurable * Bivio::UI::View::Motion removed b_debug() Make start/end date/time formats configurable in motion list. Add poll 'status' screen with summary votes list and comment list * Bivio::UI::Widget::IfMobile added is_mobile * Bivio::UI::XHTML::Widget::MobileDetector don'tneed to register for cookie Revision 10.52 2011/03/28 21:06:14 moeller * Bivio::Agent::Request don't modify txn_resources in place during delete_txn_resource(), something be iterating over it * Bivio::Agent::TaskEvent Need require_absolute for Mobile task events * Bivio::Biz::Action::Acknowledgement convert task label to int during handle_client_redirect() * Bivio::Biz::Model::MotionForm end date processing Schema had to be used by a table or else validation failed. changed TupelDef back to Tuple Use moved new features to app * Bivio::Biz::Model::MotionList 'can_vote/can_comment' based on end time Queries for vote counts added question to sorting * Bivio::Biz::Model::Motion vote counts * Bivio::Delegate::TaskId motions additional 'status' page and comment list CSV changed motion task's execute_load_all_with_query() to execute_load_page() * Bivio::HTML::Scraper increase redirect limit to 10 * Bivio::PetShop::Facade::Mobile NEW * Bivio::PetShop::Facade::PetShop Added mobile facade support * Bivio::PetShop::View::Base Mobile support * Bivio::Search::Parser::RealmFile::CommandBase don't pipe error into output * Bivio::Search::Xapian get message from die during get_values_for_primary_id() rather than warning with die message to avoid errors from HTTPLog * Bivio::SQL::DDL removed motion_t.moniker NOT NULL * Bivio::UI::FacadeBase MobileToggler support * Bivio::UI::Facade allow URIs to match dotted values Convert globals to refs * Bivio::UI::View::CSS MobileToggler support loosen div.want_sep qualifier so can be used in TaskMenu with differen class added _site_motion() CSS values * Bivio::UI::View::Motion added page topic to tasks comment results csv now includes tuple fields moved some motion form fields to app * Bivio::UI::Widget::IfMobile NEW * Bivio::UI::Widget::IfUserAgent NEW * Bivio::UI::XHTML::Widget::MailBodyHTML ignore utf warnings during parse() * Bivio::UI::XHTML::Widget::MobileDetector NEW * Bivio::UI::XHTML::Widget::MobileToggler NEW * Bivio::UI::XHTML::Widget::RealmCSS compress better * Bivio::Util::Project NEW Revision 10.51 2011/03/23 19:50:33 moeller * Bivio::Biz::Model::RealmFileTreeList added MAX_FILES_PER_FOLDER, limit folder files and use a "more" link if limit is reached * Bivio::Biz::Model::RealmFolderFileList NEW * Bivio::Delegate::TaskId added FORUM_FOLDER_FILE_LIST * Bivio::HTML::Scraper ignore UTF warnings during parse_html() * Bivio::UI::FacadeBase added FORUM_FOLDER_FILE_LIST backed out ePoll name change * Bivio::UI::HTML::Widget::CKEditor Cosmetic change for unit test * Bivio::UI::View::File added folder_file_list(), reuse tree_list() for implementation * Bivio::Util::Search don't allow running commands as root Revision 10.50 2011/03/19 22:44:05 nagler * Bivio::Agent::Request added delete_txn_resource for Lock * Bivio::Agent::Task the loop in _call_txn_resources was wrong. Need two phase commit. handle_prepare_commit is called before handle_commit. Xapian may execute in handle_prepare_commit phase, including grabbing a lock * Bivio::Biz::Action::ClientRedirect die with NOT_FOUND if uri not in execute_permanent_map() * Bivio::Biz::Action::RealmFile if loading a folder, set path_info to folder path from file lookup * Bivio::Biz::Model::Lock Now can have multiple locks on the request. This is necessary, because Xapian may need a lock, and the task needs a lock, too, during ShellUtil execution. * Bivio::Biz::Model::MotionList Display vote count and allow votes to be changed. * Bivio::Biz::Model::MotionVoteForm Display vote count and allow votes to be changed. * Bivio::Biz::Model::RealmMailDeleteForm removed require_context, might be deleting last message in thread * Bivio::Mail::Common minor text change * Bivio::Search::Parser::RealmFile::PDF fix error regex * Bivio::Search::Parser::RealmFile::Unknown turn unknown text file parsing back on * Bivio::Search::Xapian Because execute does a bunch of db stuff, it can't be called in handle_commit. Changed Agent.Task to have handle_prepare_commit, and that's what's called to prepare the commit * Bivio::Test::FormModel Locks changed so now have to call release_all * Bivio::UI::FacadeBase Cosmetic "poll" -> "ePoll" for IEEE * Bivio::UI::View::Motion Display vote count and allow votes to be changed. * Bivio::Util::RealmFile added clear_files_and_mail() * Bivio::Util::Search remove debug stmt Revision 10.49 2011/03/17 21:03:23 nagler * Bivio::Biz::Model::TupleTag tuple_def_id refers to TupleUse.tuple_def_id so cascade_delete() order is correct for the realm * Bivio::Search::Parseable get_os_path checks for "content" iwc it writes that to a temporary file instead of use $rf->get_os_path * Bivio::Search::Parser::RealmFile::CommandBase do the call to get_os_path and replace that in the command * Bivio::Search::Parser::RealmFile::MSExcel use internal_run_parser * Bivio::Search::Parser::RealmFile::MSOfficeBase use internal_run_parser * Bivio::Search::Parser::RealmFile::MSPowerPoint use internal_run_parser * Bivio::Search::Parser::RealmFile::MSWord use internal_run_parser * Bivio::Search::Parser::RealmFile::OpenXMLDoc use internal_run_parser * Bivio::Search::Parser::RealmFile::PDF use internal_run_parser * Bivio::Search::Parser::RealmFile::Unknown don't parse files without content types * Bivio::Search::Parser::RealmFile::Wiki use internal_run_parser * Bivio::Search::Xapian call super class if get_values_for_primary_id() query returns no result * Bivio::SQL::DDL added motion_comment_t.creation_date_time added motion_comment_t.realm_id * Bivio::UI::Font support NNNpx * Bivio::Util::Search cleaned up the logging output Revision 10.48 2011/03/17 18:10:49 moeller * Bivio::Search::Xapian catch errors when querying Xapian and warn, then call super for default processing Revision 10.47 2011/03/17 16:30:12 moeller * Bivio::Biz::Model::MotionCommentForm NEW * Bivio::Biz::Model::MotionCommentList NEW * Bivio::Biz::Model::MotionComment NEW * Bivio::Biz::Model::MotionForm added Motion.moniker with validator * Bivio::Biz::Model::MotionList added can_comment() and Motion.moniker * Bivio::Biz::Model::Motion now derived from Model.RealmBase added moniker field * Bivio::Biz::Model::MotionVoteForm don't allow votes if motion is closed * Bivio::Biz::Model::MotionVoteList can_iterate => 1 * Bivio::Biz::Model::MotionVote now derived from Model.RealmBase * Bivio::ClassWrapper::TupleTag don't include missing labels as undef items call get_tuple_use_moniker() when loading TupleUse * Bivio::Delegate::TaskId added FORUM_MOTION_COMMENT and FORUM_MOTION_COMMENT_LIST * Bivio::Search::Parser use type 'unparsed' for unparsed files * Bivio::SQL::DDL added motion_comment_s and motion_comment_t * Bivio::SQL::Statement changed TRUE and FALSE to (1 = 1) and (1 = 0) to be compatible with oracle * Bivio::UI::FacadeBase added FORUM_MOTION_COMMENT and FORUM_MOTION_COMMENT_LIST * Bivio::UI::View::Motion added comment_form() and comment_result() * Bivio::Util::SQL added bundle upgrade motion_comment Revision 10.46 2011/03/15 01:46:45 nagler * Bivio::Agent::Request added call handlers for handle_format_uri_named * Bivio::UI::FacadeBase added support for ABTest * Bivio::UI::View::CSS added support for ABTest * Bivio::UI::Widget::ABTest NEW Revision 10.45 2011/03/14 23:21:07 moeller * Bivio::Biz::Model::FileChangeForm changed _add_file_name() to public validate_file_name() * Bivio::Biz::Model::Forum removed ref to name_lc * Bivio::Biz::Model::MotionForm now derived from FormModeBaseForm added motion file refactored * Bivio::Biz::Model::MotionList removed execute_load_parent() added can_vote() added motion file fields * Bivio::Biz::Model::Motion added start_date_time, end_date_time and motion_file_id * Bivio::Delegate::TaskId * Bivio::UI::FacadeBase combined FORUM_MOTION_ADD and FORUM_MOTION_EDIT into FORUM_MOTION_FORM * Bivio::SQL::DDL added motion_t start_date_time, end_date_time, motion_file_id * Bivio::UI::View::Motion added motion start/end dates and motion file * Bivio::Util::SQL added motion2 upgrade - adds motion_t start_date_time, end_date_time, and motion_file_id Revision 10.44 2011/03/14 19:19:40 nagler * Bivio::Util::RealmMail added audit_threads and audit_threads_all_realms Revision 10.43 2011/03/11 20:37:38 nagler * Bivio::BConf don't send pages for search parser utility failures * Bivio::Biz::Model::MailThreadList added message_id * Bivio::Biz::Model::Motion minor refactor * Bivio::Biz::Model::MotionVote minor refactoring * Bivio::Biz::Model::RealmMail cascade_delete was not the right thing to do added audit_threads * Bivio::Biz::Model::RealmMailReferenceList get modified_date_time * Bivio::PetShop::Util::SQL consolidate into TestData->init * Bivio::PetShop::Util::TestData added init & init_mail_references * Bivio::Search::Parser warn if parser failed * Bivio::SQL::ListQuery allow order_by of [qw(Model.field asc)], * Bivio::Type::DateTime english_month * Bivio::UI::View::Mail prevent delete link from showing up on CRM threads * Bivio::UI::Widget::Director fmt * Bivio::Util::RealmFile need to import mail in mtime order set modified_date_time from the value of the Date: field in mail msgs Run audit_threads * Bivio::Util::RealmMail added audit_threads added audit_threads_all_realms Revision 10.42 2011/03/09 00:18:27 schellj * Bivio::Biz::Model::ForumUserAddForm fix for possible multiple main roles * Bivio::MIME::Calendar canonicalize_charset before calling unescape() * Bivio::Test::ForumUserUnit allow for multiple main roles testing * Bivio::Type::String added more transliterations: nbsp, -, fi and fl ligatures * Bivio::UI::Widget::Director b_use Revision 10.41 2011/03/07 18:42:13 moeller * Bivio::Biz::ListModel changed b_warn to req->warn() * Bivio::Biz::Model::RealmFile add update_with_file * Bivio::Biz::Model::RealmFileRevertForm NEW * Bivio::Biz::Model::RealmMailDeleteForm save message instead of putting on request * Bivio::Delegate::RowTagKey changed TEXTAREA_WRAP_LINES to BooleanFalseDefault * Bivio::Delegate::TaskId add 'Revert to Version' action to file history list * Bivio::Mail::Address allow undisclosed-recipients value for address list * Bivio::Mail::Outgoing warn/strip trailing newlines from set_header() value * Bivio::UI::FacadeBase add 'Revert to Version' action to file history list fix RealmMailDeleteForm strings * Bivio::UI::View::File add 'Revert to Version' action to file history list * Bivio::UI::View::Mail simplify delete form * Bivio::UI::View::Wiki add 'Revert to Version' action to file history list * Bivio::UI::XHTML::ViewShortcuts add vs_file_versions_actions_column Revision 10.40 2011/03/03 18:22:01 nagler * Bivio::Biz::ListModel RowTag->row_tage_get_for_auth_user replaces Auth.Support->unsafe_get_user_pref * Bivio::Biz::Model::RowTag added row_tag_get/replace_for_auth_user and * Bivio::Delegate::NoDbAuthSupport RowTag->row_tage_get_for_auth_user replaces Auth.Support->unsafe_get_user_pref * Bivio::Delegate::RowTagKey removed REALM_FILE_LOCKING and FACADE_CHILD_TYPE * Bivio::Delegate::SimpleAuthSupport RowTag->row_tage_get_for_auth_user replaces Auth.Support->unsafe_get_user_pref * Bivio::MIME::JSON ignore \r * Bivio::Type::TextArea RowTag->row_tage_get_for_auth_user replaces Auth.Support->unsafe_get_user_pref * Bivio::Type all types have get_default * Bivio::UI::HTML::Widget::Table RowTag->row_tage_get_for_auth_user replaces Auth.Support->unsafe_get_user_pref * Bivio::Util::RowTag b_use Revision 10.39 2011/03/02 19:43:27 nagler * Bivio::Search::Parser don't die if document can't be parsed * Bivio::Search::Xapian add date range capability * Bivio::Type::DateTime added to_yyyy_mm_dd * Bivio::Type::MailSendAccess change sort order * Bivio::Type::String translate n~ * Bivio::Util::RealmFile improved error message for rfc822 parse failure Revision 10.38 2011/02/26 22:05:58 moeller * Bivio::MIME::Calendar allow double escaped quotes allow value=date-time allow value=uri Revision 10.37 2011/02/24 02:55:02 nagler * Bivio::Biz::Model::MailPartList from_name is get_local_part(from_email) if name not available (not whole email address, because would expose too much in public mailing lists) * Bivio::Biz::Model::MailThreadList added RealmMail.from_display_name, removed RealmOwner.display_name, because not the rigth thing * Bivio::Biz::Model::MailThreadRootList added RealmMail.from_display_name, removed RealmOwner.display_name, because not the right thing * Bivio::Biz::Model::RealmMailDeleteForm removed unused global * Bivio::Biz::Model::RealmMail added from_display_name, compute from get_from or get_local_part of email sort list of b_use's * Bivio::Biz::Model::RowTag added row_tag_get and row_tag_replace, which use RowTagKey->get_type to convert the values * Bivio::Biz::Model::WikiValidatorSettingList $realm needs to be gotten outside the with_realm * Bivio::Delegate::RowTagKey added types (as short_desc) to keys * Bivio::SQL::DDL added realm_mail_t.from_display_name * Bivio::SQL::Support check result of match in parse_column_name, and print a error msg if regexp doesn't match * Bivio::Type::BooleanFalseDefault NEW * Bivio::Type::BooleanTrueDefault NEW * Bivio::Type::RowTagKey added get_type (calls get_short_desc) * Bivio::UI::FacadeBase don't use is_default_id to check if a realm_id was initialized * Bivio::UI::View::Blog fixed method name typo * Bivio::UI::View::Mail show from_display_name if it is non-null or extract local part from from_email * Bivio::UI::View::Wiki fixed method name typo * Bivio::Util::RealmFile always set import_tree() modified_date_time to file date_time catch errors when creating mail from rfc822 * Bivio::Util::SQL internal_upgrade_db_mail_from_display_name Revision 10.36 2011/02/23 00:09:35 schellj * Bivio::Biz::PropertyModel RCS file: /home/cvs/perl/Bivio/Biz/PropertyModel.pm,v Working file: Bivio/Biz/PropertyModel.pm head: 2.49 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 123; selected revisions: 0 description: * Bivio::Delegate::TaskId don't call create/edit_wysiwyg directly, let Blog/Wiki make decision about use_wysiwg * Bivio::UI::HTML::Widget::CKEditor NEW * Bivio::UI::View::Blog added use_wysiwyg config parameter so can deploy without having wysiwyg code released * Bivio::UI::View::Wiki added use_wysiwyg config parameter so can deploy without having wysiwyg code released Revision 10.35 2011/02/22 00:39:27 nagler * Bivio::Agent::Task Support for "extra_auth" attribute on tasks, which allows arbitrary control logic on tasks * Bivio::Auth::Realm Added "extra_auth" call on can_user_execute_task if it exists in Auth.Support * Bivio::BConf Delegate mapping in merge_class_loader needed better regexp for PetShop (two levels) remove map() on ClassLoader config so Widget maps are listed explicitly * Bivio::Biz::Action::AdminRealmMail Added want_realm_mail_created and want_reply_to * Bivio::Biz::Action::BoardRealmMail Added want_reply_to * Bivio::Biz::Action::RealmMailBase default want_realm_mail_created and want_reply_to * Bivio::Biz::Action::RealmMail renamed WANT_REALM_MAIL_CREATED and ALLOW_REPLY_TO to want_realm_mail_created and want_reply_to which take $req so can be dynamic values * Bivio::Biz::Model::BlogEditForm carry_path_info in execute_cancel() * Bivio::Biz::Model::MailForm don't init $_V, rather just b_use('UI.View') -- avoid initialization loops * Bivio::Biz::Model::RealmMailPublicForm If RealmFile.is_public on the msg, then allow the user in private realms to turn it off * Bivio::Biz::Model::SearchForm explicity set ok_button form_name to avoid javascript problems * Bivio::Biz::Model::UserLoginBaseForm NEW * Bivio::Biz::Model::UserLoginForm push up code into UserLoginBaseForm so subclasses can override without grabbing whole module * Bivio::Biz::Model::WikiValidatorSettingList don't get setting if no site_reports_realm_id * Bivio::Biz::PropertyModel cruft * Bivio::Delegate::TaskId Use WYSIWYG (CKEditor) for blogs and wikis Rename the 'wysiwyg' methods edit_wysiwyg and create_wysiwyg * Bivio::Delegator Added b_can so can answer question about AUTOLOADED methods * Bivio::PetShop::BConf use simple form of delegates Added Auth.Support delegate (for extra_auth testing) * Bivio::PetShop::Delegate::Support NEW * Bivio::PetShop::Delegate::TaskId added extra_auth case on USER_ACCOUNT_EDIT * Bivio::ShellUtil new_other() works with a mapped class * Bivio::t::Delegator::D1 test b_can * Bivio::Type::MailSendAccess added ALL_GUESTS * Bivio::UI::FacadeBase Use WYSIWYG (CKEditor) for blogs and wikis Editor is in "files/plain/b" which can be a link to Bivio/files * Bivio::UI::Mail::Widget::Message Subclass Widget.ControlBase so messages can render as empty (not executing) * Bivio::UI::View::Base added control to mail and imail * Bivio::UI::View::Blog Use WYSIWYG (CKEditor) for blogs and wikis CKEditor - missed "create" Rename the 'wysiwyg' methods edit_wysiwyg and create_wysiwyg * Bivio::UI::View::Mail if the msg is public (even in a private group) display the GROUP_MAIL_TOGGLE_PUBLIC * Bivio::UI::View::Wiki Use WYSIWYG (CKEditor) for blogs and wikis Rename the 'wysiwyg' methods edit_wysiwyg and create_wysiwyg * Bivio::UI::Widget::ControlBase if control is not defined, don't initialize * Bivio::UNIVERSAL Added b_can so can answer question about AUTOLOADED methods * Bivio::Util::RealmFile restore path after creating RealmMail from rfc822 during import_tree() Revision 10.34 2011/02/17 00:15:02 moeller * Bivio::Biz::Model::RealmMailDeleteForm NEW * Bivio::Biz::Model::RealmMail added delete_message for individual message complete deletion (no archiving) fix for deleting only message in a thread * Bivio::Delegate::TaskId added GROUP_MAIL_DELETE_FORM * Bivio::Type::RowTagValue can't be subclass of type Type.Text64K, because it adds a newline * Bivio::UI::FacadeBase added facade components for delete message functionality * Bivio::UI::View::Mail added delete message link * Bivio::UI::XHTML::Widget::WikiText Backout previous change for #611 (add ). "strike" is deprecated in XHTML - will fix in ckeditor Revision 10.33 2011/02/15 19:51:26 nagler * Bivio::Biz::Action::RealmFile $realm_id not req(auth_id) needs to be used for error msg in die * Bivio::Biz::Action::WikiView changed the way default_start_page is loaded. Use default_start_page_realm, otherwise use the facade's site_realm_id. DEFAULT_START_PAGE_PATH replaces DEFAULT_START_PAGE so apps can override full path (public or private, for example) * Bivio::Type::WikiName DEFAULT_START_PAGE_PATH replaces DEFAULT_START_PAGE so apps can override full path (public or private, for example) * Bivio::UI::XHTML::Widget::TaskMenu doc * Bivio::UI::XHTML::Widget::WikiText #611 add Revision 10.32 2011/02/13 14:11:58 nagler * Bivio::Biz::Model::RowTag don't insert the value if it is undefined OR zero length * Bivio::Util::SQL fixed row_tag_value_64k upgrade to drop index for oracle version Revision 10.31 2011/02/12 23:31:52 nagler * Bivio::Biz::Model::MailUnsubscribeForm die if no bulletin_realm_id facade value * Bivio::Biz::Util::ListModel removed Action.PublicRealm hack * Bivio::UI::FacadeBase label feature_wiki Revision 10.30 2011/02/10 19:22:43 moeller * Bivio::Biz::Action::RealmFile allow viewing public folders * Bivio::Biz::Model::RealmFeatureForm added allow_ fields so can control which fields are rendered. Subclasses override internal_allow_field_value * Bivio::Biz::Model::RealmFileTreeList don't render public mail * Bivio::Delegate::SimplePermission MAIL_WRITE => MAIL_ADMIN * Bivio::Delegate::TaskId MAIL_WRITE => MAIL_ADMIN removed DATA_BROWSE permission from FORUM_FILE_TREE_LIST * Bivio::IO::File added set_modified_date_time() * Bivio::SQL::DDL row_tag_t.value is now 65535 * Bivio::Type::RowTagValue Length is now 65535 * Bivio::Type::String accept undef/empty strings in canonicalize* * Bivio::UI::View::File added list_action css class to File tree actions column * Bivio::UI::View::GroupAdmin allow RealmFeatureForm to control which fields are rendered * Bivio::Util::RealmFile export_tree() now sets the file's modified date_time, import_tree() updates folder's modified_date_time to the max content date_tim e * Bivio::Util::SiteForum init_bulletin: do want mail_want_reply_to for staging (should be set up the same as the bulletin realm) * Bivio::Util::SQL internal_upgrade_db_row_tag_value_64k: RowTag.value is now 65535 internal_upgrade_db_mail_admin: add MAIL_ADMIN to anybody with ADMIN_WRITE Revision 10.29 2011/02/07 18:32:20 nagler * Bivio::Biz::Model::MailUnsubscribeForm added is_subscribed_to_bulletin_realm Allow realm_id to be passed into all bulletin realm calls * Bivio::Util::SiteForum init_bulletin needs to default a user and name Revision 10.28 2011/02/07 16:01:50 nagler * Bivio::Agent::Job::Request set path_info to undef * Bivio::Biz::Action::RealmMail call Outgoing->edit_body on BULLETIN_MAIL_MODE forum msgs added BULLETIN_BODY_TEMPLATE so can use BULLETIN_MAIL_MODE without templating * Bivio::Biz::Model::MailPartList added set_attachment_visited() and was_attachment_visited() to control whether to render extra attachments to a file * Bivio::Biz::Model::MailThreadList added get_message_anchor so explicitly coupled between View.Mail and SearchList * Bivio::Biz::Model::MailUnsubscribeForm NEW * Bivio::Biz::Model::RealmEmailList added RealmOwner.name * Bivio::Biz::Model::RealmFile toggle_is_public() doesn't changed modified_date_time * Bivio::Biz::Model::RealmMailBounce If BulletinMailMode set for realm, remove user from realm use MailUnsubscribeForm * Bivio::Biz::Model::RealmMailList use MailThreadList->get_message_anchor * Bivio::Biz::Model::RealmOwner added unauth_load_by_email_id_or_name_or_die * Bivio::Biz::Model::SearchList use MailThreadList->get_message_anchor * Bivio::Delegate::RowTagKey added BULLETIN_BODY_TEMPLATE * Bivio::Delegate::TaskId added USER_MAIL_UNSUBSCRIBE_FORM * Bivio::IO::Template b_use * Bivio::Mail::Outgoing added edit_body b_use * Bivio::Search::Parser Need to canonicalize_charset on all values going into xapian * Bivio::ShellUtil unauth_realm_id works on emails or names lock_action needs to protect against an unreadable/non-existent lock_pid file * Bivio::Type::BulletinBodyTemplate NEW * Bivio::Type::BulletinMailMode NEW * Bivio::Type::FilePath added is_public * Bivio::Type::String test AE ligature * Bivio::Type row_tag_get now handles model_or_id correctly * Bivio::UI::FacadeBase added 'p' font def added USER_MAIL_UNSUBSCRIBE_FORM added BULLETIN_REALM_NAME and bulletin_realm_id _unsafe_realm_id returns 0 when not found, because 1 is legitimate realm_id, which isn't a good idea as values are getting bound to the general realm * Bivio::UI::View::CSS added Font 'p' * Bivio::UI::View::File make tree list actions column rightmost * Bivio::UI::View::Mail removed internal_part_list() id, only render attachments if they haven't already been rendered inline added unsubscribe_form use MailThreadList->get_message_anchor * Bivio::UI::XHTML::Widget::MailBodyHTML render img src mark mime_cids as rendered when accessed inline render a anchors * Bivio::Util::RealmFile make mail files public if public path fpc * Bivio::Util::SiteForum set BULLETIN_MAIL_MODE and MAIL_SUBJECT_PREFIX on bulletin_staging added BULLETIN_BODY_TEMPLATE so can use BULLETIN_MAIL_MODE without templating * Bivio::Util::TestUser leave_and_delete takes a pattern create uses parameters() Revision 10.27 2011/02/02 16:46:46 nagler * Bivio::Agent::HTTP::Reply added http_status_code support downcased builtin responses * Bivio::Agent::HTTP::Request passed $named to reply->client_redirect * Bivio::Agent::Request added http_status_code to EXTRA_URI_PARAM_LIST * Bivio::Agent::TaskEvent added http_status_code to params * Bivio::Biz::Action::ClientRedirect added execute_permanent_map * Bivio::Biz::Action::Error fpc * Bivio::Biz::Action::PermanentRedirect removed * Bivio::Biz::Action::RealmFile removed unused assert_access * Bivio::Biz::Model::MailPartList added access_is_public_only feature * Bivio::Biz::Model::MailThreadList added access_is_public_only feature added is_public * Bivio::Biz::Model::RealmFeatureForm added mail_visibility * Bivio::Biz::Model::RealmFile added toggle_is_public make lists ephemeral * Bivio::Biz::Model::RealmMailList added is_public * Bivio::Biz::Model::RealmMail added access_is_public_only and assert_mail_visibility support for visibility control * Bivio::Biz::Model::RealmMailPublicForm NEW * Bivio::Biz::Model::Tuple make TupleUseList ephemeral * Bivio::Biz::Model::TupleSlotListForm fmt * Bivio::Biz::Model::TupleUseForm Bivio::Base * Bivio::Delegate::RowTagKey MAIL_VISIBILITY * Bivio::Delegate::TaskId Mail permissions now controlled through assert_mail_visibility replaced PERMANENT_REDIRECT with CLIENT_REDIRECT_PERMANENT_MAP added GROUP_MAIL_TOGGLE_PUBLIC * Bivio::HTML::Scraper catch and ignore errors/warnings when extracting cookies * Bivio::MIME::RRule allow interval 1 allow wkst if byday isn't multiple * Bivio::PetShop::BConf test data for CLIENT_REDIRECT_PERMANENT_MAP * Bivio::PetShop::Facade::PetShop MY_SITE defaults to SITE_ROOT test data for CLIENT_REDIRECT_PERMANENT_MAP * Bivio::PetShop::Util::SQL added mail_forum_public and mail_forum_allow_public * Bivio::Search::Parser::RealmFile::MessageRFC822 b_use * Bivio::Test::Language::HTTP exported user_agent_instance * Bivio::Type::FilePath from_public doesn't die if no /public prefix * Bivio::Type::MailVisibility NEW * Bivio::Type::String \xb4 --> ' * Bivio::UI::FacadeBase mail_visibility_mode fpc replace wrench with 'Modify' link added GROUP_MAIL_TOGGLE_PUBLIC & CLIENT_REDIRECT_PERMANENT_MAP * Bivio::UI::Task fix HELP link * Bivio::UI::View::File replace wrench with 'Modify' link * Bivio::UI::View::Mail added GROUP_MAIL_TOGGLE_PUBLIC * Bivio::Util::SQL upgrade to add mail_write Revision 10.26 2011/01/28 00:30:32 schellj * Bivio::UI::XHTML::ViewShortcuts if field has column_widget, then just put in list Revision 10.25 2011/01/27 23:23:20 moeller * Bivio::Biz::Action::Error when rendering wiki, set task to FORUM_WIKI_VIEW so unwinds work correctly * Bivio::Biz::Model::GroupUserForm added can_add_user() don't update RealmUser.role if not editable * Bivio::Biz::Model::GroupUserList added can_add_user() * Bivio::HTML::Scraper ignore utf8 warnings when writing files * Bivio::Search::Parser::RealmFile::MessageRFC822 guard against unsplittable text * Bivio::UI::View::GroupAdmin don't show GROUP_USER_ADD_FORM link unless ->can_add_user() don't show permission field unless editable * Bivio::Util::SQL bug in the way !site_admin_forum_users2 was being initialized Revision 10.24 2011/01/19 20:10:48 nagler * Bivio::Delegate::SimpleWidgetFactory value needs to be in brackets for Year * Bivio::Util::SQL fpc Revision 10.23 2011/01/18 21:52:25 moeller * Bivio::Biz::Model::CalendarEvent when importing vevent, trim long strings after canonicalizing the charset * Bivio::Type::DateTime fixed Task registration on test systems * Bivio::Util::Release added rollback instructions to install * Bivio::Util::SQL added upgrade db to remove forum feature_motion and feature_tuple Revision 10.22 2011/01/14 17:59:09 nagler * Bivio::UI::FacadeBase removed help_index removed text-indent: 2em * Bivio::UI::View::CSS removed help_index Revision 10.21 2011/01/14 16:04:29 nagler * Bivio::Agent::Job::Dispatcher can_enqueue_job had is_blessed arguments wrong Revision 10.20 2011/01/13 06:17:54 nagler * Bivio::Delegate::SimpleWidgetFactory support source_is_list_model * Bivio::MIME::JSON no longer derived from Attributes, now uses fields, 3x faster * Bivio::UI::HTML::Widget::Table allow headings to be applied outside the creation of the widget so incoming widgets can get a heading, too. * Bivio::UI::XHTML::ViewShortcuts vs_descriptive_field accepts hash vs_list_form wraps get_list_model on fields if they are not available from ListFormModel and are available by ListModel Revision 10.19 2011/01/12 18:11:19 nagler * Bivio::Agent::Job::Dispatcher added can_enqueue_job * Bivio::Biz::Model::CalendarEvent initialize $_RO dynamically to avoid circular import * Bivio::Biz::Model added field_decl_from_property_model * Bivio::MIME::JSON NEW * Bivio::Search::Parseable added get_excerpt * Bivio::Search::Parser::RealmFile added realms_for_rebuild_db and do_iterate_realm_models * Bivio::Search::Parser added handle_new_text added simple_class to field_term * Bivio::Search::Xapian can qualify by simple_class don't return model from query() if no_model is set * Bivio::Type::DateTime use IO.Config for is_test (no longer need req() on set_test_now) * Bivio::UI::FacadeBase dtstart/end need names * Bivio::Util::Search remove RealmFile dependency, instead just iterate classes Revision 10.18 2011/01/08 14:59:58 nagler * Bivio::Auth::Role added calculate_expression and is_admin * Bivio::BConf guests can read motions and tuples * Bivio::Biz::Util::RealmRole use Auth.Role->calculate_expression * Bivio::Delegate::Role moved is_admin to Auth.Role * Bivio::MIME::Calendar unescape \\ call HTML->unescape() on values * Bivio::MIME::RRule NEW * Bivio::Type::String convert common latin chars to ascii * Bivio::UI::XHTML::Widget::ECMAScriptFile removed * Bivio::UI::XHTML::Widget::ECMAScriptNamed removed * Bivio::UI::XHTML::Widget::ECMAScript removed Revision 10.17 2011/01/05 02:30:45 schellj * Bivio::MIME::Calendar sort event rows by dtstart and rrule, added recurrence-id and sequence to data parse out exdate list, and status for date times with timezones, convert times to utc parse out and ignore valarm subentries within an entry ignore categories and organizer * Bivio::Search::Parser::RealmFile::CommandBase NEW * Bivio::Search::Parser::RealmFile::MSExcel NEW * Bivio::Search::Parser::RealmFile::MSOfficeBase NEW * Bivio::Search::Parser::RealmFile::MSPowerPoint NEW * Bivio::Search::Parser::RealmFile::MSWord NEW * Bivio::Search::Parser::RealmFile::OpenXMLDoc NEW * Bivio::Search::Parser::RealmFile::PDF refactored to use CommandBase * Bivio::UI::View::CSS added table.b_search_results div.uri * Bivio::UI::View::Search added file uri Revision 10.16 2010/12/27 20:51:46 nagler * Bivio::UI::View::Wiki removed WikiHelpList Revision 10.15 2010/12/27 14:52:02 nagler * Bivio::Biz::Model::CalendarEvent couple realm_id * Bivio::IO::Log need to import UI.Facade dynamically Revision 10.14 2010/12/27 14:43:28 nagler * Bivio::HTML::Scraper fmt file_name returns undef if no directory attr and accepts absolute path without directory if no directory, don't return a file_name * Bivio::HTML::t::Scraper::T1 fmt * Bivio::IO::Config added is_test * Bivio::IO::Log b_use mkdir_parent_only * Bivio::Test::Unit builtin_tmp_dir was calling rm_rf instead of builtin_rm_rf * Bivio::Type::DateTime refactor month to num code added full month names Revision 10.13 2010/12/26 03:59:30 nagler * Bivio::BConf merge_class_loader accepts an array_ref for overrides->{delegates} and maps to a hash * Bivio::Biz::Model::CalendarEventForm if no time_zone is set, assume UTC * Bivio::Biz::Model::CalendarEventList fmt * Bivio::Biz::Model::CalendarEvent set time_zone from ics file * Bivio::Biz::Model::FormModeBaseForm NEW * Bivio::Delegate::RealmType doc doc * Bivio::Delegate::SimpleLocation doc * Bivio::MIME::Calendar use Bivio::Base parse out start/end date timezone attr allow calscale, sequence, rrule, and transp values parse out and ignore vtimezone entries unescape newline, comma and semicolon save time_zone in event data _timezone() saves the default time zone and applies to records without timezones exclude a few more unhandled keys store rrule, even though Model.CalendarEvent can't handle (yet) * Bivio::Search::Parser moved excerpting to Type.String->canonicalize_and_excerpt canonicalize_and_excerpt returns a ref now * Bivio::ShellUtil added assert_test() * Bivio::Type::Location EnumDelegator * Bivio::Type::String added canonicalize_and_excerpt canonicalize_and_excerpt returns a ref now * Bivio::Type::UserAgent added is_msie_6_or_before * Bivio::Type::USState Lookup state in table or NOT_FOUND * Bivio::UI::DateTimeMode added HOUR_MINUTE_AM_PM_LC and FULL_MONTH_DAY_AND_YEAR simplified compile() statement * Bivio::UI::FacadeBase added CSS for td_header_left, logo_su_logo, table_main b_* in front of td_footer_center, table_main, etc. * Bivio::UI::HTML::Format::DateTime added HOUR_MINUTE_AM_PM_LC and FULL_MONTH_DAY_AND_YEAR refactored to be clearer what's going on don't need DateTimeWithTimeZone HOUR_MINUTE_AM_PM_LC: no leading 0 on hours * Bivio::UI::View::CSS added CSS for td_header_left, logo_su_logo, table_main b_* in front of td_footer_center, table_main, etc. * Bivio::UI::XHTML::Widget::TaskMenu *** empty log message *** if passing in xlink (lower case) then need to set label, too * Bivio::UI::XHTML::Widget::XLinkLabel added qualify_label Revision 10.12 2010/12/24 16:25:11 nagler * Bivio::Agent::Request add clear_cache_for_auth_user * Bivio::Agent::Task permissions => permission_set * Bivio::Biz::Action added new * Bivio::Biz::Model::CSVImportForm removed call_super_before * Bivio::Biz::Model::FileChangeForm removed call_super* * Bivio::Biz::PropertyModel added unauth_create_unless_exists * Bivio::Biz::Util::RealmRole list_roles replaces category_role_group fixed methods to use "role calculation" (role|group) * Bivio::ClassWrapper moved code_ref_for_* to ClassWrapper from UNIVERSAL as private routine(s) ; there's a bug in the symbol table gets trashed so call_super, etc. which relied on code_ref_for_* can't be used * Bivio::Delegate::Role is_admin => in_category_role_group(all_admins) * Bivio::Delegate::TaskId permissions => permission_set * Bivio::Delegation remove call_delegator_super * Bivio::PetShop::Util::SQL turn on feature_task_log explicitly * Bivio::ShellUtil assert_have_user checks auth_user not -user flag so methods can be called directly * Bivio::t::UNIVERSAL::DelegateSuper moved code_ref_for_* to ClassWrapper from UNIVERSAL as private routine(s) ; there's a bug in the symbol table gets trashed so call_super, etc. which relied on code_ref_for_* can't be used * Bivio::t::UNIVERSAL::Super3 removed * Bivio::Type::PositiveInteger NEW * Bivio::UI::FacadeBase b_wiki_width is blank by default * Bivio::UI::View::CSS allow wiki index on right or left * Bivio::UI::View::Wiki move index to left * Bivio::UNIVERSAL moved code_ref_for_* to ClassWrapper from UNIVERSAL as private routine(s) ; there's a bug in the symbol table gets trashed so call_super, etc. which relied on code_ref_for_* can't be used * Bivio::Util::CRM added setup_realm_with_priority * Bivio::Util::Forum use assert_have_user * Bivio::Util::SiteForum used facade's realm names, not hardwired initialize task_log explicitly create placeholder start page for all realms * Bivio::Util::SQL removed initialize_motion/tuple/task_log_permissions added init_task_log_for_forums Revision 10.11 2010/12/22 19:43:03 schellj * Bivio::Biz::Model::ForumUserAddForm remove existing main roles when adding admin * Bivio::Biz::Model::RealmUserAddForm removed unnecessary code * Bivio::Biz::Model::RealmUser added delete_main_roles * Bivio::ShellUtil assert_have_user() checks for 'user' arg * Bivio::Util::Forum added make_admin_of_forum Revision 10.10 2010/12/16 22:09:50 moeller * Bivio::BConf removed Forms.error_color override * Bivio::Test::HTMLParser::Forms use default error_color which was coming from Bivio::BConf * Bivio::UI::HTML::Widget::RealmFilePage don't catch die during render_value() * Bivio::UI::View::CRM fixed missing tuple fields in CRM query form * Bivio::Util::HTTPStats SiteForum not referenced Revision 10.9 2010/12/12 23:29:46 nagler * Bivio::Biz::Model::RealmEmailList ensure is unique list of emails/realm_ids (role is deleted from query) * Bivio::Biz::Model::RealmUserAddForm if no internal_user_id, just return * Bivio::Biz::Model added field_decl_exclude * Bivio::Biz::Util::RealmRole added roles_for_permissions * Bivio::Test::HTMLParser::Forms fmt * Bivio::Test::ListModel added make_expect_rows Revision 10.8 2010/12/11 18:43:39 nagler * Bivio::UI::View::File remove invalid text in code DateTime() only accepts a widget value * Bivio::UI::XHTML::Widget::HelpWiki remove debug Revision 10.7 2010/12/10 23:47:48 nagler * Bivio::Biz::Model::FileChangeForm locking is configured * Bivio::Biz::Model::RealmFileLock locking is configured * Bivio::Biz::Model::RealmFileTreeList locking is configured * Bivio::Biz::Model::RealmFileVersionsList locking is configured * Bivio::Biz::Model::SearchList _b_realm_only wasn't computing public_realm_ids properly * Bivio::Biz::Model::UserCreateForm call if_then_else * Bivio::SQL::DDL need constraint on folder_t * Bivio::UI::FacadeBase support for help_wiki * Bivio::UI::FacadeComponent initialize the value once per name in a group * Bivio::UI::Font fmt * Bivio::UI::View::CSS support for help wiki * Bivio::UI::View::File locking is configured * Bivio::UI::View::ThreePartPage added vs_xhtml_title() * Bivio::UI::View::Wiki locking is configured move help index to the left * Bivio::UI::XHTML::ViewShortcuts added vs_xhtml_title() * Bivio::UI::XHTML::Widget::HelpWiki added want_popup attribute so can just be a link (want_popup = 0) Revision 10.6 2010/12/09 18:40:56 nagler * Bivio::Util::NamedConf PTR generated if only one A record PTR checking, must be exactly one '@' is back as a PTR identifier Revision 10.5 2010/12/09 16:18:06 nagler * Bivio::Biz::Model::RealmOwnerBase cascade_delete deletes RowTag, RealmDAG and any RealmUser records * Bivio::Test::Unit builtin_random_realm_name * Bivio::UI::HTML::Widget::Script added b_all_elements_by_class * Bivio::UI::XHTML::Widget::DropDown fix for cmd-click not opening new tabs in ff, fix to close dd upon clicking link a second time * Bivio::Util::NamedConf handle ptr cases * Bivio::Util::RealmAdmin delete_auth_realm_and_users calls delete_auth_user and delete_auth_realm delete_auth_user calls delete_auth_realm delete_auth_realm no longer needs to delete RealmUser records RealmOwnerBase handles this * Bivio::Util::Search don't commit first time. Revision 10.4 2010/12/07 20:07:57 nagler * Bivio::Biz::Model::BlogList push up access check in prepare_statement_for_access_mode * Bivio::Biz::Model::RealmFileList added prepare_statement_for_access_mode * Bivio::Biz::Model::WikiHelpList NEW * Bivio::Biz::Model::WikiList call prepare_statement_for_access_mode * Bivio::PetShop::Util::SQL change the default color for help pages; purple too annoying * Bivio::Type::BlogFileName to_absolute uses SQL_LIKE_BASE check * Bivio::Type::CIDRNotation map_host_addresses must use fixed decimals, because the addresses are greater than the max signed int * Bivio::Type::DocletFileName added SQL_LIKE_BASE and to_sql_like_path uses it * Bivio::Type::SettingsName added SQL_LIKE_BASE * Bivio::Type::WikiDataName added SQL_LIKE_BASE * Bivio::Type::WikiName strip _Help from the title * Bivio::UI::FacadeBase support for help_list * Bivio::UI::HTML::Widget::DateField if form is in error render form literal not form value * Bivio::UI::View::CSS support for help_list fpc * Bivio::UI::View::Wiki added WikiHelpList for help realm in view * Bivio::UI::XHTML::Widget::WikiText::HTML NEW * Bivio::UI::XHTML::Widget::WikiText::Macro use parse_lines_till_end_tag * Bivio::UI::XHTML::Widget::WikiText _parse_my_tag pushes tag if parse_tag_start returns true * Bivio::UI::XHTML::Widget::WikiTextTag added parse_lines_till_end_tag * Bivio::Util::Search cleaned up messageing * Bivio::Util::SQL internal_db_upgrade_bulletin => internal_upgrade_db_bulletin site_help_title upgrade Revision 10.3 2010/12/02 20:22:09 nagler * Bivio::Type::String _clean_whitespace was cleaning multiple newlines Revision 10.2 2010/12/01 06:47:35 schellj * Bivio::Type::ECService rmpod copy * Bivio::UI::HTML::Widget::Script fix for combobox drop down conflicting with menu drop down * Bivio::UI::XHTML::Widget::DropDown fix for conflict with combobox drop down Revision 10.1 2010/11/30 07:53:40 schellj * Bivio::Biz::Model::CRMActionList now using CRMUserList (GroupUserList did more work than needed here) * Bivio::Biz::Model::CRMUserList NEW Revision 10.0 2010/11/23 14:24:27 nagler Switch to 10.0 Revision 9.94 2010/11/23 14:22:02 nagler * Bivio::IO::File Trim [\r\n] at end of line in do_lines Revision 9.93 2010/11/17 22:43:35 schellj * Bivio::Biz::Model::CRMActionList more efficient id_to_name/name_to_id behavior, don't need validate_id * Bivio::Biz::Model::CRMForm id will be defined iff it is valid * Bivio::Biz::Model::CRMThreadRootList fix for changed CRMActionList->name_to_id behavior * Bivio::UI::FacadeBase add label for CRM status NEW * Bivio::UI::HTML::Widget::Script fix for dropdown positioning Revision 9.92 2010/11/17 02:31:49 nagler * Bivio::Type::Line from_literal calls canonicalize_charset * Bivio::Type::String added canonicalize_charset to remove Windows-1252 and UTF-8 characters on TextArea * Bivio::Type::TextArea canonicalize_newlines moved to Type.String from_literal calls canonicalize_charset * Bivio::Type::Text fmt Revision 9.91 2010/11/16 20:44:36 nagler * Bivio::Delegate::TaskId get_delegate_info calls merge_task_info, not info_base Revision 9.90 2010/11/16 08:24:33 schellj * Bivio::Agent::Request used UNIVERSAL->if_then_else * Bivio::Agent::t::Mock::TaskId don't inlude all components. Unnecessary and creates conflicts * Bivio::Agent::TaskId tasks are now configured as hashes * Bivio::Agent::Task allow tasks to be configured as a hash with converted values (references) * Bivio::BConf TaskLog configured as task component SimpleTaskId gone * Bivio::Biz::Model::CRMActionList fix for validation of status actions * Bivio::Biz::Model::TaskLog TaskLog configured as task component SimpleTaskId gone * Bivio::Delegate::SimpleTaskId removed * Bivio::Delegate::TaskId task_log configures as a component merged with SimpleTaskId.pm * Bivio::Test::ShellUtilConf NEW * Bivio::Type::CIDRNotation NEW * Bivio::Type::SyntacticString internal_post_from_literal can return an error * Bivio::UI::FacadeBase task_log is a component * Bivio::UI::HTML::Widget::Script changes for removed anchor on combobox button * Bivio::UI::Task tasks now configure as a hash * Bivio::UI::Text::Widget::File removed * Bivio::UI::View::CSS changes for removed anchor on combobox button, disable button text selection (Mozilla, Webkit) * Bivio::UI::Widget::MIMEBodyWithAttachment removed * Bivio::UI::XHTML::Widget::ComboBox remove anchor on combobox button, disable button text selection (IE) * Bivio::UI::XHTML::Widget::FeatureTaskMenu don't include tasks if they don't exists * Bivio::UI::XHTML::Widget::TaskMenu reorder render_tag_value "control" checking. Wasn't able to have a tasks which don't exists * Bivio::UNIVERSAL added if_then_else * Bivio::Util::HTTPConf allow passing in or read_input * Bivio::Util::NamedConf NEW * Bivio::Util::SQL added general_accountant upgrade: accounting has admin_read privs in general realm Revision 9.89 2010/11/12 09:40:46 schellj * Bivio::Biz::Model::CRMActionList support for use of combobox * Bivio::Biz::Model::CRMForm support use of combobox * Bivio::Biz::Model::CRMQueryForm support for use of combobox * Bivio::Biz::Model::CRMThreadRootList support for use of combobox * Bivio::UI::FacadeBase added combo_box_arrow * Bivio::UI::HTML::Widget::Image fixed src_name if src_is_uri and xhtml * Bivio::UI::HTML::Widget::Script add arrow button to make a true combobox * Bivio::UI::View::CRM change owner select to combobox * Bivio::UI::View::CSS styles for combobox arrow * Bivio::UI::XHTML::Widget::ComboBox add arrow button Revision 9.88 2010/11/08 22:19:49 nagler * Bivio::Agent::Request refactored assert_test to call IO.Config->assert_test * Bivio::BConf added bunit_case Trace config * Bivio::Ext::BerkeleyDB NEW * Bivio::IO::Config added assert_test() * Bivio::Test added want_void option (like want_scalar) move trace statement for bunit_case Trace config * Bivio::Type::ExistingFolderArg NEW * Bivio::Type::FolderArg NEW * Bivio::UNIVERSAL added map_by_slice and boolean refactored map_by_two to use map_by_slice added call_and_do_after Revision 9.87 2010/11/03 22:09:19 schellj * Bivio::Agent::TaskEvent removed TODO * Bivio::Util::SQL always initialize_fully in bundle db upgrades, move initialize_fully up in motion_vote_aff_drop_not_null Revision 9.86 2010/11/03 04:17:30 schellj * Bivio::Biz::Model::MotionVote allow affiliated_realm_id to be null, users don't need to be affiliated with themselves if they aren't in an organization * Bivio::SQL::DDL remove NOT_NULL constraint from motion_vote_t.affiliated_realm_id * Bivio::Util::SQL drop motion_vote_t.affiliated_realm_id not null, remove motion vote affiliated_realm_ids that were set to user_id Revision 9.85 2010/11/02 21:22:06 moeller * Bivio::Agent::Task undid previous change * Bivio::BConf removed Delegate.FormErrors * Bivio::Biz::FormModel get_form() rather than unsafe_get('form') when getting context from request, don't call internal_get_file_field_names() on non instance * Bivio::Delegate::SimpleFormErrors removed * Bivio::PetShop::BConf removed Delegate.FormErrors * Bivio::PetShop::Delegate::FormErrors removed * Bivio::UI::HTML::FormErrors removed * Bivio::UI::HTML::Widget::FormFieldError removed UIHTML.FormErrors Revision 9.84 2010/11/02 14:54:58 moeller * Bivio::Agent::Task parse the request's form before throwing a forbidden error, allows the form to retain values in case of a login time-out Revision 9.83 2010/10/29 17:41:35 nagler * Bivio::Auth::Permission rmpod now an EnumDelegator * Bivio::Base added b_catch * Bivio::Delegate::TaskId added is_production predicate to info_dev() * Bivio::Util::Class removed tasks_for_label and tasks_for_view: not in use, and too tightly coupled implementation with TaskId which is changing * Bivio::Util::RealmFile added backup_realms Revision 9.82 2010/10/28 16:39:48 nagler * Bivio::Biz::Model::RealmFileList use STRPOS and SUBSTR * Bivio::Biz::Model::RealmFile use STRPOS and SUBSTR * Bivio::SQL::Connection::Oracle translate STRPOS( to INSTR( * Bivio::Util::RealmMail use STRPOS and SUBSTR * Bivio::Util::SQL oracle does not have a ddl directory, necessarily Revision 9.81 2010/10/27 21:55:09 nagler * Bivio::Util::SQL column_exists for oracle dropped unnecessary "drop column" in init_site_forum upgrade Revision 9.80 2010/10/27 18:42:07 schellj * Bivio::UI::View::Tuple added NewEmptyRowHandler() to schema and table editor * Bivio::Util::SQL added drop_member_if_administrator2 Revision 9.79 2010/10/26 20:47:10 schellj * Bivio::Biz::Model::ForumUserAddForm check for any roles in parent forum before adding user * Bivio::Biz::Model::RealmUserAddForm get existing_roles more efficiently, remove warning Revision 9.78 2010/10/26 15:20:03 moeller * Bivio::Biz::Model::GroupUserList replaced EXISTS statement in internal_pre_load with internal_role_exists_statement * Bivio::UI::HTML::Widget::NewEmptyRowHandler use c.childNodes not c.children * Bivio::UI::HTML::Widget::Script ComboBox search for drop_down rather than lookup by name, allows cloned value to work properly * Bivio::UI::XHTML::Widget::ComboBox removed dd_name and _drop_down_id() * Bivio::Util::HTTPD added run_db Revision 9.77 2010/10/22 22:53:29 moeller * Bivio::Biz::Model::SelectSearchForm removed * Bivio::Delegate::TaskId FORUM_FILE_VERSIONS_LIST & FORUM_WIKI_VERSIONS_LIST are paged lists * Bivio::SQL::PropertySupport improved error messages when missing "table_name" or "columns" * Bivio::UI::HTML::Widget::CopyListValueHandler NEW * Bivio::UI::HTML::Widget::JoinHandler rm pod, refactored * Bivio::UI::HTML::Widget::NewEmptyRowHandler NEW * Bivio::UI::HTML::Widget::SelectSearch removed * Bivio::UI::HTML::Widget::SourceCode wrap unsafe_map_require() in catch_quietly() in case the map is invalid * Bivio::UI::View::Wiki page history is now paged Revision 9.76 2010/10/18 01:57:11 nagler * Bivio::Biz::ListFormModel iterate_* methods were added incorrectly. They now die. * Bivio::Biz::Model::CSVImportForm internal_source_error takes @args look up some of the text (detail_prefix) in Facade internal_put_error_and_detail call_super_before If enum is empty, return NULL, not not found, only if constraint is NOT_NULL previous checkin: fields can now refer to forms directly, e.g. UserLoginForm.RealmOwner.password * Bivio::Biz::Model::t::CSVImportForm::T1Form added fields * Bivio::Biz::Model assert_is_instance/singleton called throw_die incorrectly * Bivio::Delegate::SimpleFormErrors dies if called * Bivio::PetShop::Model::FieldTestForm added Enum * Bivio::Test::FieldWidget set source to be the form * Bivio::Test::Language::HTTP _append_query => internal_append_query * Bivio::Test::Unit b_use removed cruft comments * Bivio::Test::Widget allow bunit to set $source * Bivio::Type::FileField added from_any * Bivio::UI::FacadeBase added FormError.prose.detail_prefix * Bivio::UI::FormError detail can be a widget (FormModel doesn't care) FormError returns a widget to_html => to_widget_value * Bivio::UI::HTML::ViewShortcuts vs_string passes $attrs only if exists * Bivio::UI::HTML::Widget::AmountCell NEW_ARGS * Bivio::UI::HTML::Widget::Enum rmpod simplified, dynamic, and NEW_ARGS fpc field may be a reference * Bivio::UI::HTML::Widget::FormFieldError FormError implements to_widget_value * Bivio::UI::HTML::Widget::String b_use NEW_ARGS * Bivio::UI::XHTML::Widget::FormFieldError FormError implements to_widget_value Removed reference to UIHTML.FormErrors Revision 9.75 2010/10/15 20:55:37 moeller * Bivio::Biz::Model::ContextWritebackForm NEW * Bivio::Delegate::SimpleWidgetFactory DollarCell subclasses AmountCell * Bivio::UI::HTML::Widget::AmountCell Added html_format attribute simplified config * Bivio::UI::HTML::Widget::DollarCell subclass AmountCell Revision 9.74 2010/10/13 19:44:39 nagler * Bivio::Biz::Model::ECCreditCardPaymentForm return 0 from process_payment() if in_error() minor refactoring * Bivio::Biz::Model::User _compute_sorting_names needs to delete the sorting name if the non-sort name exists, that is, if first_name_sort is passed in, but not first_name, first_name_sort should not be updated. * Bivio::Biz::Model::UserSettingsListForm added validate_user_names * Bivio::Biz::Model added assert_is_instance for clearer error msgs when a class is the object * Bivio::Test::Language::HTTP _append_query should delete duplicate query key values * Bivio::Type::Date added TO_STRING_REGEX * Bivio::Type::DateTime now() must register __PACKAGE__ with Agent.Task, not $proto, which my Date or Time, not necessarily DateTime * Bivio::UI::FacadeBase paragraph_text gets underline * Bivio::UI::View::CSS paragraph_text gets special font * Bivio::Util::SQL search facades ddl firs create_test_db checks to see if there are any *.sql, not just that the ddl path is a directory Revision 9.73 2010/10/05 18:37:24 schellj * Bivio::BConf sort delegates * Bivio::Biz::ListFormModel added execute_ok_row_dispatch similar to EditDAVList * Bivio::Biz::Model::SiteAdminSubstituteUserForm rename var to be more clear * Bivio::Biz::Model::TupleExpandableListForm bivio::Base * Bivio::UI::FacadeBase move page_size to top level added Font embedded_prose_link Text for add_rows button * Bivio::UI::HTML::Widget::ListActions fmt * Bivio::UI::View::CSS added Font('embedded_prose_link'); to text like div.empty_list a, form .desc a, etc * Bivio::UI::XHTML::ViewShortcuts add_rows shows up by default for ExpandableListFormModel Revision 9.72 2010/09/29 17:19:14 moeller * Bivio::Delegate::TaskId, Bivio::UI::FacadeBase added FORUM_CRM_THREAD_ROOT_LIST_CSV * Bivio::UI::View::CRM added thread_root_list_csv() Revision 9.71 2010/09/23 19:14:32 moeller * Bivio::Type::DateTime removed get_next_year and added add_years removed get_previous_* * Bivio::Util::Release removed --skipdeps arg to Makefile.PL, causes problems in old modules Revision 9.70 2010/09/16 17:56:03 moeller * Bivio::Test::Request only call require_no_cookie() if the request supports it * Bivio::UI::View::Tuple don't show list action if expecting a realm and operating in general realm Revision 9.69 2010/09/16 16:59:22 moeller * Bivio::UI::View::CSS undid previous change * Bivio::UI::XHTML::Widget::DropDown undid previous change Revision 9.68 2010/09/13 17:04:37 moeller * Bivio::UI::HTML::Widget::Script use new RegExp() instead of // to avoid HTML Tidy warnings * Bivio::UI::View::CSS removed position relative from .task_menu_wrapper for better MSIE layout * Bivio::UI::View::Tuple remove eq_forum row control from _list_actions as tuples can now belong to any realm_type * Bivio::UI::XHTML::Widget::DropDown set dropdown left to parentNode's left, avoid MSIE missing scrollbar bug * Bivio::Util::Backup fixed to work on server properly Revision 9.67 2010/09/09 03:32:44 nagler * Bivio::BConf added Bivio::UI::HTML to UIXHTML path * Bivio::UI::HTML::ViewShortcuts can't use Bivio::Base UI.ViewShortcuts; Probably with an older app which keeps shorcuts in odd place * Bivio::UI::HTML::Widget::Grid rmpod b_use * Bivio::UI::HTML::Widget::TableBase rmpod b_use * Bivio::UI::XHTML::ViewShortcuts b_use Revision 9.66 2010/09/08 22:08:53 nagler * Bivio::Agent::HTTP::Cookie rmpod fmt * Bivio::Agent::HTTP::Form b_use * Bivio::Agent::Job::Request b_use * Bivio::Agent::Request is_production now comes from config. Still in Request config. One must be true for is_production added REQUIRE_ABSOLUTE_GLOBAL Fixed numerous b_use calls * Bivio::Agent::Task display the error if the commit fails cache has_realm_type * Bivio::Auth::Realm remove comments * Bivio::Base Added b_use cache. Can't do in IO.ClassLoader, because has particular semantics on post_require * Bivio::Biz::Action::EmptyReply b_use * Bivio::Biz::Action use eq, not == * Bivio::Biz::Model::AuthUserRealmList fixed load_all_for_task to move out invariants removed internal_clear_model_cache, because was clearing cache every internal_post_load_row. cache the state of is_defined_for_facade * Bivio::Biz::Model::JobLock rmpod b_use * Bivio::Biz::Model::MailReceiveDispatchForm if_version changed (not sure how); fix use * Bivio::Biz::Model::QuerySearchBaseForm b_use * Bivio::Biz::Model::RealmAdminEmailList use get_category_role_group all_admins * Bivio::Biz::Model::RealmOwner b_use * Bivio::Biz::Model::RoleBaseList cache _roles() * Bivio::Biz::Model::TaskLog b_use * Bivio::Biz::Model::TreeList compare of PrimaryId was very slow so customized is_equal, and called here * Bivio::Biz::Model::TupleSlotType b_use * Bivio::Biz::Model::UserLoginForm b_use * Bivio::Biz::Model todo & fmt * Bivio::Biz::Util::ListModel b_use * Bivio::Cache::RealmRole restructure so internal_compute_no_cache returns a hash, not the permission_set moved DEFAULT_PERMISSIONS cache to SimpleAuthSupport, because it is more than a simple cache. Need to use as_int, because values are persisted * Bivio::Cache was putting on the request for internal_compute_no_cache case use Bivio.ShellUtil->lock_action to manage locking. Simplifies the process, because Storable had its own lock, and then we had to introduce ours. Also, locking is implicitly non-blocking need to return $res from _read_and_thaw * Bivio::Collection::Attributes optimized get and unsafe_get for single parameter case added with_attributes * Bivio::Collection::SingletonMap rmpod b_use removed Carp * Bivio::Delegate::Cookie b_use * Bivio::Delegate::NoCookie rmpod removed comments * Bivio::Delegate::SimpleAuthSupport moved DEFAULT_PERMISSIONS cache back here, because backfills with EMPTY_PERMISSION_MAP * Bivio::Delegate::TaskId added PUBLIC_WIDGET_INJECTOR * Bivio::Delegator b_use * Bivio::Die added catch_and_rethrow * Bivio::IO::ClassLoader not COUPLING * Bivio::IO::Config added is_production * Bivio::IO::File fpt use catch_and_rethrow * Bivio::ShellUtil added no_warn to lock_action b_warn lock_action calls return_scalar_or_array * Bivio::Test::FormModel b_use * Bivio::Test::ForumUserUnit b_use * Bivio::Test::Request added require_no_cookie put_durable on certain attributes * Bivio::Test::Unit require_no_cookie explicitly, because wasn't actually working in all tests. Needed for re-entrancy, too * Bivio::Test::Util b_use execute_task is re-entrant * Bivio::Type::EnumDelegator fmt * Bivio::Type::Location rmpod b_use and fmt * Bivio::Type::PrimaryId for performance reasons, is_equal coded locally copy * Bivio::Type added CLASSLOADER_MAP_NAME and removed put_on_request (in UNIVERSAL) * Bivio::UI::FacadeBase adjust validation string for different types of tuple lables/monikers added PUBLIC_WIDGET_INJECTOR * Bivio::UI::Facade b_use * Bivio::UI::HTML::Format rmpod b_use & fmt * Bivio::UI::HTML::ViewShortcuts simplify _use to use b_use * Bivio::UI::HTML::Widget::StandardSubmit rmpod ViewLanguageAUTOLOAD * Bivio::UI::JavaScript::Widget::QuotedValue factored out escape_value * Bivio::UI::JavaScript::Widget::WidgetInjector NEW * Bivio::UI::View::Base added js() and xhtml_widget() views for WidgetInjector * Bivio::UI::View::WidgetInjector NEW * Bivio::UI::View call_main and render accept view_class and view_name or just view_name * Bivio::UI::Widget b_use * Bivio::UI::XHTML::Widget::HelpWiki control_on_value must return a string, not undef * Bivio::UI::XHTML::Widget::Pager refactor _get_page_numbers * Bivio::UNIVERSAL add put_on_request so can move out of subclasses * Bivio::Util::Backup added lock_action to most calls b_use * Bivio::Util::HTTPConf is_production now comes from config. Still in Request config. One must be true for is_production * Bivio::Util::HTTPD get running on gentoo don't PassEnv vars that don't exist * Bivio::Util::Release b_use Revision 9.65 2010/08/29 17:49:18 nagler * Bivio::Test::HTMLParser::Forms Detect err_title class showing up * Bivio::Test::Language::HTTP go_back() supports a count When an err_title class shows up without input errors on the form, die Revision 9.64 2010/08/27 19:09:40 moeller * Bivio::Biz::Action::ECCreditCardProcessor don't warn about missing login unless on production * Bivio::Util::HTTPLog always log JOB_ERROR Revision 9.63 2010/08/25 20:39:20 moeller * Bivio::Agent::Request format the query before redirecting the realm during server_redirect * Bivio::Biz::FormModel always set acknowledgement to SAVE_LABEL_DEFAULT unless present * Bivio::Test::HTMLParser::Forms clear prev_cell_text at start of a form * Bivio::Type::Boolean ignore space around literals Revision 9.62 2010/08/23 23:27:43 moeller * Bivio::Agent::HTTP::Query added support for Action.Acknowledgement * Bivio::Agent::Request Use AgentHTTP.Query Fixed carry_query logic * Bivio::Biz::Action::Acknowledgement added SAVE_LABEL_DEFAULT * Bivio::Biz::FormModel move Acknowledgement support to AgentHTTP.Query * Bivio::Biz::ListFormModel added iterate_* * Bivio::Biz::ListModel Use AgentHTTP.Query * Bivio::Biz::Model::Address remove comments * Bivio::Biz::Model::CalendarEventForm acknowledgement needs to be in the query * Bivio::Biz::Model::TaskLog Use AgentHTTP.Query * Bivio::UI::HTML::Widget::AmountCell deal with undef properly * Bivio::UI::Text::Widget::CSV added want_iterate_start attribute, allows iterating unloaded PropertyModels or ListModels * Bivio::UI::View::CSS more menu in .tools was not aligning properly Revision 9.61 2010/08/09 20:54:53 moeller * Bivio::Biz::FormModel support for new concept of a 'constraining_field' * Bivio::Biz::Model::CRMForm stop processing if superclass is in_error() * Bivio::Biz::Model::MailForm put an error on from_email if from email is invalid * Bivio::Delegate::SimpleTypeError added INVALID_SENDER * Bivio::SQL::Support added 'constraining_field' concept whereby a field's validation is defined as dependent on the constraints of another field * Bivio::Test::Language::HTTP text_exists uses _fixup_pattern_protected use AgentHTTP.Query undid change to text_exists() * Bivio::UI::View::Mail added from_email FormFieldError Revision 9.60 2010/08/05 15:20:33 moeller * Bivio::BConf ignore declined CC errors * Bivio::Biz::Action::ECCreditCardProcessor added more warning info * Bivio::Biz::Model::CRMForm fpc * Bivio::Biz::Util::ListModel use AgentHTTP.Query * Bivio::SQL::Connection::Postgres fixed constraint attrname lookup * Bivio::Test::Util use AgentHTTP.Query * Bivio::Util::SQL want_reply_to and is_public_email need to have DROP NOT NULL in site_forum upgrade Revision 9.59 2010/07/28 17:23:20 nagler * Bivio::UI::View::Tuple Be compatible with vs_list_form change Revision 9.58 2010/07/28 00:00:39 nagler * Bivio::Biz::Model::ECCreditCardPaymentForm fpc * Bivio::UI::XHTML::ViewShortcuts fpc: vs_list_form field validation incorrect * Bivio::UI::XHTML::Widget::FeatureTaskMenu sort_labels were wrong order Revision 9.57 2010/07/27 17:44:29 nagler * Bivio::PetShop::BConf added realm_user_util5 * Bivio::PetShop::Util::SQL added realm_user_util5 * Bivio::Type::CurrencyName NEW * Bivio::Type::Currency NEW * Bivio::Type::Dollar rmpod *** empty log message *** * Bivio::Type::NonNegativeCurrency NEW * Bivio::Type::NonNegativeInteger NEW * Bivio::Type::NonNegativePercent NEW * Bivio::Type::Time fix minor operator error in from_literal * Bivio::UI::FacadeBase moved out Logo link in xhtml_logo to vs_header_su_link() renamed sort_first/second/etc. to sort_label_01/02/etc. * Bivio::UI::XHTML::ViewShortcuts moved out Logo link in xhtml_logo from FacadeBase to vs_header_su_link() vs_list_form was not parsing field names correctly * Bivio::UI::XHTML::Widget::FeatureTaskMenu added internal_merge_tasks use sort_label_nn * Bivio::Util::RealmUser allow all realms of a particular RealmType to be added in auditor Revision 9.56 2010/07/12 19:14:46 moeller * Bivio::Biz::Model::RealmUserAddForm changed "must have exactly one main role" to be a warn_deprecated * Bivio::UI::FacadeBase fixed xlink_all_users * Bivio::UI::HTML::Widget::MonthYear added month_choices arg * Bivio::UI::View::Blog added is_public to create() * Bivio::UI::View::CSS improve field position * Bivio::UI::XHTML::Widget::FeatureTaskMenu added exclude_tasks() made SiteAdminDropDown third item * Bivio::UI::XHTML::Widget::SiteAdminDropDown sort the list * Bivio::UI::XHTML::Widget::TaskMenu sort_label needed to handle refs (widgets) * Bivio::Util::Backup remote_archive: check that the drive mounted correctly fpc Revision 9.55 2010/06/15 21:46:36 nagler * Bivio::Biz::Model::MailForm support for cleaning up to/cc when board_only selected * Bivio::Type::EmailArray b_use * Bivio::UI::FacadeBase added board_only support * Bivio::UI::View::Mail added board_only field to send_form * Bivio::UI::ViewShortcuts added vs_ui_members Revision 9.54 2010/06/15 20:27:38 moeller * Bivio::Biz::Model::RealmUserAddForm don't assume Model.RealmUser is on request * Bivio::Mail::Incoming get_reply_email_arrays will return realm with ALL as Cc, if there's already a To. Cleaned up the duplicate code a bit * Bivio::UI::HTML::Widget::RealmFilePage ignore javascript links Revision 9.53 2010/06/14 17:24:16 nagler * Bivio::Biz::Action::AdminRealmMail pushed up format_email_for_auth_realm and changed to format_email_for_realm * Bivio::Biz::Action::BoardRealmMail Subclass RealmMailBase * Bivio::Biz::Action::RealmMailBase NEW * Bivio::Biz::Action::RealmMail Subclass RealmMailBase * Bivio::Biz::Model::CRMForm Removed internal_send_to_board_maybe Always send to board (broken when internal_send_to_board_maybe removed) to/cc switched around when new Grab first From: in the list of all emails so MailReplyWho->ALL does the right thing * Bivio::Biz::Model::MailForm added removal of board. emails Removed internal_send_to_board_maybe Added internal_send_to_board refactoring (use field_decl) Added board_always for CRMForm Added internal_get_reply_incoming for CRMForm * Bivio::Biz::Model::RealmUserAddForm assert that we only have one main role * Bivio::Mail::Incoming cruft * Bivio::Type::ArrayBase Added get_element * Bivio::UI::View::Mail factored out internal_send_form_email_field Revision 9.52 2010/06/10 17:14:07 moeller * Bivio::Test::Reload update reload time stamp after modules and/or ddl files have been checked and updated, if necessary. * Bivio::Type::USZipCodeMap NEW * Bivio::Type::USZipCode added zip_codes_by_proximity() * Bivio::UI::HTML::Widget::MonthYear always show month/year as a select widget * Bivio::UI::XHTML::Widget::DropDown cancelBubble is a Microsoft model property, w3c browsers use stopPropagatio() Revision 9.51 2010/05/31 20:17:02 nagler * Bivio::PetShop::View::CSS revert to 1.5 * Bivio::ShellUtil fmt * Bivio::Test::WikiText todo * Bivio::UI::FacadeBase revert to 1.264 * Bivio::UI::HTML::Widget::Script revert to 1.21 revert to 1.19 * Bivio::UI::View::CSS revert to 1.120 reapply 1.124 * Bivio::UI::View::ThreePartPage revert to 1.32 * Bivio::UI::XHTML::Widget::DropDown revert to 1.5 * Bivio::UI::XHTML::Widget::RealmDropDown revert to 1.13 * Bivio::UI::XHTML::Widget::SiteAdminDropDown revert to 1.11 * Bivio::UI::XHTML::Widget::TaskMenu revert to 1.42 * Bivio::UI::XHTML::Widget::WikiText::Menu revert to 1.42 Revision 9.50 2010/05/29 22:13:33 nagler * Bivio::Auth::Support rmpod * Bivio::BConf feature_motion is the same as open_results_motion * Bivio::Biz::Model::BlogList call Bivio.Search, not Search.Xapian so if Xapian not installed, doesn't pull in Xapian * Bivio::Biz::Model::MailThreadRootList call Bivio.Search, not Search.Xapian so if Xapian not installed, doesn't pull in Xapian * Bivio::Biz::Model::RealmFile search_class is no longer configured. Instead Bivio.Search specifies delegate explicitly dependent on which search component included * Bivio::Biz::Model::SearchList call Bivio.Search, not Search.Xapian so if Xapian not installed, doesn't pull in Xapian * Bivio::Delegate::TaskId Bivio.Search manages the delegation of the search class based on which task is included * Bivio::Delegate rmpod * Bivio::Delegator rmpod allow subclasses to specify delegate explicitly (Bivio::Search needs this) * Bivio::PetShop::Util::SQL don't need open_results_motion now that feature_motion does the same thing * Bivio::Search::None NEW * Bivio::Search::Xapian moved code up to Search.None so excerpts work even if Xapian is not installed * Bivio::Search NEW * Bivio::Util::Search module_version not needed * Bivio::Util::SQL don't need open_results_motion now that feature_motion does the same thing Revision 9.49 2010/05/28 20:41:27 dobbs * Bivio::Biz::Model::CalendarEventForm $_US -> $_USLF, call SUPER::validate * Bivio::UI::HTML::Widget::Script DropDowns now toggle visibility instead of toggling display * Bivio::UI::View::CSS DropDowns now toggle visibility instead of toggling display * Bivio::UI::XHTML::Widget::DropDown DropDowns now toggle visibility instead of toggling display Revision 9.48 2010/05/28 16:27:04 nagler * Bivio::Biz::Model::CalendarEventForm added validation for time_zone_selector field * Bivio::Biz::Model::UserSettingsListForm added validation (delegation) method validate_time_zone_selector * Bivio::UI::XHTML::Widget::WikiText::Menu no longer defaults the class to bmenu, use TaskMenu's b_task_menu * Bivio::Util::Search acquire lock per $_X, not directly don't index default realms Revision 9.47 2010/05/27 16:07:30 dobbs * Bivio::UI::View::CSS made .b_hide more specific so DropDowns work inside .tools Revision 9.46 2010/05/26 23:26:47 dobbs * Bivio::Biz::Model::TimeZoneList add unsafe_enum_for_display_name, reorg to make use of _get_enum_from_model * Bivio::UI::HTML::Widget::Script cancelBubble is a microsoft model property. For w3c compliant browsers we need to use stopPropagation() * Bivio::UI::View::CSS fix new TaskMenu and DropDown styles for IE6 remove unnecessary styling on .b_dd_link links styles in .b_dd_menu now override links styles from table.dock * Bivio::UI::XHTML::Widget::WikiText::Menu the class in @b-menu.someclass is now correctly handed off to TaskMenu() Revision 9.45 2010/05/21 21:14:48 dobbs * Bivio::UI::View::CSS * Bivio::UI::XHTML::Widget::SiteAdminDropDown revert SiteAdminDropDown and fix CSS instead Revision 9.44 2010/05/21 19:40:02 nagler * Bivio::Biz::Model::RealmUserAddForm check IS_AUDIT_ENABLED * Bivio::Util::RealmUser added IS_AUDIT_ENABLED Revision 9.43 2010/05/20 22:45:56 dobbs * Bivio::Test::HTMLParser::Forms HTMLParser now clears previous text on a form start tag * Bivio::UI::XHTML::Widget::SiteAdminDropDown changed from TaskMenu to simple OL Revision 9.42 2010/05/19 19:47:59 dobbs * Bivio::Biz::Model::RealmFile allow override_versioning flag in update_with_content() * Bivio::UI::View::CSS fix indention for unordered list items in slide notes sections merge blocks for .b_task_menu li * Bivio::UI::XHTML::Widget::TaskMenu now appends html class instead of overriding * Bivio::Util::HTTPStats import_tree without archiving old files * Bivio::Util::RealmFile added noarchive arg to import_tree(), added purge_archive() Revision 9.41 2010/05/18 22:21:49 dobbs * Bivio::UI::View::CSS fix dropdown border color fix .b_first margin and remove borders on tools in ?/mail-thread Revision 9.40 2010/05/18 21:38:18 dobbs * Bivio::UI::View::CSS reduce font-size for dock and some fixes for IE Revision 9.39 2010/05/17 22:28:42 dobbs * Bivio::Biz::Model::ECCreditCardPaymentForm execute_empty now only populates fields if user is logged in * Bivio::PetShop::View::CSS DropDown javascript move to , prefix b_ for css and facade * Bivio::Test::WikiText added wiki_create() and refactored b-menu units * Bivio::UI::FacadeBase DropDown javascript move to , prefix b_ for css and facade * Bivio::UI::HTML::Widget::Script DropDown javascript move to , prefix b_ for css and facade call window.onload just before * Bivio::UI::View::CSS first draft: TaskMenu changed to
  1. DropDown javascript move to , prefix b_ for css and facade fix interaction between new TaskMenu and wiki bmenus .selected => .b_selected * Bivio::UI::View::ThreePartPage dock_right now uses TaskMenu * Bivio::UI::XHTML::Widget::DropDown DropDown javascript move to , prefix b_ for css and facade * Bivio::UI::XHTML::Widget::RealmDropDown dock_right now uses TaskMenu DropDown javascript move to , prefix b_ for css and facade * Bivio::UI::XHTML::Widget::SiteAdminDropDown DropDown javascript move to , prefix b_ for css and facade * Bivio::UI::XHTML::Widget::TaskMenu use
    1. , not
      , and b_ class prefix put more dropdown inside an
    2. DropDown javascript move to , prefix b_ for css and facade * Bivio::UI::XHTML::Widget::WikiText::Menu fix interaction between new TaskMenu and wiki bmenus * Bivio::UI::XHTML::Widget::WikiText added alt tag to implict img tags Revision 9.38 2010/05/13 22:29:58 nagler * Bivio::Agent::Job::Request b_use Agent::Reply * Bivio::Agent::Request added facade_uri to format_uri so can switch facades easily * Bivio::Auth::Realm fmt * Bivio::Biz::Model::UserLoginForm if disable_assert_cookie set on request, then like on the form itself * Bivio::Test::Reload always delete the request ($req was not being set before) * Bivio::Test::Request don't introduce_values disable_assert_cookie put disable_assert_cookie on self b_use * Bivio::Type::UserAgent Added BROWSER_IPHONE & ->is_mobile_device fmt * Bivio::UI::CSS NEW * Bivio::UI::FacadeBase Define new CSS FacadeComponent added menu_want_sep/_clear encapsulate CSS('b_prose') define xhtml_logo_normal XLink * Bivio::UI::Facade default initialization for a component is empty * Bivio::UI::View::CSS use new CSS FacadeComponent use CSS menu_want_sep encapsulate CSS('b_prose') * Bivio::UI::Widget::Equals NEW * Bivio::UI::XHTML::Widget::TaskMenu define want_more_label fmt * Bivio::UI::XHTML::Widget::WikiText::Menu allow id= attribute * Bivio::UI::XHTML::Widget::WikiText Parse blank tag attributes correctly: @a href= foo allow "@tag attr=" that is, attr= ends the line * Bivio::Util::CSV added assertion to test if a file name is passed to parse/_records Revision 9.37 2010/05/10 15:34:40 moeller * Bivio::Biz::Action::ECCreditCardProcessor refactored, removed unimplemented check_transaction_batch() * Bivio::Biz::Action::ECPaymentProcessAll fixed unauth_iterate_start removed call to check_transaction_batch() - not implemented * Bivio::Biz::Action::ECSecureSourceProcessor rm pod, refactored - changed internal_get_additional_form_data() to return an array of key/value pairs * Bivio::Biz::Model::CalendarEventList seconds => minute * Bivio::Biz::Model::EmailForDomainList NEW * Bivio::Biz::Model::FileChangeForm Q#520: Can't rename suffix of file when upper case * Bivio::Biz::Model::TaskLogList added execute_unauth_iterate_start and execute_iterate_start * Bivio::Delegate::TaskId Use execute_*_iterate_start for TASK_LOG_CSV tasks, which now exits at a "reasonable" number (10K) * Bivio::Type::Email added replace_domain * Bivio::UI::View::Blog removed HIDE_IS_PUBLIC Made cols same as WIKI * Bivio::UI::View::Wiki removed HIDE_IS_PUBLIC * Bivio::UI::XHTML::ViewShortcuts vs_user_email_list: control on wf_list_link should check is_super_user * Bivio::Util::Email NEW * Bivio::Util::RealmFile added folder_sizes Revision 9.36 2010/04/29 16:48:19 nagler * Bivio::Cache need to create the directory first * Bivio::Test::Language::HTTP reworked verify_no_link to use patterns fix vc conflict * Bivio::UI::XHTML::ViewShortcuts use ADM_SUBSTITUTE_USER for super users in vs_user_email_list Revision 9.35 2010/04/29 00:00:51 nagler * Bivio::Auth::RealmType is_default_id should just use unsafe_from_int, because doesn't work with large realm_ids to use Type.Integer need to restrict test of is_default_id to numbers less than $_MIN, because large realm_ids may get into e+ digits * Bivio::Biz::Model::ForbiddenForm don't logout if substitute user * Bivio::Cache::RealmRole put in non-blocking locking on computation. If there's no cache, then internal_compute_no_cache will return undef (OK for SEOPrefix) and for RealmRole, it will go right to the db * Bivio::Cache put in non-blocking locking on computation. If there's no cache, then internal_compute_no_cache will return undef (OK for SEOPrefix) and for RealmRole, it will go right to the db Revision 9.34 2010/04/28 02:51:56 nagler * Bivio::Cache::RealmRole Added 'enable' configuration to allow apps to turn off caching. Important if RealmRole table is large Revision 9.33 2010/04/28 01:43:13 nagler * Bivio::Biz::Action::BoardRealmMail NEW * Bivio::Biz::Model::CRMForm added internal_send_to_board_maybe * Bivio::Biz::Model::MailForm added internal_send_to_board_maybe * Bivio::Delegate::TaskId added BOARD_REALM_MAIL_RECEIVE * Bivio::PetShop::Util::TestData need a commit_or_rollback at end of reset_seo_btest to force the cache to be updated * Bivio::Test::Language::HTTP enable verify_local_mail to test for 0 messages * Bivio::UI::FacadeBase added BOARD_REALM_MAIL_RECEIVE Revision 9.32 2010/04/27 23:57:48 nagler * Bivio::Cache::RealmFileBase NEW * Bivio::Cache::SEOPrefix move code up to RealmFileBase Revision 9.31 2010/04/27 22:05:44 moeller * Bivio::Agent::Request can't use $_F in format_email, because may not have a facade. Revision 9.30 2010/04/26 03:14:13 nagler * Bivio::Agent::Request fpc * Bivio::Util::HTTPLog don't close file handle if not open Revision 9.29 2010/04/25 22:54:06 nagler * Bivio::Agent::Request don't load UI.Facade until have to * Bivio::Cache don't load Biz.File until have to Revision 9.28 2010/04/25 17:48:22 nagler * Bivio::Agent::t::Mock::Facade::Mock fpc * Bivio::Biz::Model::RealmSettingList export get_file_path * Bivio::Biz::Model::SEOPrefixSettingList removed * Bivio::Cache::RealmRole pushed up code into Cache * Bivio::Cache::SEOPrefix NEW * Bivio::Cache support subclasses better * Bivio::PetShop::Util::SQL init_seo_btest => reset_seo_btest; Made reentrant * Bivio::PetShop::Util::TestData init_seo_btest => reset_seo_btest; Made reentrant * Bivio::UI::Task moved SEOPrefixSettingList => SEOPrefix Revision 9.27 2010/04/24 21:40:39 nagler * Bivio::Agent::Embed::Request added unsafe_get_current_root b_use * Bivio::Agent::HTTP::Dispatcher get_db_time is gone * Bivio::Agent::HTTP::Request start_time is in superclass * Bivio::Agent::Request Added perf_time_op, etc. to support generalized performance timing Added unsafe_get_current_root (for perf_time) process_cleanup always goes through the loop * Bivio::Agent::t::Mock::Facade::Mock need mock site_realm_id * Bivio::BConf added perf trace * Bivio::Biz::Action::LocalFilePlain get_db_time is gone * Bivio::Biz::Model::BlogList use get_excerpt_for_primary_id * Bivio::Biz::Model::MailThreadRootList use get_excerpt_for_primary_id * Bivio::Biz::PropertyModel fmt * Bivio::IO::ClassLoader added unsafe_required_class * Bivio::IO::File b_use * Bivio::Search::Xapian use perf_time_op * Bivio::SQL::Connection get_db_time was not recording all fetches and finishes Use perf_time_op * Bivio::SQL::ListSupport use perf_time_op b_use * Bivio::SQL::PropertySupport use perf_time_op b_use * Bivio::SQL::Support use perf_time_op b_use * Bivio::UI::Facade added unsafe_get_from_source * Bivio::UI::HTML::Widget::Link use ViewLanguageAUTOLOAD * Bivio::UI::HTML::Widget::Page show_time is replaced by req->perf_time_op use ViewLanguageAUTOLOAD Revision 9.26 2010/04/24 17:49:12 moeller * Bivio::Biz::Model::TaskLogList added execute_unauth_load_all to allow SITE_ADMIN_TASK_LOG_CSV to get all records instead of only the current page * Bivio::Delegate::TaskId changed *_TASK_LOG_CSV tasks to load all records instead of only the current page * Bivio::UI::HTML::Widget::MultiCheckHandler fixed render so it only happens once per page * Bivio::UI::XHTML::Widget::ComboBox avoid recalculating list items if already rendered Revision 9.25 2010/04/22 22:01:02 nagler * Bivio::Cache::RealmRole set $_FILE dynamically so don't bring in Biz.File (which has a required config param) * Bivio::Ext::DBI rmpod fpc Revision 9.24 2010/04/22 20:11:55 nagler * Bivio::Auth::Realm clear_model_cache is replaced by Cache.RealmOwner * Bivio::BConf added Cache map * Bivio::Biz::Action::JobBase factor out enqueue_task * Bivio::Biz::Model::RealmOwner clear_model_cache is replaced by PropertyModel->internal_data_modification * Bivio::Biz::Model::RealmRole clear_model_cache is replaced by PropertyModel->internal_data_modification * Bivio::Biz::PropertyModel added internal_data_modification and register_handler * Bivio/Cache NEW * Bivio::Cache NEW * Bivio::Delegate::SimpleAuthSupport use Cache.RealmRole * Bivio::SQL::PropertySupport $order_by not required for iterate_start, because can be faster for certain cases Eliminate circular import * Bivio::Test::Unit inline_* need to return IGNORE_RETURN * Bivio::Util::User catch and ignore uniqueness errors when merging user data Revision 9.23 2010/04/22 16:52:52 moeller * Bivio::Biz::ListModel don't put "list_model" on request if ephemeral * Bivio::Biz::Model::RealmSettingList set_ephemeral when checking for RealmFile * Bivio::Biz::Model::SEOPrefixSettingList set_ephemeral Revision 9.22 2010/04/22 00:13:29 nagler * Bivio::Biz::Model::RealmSettingList added unauth_* methods so can load more easily (without setting realm) * Bivio::Biz::Model::SEOPrefixSettingList NEW * Bivio::PetShop::Util::SQL added seo_btest support * Bivio::PetShop::Util::TestData added seo_btest support * Bivio::UI::Task added SEOPrefixSettingList support Revision 9.21 2010/04/20 20:17:07 moeller * Bivio::Biz::Action::ECPaymentProcessAll rm pod, put payment model on request during iterate * Bivio::Type::CountryCode added montenegro and serbia Revision 9.20 2010/04/18 20:05:33 nagler * Bivio::Biz::Action::DevRestart NEW * Bivio::Biz::Model::GroupUserForm only delete "everybody" roles in change_main_role * Bivio::Biz::Model::SiteAdminSubstituteUserForm check for eq_administrator in all roles, not just main role * Bivio::Biz::Model cruft do_iterate calls put_on_request if the loop ends early * Bivio::Biz::PropertyModel iterate does not put_on_request b_use * Bivio::Delegate::SimpleAuthSupport set_ephemeral on do_iterate to avoid put_on_request() don't query on realm roles which have already been cached * Bivio::Delegate::SimpleTaskId modularized merge_task_info better _sort() was not returning correct value when $b was base b_use * Bivio::Delegate::TaskId added info_dev component, DEV_RESTART * Bivio::PetShop::Util::SQL use change_main_role in _init_site_admin * Bivio::SQL::PropertySupport delete_all supports generalized queries delete_all uses _prepare_where factor out _prepare_where from _prepare_select put in an assertion on the query on delete_all * Bivio::Test::Language::HTTP doc * Bivio::Type::ArrayBase sort unique needs to use to_literal, from_literal before doing keys * Bivio::Type::Enum compare works if only passed one parameter, it uses $self as the $left * Bivio::UI::FacadeBase added _cfg_dev b_use * Bivio::UNIVERSAL cache request keys by package name cache as_classloader_map_name, not _REQ_KEY_CACHE $self => $proto in a couple of places * Bivio::Util::HTTPD added restart function Revision 9.19 2010/04/14 15:27:34 moeller * Bivio::Biz::t::ExpandableListFormModel::T1ListForm added CLASSLOADER_MAP_NAME * Bivio::Test::HTMLParser::Cleaner removed 015 line * Bivio::UI::HTML::Widget::SourceCode unsafe_map_require dies on syntax error so must execute in eval * Bivio::UNIVERSAL as_classloader_map_name returns package_name if map_name is empty * Bivio::Util::SiteForum fpc Revision 9.18 2010/04/13 00:22:58 nagler * Bivio::PetShop::Util::SQL create ROOT user always init root * Bivio::Util::SiteForum moved site_admin_forum_users2 to SiteForum Call at initialization * Bivio::Util::SQL moved site_admin_forum_users2 to SiteForum Call at initialization don't init site_admin_forum_users2 if not v10 Revision 9.17 2010/04/12 21:28:49 nagler * Bivio::Biz::Model::RealmUserAddForm don't delete userse before adding * Bivio::Type::ArrayBase exclude algorithm would explode memory Revision 9.16 2010/04/12 02:46:06 nagler * Bivio::Biz::Model::RealmUserAddForm normalize some code * Bivio::Biz::Model Let UNIVERSAL create CLASSLOADER_MAP_NAME * Bivio::Biz::PropertyModel added rows_exists * Bivio::PetShop::View::CSS leave logo for /src * Bivio::UI::XHTML::ViewShortcuts need to specify realm on vs_user_email_list wf_list_link * Bivio::Util::SQL files/*/ddl is now checked for existence in create_test_db upgrades site_admin_forum_users2 added, site_admin_forum_users deleted fpc Revision 9.15 2010/04/10 00:38:44 nagler * Bivio::IO::ClassLoader added all_map_names & unsafe_map_for_package * Bivio::PetShop::Delegate::TaskId SOURCE is now a method view * Bivio::PetShop::Facade::PetShop SOURCE takes path_info * Bivio::PetShop::View::Base added TaskInfo to footer_left * Bivio::PetShop::View::CSS support for SOURCE * Bivio::PetShop::View::Source NEW * Bivio::UI::FacadeComponent fmt * Bivio::UI::HTML::Widget::SourceCode do a better job of mapping classes fpc * Bivio::UI::HTML::Widget::TaskInfo escape html * Bivio::UNIVERSAL load IO.ClassLoader with Bivio::IO::ClassLoader to allow app overrides added CLASSLOADER_MAP_NAME which uses unsafe_map_for_package Revision 9.14 2010/04/09 23:07:00 moeller * Bivio::Biz::Model::MailReceiveDispatchForm modernize config registration * Bivio::Biz::Model::RealmFeatureForm internal_use_general_realm_for_site_admin only use general on is_create * Bivio::Delegate::Cookie call b_die * Bivio::Test::HTMLParser::Cleaner " should not be escaped at $html level need to decouple unescape_text from text (full clean) * Bivio::Test::HTMLParser::Forms unescape_text explicitly * Bivio::Test::HTMLParser::Tables unescape_text explicitly * Bivio::Test::HTMLParser rmpod added unescape_text (really should be in cleaner, but in a hurry) fpc Revision 9.13 2010/04/08 21:42:15 moeller * Bivio::Util::Release call Makefile.PL with --skipdeps so it doesn't go out to CPAN Revision 9.12 2010/04/08 20:56:23 moeller * Bivio::Biz::Action::UserLogout rmpod oc clean * Bivio::Biz::Model::SiteAdminUserList removed * Bivio::Biz::Model::UserCreateForm join_site_admin_realm not necessary, use v10 * Bivio::Delegate::TaskId v10: SITE_ADMIN_SUBSTITUTE_USER_DONE returns to GROUP_USER_LIST * Bivio::PetShop::BConf join_site_admin_realm not necessary, use v10 * Bivio::UI::FacadeBase SiteAdminUserList gone v10: xlink_all_users goest to GROUP_USER_LIST and SITE_ADMIN_REALM_NAME * Bivio::UI::View::SiteAdmin use AdmUserList not SiteAdminUserList * Bivio::Util::Release allow building modules without a Makefile.PL, but with Build.PL instead * Bivio::Util::SQL use AdmUserList not SiteAdminUserList Revision 9.11 2010/04/07 21:55:43 nagler * Bivio::Biz::Model::GroupUserList v10: use SiteAdminSubstituteUserForm for can_substitute_user * Bivio::Biz::Model::RealmUserAddForm delete prior user records if any * Bivio::Biz::Model::SiteAdminSubstituteUserForm can su from any realm, just make sure user is an admin of that realm * Bivio::Biz::Model::TimeZoneList need to pass req to get_value * Bivio::Biz::Model::UserRegisterForm create_unapproved_applicant already deletes user records so don't need to do it here Revision 9.10 2010/04/07 20:32:40 nagler * Bivio::Biz::Model::AdmSuperUserList NEW * Bivio::Biz::Model::RealmDropDownList provide REQUIRED_ROLE_GROUP to qualify role to all_guests * Bivio::Biz::Model::SiteAdminSubstituteUserForm don't allow users not in the site-admin realm to be su'd to * Bivio::Biz::Model::SiteAdminSuperUserList removed * Bivio::Biz::Model::UserBaseDAVList fmt * Bivio::Biz::Model::UserForumDAVList include site-admin * Bivio::Biz::Model::UserForumList provide REQUIRED_ROLE_GROUP to qualify role to all_guests * Bivio::Delegate::Role added all_guests * Bivio::Delegate::TaskId require_secure for GROUP_USER_LIST * Bivio::PetShop::BConf v10 * Bivio::UI::FacadeBase v10: xl_linkall_users uses GROUP_USER_LIST, not SITE_ADMIN_USER_LIST * Bivio::UI::Widget::SiteAdminControl v10: use GROUP_USER_LIST, not SITE_ADMIN_USER_LIST * Bivio::UI::XHTML::ViewShortcuts v10: use SITE_ADMIN_SUBSTITUTE_USER (was formerly v5, but never really worked at that level) instead of ADM_SUBSTITUTE_USER * Bivio::UI::XHTML::Widget::RealmDropDown use REQUIRED_ROLE_GROUP in UserFormList to qualify at all_guests Revision 9.9 2010/04/07 17:48:46 moeller * Bivio::Biz::Model::Email moved execute_load_home() to super class * Bivio::Biz::Model::LocationBase added execute_load_home() * Bivio::Biz::Model::UserRegisterForm need to iterate over roles to delete them. make auth iterate, not unauth_iterate_start * Bivio::UI::FacadeBase added label for SiteAdminUserList.RealmOwner.diplay_name * Bivio::Util::User added merge_users() Revision 9.8 2010/04/06 00:35:50 nagler * Bivio::Biz::Model::AdmSubstituteUserForm added can_substitute_user substitute_user now takes a Form instance so can overrided default substitute_user * Bivio::Biz::Model::AdmUserList added can_substitute_user * Bivio::Biz::Model::GroupUserList added can_substitute_user * Bivio::Biz::Model::SiteAdminSubstituteUserForm can_substitute_user now effective * Bivio::Biz::Model::SiteAdminSuperUserList NEW * Bivio::Biz::Model::SiteAdminUserList added SUBSTITUTE_USER_FORM * Bivio::Biz::Model::UserCreateForm added join_site_admin_realm configuration param call join_site_admin_realm if join_site_admin_realm is true join_site_admin_realm: don't add the user if can't load the realm (for db init) * Bivio::Biz::Model::UserLoginForm call can_substitute_user on the form passed in * Bivio::Biz::Model::UserRegisterForm delete RealmUser record if_unapproved_applicant_mode before GroupUserForm add * Bivio::Delegate::TaskId SITE_ADMIN_SUBSTITUTE_USER works for anybody with ADMIN_WRITE privileges, but can_substitute_user limits to ADMINISTRATOR * Bivio::PetShop::BConf added join_site_admin_realm * Bivio::PetShop::Util::SQL added SITE_ACCOUNTANT Create site_adm with account * Bivio::Type::ArrayBase sort_unique uses compare() * Bivio::Type::PrimaryIdArray NEW * Bivio::UI::XHTML::ViewShortcuts added can_substitute_user for list * Bivio::Util::RealmMail added anonymize_emails limit length of email Revision 9.7 2010/04/04 21:25:08 nagler * Bivio::Biz::Action::RealmFile access_is_public_only accepts realm_file, not realm, and creates realm instead of doing with_realm * Bivio::Biz::ListModel set_cursor for calls to internal_post_load_row * Bivio::Biz::Model::RealmOwner call clear_model_cache on any update * Bivio::Biz::Model::RealmRole call clear_model_cache on changes * Bivio::Delegate::NoDbAuthSupport rmpod added clear_model_cache * Bivio::Delegate::SimpleAuthSupport added clear_model_cache * Bivio::Search::Xapian don't call add_value with undef * Bivio::UI::XHTML::Widget::SearchForm default show_b_realm_only to is_group Revision 9.6 2010/04/03 17:26:35 nagler * Bivio::Auth::Realm caceh RealmOwner added clear_model_cache * Bivio::Biz::Model::RealmOwner added clear_model_cache * Bivio::Type::BlogFileName from_sql_column needs to check from_absolute * Bivio::Type::DocletFileName don't subclass FileName, because Doclets can have slashes in them * Bivio::Type::WikiName allow slashes in the names * Bivio::UI::XHTML::Widget::WikiText names can have slashes and from_absolute can't always be called on paths, because may be blogs Revision 9.5 2010/03/31 23:15:01 nagler * Bivio::UI::View::Mail added extra_tools to internal_standard_tools Revision 9.4 2010/03/31 16:53:47 nagler * Bivio::BConf test of http_port being odd * Bivio::Biz::Model::SearchList added display of RealmOwner.display name with a link (result_realm_uri) and show_byline * Bivio::Test::HTMLParser::Forms fixed comment to match code * Bivio::UI::View::CSS more margin in search results byline * Bivio::UI::View::Search added display of RealmOwner.display name with a link (result_realm_uri) and show_byline * Bivio::UI::XHTML::Widget::ClearOnFocus cannot use SCRIPT. Use Tag({tag=>'script'...}) instead * Bivio::UI::XHTML::Widget::SearchForm control broken Revision 9.3 2010/03/17 22:33:49 nagler * Bivio::Biz::Action::AdminRealmMail misspelt EMAIL_LIST * Bivio::Biz::Model::SearchForm CLEAR_ON_FOCUS_HINT management is handled by ClearOnFocus widget in JavaScript * Bivio::Biz::Model::SearchList SearchForm is now subclass of ListQueryForm so could rip out parse_query_from_request. Added b_realm_only which allows you to constrain search to current realm * Bivio::Delegate::TaskId added GROUP_SEARCH_LIST to support b_realm_only * Bivio::Test::Language::HTTP verify that get exactly the number of messages verify_local_mail won't keep trying if $expect_count not supplied * Bivio::UI::FacadeBase added GROUP_SEARCH_LIST to support b_realm_only * Bivio::UI::View::CSS support b_realm_only checkbox * Bivio::UI::XHTML::Widget::ClearOnFocus Initialize the hint in the javascript * Bivio::UI::XHTML::Widget::SearchForm added b_realm_only checkbox Revision 9.2 2010/03/16 17:32:00 nagler * Bivio::Biz::Model::CRMThread revert to 1.20. Can't put link in "pre_create_file", because may be going out to user. Revision 9.1 2010/03/15 17:26:46 moeller * Bivio::Biz::FormModel don't put errors on file fields if stay_on_page Revision 9.0 2010/03/15 03:29:54 nagler Switch to 9.0 Revision 8.95 2010/03/15 03:29:14 nagler * Bivio::Biz::FormModel form_errors were not being printed unless there was a form_error_task Revision 8.94 2010/03/12 04:19:39 nagler * Bivio::Agent::Request added seo_uri_prefix to FORMAT_URI_PARAMETERS * Bivio::Agent::Task added unauth_execute * Bivio::Biz::Action::AdminRealmMail added format_email_for_auth_realm * Bivio::Biz::ListModel find_row_by accepts a hash for (field, value) tuples to match * Bivio::Biz::Model::RealmUserList order by RealmOwner.dispaly_name first * Bivio::Biz::Model::SearchList factored out format_uri_params_with_row * Bivio::PetShop::Util::SQL top_level_forum was not setting admin correctly * Bivio::UI::Task added seo_uri_prefix removed comments in parse_uri, because too complicated to be cluttered by comments * Bivio::Util::SiteForum added internal_post_site_create() create site-reports before site-admin * Bivio::Util::TaskLog b_use FacadeComponent.Task Revision 8.93 2010/03/10 22:57:16 moeller * Bivio::Util::SiteForum get SITE_REALM from the default facade SITE_REALM_NAME Revision 8.92 2010/03/10 01:43:16 moeller * Bivio::Util::Forum added delete_forum Revision 8.91 2010/03/08 22:52:41 moeller * Bivio::Auth::Role cache get_category_role_group * Bivio::Biz::Action::AdminRealmMail NEW * Bivio::Biz::Action::RealmMail refactoring to support AdminRealmMail * Bivio::Biz::Model::RoleBaseList don't warn on too many/no roles * Bivio::Delegate::TaskId added ADMIN_REALM_MAIL tasks * Bivio::UI::FacadeBase fix sort_third and added through ninth fpc added ADMIN_REALM_MAIL tasks * Bivio::Util::RealmFile use is_version Revision 8.90 2010/03/05 21:16:29 moeller * Bivio::Auth::Role added in_category_role_group * Bivio::Biz::Model::CRMActionList use GroupUserList, not RealmEmailList * Bivio::Biz::Model::CRMThread include link to CRM ticket at top of all tickets * Bivio::Biz::Model::ForumTreeList use all_members for where * Bivio::Biz::Model::ForumUserEditDAVList use GroupUserForm * Bivio::Biz::Model::GroupUserForm member and administrator roles are mutually exclusive security handled with role groups (can't upgrade a user to all_admins role if not a member of all_admins) * Bivio::Biz::Model::RealmMemberList use category_role_group * Bivio::Biz::Model::RealmUserAddForm member and administrator roles are mutually exclusive * Bivio::Biz::Model::RoleBaseList used category role groups for determining main role * Bivio::Biz::Model::UserSubscriptionList use category_role_group * Bivio::Biz::PropertyModel added unauth_rows_exist * Bivio::Delegate::Role all_users includes USER role * Bivio::PetShop::BConf member and administrator roles are mutually exclusive * Bivio::Test::Case added error_note * Bivio::Test::FormModel actual_return on Request went away Call error_note with get_errors on form * Bivio::Type::ArrayBase NEW * Bivio::Type::Array deprecated * Bivio::Type::Date from_unix calls SUPER::from_unix and then from_datetime * Bivio::Type::DateTime now() needs to call __PACKAGE__->from_unix, not $proto->from_unix * Bivio::Type::StringArray moved up code to ArrayBase * Bivio::Type::Time from_unix calls SUPER::from_unix and then from_datetime * Bivio::UI::Facade remove unknown facade uri error * Bivio::Util::Forum added tree_paths * Bivio::Util::RealmFile added noarchive flag * Bivio::Util::RealmUser assert too many main roles _assert_map must return $map * Bivio::Util::SiteForum init_files only if test don't call ADM directly in init_files use set_user_to_any_online_admin * Bivio::Util::SQL db_upgrade drop_member_if_administrator Revision 8.89 2010/02/24 14:50:18 nagler * Bivio::Agent::TaskEvent catch case of carry_path_info/query and path_info/query being set in return result * Bivio::Biz::FormModel carry_query not being checked in return of {carry_query => 1}; delete carry_query once carried. TaskEvent now assserts * Bivio::Util::SQL added xapian_exec_realm2 upgrade to switch realm type to user from club Revision 8.88 2010/02/23 23:30:03 moeller * Bivio::Biz::FormModel fixed carry_query nesting Revision 8.87 2010/02/23 21:29:20 moeller * Bivio::Biz::FormModel Fixed ack being carried from execute_ok with a non-empty and non-hash return Revision 8.86 2010/02/23 00:21:30 nagler * Bivio::UI::FacadeBase calendar support * Bivio::UI::View::Calendar dynamically calculate height of create link in month view * Bivio::UI::View::CSS calendar has to be fixed with so renders on IE* * Bivio::Util::SiteForum don't create site-help if exists already (some apps use 'site' as help realm) Revision 8.85 2010/02/22 04:31:41 nagler * Bivio::Biz::Model::Lock allow passing in realm_id into acquire * Bivio::Biz::Model::RealmMail b_use * Bivio::Biz::Model::RealmUserAddForm audit user after adding * Bivio::Delegate::TaskId JOB_XAPIAN_COMMIT is now ANY_OWNER since adding xapian_exec * Bivio::Search::Xapian Q#461: lock is in own realm so we don't get terminate called after throwing an instance of 'Xapian::DatabaseModifiedError' * Bivio::Test::WikiText die_on_validate_error by default * Bivio::UI::FacadeBase added ThreePartPage_want_dock_left_standard fix up mail css * Bivio::UI::View::CSS search_results => b_search_results fix up mail css * Bivio::UI::View::Mail date can't be in a SPAN * Bivio::UI::View::ThreePartPage added ThreePartPage_want_dock_left_standard * Bivio::UI::XHTML::Widget::RealmDropDown cache realm_types and choices * Bivio::UI::XHTML::Widget::WikiText::Email NEW * Bivio::Util::RealmFile import_tree: if file is a mail file, use RealmMail to create * Bivio::Util::RealmMail b_use * Bivio::Util::SQL initialize_xapian_exec_realm and upgrade Revision 8.84 2010/02/21 17:38:48 nagler * Bivio::Biz::Model::AuthUserRealmList split can_user_execute_task to can_user_execute_task_in_any_realm and can_user_execute_task_in_this_realm. Was not handling arguments properly before * Bivio::Biz::Model::CalendarEventForm dco * Bivio::Biz::Model::CalendarEventList added show_create_on_month_view can_user_* tasks were flakey * Bivio::Biz::Model::CalendarEventWeekList add is_today_* * Bivio::PetShop::Util::TestData added calendar_btest_read_only * Bivio::UI::FacadeBase calendar highlight today * Bivio::UI::View::Calendar allow create for users highlight today today highlight is at cell level to allow alternative styling * Bivio::UI::View::CSS highlight today Revision 8.83 2010/02/21 02:27:38 nagler * README Added BOOKKEEPING section * MANIFEST.html NEW Revision 8.82 2010/02/20 22:48:18 nagler * Bivio::Biz::Model::CalendarEventForm added create_date in query * Bivio::Biz::Model::CalendarEventWeekList added create_date * Bivio::Biz::Model::FileChangeForm don't set is_text_content_type if length greater than TextArea can hold * Bivio::Biz::Model::FilterQueryForm added default_date_filter & ability to default field * Bivio::Biz::Model::RoleBaseList Allow larger lists * Bivio::Biz::Model::TaskLogList Added TaskLog.client_address TaskLog.client_address takes precence set default_date_filter to WEEK * Bivio::Biz::Model::TaskLog Added TaskLog.client_address * Bivio::Biz::Model::UnauthCalendarEventList is_copy => b_is_copy * Bivio::PetShop::Facade::Other test initialize Other * Bivio::SQL::DDL Added TaskLog.client_address added indexes for uri and client_address to task_log * Bivio::Type::DateInterval rmpod rmpod * Bivio::Type::Date accept European date format Use $proto and internal_join/split support d.m.yyyy format * Bivio::Type::DateTime _join() & _split() => internal_join/split Put in $proto-> most places * Bivio::UI::FacadeBase support for Add Event on month view of calendar Added TaskLog.client_address added desc to start/end_date * Bivio::UI::FacadeComponent added handle_init_from_prior_group to allow group aliases dynamically initialized values are initialized twice * Bivio::UI::Facade added init_from_prior_group to allow group aliases * Bivio::UI::HTML::Widget::DateYearHandler rmpod Handle '.' as a separator New formats: 0202 => 02/02/; 020205 => 02/02/2005; 6/7/8 => 6/7/2008 Handle century transitions properly * Bivio::UI::HTML::Widget::JavaScript cruft * Bivio::UI::Text don't do the initialization here * Bivio::UI::View::Calendar added link to create an event on a particular day in the month view * Bivio::UI::View::CSS support for Add Event on month view of calendar need :link to ensure b_day_of_month_create visible typo * Bivio::UI::View::TaskLog Added TaskLog.client_address * Bivio::UI::XHTML::ViewShortcuts vs_filter_query_form uses vs_selector_form modularize vs_field_description and put in a DIV, not BR() fpc * Bivio::Util::SQL Added TaskLog.client_address added indexes to task_log_client_address upgraded Revision 8.81 2010/02/18 00:41:05 nagler * Bivio::Delegate::SimpleAuthSupport fix caching once again * Bivio::Util::TaskLog trim $uri Revision 8.80 2010/02/17 23:49:03 nagler * Bivio::Agent::Request if the query is put with a string, parse it Revision 8.79 2010/02/17 18:41:16 nagler * Bivio::Delegate::SimpleAuthSupport all realms for user in a single query Revision 8.78 2010/02/17 01:59:49 nagler * Bivio::Agent::HTTP::Request call internal_call_handlers in server_redirect * Bivio::Agent::Request added internal_call_handlers to handle_server_redirect * Bivio::Agent::TaskEvent don't carry_* if there's nothing to carry * Bivio::Biz::Action::Acknowledgement Register for handle_server/client_redirect so ack carried properly * Bivio::Biz::ExpandableListFormModel don't rely on buttons passed to internal_pre_execute * Bivio::Biz::FormContext carry query properly in the event of context * Bivio::Biz::FormModel refactored execute_ok handling (both direct calls and http processing) internal_post_execute is called in all cases now deal with carrying query on Acknowledgements * Bivio::Biz::ListModel b_use and fmt * Bivio::Biz::Model::CalendarEventForm used 'acknowledgement' attribute on return to FormModel * Bivio::PetShop::View::Base dynamic dock * Bivio::UI::FacadeBase ack for USER_SETTINGS_FORM * Bivio::UI::HTML::ViewShortcuts removed vs_acknowledgement * Bivio::UI::View::ThreePartPage factor out vs_rss_task_in_head() * Bivio::UI::XHTML::ViewShortcuts added vs_rss_task_in_head to share with Page3 * Bivio::UI::XHTML::Widget::Acknowledgement use extract_and_delete_label Fix up calling structure for Widgets * Bivio::UI::XHTML::Widget::Pager fmt Revision 8.77 2010/02/15 22:37:05 moeller * Bivio::UI::HTML::Widget::Radio made XHTML conformant * Bivio::UI::HTML::Widget::ScriptOnly escape < and / per w3 validator * Bivio::UI::View::Wiki fixed script type set head title for help() for xhtml validator use vs_text_as_prose() for WikiValidator labels * Bivio::UI::XHTML::Widget::HelpWiki no spaces in javascript: href * Bivio::UI::XHTML::Widget::MainErrors::WikiValidator use vs_text_as_prose() for WikiValidator labels Revision 8.76 2010/02/08 01:17:20 nagler * Bivio::UI::FacadeBase old_password, new_password, confirm_new_password at outerlevel fpc Revision 8.75 2010/02/07 23:57:37 nagler * Bivio::Agent::Task accept an array for permissions_spec accept a hash for attributes * Bivio::Agent::t::Mock::TaskId accept an array for permissions_spec accept a hash for attributes * Bivio::Biz::Model::GroupUserForm roles_by_category could be undef so don't assume set * Bivio::Delegate::SimpleTaskId added _merge_modifiers which allows applications to modify an existing task's config instead of having to copy it. * Bivio::Delegate::TaskId fix permissions on BLOG (only need FEATURE_BLOG not alos ANYBODY(implied) * Bivio::PetShop::Delegate::TaskId use task modifiers * Bivio::UI::FacadeBase support for UserAuth * Bivio::UI::View::Base turn on first_focus using page3_body_first * Bivio::UI::View::CSS pass $source to internal_site_css * Bivio::UI::View::UserAuth move all text except unapproved_applicant_mail to Facade * Bivio::UI::ViewShortcuts vs_ui_wiki(); * Bivio::UI::XHTML::Widget::Page3 added page3_body_first Revision 8.74 2010/02/07 19:12:28 nagler * Bivio::Biz::Model::CalendarEventMonthList b_month is now correctly initialzied CalendarEventForm * Bivio::Biz::Model::RealmFileTreeList cleaned up permissions some formatting * Bivio::Delegate::TaskId added write_task to FORUM_FILE_TREE_LIST Revision 8.73 2010/02/07 00:56:53 nagler * Bivio::Biz::Model::CalendarEventDayList detail_uri not needed * Bivio::Biz::Model::CalendarEventForm return to the calendar page which has the date fo the first event * Bivio::Biz::Model::CalendarEventMonthForm encapsulate beginning_of_month in CalendarEventMonthDate * Bivio::Biz::Model::MonthList encapsulate beginning_of_month in CalendarEventMonthDate * Bivio::PetShop::Util::SQL init_calendar_btest removed "Created $user" * Bivio::PetShop::Util::TestData added init_calendar_btest and reset_calendar_btest * Bivio::Test::HTMLParser::Links don't record link if there's an onclick and href=# * Bivio::Test::Language::HTTP added date_time_now(), follow_menu_link() (name may change), and case_tag() * Bivio::Type::CalendarEventMonthDate NEW * Bivio::Type::DateTime TEST_NOW_QUERY_KEY added set_date_time now returns the now it sets * Bivio::UI::FacadeBase minor calendar support * Bivio::UI::HTML::Widget::JavaScript unique_html_id * Bivio::UI::View::Calendar When editing or in detail, go to the forum, not user realm * Bivio::UI::XHTML::ViewShortcuts id's are generated dynamically by JavaScript * Bivio::UI::XHTML::Widget::ComboBox id's are generated dynamically by JavaScript * Bivio::UI::XHTML::Widget::DropDown id's are generated dynamically by JavaScript * Bivio::UI::XHTML::Widget::RealmDropDown id's are generated dynamically by JavaScript * Bivio::UI::XHTML::Widget::SiteAdminDropDown id's are generated dynamically by JavaScript * Bivio::UI::XHTML::Widget::TaskMenu id's are generated dynamically by JavaScript * Bivio::Util::HTTPStats backticks to piped_exec * Bivio::Util::Release remove reference to customer * Bivio::Util::SQL init_realm_role_with_config accepts a string also Revision 8.72 2010/02/03 23:24:57 nagler * Bivio::UI::View::CSS changed dd_menu top to 3ex for MSIE Revision 8.71 2010/02/03 17:44:24 nagler * Bivio::UI::Font use ->req, not in FacadeComponent.Font->format_html * Bivio::UI::HTML::Widget::FormButton use ->req, not in FacadeComponent.Font->format_html * Bivio::Util::SiteForum init_forum Revision 8.70 2010/01/29 18:35:12 nagler * Bivio::Biz::Model::RealmRole always initialize default permission map * Bivio::Biz::Util::RealmRole initialize_permissions called always on edit() category_role_group * Bivio::Util::HTTPLog only check for 0 length error file on production Revision 8.69 2010/01/28 22:15:30 nagler * Bivio::Biz::ListModel _load_this() will continue if first_only and no this * Bivio::PetShop::Test::PetShop delete realms created in test (user delete not work yet) * Bivio::Test::Language::HTTP login is either Email or User * Bivio::Test::Language pass $die to handle_cleanup * Bivio::Util::RealmAdmin delete_auth_realm deprecate delete_user (delete_auth_user) & delete_with_users (delete_auth_realm_and_users) Revision 8.68 2010/01/28 17:47:44 nagler * Bivio::Biz::Model::ForumForm internal_post_realm_create * Bivio::Delegate::TaskId event_list_ics works for ANY_OWNER * Bivio::Type::TimeZone default is configured * Bivio::Util::SQL print run_date_time of upgrade_db which already ran Revision 8.67 2010/01/27 20:04:35 nagler * Bivio::PetShop::Facade::PetShop fixed subtle bug in FacadeComponent.Text * Bivio::UI::FacadeBase fixed subtle bug in FacadeComponent.Text * Bivio::UI::Text fixed subtle bug in FacadeComponent.Text Revision 8.66 2010/01/27 06:21:19 nagler * Bivio::Biz::FormModel minor error msg fmt * Bivio::Biz::Model::RealmFeatureForm feature_file is implicit * Bivio::Parameters added ability for defaulting repeating parameter with an array * Bivio::PetShop::Util::SQL fourem-sub2 is now mail_want_reply_to => 0 * Bivio::UI::FacadeBase task_menu sorting support Calendar.want_b_time_zone * Bivio::UI::HTML::Widget::DateTime b_use UI not FacadeComponent * Bivio::UI::View::Calendar don't display b_time_zone if want_b_time_zone is false * Bivio::UI::XHTML::Widget::FeatureTaskMenu test want_sorting * Bivio::UI::XHTML::Widget::TaskMenu added want_sorting and show_current_task * Bivio::Util::HTTPLog die if error_file is an empty file * Bivio::Util::RowTag list: return a hash instead of formatting * Bivio::Util::SiteForum init_realms, init_files, and realm_names deprecated. Use forum_config and init_forums fpc fpc fpc fpc revert init_forums, init_realms, init_files and forum_config * Bivio::t::Parameters::T1 added ability for defaulting repeating parameter with an array Revision 8.65 2010/01/25 03:28:41 nagler * Bivio::Agent::Request removed incorrect internal_get_realm_for_task optimization realm_cache => cache_for_auth_realm Added cache_for_auth_user fixed internal_get_realm_for_task for odd case * Bivio::Biz::ListFormModel internal_put_field handles multiple values * Bivio::Biz::Model::AuthUserGroupList UserSubscriptionList now subclasses AuthUserGroupList; subscribed? now means can user execute FORUM_MAIL_THREAD_ROOT_LIST? * Bivio::Biz::Model::AuthUserGroupSelectList need to eval the select as prose * Bivio::Biz::Model::AuthUserRealmList added can_user_execute_task * Bivio::Biz::Model::CalendarEventDayList NEW * Bivio::Biz::Model::CalendarEventDeleteForm loaded RealmOwner.display_name as well * Bivio::Biz::Model::CalendarEventForm load_all_for_task defaults date moved time_zone_selector code to TimeZoneList * Bivio::Biz::Model::CalendarEventList added can_user_edit_any_realm cleaner time_zone support * Bivio::Biz::Model::CalendarEventMonthForm NEW * Bivio::Biz::Model::CalendarEventMonthList Categorizes into weeks Brackets dates around weeks Added is_list_view, this_month put b_month on the query time_zone support * Bivio::Biz::Model::CalendarEventWeekList NEW * Bivio::Biz::Model::Forum rm# * Bivio::Biz::Model::ForumForm allow internal_admin_user_id to be passed and overridden * Bivio::Biz::Model::ListQueryForm allow overrides in internal_query_fields print error when no order_by_names * Bivio::Biz::Model::MonthList look up names in facade allow caller to set date added this_month as first item * Bivio::Biz::Model::QuerySearchBaseForm removed internal_pre_execute Added defaulting of values in execute_ok * Bivio::Biz::Model::RealmFeatureForm Use Type.row_tag_replace/get and check ROW_TAG_KEY * Bivio::Biz::Model::RealmUserAddForm $admin_user_id could be an array_ref (allows [] for none) * Bivio::Biz::Model::RowTag Default primary_id if undef * Bivio::Biz::Model::SearchList cruft * Bivio::Biz::Model::SelectMonthForm removed * Bivio::Biz::Model::TimeZoneList added enum_for_display_name & display_name_for_enum * Bivio::Biz::Model::UserSettingsListForm added time_zone * Bivio::Biz::Model::UserSubscriptionList UserSubscriptionList now subclasses AuthUserGroupList; subscribed? now means can user execute FORUM_MAIL_THREAD_ROOT_LIST? load_all was getting in deep recursion b/c looped back * Bivio::Biz::Model allow passing in overrides in field_decl * Bivio::ClassWrapper::TupleTag realm_cache => cache_for_auth_realm * Bivio::Collection::Attributes added get_and_delete * Bivio::Delegate::SimpleWidgetFactory added DateTimeWithTimeZone added support for TimeZoneSelector * Bivio::Delegate::TaskId reorganized calendar tasks. list/month views the same * Bivio::IO::Alert show both datetime and to_string versions in formatting * Bivio::Parameters do not return [undef] for optional repeatable parametres * Bivio::ShellUtil don't set the facade in initialize_ui if already set * Bivio::Type::Date b_use * Bivio::Type::DateTime refactored so _split() and _join() are used to split/join date/time parts added set_beginning/end_of_day added set_beginning/end_of_week & do_iterate bug in error message * Bivio::Type::DateTimeWithTimeZone NEW * Bivio::Type::MailWantReplyTo removed row_tag_get/replace_value. Use Type->row_tag_* * Bivio::Type::RealmArg check email, too * Bivio::Type::TimeZone added ROW_TAG_KEY * Bivio::Type::TimeZoneSelector NEW * Bivio::Type cleaned up row_tag_* interface * Bivio::UI::FacadeBase dock left is now FeatureTaskMenu() reorganized calendar tasks added colors and fonts for calendar so can be overriden within facade fixed up Forum uses Added hooks in facade for calendar formatting time zone support in calendar * Bivio::UI::HTML::Widget::DateYearHandler onBlur => onblur * Bivio::UI::HTML::Widget::Script set autocomplete set on combobox * Bivio::UI::HTML::Widget::Select better error when no primary_keys * Bivio::UI::View::CSS added colors and fonts for calendar so can be overriden within facade support for vs_selector_form Added hooks in facade for calendar formatting * Bivio::UI::View::Calendar month and list views merged into one with a switch off CalendarEventMonthList Removed business logic for rendering in the views don't select anything in tools on month & list view added time zone support * Bivio::UI::View::UserAuth added time_zone * Bivio::UI::ViewLanguage added missing OUR($_TRACE); * Bivio::UI::XHTML::ViewShortcuts added vs_selector_form vs_selector_form is a POST, not GET vs_selector: wrap in b_item DIVs and class b_selector * Bivio::UI::XHTML::Widget::ComboBox AUTOCOMPLETE is not a valid attribute * Bivio::UI::XHTML::Widget::FeatureTaskMenu NEW * Bivio::UI::XHTML::Widget::RealmDropDown added internal_control_value for subclasses * Bivio::UI::XHTML::Widget::TaskMenu fmt * Bivio::Util::RealmAdmin added diff_users * Bivio::Util::RealmDAG NEW * Bivio::Util::SQL added mail_want_reply_to_default * Bivio::t::Parameters::T1 do not return [undef] for optional repeatable parametres Revision 8.64 2010/01/21 21:05:04 moeller * Bivio::Agent::Request can_user_execute_task accepts a Task as sell now * Bivio::Agent::t::Mock::Facade::Mock define Constant and Color * Bivio::Biz::FormModel Added get_default_value() which computes the value dynamically if a CODE internal_put_error/_and_detail accepts undef, which causes internal_clear_error * Bivio::Biz::ListModel unsafe_load_this does not die if no "this" on query * Bivio::Biz::Model::BlogList add get_rss_title * Bivio::Biz::Model::CalendarEventDAVList better modularization Introduced DateTime->ical * Bivio::Biz::Model::CalendarEventDeleteForm load the CalendarEvent from the request * Bivio::Biz::Model::CalendarEventForm Handles user vs group execution so that user sees aggregate of groups Added recurring events and copying Standards time_zone handling Added acknowledgements * Bivio::Biz::Model::CalendarEventList limit the query to AuthUserGroupList * Bivio::Biz::Model::CalendarEventMonthList date pushed up into CalendarEventList * Bivio::Biz::Model::CalendarEvent default values in create() properly moved update_from_ics from CalendarEventList * Bivio::Biz::Model::ForumTreeList removed internal_extend_where since internal_prepare_statement is sufficient * Bivio::Biz::Model::QuerySearchBaseForm call get_default_value b/c default_value could be dynamically computed * Bivio::Biz::Model::RealmDAG use maps to get packages indirectly * Bivio::Biz::Model::RealmUserAddForm require context * Bivio::Biz::Model::SelectMonthForm default_value dynamically computed * Bivio::Biz::PropertyModel Added assert_properties, load_from_properties, and get_qualified_field_name_list * Bivio::Collection::Attributes added unsafe_get_and_delete * Bivio::Delegate::SimpleAuthSupport cache permissions for realms and load permissions for entire realm at once added missing our($_TRACE) * Bivio::Delegate::SimpleTypeError removed INVALID_END_DATETIME * Bivio::Delegate::SimpleWidgetFactory added display support for HTTPURI (Link(String())) added internal_default_want_parens() * Bivio::Delegate::TaskId added FORUM_CALENDAR_EVENT_LIST and FORUM_CALENDAR_EVENT_LIST_ICS * Bivio::Parameters allow declarations with qualified type names (Auth.Role and Bivio::Auth::Role) * Bivio::PetShop::Facade::PetShop my_site_redirect_map needs to return array_ref from code_ref * Bivio::PetShop::Util::SQL no need for demo_calendar * Bivio::SQL::Support added extract_column_name * Bivio::Test::Case added tags * Bivio::Test::Unit added case_tag builtin_self returns $_SELF, not $_TYPE, because $_TYPE is not necessarily a subclass of Test.Unit (Test.Request only case at this time) * Bivio::Test added case_tag * Bivio::Type::DateTime added set_beginning_of_month b_use to_string accepts timezone name (probably should accept TimeZone object) * Bivio::Type::TimeZone added as_display_name * Bivio::Type added is_greater_than, is_greater_than_or_equals, is_less_than, is_less_than_or_equals * Bivio::UI::Constant subclass Text * Bivio::UI::FacadeBase reset_pre line-height: 100% (used to be 60%) cleaned up AtomFeed support Added more CalendarEvent support * Bivio::UI::Text Can be subclassed by other components which don't always bind to text * Bivio::UI::View::Calendar major revamp to support recurring events cleaned up formatting of event_detail link generation better * Bivio::UI::View::CSS added b_literal support for labels/fields on .simple layouts, not just "form" * Bivio::UI::View::GroupAdmin user_list() now accepts a list model name so applications can reuse this view with subclasses of GroupUserList * Bivio::UI::View::Mail always show links for attachments even if has CID * Bivio::UI::XHTML::ViewShortcuts downcase tag in view_autoload added vs_label_cell * Bivio::UI::XHTML::Widget::TaskMenu grep out task_id, don't assume it is first element in FORMAT_URI_PARAMETERS * Bivio::UI::XML::Widget::AtomFeed cleaned up structure to better support calendaring * Bivio::UI::XML::Widget::DateTime allow alternative renderings (to_ical) * Bivio::UI::XML::Widget::String allow undef values like HTMLWidget.String * Bivio::Util::SQL added user_feature_calendar bundle Revision 8.63 2009/12/30 22:39:19 moeller * Bivio::Biz::Model::GroupUserForm fixed old/new comparison * Bivio::Biz::Model::GroupUserQueryForm added internal_roles() for subclasses Revision 8.62 2009/12/29 23:46:45 moeller * Bivio::Biz::Model::GroupUserList can_show_row in user_list can't work * Bivio::Biz::Model::UserLoginForm print a warning if pass RealmOwner.password and not validated * Bivio::Delegate::SimpleWidgetFactory change order of overrides in wf_list_link * Bivio::Type::MailWantReplyTo not NullBoolean * Bivio::Type::RealmFeature not NullBoolean * Bivio::UI::View::GroupAdmin can_show_row in user_list can't work * Bivio::UI::XHTML::Widget::ComboBox default auto_submit => 0 * Bivio::UI::XHTML::Widget::ForumDropDown RealmDropDown now expects a list of realm_types in DEFAULT_REALM_TYPES DEFAULT_REALM_TYPE renamed to DEFAULT_REALM_TYPES * Bivio::UI::XHTML::Widget::RealmDropDown RealmDropDown now expects a list of realm_types in DEFAULT_REALM_TYPES DEFAULT_REALM_TYPE renamed to DEFAULT_REALM_TYPES Revision 8.61 2009/12/29 02:29:20 nagler * Bivio::Agent::Request added set_realm_unless_same * Bivio::Agent::Task sorted methods added get_attr_as_task * Bivio::Auth::Realm added equals_by_name_or_id * Bivio::Biz::Model::AdmRealmRoleList NEW * Bivio::Biz::Model::ForumForm moved internal_use_general_realm_for_site_admin up to RealmFeatureForm * Bivio::Biz::Model::GroupUserList added can_show_row and can_change_privileges default privs to get_short_desc * Bivio::Biz::Model::RealmFeatureForm added IMPLICIT_FEATURE_TYPE_MAP and force_default_values added ALL_FEATURES_WHICH_ARE_CATEGORIES * Bivio::Biz::Model::RealmFile make init_realm safe against reinit * Bivio::Biz::Util::RealmRole added is_category * Bivio::Delegate::Role cache MAP uncache map, becuse subclasses may modify * Bivio::Delegate::SimpleWidgetFactory added control to wf_list_link * Bivio::Die use fixup_perl_error to produce better error messages * Bivio::IO::Alert added fixup_perl_error to produce better syntax error messages * Bivio::PetShop::Model::AdmSubstituteUserForm NEW * Bivio::PetShop::View::UserAuth added adm_substitute_user to test ComboBox * Bivio::SQL::DDL added indexes on RowTag.value and TaskLog.date/super_user_id * Bivio::Test allow IGNORE_RETURN to work for compute_params so Unit.builtin_inline_case works * Bivio::Type::Array added to_hash * Bivio::UI::Facade added matches_uri_or_domain & find_by_uri_or_domain added matches_class_name * Bivio::UI::FacadeBase added is_special_realm_name * Bivio::UI::HTML::Widget::Script added escape_html & use in combobox * Bivio::UI::JavaScript::Widget::QuotedValue do the work in render * Bivio::UI::Mail::Widget::Mailbox added NEW_ARGS * Bivio::UI::View::GroupAdmin share better with _feature_form parameterize forum_form * Bivio::UI::ViewLanguage use ClassLoader->call_method so can have Map_Class() form * Bivio::UI::ViewShortcuts added vs_is_current_facade * Bivio::UI::Widget added is_initialized * Bivio::UI::XHTML::Widget::ComboBox refactored and allow list_display_field to be any value, not just a field * Bivio::UI::XHTML::Widget::RealmDropDown make _one_choice() support all realms with owners * Bivio::UI::XHTML::Widget::SiteAdminDropDown export the TASK_MENU_LIST to allow overrides * Bivio::UI::XHTML::Widget::TaskMenu fmt * Bivio::UI::XHTML::Widget::XLink fmt * Bivio::Util::SQL added index_20091227 use RealmFeatureForm.force_default_values to setup of club & forum Revision 8.60 2009/12/27 02:03:39 nagler * Bivio::Auth::Role introduced realm role categories * Bivio::BConf introduced realm role categories * Bivio::Biz::Action::RealmMail MailWantReplyTo change * Bivio::Biz::Action::WikiView added config option to create default start page * Bivio::Biz::FormModel added internal_post_parse_columns * Bivio::Biz::Model::EditDAVList added view_shortcuts to dav_reply_get * Bivio::Biz::Model::Forum removed is_public_email (Categories) and want_reply_to (now RowTag) * Bivio::Biz::Model::ForumEditDAVList removed is_public_email (Categories) and want_reply_to (now RowTag) * Bivio::Biz::Model::ForumForm UI now creates forums via RealmFeatureForm, feature_wiki is always on, feature_crm is always off share better with RealmFeatureForm fixed top_forum name change error return * Bivio::Biz::Model::ForumList removed is_public_email (Categories) and want_reply_to (now RowTag) * Bivio::Biz::Model::MailForm mail_want_reply_to * Bivio::Biz::Model::RealmFeatureForm UI now creates forums via RealmFeatureForm, feature_wiki is always on, feature_crm is always off generalized interface so can be subclassed easily execute_empty and execute_ok behave properly in all cases introduced row_tag_replace_value & row_tag_get_value APIs introduced as_realm_role_category * Bivio::Biz::Util::RealmRole Added category role groups and set arithmetic (*everybody-all_admins)_ * Bivio::Delegate::Role added role groups * Bivio::Delegate::RowTagKey added MAIL_WANT_REPLY_TO * Bivio::Delegate::SimpleRealmName unsafe_from_uri must test SPECIAL_PLACEHOLDER first b/c may be shorter than get_min_width * Bivio::Delegate::TaskId added FORUM_EDIT_FORM fixed REALM_FEATURE_FORM * Bivio::PetShop::Delegate::Role rmpod b_use * Bivio::PetShop::Test::PetShop create_crm/_forum implementation changed due to MAIL_WANT_REPLY_TO changes * Bivio::PetShop::Util::SQL mail_want_reply_to wiki_bunit => bunit_wiki * Bivio::SQL::DDL removed is_public_email (Categories) and want_reply_to (now RowTag) * Bivio::Test::WikiText bunit_wiki name change * Bivio::Type::Array added sort_unique and map_sort_map * Bivio::Type::ForumEmailMode removed * Bivio::Type::ForumName set get_min_width * Bivio::Type::MailSendAccess NEW * Bivio::Type::MailWantReplyTo NEW * Bivio::Type::RealmFeature NEW * Bivio::Type::String check get_min_width if non-zero * Bivio::Type::SyntacticString need to not call SUPER, because of get_min_width check * Bivio::Type::WantReplyTo removed * Bivio::Type::WikiName added DEFAULT_START_PAGE * Bivio::UI::FacadeBase UI now creates forums via RealmFeatureForm, feature_wiki is always on, feature_crm is always off fpc removed is_public_email (Categories) and want_reply_to (now RowTag) Added vs_ui_forum(); so all uses of Forum can be switched * Bivio::UI::HTML::Widget::Checkbox bumped Prose() on label down to v5 * Bivio::UI::View::GroupAdmin NEW * Bivio::UI::View::GroupUser removed * Bivio::UI::ViewShortcuts Added vs_ui_forum(); so all uses of Forum can be switched * Bivio::UI::XHTML::ViewShortcuts added vs_descriptive_field_no_label * Bivio::UI::XHTML::Widget::RealmDropDown drop down label is Prose() * Bivio::UI::XHTML::Widget::SiteAdminDropDown moved create_forum and configure_features out * Bivio::UI::XHTML::Widget::TaskMenu label is Prose * Bivio::UI::XHTML::Widget::WikiText::Menu is_inline_text * Bivio::UI::XML::Widget::Page text/xml * Bivio::Util::CRM mail_want_reply_to change * Bivio::Util::SQL mail_want_reply_to upgrade (drops Forum.is_public_email/want_reply_to) * Bivio::Util::SiteForum mail_want_reply_to change Revision 8.59 2009/12/23 17:12:59 moeller * Bivio::BConf expand to include more text on httplog * Bivio::Biz::Random validate length is an integer * Bivio::IO::ClassLoader call_autoload: improve error message * Bivio::Test::Language ignore wide-print warnings * Bivio::Test::Unit added builtin_clear_local_mail and builtin_verify_local_mail * Bivio::UI::FacadeBase simplify labels for realm features * Bivio::UI::View::CSS added .bold, .underline, .italic/s set position:relative for .selector added separate css for combobox dropdown menu * Bivio::UI::Widget improve error message * Bivio::UI::XHTML::Widget::ComboBox use cb_menu class instead of dd_menu * Bivio::UI::XHTML::Widget::WikiText added ability to chain classes, e.g. div.c1.c2 produces
      * Bivio::Util::HTTPLog trim pager emails and include more info substr right before sending the email Revision 8.58 2009/12/18 22:39:48 dobbs * Bivio::Biz::Model::RealmFeatureForm require context * Bivio::UI::FacadeBase change to Verdana as default font enable specialization of SiteAdminDropDown within standard dock_left * Bivio::UI::XHTML::Widget::TaskMenu renamed want_more_count to want_more_threshold for clarity Revision 8.57 2009/12/17 15:30:54 moeller * Bivio::UI::HTML::Widget::Table fixed even and odd rows so renders classes properly * Bivio::UI::View::CSS b_even/odd_row rename * Bivio::UI::View::Search search_results => b_search_results * Bivio::UI::XHTML::ViewShortcuts vs_table_attrs() shouldn't default even/odd classes, Table() does that * Bivio::UI::XHTML::Widget::TaskMenu want_more/_count should be dynamic refactored code into _want_more() to make more readable * Bivio::UI::XHTML::Widget::WikiText need to pass ViewShortcuts to render_html Revision 8.56 2009/12/16 18:46:12 dobbs * Bivio::UI::FacadeBase added control to configure_features xlink * Bivio::Util::HTTPLog added apache2 log location Revision 8.55 2009/12/15 23:20:03 dobbs * Bivio::UI::XHTML::Widget::SiteAdminDropDown renamed edit_features to configure_features * Bivio::UI::FacadeBase renamed edit_features to configure_features add email_mode to RealmFeatureForm * Bivio::Biz::Model::RealmFeatureForm * Bivio::UI::View::GroupUser add email_mode to RealmFeatureForm Revision 8.54 2009/12/14 18:23:03 dobbs * Bivio::Delegate::TaskId * Bivio::UI::FacadeBase * Bivio::UI::XHTML::Widget::SiteAdminDropDown added Create Forum and Edit Features to SiteAdminDropdown * Bivio::Mail::Outgoing allow missing To: Revision 8.53 2009/12/14 03:29:36 nagler * Bivio::IO::ClassLoader reduce tracing. showing cached values made tracing useless * Bivio::PetShop::View::Example added ProgressBar test * Bivio::UI::FacadeBase support progress bar and sorting * Bivio::UI::HTML::Widget::ClearDot xhtml * Bivio::UI::HTML::Widget::ControlBase ViewShortcuts * Bivio::UI::HTML::Widget::ProgressBar rmpod xhtml * Bivio::UI::HTML::Widget::Table added b_sort_arrow class * Bivio::UI::View::CSS support progress bar and sorting * Bivio::UI::ViewLanguage msg * Bivio::UI::ViewShortcutsBase rmpod fmt Revision 8.52 2009/12/13 19:24:05 nagler * Bivio::BConf No more facade children * Bivio::Delegate::SimpleFacadeChildType removed * Bivio::IO::Config No more facade children * Bivio::UI::Facade No more facade children * Bivio::UI::FacadeChildType removed * Bivio::UI::HTML::Widget::Table intialize all rows with classes * Bivio::UI::TableRowClass rmpod fmt Revision 8.51 2009/12/13 00:53:30 nagler * Bivio::IO::ClassLoader cruft * Bivio::ShellUtil don't check for Model.RealmFile unless imported already * Bivio::UI::FacadeComponent don't import Facade Revision 8.50 2009/12/12 21:55:56 nagler * Bivio::Agent::HTTP::Dispatcher call set_handlers, not push_handlers (doesn't work on Apache2) * Bivio::Biz::Model::RealmFeatureForm enable xhtml_dock_left_standard for non-fourm realms * Bivio::PetShop::Facade::BeforeOther NEW * Bivio::PetShop::Facade::Other test make_groups() and data sharing across calls * Bivio::PetShop::Facade::PetShop test make_groups() and data sharing across calls * Bivio::UI::Constant b_use * Bivio::UI::Facade make_groups was clobbering data b_use * Bivio::UI::FacadeBase enable xhtml_dock_left_standard for non-fourm realms * Bivio::UI::FacadeComponent copy config and clone data to avoid clobbering passed in values b_use * Bivio::UI::Font fmt * Bivio::UI::HTML b_use * Bivio::UI::Text b_use * Bivio::UI::XHTML::Widget::TaskMenu Added want_more and want_more_count. Menu items over the want_more_count (default=5) are rendered in the 'more' DropDown menu * Bivio::UNIVERSAL added is_subclass * Bivio::Util::HTTPLog rmpod include first part of hostname in Subject: Revision 8.49 2009/12/10 00:28:46 nagler * Bivio::Biz::Model added new_other_with_query & handle_call_autoload * Bivio::IO::ClassLoader IO.ClassLoader->call_autoload API change: allow $no_match to be a list of maps to search * Bivio::ShellUtil unauth_/model use IO.ClassLoader->call_autoload * Bivio::Test::Language moved AUTOLOAD to Test.LanguageWrapper * Bivio::Test::LanguageWrapper NEW * Bivio::Test::Unit unauth_/model use Biz.Model->new_other_with_query * Bivio::Type IO.ClassLoader->call_autoload API change * Bivio::Util::t::Shell::T1 IO.ClassLoader->call_autoload API change Revision 8.48 2009/12/08 21:22:09 aviggio * Bivio::Biz::Model::ForumForm revert $_MODELS to sub REALM_MODELS Revision 8.47 2009/12/08 18:18:29 nagler * Bivio::Agent::Task any_group => any_owner * Bivio::Auth::RealmType USER is part of ANY_GROUP b_use any_group => any_owner * Bivio::BConf added feature_file & feature_group_admin * Bivio::Biz::Model::ForumForm added task to edit realm features * Bivio::Biz::Model::RealmFeatureForm NEW * Bivio::Biz::Util::RealmRole added do_super_users() * Bivio::Delegate::RealmType any_group => any_owner * Bivio::Delegate::SimplePermission added FEATURE_GROUP_ADMIN * Bivio::Delegate::TaskId required FEATURE_GROUP_ADMIN for all group_admin tasks required FEATURE_SITE_ADMIN for SITE_ADMIN_SUBSTITUTE_USER_DONE added task to edit realm features any_group => any_owner * Bivio::PetShop::Test::PetShop test 100+ byte message ids * Bivio::PetShop::Util::SQL demo gets feature_file * Bivio::SQL::DDL message_id is 255 * Bivio::Type::MACAddress NEW * Bivio::Type::MessageId message_id is 255 * Bivio::UI::FacadeBase added task to edit realm features * Bivio::UI::Task any_group => any_owner * Bivio::UI::View::GroupUser added task to edit realm features * Bivio::Util::SQL internal_upgrade_db_feature_group_admin add_permissions_to_realm_type message_id_255 upgrade Revision 8.46 2009/12/07 04:08:06 nagler * Bivio::UI::FacadeBase added task_menu_selected * Bivio::UI::HTML::Widget::Script added b_element_by_class and b_has_class * Bivio::UI::View::CSS added dd_visible & dd_hidden * Bivio::UI::View::ThreePartPage copy body_class to xhtml_body_class * Bivio::UI::XHTML::Widget::DropDown use b_element_by_class() in javascript to find classes and toggle * Bivio::UI::XHTML::Widget::RealmDropDown added DIV_task_menu_wrapper temporarily so CSS.pm does the right thing Revision 8.45 2009/12/05 05:38:32 nagler * Bivio::Biz::FormModel make copy of form values * Bivio::Biz::Model::EditDAVList b_use and format * Bivio::Biz::Model::ForumEditDAVList b_use and format * Bivio::Biz::Model::ForumForm renamed features to categories to be consistent (they aren't just features) normalized the categories for email create: default values to parent realm's values or if general, standard defaults update: default values to prior settings * Bivio::Biz::Model::ForumList include all categories * Bivio::SQL::DDL name of constraint incorrect * Bivio::Type::ForumEmailMode fmt * Bivio::Type::NullBoolean NEW * Bivio::UI::View::CSS fixed the positioning for dropdown menus * Bivio::UI::View::GroupUser create_form: pull the values from ForumForm CATEGORY_LIST * Bivio::Util::SQL added drop_object Revision 8.44 2009/12/04 17:36:09 dobbs * Bivio::Biz::Action::TestBackdoor rollback put results in the HTTP reply 'cos it introduced security risks Revision 8.43 2009/12/04 00:46:37 nagler * Bivio::Biz::Action::TestBackdoor return output from ShellUtils in the HTTP reply * Bivio::Biz::Model::ForumForm add feature controls * Bivio::SQL::DDL user_id is primary key so already indexed * Bivio::UI::FacadeBase added ForumForm labels * Bivio::UI::HTML::Widget::Link don't escape javascript: links * Bivio::UI::View::File document.file_form => document.forms['file_form'] * Bivio::UI::View::GroupUser add feature controls * Bivio::Util::Wiki reorder _update_b_tags expressions _update_b_tags expressions ignore case Revision 8.42 2009/12/02 13:20:59 nagler * Bivio::PetShop::Widget::Search switch input to the left * Bivio::UI::Align added css_mode for backwards compatibiilty with non-CSS sites * Bivio::UI::FacadeBase don't show more if can't show CALENDAR * Bivio::UI::HTML::ViewShortcuts restore vs_center removed vs_center, put in specific app * Bivio::UI::HTML::Widget::JavaScript modularize the concept of a global variable name (window.bivio) * Bivio::UI::XHTML::Widget::DropDown multiple DropDowns now work * Bivio::Util::SQL factor out parts of init_realm_role so can be overriden Added UNAPPROVED_APPLICANT to default init values Removed update of roles once initialized in init_realm_role_copy_anonymous_permissions Revision 8.41 2009/11/29 01:47:53 nagler * Bivio::Biz::Action::WikiValidator die_on_validate_error was broken * Bivio::Biz::Model::BlogList Search parser requires model passed to excerpt * Bivio::Biz::Model::MailThreadRootList added AUTH_USER_ID_FIELD * Bivio::Biz::Model::SearchList Xapian does more of the parsing and now caches excerpts * Bivio::Biz::Model added get_auth_user_id/_name with refactoring of _well_known_name/value * Bivio::Ext::LWPUserAgent rmpod copy & fmt * Bivio::PetShop::Util::SQL factored out TestData->init_search * Bivio::PetShop::Util::TestData NEW * Bivio::PetShop::Widget::Search fpc * Bivio::Search::Parser::RealmFile::MessageRFC822 reuse 'text' if available in handle_realm_file_new_text parser requires a model * Bivio::Search::Parser put excerpt if doesn't exist in _do Xapian caches exerpt, author_user_id, etc. Fill in default values for these xapian_terms_and_postings changed interface * Bivio::Search::Xapian Xapian caches exerpt, author_user_id, etc. xapian_terms_and_postings changed interface author/_email is looked up dynamically if not set (MessageRFC822 caches this value since it comes from the document) * Bivio::Test::Language::HTTP added user_agent_timeout * Bivio::UI::FacadeBase show Home in xhtml_dock_left_standard when not in forum * Bivio::UI::View::CSS .search_results .date must be a DIV, because