[Bps-public-commit] rt-extension-todolist branch, master, updated. d2df3641896b35348b3532c02a282058cfabe3b4

Craig Kaiser craig at bestpractical.com
Wed Apr 10 11:55:20 EDT 2019


The branch, master has been updated
       via  d2df3641896b35348b3532c02a282058cfabe3b4 (commit)
       via  56a993579bc2794b7d565372611624952395191f (commit)
       via  2e52c80b859c8dd06cc4c3197ee18a80f016576c (commit)
      from  c44229060e59ca20fa291922cb39afe1cc1860ce (commit)

Summary of changes:
 .vstags                                            | 322 ---------------------
 README                                             |   5 +
 .../Admin/CustomFields/Modify.html/EndOfTable      |  13 +
 .../Admin/CustomFields/Modify.html/Initial         |  30 ++
 .../Ticket/Elements/ShowSummary/AfterPeople        |  13 +-
 html/Elements/TodoList                             |   3 +-
 lib/RT/CustomFields_Vendor.pm                      |  40 ++-
 lib/RT/Extension/TodoList.pm                       |   4 +
 8 files changed, 95 insertions(+), 335 deletions(-)
 delete mode 100644 .vstags
 create mode 100644 html/Callbacks/TodoList/Admin/CustomFields/Modify.html/EndOfTable
 create mode 100644 html/Callbacks/TodoList/Admin/CustomFields/Modify.html/Initial

- Log -----------------------------------------------------------------
commit 2e52c80b859c8dd06cc4c3197ee18a80f016576c
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Wed Apr 10 11:08:49 2019 -0400

    Remove unwanted file

diff --git a/.vstags b/.vstags
deleted file mode 100644
index 4ee95d4..0000000
--- a/.vstags
+++ /dev/null
@@ -1,322 +0,0 @@
-!_TAG_FILE_FORMAT	2	/extended format; --format=1 will not append ;" to lines/
-!_TAG_FILE_SORTED	1	/0=unsorted, 1=sorted, 2=foldcase/
-!_TAG_PROGRAM_AUTHOR	Darren Hiebert	/dhiebert at users.sourceforge.net/
-!_TAG_PROGRAM_NAME	Exuberant Ctags	//
-!_TAG_PROGRAM_URL	http://ctags.sourceforge.net	/official site/
-!_TAG_PROGRAM_VERSION	5.8	//
-AUTOLOAD	inc/Module/Install/Base.pm	31;"	s
-AUTOLOAD	inc/Module/Install/Base.pm	72;"	s
-DESTROY	inc/Module/Install/Base.pm	57;"	s
-DESTROY	inc/Module/Install/Base.pm	74;"	s
-Dump	inc/YAML/Tiny.pm	26;"	s
-DumpFile	inc/YAML/Tiny.pm	50;"	s
-LimitToNotTodo	blib/lib/RT/CustomFields_Vendor.pm	25;"	s
-LimitToNotTodo	lib/RT/CustomFields_Vendor.pm	25;"	s
-LimitTodoToObject	blib/lib/RT/CustomFields_Vendor.pm	3;"	s
-LimitTodoToObject	lib/RT/CustomFields_Vendor.pm	3;"	s
-Load	inc/YAML/Tiny.pm	33;"	s
-LoadFile	inc/YAML/Tiny.pm	55;"	s
-Makefile	inc/Module/Install/Makefile.pm	16;"	s
-Meta	inc/Module/Install/Metadata.pm	50;"	s
-Meta_ArrayKeys	inc/Module/Install/Metadata.pm	55;"	s
-Meta_BooleanKeys	inc/Module/Install/Metadata.pm	51;"	s
-Meta_ResourceKeys	inc/Module/Install/Metadata.pm	54;"	s
-Meta_ScalarKeys	inc/Module/Install/Metadata.pm	52;"	s
-Meta_TupleKeys	inc/Module/Install/Metadata.pm	53;"	s
-Module::Install	inc/Module/Install.pm	2;"	p
-Module::Install::Base	inc/Module/Install/Base.pm	2;"	p
-Module::Install::Base::AUTOLOAD	inc/Module/Install/Base.pm	31;"	s
-Module::Install::Base::DESTROY	inc/Module/Install/Base.pm	57;"	s
-Module::Install::Base::FakeAdmin	inc/Module/Install/Base.pm	59;"	p
-Module::Install::Base::FakeAdmin::AUTOLOAD	inc/Module/Install/Base.pm	72;"	s
-Module::Install::Base::FakeAdmin::DESTROY	inc/Module/Install/Base.pm	74;"	s
-Module::Install::Base::FakeAdmin::new	inc/Module/Install/Base.pm	68;"	s
-Module::Install::Base::_top	inc/Module/Install/Base.pm	39;"	s
-Module::Install::Base::admin	inc/Module/Install/Base.pm	45;"	s
-Module::Install::Base::is_admin	inc/Module/Install/Base.pm	53;"	s
-Module::Install::Base::new	inc/Module/Install/Base.pm	18;"	s
-Module::Install::Can	inc/Module/Install/Can.pm	2;"	p
-Module::Install::Can::can_cc	inc/Module/Install/Can.pm	122;"	s
-Module::Install::Can::can_run	inc/Module/Install/Can.pm	32;"	s
-Module::Install::Can::can_use	inc/Module/Install/Can.pm	18;"	s
-Module::Install::Can::can_xs	inc/Module/Install/Can.pm	49;"	s
-Module::Install::Fetch	inc/Module/Install/Fetch.pm	2;"	p
-Module::Install::Fetch::get_file	inc/Module/Install/Fetch.pm	14;"	s
-Module::Install::Include	inc/Module/Install/Include.pm	2;"	p
-Module::Install::Include::auto_include	inc/Module/Install/Include.pm	22;"	s
-Module::Install::Include::auto_include_dependent_dists	inc/Module/Install/Include.pm	30;"	s
-Module::Install::Include::auto_include_deps	inc/Module/Install/Include.pm	26;"	s
-Module::Install::Include::include	inc/Module/Install/Include.pm	14;"	s
-Module::Install::Include::include_deps	inc/Module/Install/Include.pm	18;"	s
-Module::Install::Makefile	inc/Module/Install/Makefile.pm	2;"	p
-Module::Install::Makefile::Makefile	inc/Module/Install/Makefile.pm	16;"	s
-Module::Install::Makefile::_wanted_t	inc/Module/Install/Makefile.pm	184;"	s
-Module::Install::Makefile::build_subdirs	inc/Module/Install/Makefile.pm	147;"	s
-Module::Install::Makefile::clean_files	inc/Module/Install/Makefile.pm	155;"	s
-Module::Install::Makefile::fix_up_makefile	inc/Module/Install/Makefile.pm	357;"	s
-Module::Install::Makefile::inc	inc/Module/Install/Makefile.pm	179;"	s
-Module::Install::Makefile::libs	inc/Module/Install/Makefile.pm	173;"	s
-Module::Install::Makefile::makemaker	inc/Module/Install/Makefile.pm	45;"	s
-Module::Install::Makefile::makemaker_append	inc/Module/Install/Makefile.pm	138;"	s
-Module::Install::Makefile::makemaker_args	inc/Module/Install/Makefile.pm	101;"	s
-Module::Install::Makefile::postamble	inc/Module/Install/Makefile.pm	407;"	s
-Module::Install::Makefile::preamble	inc/Module/Install/Makefile.pm	401;"	s
-Module::Install::Makefile::prompt	inc/Module/Install/Makefile.pm	20;"	s
-Module::Install::Makefile::realclean_files	inc/Module/Install/Makefile.pm	164;"	s
-Module::Install::Makefile::tests_recursive	inc/Module/Install/Makefile.pm	187;"	s
-Module::Install::Makefile::write	inc/Module/Install/Makefile.pm	202;"	s
-Module::Install::Metadata	inc/Module/Install/Metadata.pm	2;"	p
-Module::Install::Metadata::Meta	inc/Module/Install/Metadata.pm	50;"	s
-Module::Install::Metadata::Meta_ArrayKeys	inc/Module/Install/Metadata.pm	55;"	s
-Module::Install::Metadata::Meta_BooleanKeys	inc/Module/Install/Metadata.pm	51;"	s
-Module::Install::Metadata::Meta_ResourceKeys	inc/Module/Install/Metadata.pm	54;"	s
-Module::Install::Metadata::Meta_ScalarKeys	inc/Module/Install/Metadata.pm	52;"	s
-Module::Install::Metadata::Meta_TupleKeys	inc/Module/Install/Metadata.pm	53;"	s
-Module::Install::Metadata::abstract_from	inc/Module/Install/Metadata.pm	331;"	s
-Module::Install::Metadata::all_from	inc/Module/Install/Metadata.pm	187;"	s
-Module::Install::Metadata::auto_provides	inc/Module/Install/Metadata.pm	230;"	s
-Module::Install::Metadata::dynamic_config	inc/Module/Install/Metadata.pm	153;"	s
-Module::Install::Metadata::feature	inc/Module/Install/Metadata.pm	251;"	s
-Module::Install::Metadata::features	inc/Module/Install/Metadata.pm	277;"	s
-Module::Install::Metadata::install_as_core	inc/Module/Install/Metadata.pm	148;"	s
-Module::Install::Metadata::install_as_cpan	inc/Module/Install/Metadata.pm	149;"	s
-Module::Install::Metadata::install_as_site	inc/Module/Install/Metadata.pm	150;"	s
-Module::Install::Metadata::install_as_vendor	inc/Module/Install/Metadata.pm	151;"	s
-Module::Install::Metadata::install_requires	inc/Module/Install/Metadata.pm	145;"	s
-Module::Install::Metadata::name_from	inc/Module/Install/Metadata.pm	343;"	s
-Module::Install::Metadata::no_index	inc/Module/Install/Metadata.pm	287;"	s
-Module::Install::Metadata::perl_version	inc/Module/Install/Metadata.pm	169;"	s
-Module::Install::Metadata::provides	inc/Module/Install/Metadata.pm	223;"	s
-Module::Install::Metadata::read	inc/Module/Install/Metadata.pm	294;"	s
-Module::Install::Metadata::resources	inc/Module/Install/Metadata.pm	128;"	s
-Module::Install::Metadata::static_config	inc/Module/Install/Metadata.pm	165;"	s
-Module::Install::Metadata::test_requires	inc/Module/Install/Metadata.pm	144;"	s
-Module::Install::Metadata::version_from	inc/Module/Install/Metadata.pm	322;"	s
-Module::Install::Metadata::write	inc/Module/Install/Metadata.pm	315;"	s
-Module::Install::RTx	inc/Module/Install/RTx.pm	2;"	p
-Module::Install::RTx::RTx	inc/Module/Install/RTx.pm	20;"	s
-Module::Install::RTx::Runtime	inc/Module/Install/RTx/Runtime.pm	2;"	p
-Module::Install::RTx::Runtime::RTxDatabase	inc/Module/Install/RTx/Runtime.pm	26;"	s
-Module::Install::RTx::Runtime::RTxPlugin	inc/Module/Install/RTx/Runtime.pm	59;"	s
-Module::Install::RTx::Runtime::_rt_runtime_load	inc/Module/Install/RTx/Runtime.pm	10;"	s
-Module::Install::RTx::_load_rt_handle	inc/Module/Install/RTx.pm	287;"	s
-Module::Install::RTx::requires_rt	inc/Module/Install/RTx.pm	205;"	s
-Module::Install::RTx::requires_rt_plugin	inc/Module/Install/RTx.pm	235;"	s
-Module::Install::RTx::rt_too_new	inc/Module/Install/RTx.pm	262;"	s
-Module::Install::ReadmeFromPod	inc/Module/Install/ReadmeFromPod.pm	2;"	p
-Module::Install::ReadmeFromPod::_all_from	inc/Module/Install/ReadmeFromPod.pm	169;"	s
-Module::Install::ReadmeFromPod::_readme_htm	inc/Module/Install/ReadmeFromPod.pm	109;"	s
-Module::Install::ReadmeFromPod::_readme_man	inc/Module/Install/ReadmeFromPod.pm	131;"	s
-Module::Install::ReadmeFromPod::_readme_md	inc/Module/Install/ReadmeFromPod.pm	156;"	s
-Module::Install::ReadmeFromPod::_readme_pdf	inc/Module/Install/ReadmeFromPod.pm	144;"	s
-Module::Install::ReadmeFromPod::_readme_txt	inc/Module/Install/ReadmeFromPod.pm	96;"	s
-Module::Install::ReadmeFromPod::_require_admin	inc/Module/Install/ReadmeFromPod.pm	23;"	s
-Module::Install::ReadmeFromPod::readme_from	inc/Module/Install/ReadmeFromPod.pm	39;"	s
-Module::Install::Win32	inc/Module/Install/Win32.pm	2;"	p
-Module::Install::Win32::check_nmake	inc/Module/Install/Win32.pm	15;"	s
-Module::Install::WriteAll	inc/Module/Install/WriteAll.pm	2;"	p
-Module::Install::WriteAll::WriteAll	inc/Module/Install/WriteAll.pm	14;"	s
-Module::Install::_CLASS	inc/Module/Install.pm	439;"	s
-Module::Install::_caller	inc/Module/Install.pm	368;"	s
-Module::Install::_cmp	inc/Module/Install.pm	434;"	s
-Module::Install::_read	inc/Module/Install.pm	378;"	s
-Module::Install::_readperl	inc/Module/Install.pm	387;"	s
-Module::Install::_readpod	inc/Module/Install.pm	395;"	s
-Module::Install::_version	inc/Module/Install.pm	418;"	s
-Module::Install::_write	inc/Module/Install.pm	406;"	s
-Module::Install::autoload	inc/Module/Install.pm	156;"	s
-Module::Install::call	inc/Module/Install.pm	267;"	s
-Module::Install::find_extensions	inc/Module/Install.pm	323;"	s
-Module::Install::import	inc/Module/Install.pm	44;"	s
-Module::Install::load	inc/Module/Install.pm	274;"	s
-Module::Install::load_extensions	inc/Module/Install.pm	296;"	s
-Module::Install::new	inc/Module/Install.pm	230;"	s
-Module::Install::preload	inc/Module/Install.pm	197;"	s
-RT::CustomFields	blib/lib/RT/CustomFields_Vendor.pm	1;"	p
-RT::CustomFields	lib/RT/CustomFields_Vendor.pm	1;"	p
-RT::CustomFields::LimitToNotTodo	blib/lib/RT/CustomFields_Vendor.pm	25;"	s
-RT::CustomFields::LimitToNotTodo	lib/RT/CustomFields_Vendor.pm	25;"	s
-RT::CustomFields::LimitTodoToObject	blib/lib/RT/CustomFields_Vendor.pm	3;"	s
-RT::CustomFields::LimitTodoToObject	lib/RT/CustomFields_Vendor.pm	3;"	s
-RT::Extension::TodoList	blib/lib/RT/Extension/TodoList.pm	3;"	p
-RT::Extension::TodoList	lib/RT/Extension/TodoList.pm	3;"	p
-RT::Extension::TodoList::UpdateTodoList	blib/lib/RT/Extension/TodoList.pm	9;"	s
-RT::Extension::TodoList::UpdateTodoList	lib/RT/Extension/TodoList.pm	9;"	s
-RT::Extension::TodoList::UpdateTodoListAttribute	blib/lib/RT/Extension/TodoList.pm	39;"	s
-RT::Extension::TodoList::UpdateTodoListAttribute	lib/RT/Extension/TodoList.pm	39;"	s
-RT::Extension::TodoList::UpdateTodoListCustomField	blib/lib/RT/Extension/TodoList.pm	61;"	s
-RT::Extension::TodoList::UpdateTodoListCustomField	lib/RT/Extension/TodoList.pm	61;"	s
-RTx	inc/Module/Install/RTx.pm	20;"	s
-RTxDatabase	inc/Module/Install/RTx/Runtime.pm	26;"	s
-RTxPlugin	inc/Module/Install/RTx/Runtime.pm	59;"	s
-UpdateTodoList	blib/lib/RT/Extension/TodoList.pm	9;"	s
-UpdateTodoList	lib/RT/Extension/TodoList.pm	9;"	s
-UpdateTodoListAttribute	blib/lib/RT/Extension/TodoList.pm	39;"	s
-UpdateTodoListAttribute	lib/RT/Extension/TodoList.pm	39;"	s
-UpdateTodoListCustomField	blib/lib/RT/Extension/TodoList.pm	61;"	s
-UpdateTodoListCustomField	lib/RT/Extension/TodoList.pm	61;"	s
-WriteAll	inc/Module/Install/WriteAll.pm	14;"	s
-WriteMyMeta	inc/Module/Install/Metadata.pm	640;"	s
-YAML::Tiny	inc/YAML/Tiny.pm	5;"	p
-YAML::Tiny::Dump	inc/YAML/Tiny.pm	26;"	s
-YAML::Tiny::DumpFile	inc/YAML/Tiny.pm	50;"	s
-YAML::Tiny::Load	inc/YAML/Tiny.pm	33;"	s
-YAML::Tiny::LoadFile	inc/YAML/Tiny.pm	55;"	s
-YAML::Tiny::_can_flock	inc/YAML/Tiny.pm	811;"	s
-YAML::Tiny::_dump_array	inc/YAML/Tiny.pm	691;"	s
-YAML::Tiny::_dump_file	inc/YAML/Tiny.pm	560;"	s
-YAML::Tiny::_dump_hash	inc/YAML/Tiny.pm	730;"	s
-YAML::Tiny::_dump_scalar	inc/YAML/Tiny.pm	658;"	s
-YAML::Tiny::_dump_string	inc/YAML/Tiny.pm	602;"	s
-YAML::Tiny::_error	inc/YAML/Tiny.pm	779;"	s
-YAML::Tiny::_has_internal_string_value	inc/YAML/Tiny.pm	652;"	s
-YAML::Tiny::_load_array	inc/YAML/Tiny.pm	386;"	s
-YAML::Tiny::_load_file	inc/YAML/Tiny.pm	171;"	s
-YAML::Tiny::_load_hash	inc/YAML/Tiny.pm	468;"	s
-YAML::Tiny::_load_scalar	inc/YAML/Tiny.pm	327;"	s
-YAML::Tiny::_load_string	inc/YAML/Tiny.pm	214;"	s
-YAML::Tiny::_unquote_double	inc/YAML/Tiny.pm	316;"	s
-YAML::Tiny::_unquote_single	inc/YAML/Tiny.pm	309;"	s
-YAML::Tiny::errstr	inc/YAML/Tiny.pm	788;"	s
-YAML::Tiny::new	inc/YAML/Tiny.pm	79;"	s
-YAML::Tiny::read	inc/YAML/Tiny.pm	102;"	s
-YAML::Tiny::read_string	inc/YAML/Tiny.pm	92;"	s
-YAML::Tiny::refaddr	inc/YAML/Tiny.pm	839;"	s
-YAML::Tiny::write	inc/YAML/Tiny.pm	107;"	s
-YAML::Tiny::write_string	inc/YAML/Tiny.pm	97;"	s
-\s*ll::_read($file)::WriteMyMeta	inc/Module/Install/Metadata.pm	640;"	s
-\s*ll::_read($file)::__extract_license	inc/Module/Install/Metadata.pm	509;"	s
-\s*ll::_read($file)::_extract_bugtracker	inc/Module/Install/Metadata.pm	558;"	s
-\s*ll::_read($file)::_extract_license	inc/Module/Install/Metadata.pm	493;"	s
-\s*ll::_read($file)::_extract_perl_version	inc/Module/Install/Metadata.pm	364;"	s
-\s*ll::_read($file)::_perl_version	inc/Module/Install/Metadata.pm	613;"	s
-\s*ll::_read($file)::_write_mymeta_data	inc/Module/Install/Metadata.pm	679;"	s
-\s*ll::_read($file)::add_metadata	inc/Module/Install/Metadata.pm	626;"	s
-\s*ll::_read($file)::author_from	inc/Module/Install/Metadata.pm	393;"	s
-\s*ll::_read($file)::bugtracker_from	inc/Module/Install/Metadata.pm	570;"	s
-\s*ll::_read($file)::license	inc/Module/Install/Metadata.pm	476;"	s
-\s*ll::_read($file)::license_from	inc/Module/Install/Metadata.pm	548;"	s
-\s*ll::_read($file)::perl_version_from	inc/Module/Install/Metadata.pm	382;"	s
-\s*ll::_read($file)::requires_from	inc/Module/Install/Metadata.pm	588;"	s
-\s*ll::_read($file)::test_requires_from	inc/Module/Install/Metadata.pm	599;"	s
-\s*ll::_read($file)::write_mymeta_json	inc/Module/Install/Metadata.pm	660;"	s
-\s*ll::_read($file)::write_mymeta_yaml	inc/Module/Install/Metadata.pm	644;"	s
-_CLASS	inc/Module/Install.pm	439;"	s
-__extract_license	inc/Module/Install/Metadata.pm	509;"	s
-_all_from	inc/Module/Install/ReadmeFromPod.pm	169;"	s
-_caller	inc/Module/Install.pm	368;"	s
-_can_flock	inc/YAML/Tiny.pm	811;"	s
-_cmp	inc/Module/Install.pm	434;"	s
-_dump_array	inc/YAML/Tiny.pm	691;"	s
-_dump_file	inc/YAML/Tiny.pm	560;"	s
-_dump_hash	inc/YAML/Tiny.pm	730;"	s
-_dump_scalar	inc/YAML/Tiny.pm	658;"	s
-_dump_string	inc/YAML/Tiny.pm	602;"	s
-_error	inc/YAML/Tiny.pm	779;"	s
-_extract_bugtracker	inc/Module/Install/Metadata.pm	558;"	s
-_extract_license	inc/Module/Install/Metadata.pm	493;"	s
-_extract_perl_version	inc/Module/Install/Metadata.pm	364;"	s
-_has_internal_string_value	inc/YAML/Tiny.pm	652;"	s
-_load_array	inc/YAML/Tiny.pm	386;"	s
-_load_file	inc/YAML/Tiny.pm	171;"	s
-_load_hash	inc/YAML/Tiny.pm	468;"	s
-_load_rt_handle	inc/Module/Install/RTx.pm	287;"	s
-_load_scalar	inc/YAML/Tiny.pm	327;"	s
-_load_string	inc/YAML/Tiny.pm	214;"	s
-_perl_version	inc/Module/Install/Metadata.pm	613;"	s
-_read	inc/Module/Install.pm	378;"	s
-_readme_htm	inc/Module/Install/ReadmeFromPod.pm	109;"	s
-_readme_man	inc/Module/Install/ReadmeFromPod.pm	131;"	s
-_readme_md	inc/Module/Install/ReadmeFromPod.pm	156;"	s
-_readme_pdf	inc/Module/Install/ReadmeFromPod.pm	144;"	s
-_readme_txt	inc/Module/Install/ReadmeFromPod.pm	96;"	s
-_readperl	inc/Module/Install.pm	387;"	s
-_readpod	inc/Module/Install.pm	395;"	s
-_require_admin	inc/Module/Install/ReadmeFromPod.pm	23;"	s
-_rt_runtime_load	inc/Module/Install/RTx/Runtime.pm	10;"	s
-_top	inc/Module/Install/Base.pm	39;"	s
-_unquote_double	inc/YAML/Tiny.pm	316;"	s
-_unquote_single	inc/YAML/Tiny.pm	309;"	s
-_version	inc/Module/Install.pm	418;"	s
-_wanted_t	inc/Module/Install/Makefile.pm	184;"	s
-_write	inc/Module/Install.pm	406;"	s
-_write_mymeta_data	inc/Module/Install/Metadata.pm	679;"	s
-abstract_from	inc/Module/Install/Metadata.pm	331;"	s
-add_metadata	inc/Module/Install/Metadata.pm	626;"	s
-admin	inc/Module/Install/Base.pm	45;"	s
-all_from	inc/Module/Install/Metadata.pm	187;"	s
-author_from	inc/Module/Install/Metadata.pm	393;"	s
-auto_include	inc/Module/Install/Include.pm	22;"	s
-auto_include_dependent_dists	inc/Module/Install/Include.pm	30;"	s
-auto_include_deps	inc/Module/Install/Include.pm	26;"	s
-auto_provides	inc/Module/Install/Metadata.pm	230;"	s
-autoload	inc/Module/Install.pm	156;"	s
-bugtracker_from	inc/Module/Install/Metadata.pm	570;"	s
-build_subdirs	inc/Module/Install/Makefile.pm	147;"	s
-call	inc/Module/Install.pm	267;"	s
-can_cc	inc/Module/Install/Can.pm	122;"	s
-can_run	inc/Module/Install/Can.pm	32;"	s
-can_use	inc/Module/Install/Can.pm	18;"	s
-can_xs	inc/Module/Install/Can.pm	49;"	s
-check_nmake	inc/Module/Install/Win32.pm	15;"	s
-clean_files	inc/Module/Install/Makefile.pm	155;"	s
-dynamic_config	inc/Module/Install/Metadata.pm	153;"	s
-errstr	inc/YAML/Tiny.pm	788;"	s
-feature	inc/Module/Install/Metadata.pm	251;"	s
-features	inc/Module/Install/Metadata.pm	277;"	s
-find_extensions	inc/Module/Install.pm	323;"	s
-fix_up_makefile	inc/Module/Install/Makefile.pm	357;"	s
-get_file	inc/Module/Install/Fetch.pm	14;"	s
-import	inc/Module/Install.pm	44;"	s
-inc	inc/Module/Install/Makefile.pm	179;"	s
-include	inc/Module/Install/Include.pm	14;"	s
-include_deps	inc/Module/Install/Include.pm	18;"	s
-install_as_core	inc/Module/Install/Metadata.pm	148;"	s
-install_as_cpan	inc/Module/Install/Metadata.pm	149;"	s
-install_as_site	inc/Module/Install/Metadata.pm	150;"	s
-install_as_vendor	inc/Module/Install/Metadata.pm	151;"	s
-install_requires	inc/Module/Install/Metadata.pm	145;"	s
-is_admin	inc/Module/Install/Base.pm	53;"	s
-libs	inc/Module/Install/Makefile.pm	173;"	s
-license	inc/Module/Install/Metadata.pm	476;"	s
-license_from	inc/Module/Install/Metadata.pm	548;"	s
-load	inc/Module/Install.pm	274;"	s
-load_extensions	inc/Module/Install.pm	296;"	s
-makemaker	inc/Module/Install/Makefile.pm	45;"	s
-makemaker_append	inc/Module/Install/Makefile.pm	138;"	s
-makemaker_args	inc/Module/Install/Makefile.pm	101;"	s
-name_from	inc/Module/Install/Metadata.pm	343;"	s
-new	inc/Module/Install.pm	230;"	s
-new	inc/Module/Install/Base.pm	18;"	s
-new	inc/Module/Install/Base.pm	68;"	s
-new	inc/YAML/Tiny.pm	79;"	s
-no_index	inc/Module/Install/Metadata.pm	287;"	s
-perl_version	inc/Module/Install/Metadata.pm	169;"	s
-perl_version_from	inc/Module/Install/Metadata.pm	382;"	s
-postamble	inc/Module/Install/Makefile.pm	407;"	s
-preamble	inc/Module/Install/Makefile.pm	401;"	s
-preload	inc/Module/Install.pm	197;"	s
-prompt	inc/Module/Install/Makefile.pm	20;"	s
-provides	inc/Module/Install/Metadata.pm	223;"	s
-read	inc/Module/Install/Metadata.pm	294;"	s
-read	inc/YAML/Tiny.pm	102;"	s
-read_string	inc/YAML/Tiny.pm	92;"	s
-readme_from	inc/Module/Install/ReadmeFromPod.pm	39;"	s
-realclean_files	inc/Module/Install/Makefile.pm	164;"	s
-refaddr	inc/YAML/Tiny.pm	839;"	s
-requires_from	inc/Module/Install/Metadata.pm	588;"	s
-requires_rt	inc/Module/Install/RTx.pm	205;"	s
-requires_rt_plugin	inc/Module/Install/RTx.pm	235;"	s
-resources	inc/Module/Install/Metadata.pm	128;"	s
-rt_too_new	inc/Module/Install/RTx.pm	262;"	s
-static_config	inc/Module/Install/Metadata.pm	165;"	s
-test_requires	inc/Module/Install/Metadata.pm	144;"	s
-test_requires_from	inc/Module/Install/Metadata.pm	599;"	s
-tests_recursive	inc/Module/Install/Makefile.pm	187;"	s
-version_from	inc/Module/Install/Metadata.pm	322;"	s
-write	inc/Module/Install/Makefile.pm	202;"	s
-write	inc/Module/Install/Metadata.pm	315;"	s
-write	inc/YAML/Tiny.pm	107;"	s
-write_mymeta_json	inc/Module/Install/Metadata.pm	660;"	s
-write_mymeta_yaml	inc/Module/Install/Metadata.pm	644;"	s
-write_string	inc/YAML/Tiny.pm	97;"	s

commit 56a993579bc2794b7d565372611624952395191f
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Wed Apr 10 11:10:21 2019 -0400

    Make TodoList custom fields a custom field checkbox option

diff --git a/README b/README
index ba4790d..e5973fa 100644
--- a/README
+++ b/README
@@ -13,6 +13,11 @@ DESCRIPTION
     where different incident types can display a different to do list, one
     for Malware, one for DDos, one for Phising Email, etc.
 
+    To make a custom field a todo list custom field, create a new custom
+    field of type "select multiple values". Once created there will be a
+    checkbox option to make the custom field a todo list custom field, then
+    you can apply the custom field by queue per usual.
+
 RT VERSION
     Works with RT 4.4
 
diff --git a/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/EndOfTable b/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/EndOfTable
new file mode 100644
index 0000000..5cdd5d9
--- /dev/null
+++ b/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/EndOfTable
@@ -0,0 +1,13 @@
+<tr><td class="label"> </td><td>
+<input type="checkbox" class="checkbox" id="TodoListCustomField" name="TodoListCustomField" value="1" <% $TodoListCustomField |n %> />
+<label for="TodoListCustomField"><&|/l&>Todo List (Checking this box applies this custom field as a todo list field)</&></label>
+</td></tr>
+<%init>
+return unless $CustomField->Id;
+
+my $TodoListCustomField = '';
+$TodoListCustomField = qq[checked="checked"] if $CustomField->FirstAttribute('TodoListCustomField');
+</%init>
+<%args>
+$CustomField
+</%args>
diff --git a/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/Initial b/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/Initial
new file mode 100644
index 0000000..ad7aa74
--- /dev/null
+++ b/html/Callbacks/TodoList/Admin/CustomFields/Modify.html/Initial
@@ -0,0 +1,30 @@
+<%init>
+return unless $ARGSRef->{'id'} and  $ARGSRef->{'Update'};
+
+my ($ret, $msg);
+my $CustomFieldObj = RT::CustomField->new( $session{'CurrentUser'} );
+($ret, $msg) = $CustomFieldObj->Load($ARGSRef->{'id'});
+RT::Logger->error($msg) unless $ret;
+return unless $ret;
+
+if ( $ARGSRef->{'TodoListCustomField'} ) {
+    push @{$Results}, "Todo list custom field must be of type 'Select multiple values' and RenderType 'list'"
+        unless $ARGSRef->{'TypeComposite'} eq 'Select-0' and $ARGSRef->{'RenderType'} eq 'List';
+    return unless $ARGSRef->{'TypeComposite'} eq 'Select-0' and $ARGSRef->{'RenderType'} eq 'List';
+
+    if ( $CustomFieldObj->FirstAttribute('TodoListCustomField') ) {
+        return;
+    }
+
+    ($ret, $msg) = $CustomFieldObj->AddAttribute( Name => 'TodoListCustomField', Content => 1 );
+    push @{$Results}, $CustomFieldObj->Name . " is a todo list custom field" if $ret;
+} else {
+    ($ret, $msg) = $CustomFieldObj->DeleteAttribute( 'TodoListCustomField' );
+    push @{$Results}, $CustomFieldObj->Name . " is no longer a todo list custom field" if $ret;
+}
+RT::Logger->error($msg) unless $ret;
+</%init>
+<%args>
+$ARGSRef
+$Results
+</%args>
diff --git a/html/Elements/TodoList b/html/Elements/TodoList
index 5294b81..57267fa 100644
--- a/html/Elements/TodoList
+++ b/html/Elements/TodoList
@@ -2,10 +2,9 @@
     <select id="RT-TodoList-Select" onchange="UpdateTodoList(<%$Object->Id%>)">
         <option value="" <% !$default && qq[ selected="selected"] |n %>><&|/l&>(no value)</&></option>
 % while ( my $cf = $custom_fields->Next ) {
-%       my $name = $cf->Name; $name =~ s/TODO://;
 %       $default_cf = $cf if defined $default && $cf->Id eq $default;
         <option name="<%$cf->Name%>" value=<% $cf->Id %> <% defined $default && $default eq $cf->Id ? 'selected="selected"': '' %>>
-            <% $name %>
+            <% $cf->Name %>
         </option>
 % }
     </select>
diff --git a/lib/RT/CustomFields_Vendor.pm b/lib/RT/CustomFields_Vendor.pm
index a8012fb..8a59599 100644
--- a/lib/RT/CustomFields_Vendor.pm
+++ b/lib/RT/CustomFields_Vendor.pm
@@ -4,6 +4,17 @@ sub LimitTodoToObject {
     my $self     = shift;
     my $ObjectId = shift;
 
+    my $attributes = RT::Attributes->new(RT->SystemUser);
+    $attributes->Limit(
+        FIELD         => 'Name',
+        OPERATOR      => '=',
+        VALUE         => 'TodoListCustomField',
+    );
+    my @custom_field_ids;
+    while ( my $attribute = $attributes->Next ) {
+        push @custom_field_ids, $attribute->ObjectId;
+    }
+
     $self->Limit(
         ALIAS           => $self->_OCFAlias,
         FIELD           => 'ObjectId',
@@ -13,25 +24,34 @@ sub LimitTodoToObject {
         SUBCLAUSE       => 'LimitToTodo'
     );
     $self->Limit(
-        FIELD         => 'Name',
-        OPERATOR      => 'LIKE',
-        CASESENSITIVE => 1,
-        VALUE         => 'TODO',
+        FIELD         => 'Id',
+        OPERATOR      => 'IN',
+        VALUE         => \@custom_field_ids,
         ENTRYAGGREGATOR => 'AND',
         SUBCLAUSE       => 'LimitToTodo'
     );
 }
 
 sub LimitToNotTodo {
-    my $self         = shift;
+    my $self = shift;
 
-    $self->Limit(
+    my $attributes = RT::Attributes->new(RT->SystemUser);
+    $attributes->Limit(
         FIELD         => 'Name',
-        OPERATOR      => 'NOT LIKE',
-        SUBCLAUSE     => 'hide',
-        CASESENSITIVE => 1,
-        VALUE         => 'TODO:',
+        OPERATOR      => '=',
+        VALUE         => 'TodoListCustomField',
+    );
+    my @custom_field_ids;
+    while ( my $attribute = $attributes->Next ) {
+        push @custom_field_ids, $attribute->ObjectId;
+    }
+
+    $self->Limit(
+        FIELD         => 'Id',
+        OPERATOR      => 'NOT IN',
+        VALUE         => \@custom_field_ids,
         ENTRYAGGREGATOR => 'AND',
+        SUBCLAUSE       => 'LimitToTodo'
     );
 }
 
diff --git a/lib/RT/Extension/TodoList.pm b/lib/RT/Extension/TodoList.pm
index 6458882..be7bef2 100644
--- a/lib/RT/Extension/TodoList.pm
+++ b/lib/RT/Extension/TodoList.pm
@@ -109,6 +109,10 @@ person (the ticket Owner) and may not other ticket details tracked separately. T
 be useful in RTIR where different incident types can display a different to do list, one for Malware,
 one for DDos, one for Phising Email, etc.
 
+To make a custom field a todo list custom field, create a new custom field of type "select multiple values".
+Once created there will be a checkbox option to make the custom field a todo list custom field, then you
+can apply the custom field by queue per usual.
+
 =head1 RT VERSION
 
 Works with RT 4.4

commit d2df3641896b35348b3532c02a282058cfabe3b4
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Wed Apr 10 11:40:35 2019 -0400

    Limit Todo List portlet to queues where todolist applied

diff --git a/html/Callbacks/TodoList/Ticket/Elements/ShowSummary/AfterPeople b/html/Callbacks/TodoList/Ticket/Elements/ShowSummary/AfterPeople
index d0aa791..128a32f 100644
--- a/html/Callbacks/TodoList/Ticket/Elements/ShowSummary/AfterPeople
+++ b/html/Callbacks/TodoList/Ticket/Elements/ShowSummary/AfterPeople
@@ -1 +1,12 @@
-<& /Elements/TodoList, Object => $ARGS{'Ticket'} &>
+%  if ( $custom_fields->Count ) {
+    <& /Elements/TodoList, Object => $ARGS{'Ticket'} &>
+%  }
+<%init>
+return unless $Ticket;
+
+my $custom_fields = RT::CustomFields->new($session{'CurrentUser'});
+$custom_fields->LimitTodoToObject($Ticket->QueueObj->Id);
+</%init>
+<%args>
+$Ticket  => undef
+</%args>

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list