tasks
=====

top priority
------------
names for templates (steal from xcms-ui, bcms)
add interface to allow admin to map subsite to cms instance
 - should copy index.vuh to /www/subsite and add entry to subsite_package_map
add track_publish_status, update_publish_status to CR, add param for sched interval
 - yank plsql exec stuff there now and junk in cms

basic/cosmetic
---------
add preview functionality (add ad_properties to index.vuh with preview/printer-friendly option?)
printer friendly template (steal from xcms-ui)
clean up www/modules/items/relate-items (remove old table format)
new icon for "clipping" items - competing with new listbuilder checkboxes, confuse UI a bit
fix "clear the clipboard" functionality
floatclipboard_p working?

plumbing
--------
integrate categories and workflow packages
fix search module (will try when i have tsearch2, ie upgrade to rhel4)
select from cm_modules to build tabs?

questions/ideas
---------
how do we get extlinks and other types (if any?) which do not sub-class content_revision into the system?
comment integration?

-- to drop old workflow from production:
drop function content_workflow__is_overdue (integer,varchar);
drop function content_workflow__get_holding_user_name (integer);
drop function content_workflow__get_first_place();
drop function content_workflow__get_this_place (varchar);
drop function content_workflow__get_next_place (varchar);
drop function content_workflow__get_previous_place (varchar);
drop function content_workflow__checkout (integer,timestamptz,integer,varchar,varchar);
drop function content_workflow__checkin (integer,integer,varchar,varchar);
drop function content_workflow__approve (integer,integer,varchar,varchar);
drop function content_workflow__reject (integer,integer,varchar,varchar,varchar);
drop function content_workflow__notify_of_checkout (integer,integer,integer,varchar);
drop function content_workflow__can_reject (integer,integer);
drop function content_workflow__can_approve (integer,integer);
drop function content_workflow__can_start (integer,integer);
drop function content_workflow__approve_string (integer,integer);
drop function content_workflow__count_finished_tasks (integer);
drop function content_workflow__count_unfinished_tasks (integer);
drop function content_workflow__is_active (integer,varchar);
drop function content_workflow__is_finished (integer,varchar);
drop function content_workflow__is_checked_out (integer,varchar);
drop function content_workflow__is_checked_out (integer,varchar,integer);
drop function content_workflow__get_status (integer,varchar);
drop function content_workflow__can_touch (integer,integer);
drop function content_workflow__unfinished_workflow_exists (integer);
 


-- to drop old perms:
delete from acs_permissions where privilege like '%cm%';
-- removing privs below broke cms; still not sure why
-- select acs_privilege__remove_child('cm_root', 'cm_admin');
-- select acs_privilege__remove_child('cm_admin', 'cm_relate');
-- select acs_privilege__remove_child('cm_relate', 'cm_write');
-- select acs_privilege__remove_child('cm_write', 'cm_new');  
-- select acs_privilege__remove_child('cm_new', 'cm_examine');
-- select acs_privilege__remove_child('cm_examine', 'cm_read');
-- select acs_privilege__remove_child('cm_admin', 'cm_item_workflow');
-- select acs_privilege__remove_child('cm_admin', 'cm_perm_admin');
-- select acs_privilege__remove_child('cm_perm_admin', 'cm_perm');
-- select acs_privilege__remove_child('admin', 'cm_root');
-- select acs_privilege__drop_privilege('cm_root');
-- select acs_privilege__drop_privilege('cm_admin');
-- select acs_privilege__drop_privilege('cm_relate');
-- select acs_privilege__drop_privilege('cm_write');
-- select acs_privilege__drop_privilege('cm_new');
-- select acs_privilege__drop_privilege('cm_examine');
-- select acs_privilege__drop_privilege('cm_read');
-- select acs_privilege__drop_privilege('cm_item_workflow');
-- select acs_privilege__drop_privilege('cm_perm_admin');
-- select acs_privilege__drop_privilege('cm_perm');