Index: openacs-4/packages/datamanager/catalog/datamanager.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager/catalog/datamanager.en_US.ISO-8859-1.xml,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager/catalog/datamanager.en_US.ISO-8859-1.xml 5 Jul 2005 09:52:58 -0000 1.1.2.1 +++ openacs-4/packages/datamanager/catalog/datamanager.en_US.ISO-8859-1.xml 20 Jul 2005 13:49:46 -0000 1.1.2.2 @@ -1,5 +1,20 @@ - Datamanager + Not implemented yet + Choose Destination + Class + Community + Confirmation + Copy + Delete + Move + Move object + Name + Data Manager + Selected + Sorry, you can not move this object + Subgroup of + to community + Type Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/tcl/datamanager-callback-procs.tcl'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/datamanager/tcl/datamanager-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager/tcl/datamanager-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager/tcl/datamanager-procs.tcl 5 Jul 2005 09:52:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager/tcl/datamanager-procs.tcl 20 Jul 2005 13:49:46 -0000 1.1.2.2 @@ -1,49 +1,10 @@ ad_library { TCL library for the datamanager system - @author YYY ZZZ (YYY.ZZZ@xx.yy) + @author Luis de la Fuente (lfuente@it.uc3m.es) @creation-date 14 June 2005 } namespace eval datamanager {} -ad_proc -public datamanager::user_wasted_size { - {-user_id ""} -} { - Returns the global datamanager usage of user_id user -} { - db_1row get_datamanager "select coalesce (sum(content_length),0) as wasted_size_datamanager from cr_revisions where item_id in (select item_id from cr_items where item_id in (select object_id from acs_objects where object_type = 'content_item' and (creation_user = :user_id or modifying_user = :user_id)))" - return [expr $wasted_size_datamanager / 1024] -} -ad_proc -public datamanager::user_wasted_filenumber { - {-user_id ""} -} { - Returns the global file number usage of user_id user -} { - db_1row get_num_files "select count(content_length) as wasted_filenumber_datamanager from cr_revisions where item_id in (select item_id from cr_items where item_id in (select object_id from acs_objects where object_type = 'content_item' and (creation_user = :user_id or modifying_user = :user_id)))" - return $wasted_filenumber_datamanager -} - -ad_proc -public datamanager::max_user_wasted_size { -} { - Returns the parameter max global size datamanager usage for one user -} { - return [expr 20971520 / 1024] -} - -ad_proc -public datamanager::max_user_wasted_filenumber { -} { - Returns the parameter max global file number usage for one user -} { - return 1000 -} - -ad_proc -public datamanager::user_member_groups { - {-user_id ""} -} { - Returns the classes for user_id user -} { - return [db_list select_member_classes {}] -} - Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/index-postgresql.xql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/index.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/index.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-assessment.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-faq.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-folder.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-forum.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-news.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/move-static-portlet.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-copy.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-copy.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-delete.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-delete.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-move.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-move.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/datamanager/www/one-object-move.xql'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/datamanager-portlet/catalog/datamanager-portlet.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/catalog/datamanager-portlet.en_US.ISO-8859-1.xml,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/catalog/datamanager-portlet.en_US.ISO-8859-1.xml 5 Jul 2005 10:10:58 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/catalog/datamanager-portlet.en_US.ISO-8859-1.xml 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -1,7 +1,8 @@ + Go to Datamanager page Datamanager administration - Datamanager + Data Manager Datamanager Index: openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-create.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-create.sql 5 Jul 2005 10:10:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-create.sql 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -1,5 +1,5 @@ -- --- Copyright (C) 2004 University XYZ +-- Copyright (C) 2004 University Carlos III de Madrid -- -- This file is part of dotLRN. -- Index: openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-drop.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-drop.sql 5 Jul 2005 10:10:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-admin-portlet-drop.sql 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -1,5 +1,5 @@ -- --- Copyright (C) 2004 University XYZ +-- Copyright (C) 2004 University Carlos III de Madrid -- -- This file is part of dotLRN. -- Index: openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-portlet-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-portlet-drop.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-portlet-drop.sql 5 Jul 2005 10:10:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/sql/postgresql/datamanager-portlet-drop.sql 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -1,108 +1,2 @@ --- --- Copyright (C) 2004 University XYZ --- --- This file is part of dotLRN. --- --- dotLRN is free software; you can redistribute it and/or modify it under the --- terms of the GNU General Public License as published by the Free Software --- Foundation; either version 2 of the License, or (at your option) any later --- version. --- --- dotLRN 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 General Public License for more --- details. --- --- --- Procedures to support the datamanager portlet --- --- @author YYY ZZZ (YYY.ZZZ@xx.yy) --- @creation-date 2004-10-10 --- @version $Id: datamanager-portlet-drop.sql,v 0.1 2004/10/10 - -create function inline_1() -returns integer as ' -declare - ds_id portal_datasources.datasource_id%TYPE; -begin - - select datasource_id into ds_id - from portal_datasources - where name = ''datamanager_portlet''; - - if not found then - RAISE EXCEPTION '' No datasource id found '', ds_id; - ds_id := null; - end if; - - if ds_id is NOT null then - perform portal_datasource__delete(ds_id); - end if; - - -- drop the hooks - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''GetMyName'' - ); - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''GetPrettyName'' - ); - - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''Link'' - ); - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''AddSelfToPage'' - ); - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''Show'' - ); - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''Edit'' - ); - - perform acs_sc_impl_alias__delete ( - ''portal_datasource'', - ''datamanager_portlet'', - ''RemoveSelfFromPage'' - ); - - -- Drop the binding - perform acs_sc_binding__delete ( - ''portal_datasource'', - ''datamanager_portlet'' - ); - - -- drop the impl - perform acs_sc_impl__delete ( - ''portal_datasource'', - ''datamanager_portlet'' - ); - - return 0; -end;' language 'plpgsql'; - -select inline_1(); -drop function inline_1(); - \i datamanager-admin-portlet-drop.sql - - - Index: openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.adp 5 Jul 2005 10:10:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.adp 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -16,5 +16,5 @@ # %> Index: openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.tcl 5 Jul 2005 10:10:59 -0000 1.1.2.1 +++ openacs-4/packages/datamanager-portlet/www/datamanager-admin-portlet.tcl 20 Jul 2005 13:52:51 -0000 1.1.2.2 @@ -17,9 +17,9 @@ ad_page_contract { The display logic for the datamanager admin portlet - @author YYY ZZZ (YYY.ZZZ@xx.yy) - @creation-date 2004-10-10 - @version $Id: datamanager-admin-portlet.tcl,v 0.1 2004/10/10 + @author Luis de la Fuente (lfuente@it.uc3m.es) + @creation-date 2005-07-07 + @version $Id: datamanager-admin-portlet.tcl,v 0.1 2005/07/07 } -properties { } Index: openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-create.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-create.sql 5 Jul 2005 08:51:06 -0000 1.1.2.1 +++ openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-create.sql 20 Jul 2005 13:55:19 -0000 1.1.2.2 @@ -1,5 +1,5 @@ -- --- Copyright (C) 2004 University XYZ +-- Copyright (C) 2004 University Carlos III de Madrid -- -- This file is part of dotLRN. -- @@ -16,9 +16,9 @@ -- -- Procedures to support the dotlrn datamanager -- --- @author YYY ZZZ (YYY.ZZZ@xx.yy) --- @creation-date 2004-10-10 --- @version $Id: dotlrn-datamanager-create.sql,v 0.1 2004/10/10 +-- @author Luis de la Fuente (lfuente@it.uc3m.es) +-- @creation-date 2005-07-07 +-- @version $Id: dotlrn-datamanager-create.sql,v 0.1 2005/07/07 -- create the implementation select acs_sc_impl__new ( Index: openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-drop.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-drop.sql 5 Jul 2005 08:51:06 -0000 1.1.2.1 +++ openacs-4/packages/dotlrn-datamanager/sql/postgresql/dotlrn-datamanager-drop.sql 20 Jul 2005 13:55:19 -0000 1.1.2.2 @@ -1,5 +1,5 @@ -- --- Copyright (C) 2004 University XYZ +-- Copyright (C) 2004 University Carlos III de Madrid -- -- This file is part of dotLRN. -- @@ -16,8 +16,8 @@ -- -- Procedures to support the dotlrn datamanager -- --- @author YYY ZZZ (YYY.ZZZ@xx.yy) --- @creation-date 2004-10-10 +-- @author Luis de la Fuente (lfuente@it.uc3m.es) +-- @creation-date 2005-07-07 -- @version $Id: dotlrn-datamanager-drop.sql,v 0.1 2004/10/10 select acs_sc_impl__delete( Index: openacs-4/packages/dotlrn-datamanager/tcl/dotlrn-datamanager-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-datamanager/tcl/dotlrn-datamanager-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/dotlrn-datamanager/tcl/dotlrn-datamanager-procs.tcl 5 Jul 2005 08:51:06 -0000 1.1.2.1 +++ openacs-4/packages/dotlrn-datamanager/tcl/dotlrn-datamanager-procs.tcl 20 Jul 2005 13:55:19 -0000 1.1.2.2 @@ -1,5 +1,5 @@ # -# Copyright (C) 2004 University XYZ +# Copyright (C) 2004 University Carlos III # # This file is part of dotLRN. # @@ -18,9 +18,9 @@ Procs to set up the dotLRN datamanager applet - @author YYY ZZZ (YYY.ZZZ@xx.yy) - @creation-date 2004-10-10 - @version $Id: dotlrn-datamanager-procs.tcl,v 0.1 2004/10/10 + @author Luis de la Fuente (lfuente@it.uc3m.es) + @creation-date 2005-07-07 + @version $Id: dotlrn-datamanager-procs.tcl,v 0.1 2005/07/07 }