Index: openacs-4/packages/acs-content-repository/acs-content-repository.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/acs-content-repository.info,v diff -u -r1.109.2.33 -r1.109.2.34 --- openacs-4/packages/acs-content-repository/acs-content-repository.info 21 Apr 2017 12:21:35 -0000 1.109.2.33 +++ openacs-4/packages/acs-content-repository/acs-content-repository.info 21 Apr 2017 14:53:07 -0000 1.109.2.34 @@ -31,7 +31,7 @@ - + Index: openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql,v diff -u -r1.10.8.8 -r1.10.8.9 --- openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql 9 Aug 2016 16:31:26 -0000 1.10.8.8 +++ openacs-4/packages/acs-content-repository/sql/common/mime-type-data.sql 21 Apr 2017 14:53:07 -0000 1.10.8.9 @@ -5,7 +5,7 @@ -- -- data assembly Jeff Davis davis@xarg.net --- Here are Mime types + text description + cannonical extension +-- Here are Mime types + text description + canonical extension -- -- mapping of extension to mime type done later. Index: openacs-4/packages/acs-content-repository/sql/oracle/content-test.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-test.sql,v diff -u -r1.5 -r1.5.18.1 --- openacs-4/packages/acs-content-repository/sql/oracle/content-test.sql 1 Jun 2004 22:54:17 -0000 1.5 +++ openacs-4/packages/acs-content-repository/sql/oracle/content-test.sql 21 Apr 2017 14:53:07 -0000 1.5.18.1 @@ -192,8 +192,8 @@ dbms_output.put_line('Path for ' || sub_folder_id || ' from sub_sub_folder_id: ' || sub_sub_folder_id || ' is ' || content_item.get_path(sub_folder_id,sub_sub_folder_id)); -dbms_output.put_line('This is a path to an item from a non-existant item'); -dbms_output.put_line('Path for ' || item_id || ' from nonexistant_id: ' || +dbms_output.put_line('This is a path to an item from a non-existent item'); +dbms_output.put_line('Path for ' || item_id || ' from nonexistent_id: ' || -200 || ' is ' || content_item.get_path(item_id,-200)); dbms_output.put_line('This is a path to an item from a non-related branch'); Index: openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql,v diff -u -r1.11.8.1 -r1.11.8.2 --- openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql 2 Feb 2016 13:58:43 -0000 1.11.8.1 +++ openacs-4/packages/acs-content-repository/sql/oracle/content-type.sql 21 Apr 2017 14:53:07 -0000 1.11.8.2 @@ -311,7 +311,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/oracle/packages-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/packages-create.sql,v diff -u -r1.28 -r1.28.12.1 --- openacs-4/packages/acs-content-repository/sql/oracle/packages-create.sql 20 Jan 2008 16:19:51 -0000 1.28 +++ openacs-4/packages/acs-content-repository/sql/oracle/packages-create.sql 21 Apr 2017 14:53:07 -0000 1.28.12.1 @@ -503,7 +503,7 @@ procedure write_to_file ( --/** Writes the content of the live revision of this item to a file, - -- creating all the neccessary directories in the process + -- creating all the necessary directories in the process -- @author Karl Goldstein -- @param item_id The item to be written to a file -- @param root_path The path in the filesystem to which the root of the @@ -1622,7 +1622,7 @@ ) return varchar2; function get_path ( - --/** Retreives a path to the keyword/subject category, with the most general + --/** Retrieves a path to the keyword/subject category, with the most general -- category at the root of the path -- @author Karl Goldstein -- @param keyword_id The keyword id @@ -1659,8 +1659,8 @@ function has_grant_authority ( --/** Determine if the user may grant a certain permission to another -- user. The permission may only be granted if the user has - -- the permission himself and posesses the cm_perm access, or if the - -- user posesses the cm_perm_admin access. + -- the permission himself and possesses the cm_perm access, or if the + -- user possesses the cm_perm_admin access. -- @author Karl Goldstein -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to grant the permissions @@ -1697,7 +1697,7 @@ -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to grant the permissions -- @param privilege The privilege to be granted - -- @param recepient_id The person who will gain the privilege + -- @param recipient_id The person who will gain the privilege -- @param is_recursive If 't', applies the donation recursively to -- all child objects of the object (equivalent to UNIX's chmod -r). -- If 'f', only affects the objects itself. @@ -1707,16 +1707,16 @@ object_id in acs_objects.object_id%TYPE, holder_id in parties.party_id%TYPE, privilege in acs_privileges.privilege%TYPE, - recepient_id in parties.party_id%TYPE, + recipient_id in parties.party_id%TYPE, is_recursive in varchar2 default 'f', object_type in acs_objects.object_type%TYPE default 'content_item' ); function has_revoke_authority ( --/** Determine if the user may take a certain permission away from another -- user. The permission may only be revoked if the user has - -- the permission himself and posesses the cm_perm access, while the - -- other user does not, or if the user posesses the cm_perm_admin access. + -- the permission himself and possesses the cm_perm access, while the + -- other user does not, or if the user possesses the cm_perm_admin access. -- @author Karl Goldstein -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to revoke the permissions @@ -1755,7 +1755,7 @@ -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to revoke the permissions -- @param privilege The privilege to be revoked - -- @param recepient_id The person who will lose the privilege + -- @param recipient_id The person who will lose the privilege -- @param is_recursive If 't', applies the operation recursively to -- all child objects of the object (equivalent to UNIX's chmod -r). -- If 'f', only affects the objects itself. Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql,v diff -u -r1.1 -r1.1.24.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql 8 Oct 2003 15:56:23 -0000 1.1 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql 21 Apr 2017 14:53:07 -0000 1.1.24.1 @@ -4480,7 +4480,7 @@ procedure write_to_file ( --/** Writes the content of the live revision of this item to a file, - -- creating all the neccessary directories in the process + -- creating all the necessary directories in the process -- @author Karl Goldstein -- @param item_id The item to be written to a file -- @param root_path The path in the filesystem to which the root of the @@ -5581,7 +5581,7 @@ ) return varchar2; function get_path ( - --/** Retreives a path to the keyword/subject category, with the most general + --/** Retrieves a path to the keyword/subject category, with the most general -- category at the root of the path -- @author Karl Goldstein -- @param keyword_id The keyword id @@ -5618,8 +5618,8 @@ function has_grant_authority ( --/** Determine if the user may grant a certain permission to another -- user. The permission may only be granted if the user has - -- the permission himself and posesses the cm_perm access, or if the - -- user posesses the cm_perm_admin access. + -- the permission himself and possesses the cm_perm access, or if the + -- user possesses the cm_perm_admin access. -- @author Karl Goldstein -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to grant the permissions @@ -5656,7 +5656,7 @@ -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to grant the permissions -- @param privilege The privilege to be granted - -- @param recepient_id The person who will gain the privilege + -- @param recipient_id The person who will gain the privilege -- @param is_recursive If 't', applies the donation recursively to -- all child objects of the object (equivalent to UNIX's chmod -r). -- If 'f', only affects the objects itself. @@ -5666,16 +5666,16 @@ object_id in acs_objects.object_id%TYPE, holder_id in parties.party_id%TYPE, privilege in acs_privileges.privilege%TYPE, - recepient_id in parties.party_id%TYPE, + recipient_id in parties.party_id%TYPE, is_recursive in varchar2 default 'f', object_type in acs_objects.object_type%TYPE default 'content_item' ); function has_revoke_authority ( --/** Determine if the user may take a certain permission away from another -- user. The permission may only be revoked if the user has - -- the permission himself and posesses the cm_perm access, while the - -- other user does not, or if the user posesses the cm_perm_admin access. + -- the permission himself and possesses the cm_perm access, while the + -- other user does not, or if the user possesses the cm_perm_admin access. -- @author Karl Goldstein -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to revoke the permissions @@ -5714,7 +5714,7 @@ -- @param object_id The object whose permissions are to be changed -- @param holder_id The person who is attempting to revoke the permissions -- @param privilege The privilege to be revoked - -- @param recepient_id The person who will lose the privilege + -- @param recipient_id The person who will lose the privilege -- @param is_recursive If 't', applies the operation recursively to -- all child objects of the object (equivalent to UNIX's chmod -r). -- If 'f', only affects the objects itself. Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.1d2-5.1.1d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.1d2-5.1.1d3.sql,v diff -u -r1.2 -r1.2.18.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.1d2-5.1.1d3.sql 12 Jul 2004 14:49:35 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.1d2-5.1.1d3.sql 21 Apr 2017 14:53:07 -0000 1.2.18.1 @@ -204,7 +204,7 @@ procedure write_to_file ( --/** Writes the content of the live revision of this item to a file, - -- creating all the neccessary directories in the process + -- creating all the necessary directories in the process -- @author Karl Goldstein -- @param item_id The item to be written to a file -- @param root_path The path in the filesystem to which the root of the Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.5d2-5.1.5d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.5d2-5.1.5d3.sql,v diff -u -r1.3 -r1.3.12.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.5d2-5.1.5d3.sql 15 Dec 2006 00:01:09 -0000 1.3 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.5d2-5.1.5d3.sql 21 Apr 2017 14:53:07 -0000 1.3.12.1 @@ -204,7 +204,7 @@ procedure write_to_file ( --/** Writes the content of the live revision of this item to a file, - -- creating all the neccessary directories in the process + -- creating all the necessary directories in the process -- @author Karl Goldstein -- @param item_id The item to be written to a file -- @param root_path The path in the filesystem to which the root of the Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql 4 Jun 2006 00:45:23 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -1288,7 +1288,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql 4 Jun 2006 00:45:23 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -214,7 +214,7 @@ procedure write_to_file ( --/** Writes the content of the live revision of this item to a file, - -- creating all the neccessary directories in the process + -- creating all the necessary directories in the process -- @author Karl Goldstein -- @param item_id The item to be written to a file -- @param root_path The path in the filesystem to which the root of the Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql 4 Jun 2006 00:45:23 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -242,7 +242,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql 4 Jun 2006 00:45:23 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -2620,7 +2620,7 @@ ) return varchar2; function get_path ( - --/** Retreives a path to the keyword/subject category, with the most general + --/** Retrieves a path to the keyword/subject category, with the most general -- category at the root of the path -- @author Karl Goldstein -- @param keyword_id The keyword id Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.3.0d2-5.3.0d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.3.0d2-5.3.0d3.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.3.0d2-5.3.0d3.sql 5 Oct 2006 17:04:19 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.3.0d2-5.3.0d3.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -564,7 +564,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql,v diff -u -r1.2 -r1.2.8.1 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql 7 Dec 2009 20:19:03 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql 21 Apr 2017 14:53:07 -0000 1.2.8.1 @@ -277,7 +277,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql 2 Aug 2016 20:02:58 -0000 1.1.2.1 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql 21 Apr 2017 14:53:07 -0000 1.1.2.2 @@ -1 +1 @@ -UPDATE cr_mime_types set label = 'Unknown' where label = 'Unkown'; +UPDATE cr_mime_types set label = 'Unknown' where label = 'Unknown'; Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql 2 Feb 2016 13:58:43 -0000 1.1.2.1 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql 21 Apr 2017 14:53:07 -0000 1.1.2.2 @@ -268,7 +268,7 @@ -- Drop the attribute acs_attribute.drop_attribute(content_type, attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_column = 't' then begin execute immediate 'alter table ' || v_table || ' drop column ' || Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql,v diff -u -r1.63.2.8 -r1.63.2.9 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql 4 Jan 2017 15:54:48 -0000 1.63.2.8 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql 21 Apr 2017 14:53:07 -0000 1.63.2.9 @@ -231,7 +231,7 @@ '; --- DCW, this can't be defined in the apm_package_versions table defintion, +-- DCW, this can't be defined in the apm_package_versions table definition, -- because cr_items is created afterwards. alter table apm_package_versions add Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql,v diff -u -r1.72.2.9 -r1.72.2.10 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql 21 Apr 2017 12:21:35 -0000 1.72.2.9 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql 21 Apr 2017 14:53:07 -0000 1.72.2.10 @@ -1031,7 +1031,7 @@ -- -- The following loop could be dropped / replaced by a cascade -- operation, when proper foreign keys are used along the - -- inheritence path. + -- inheritance path. -- for v_revision_val in select revision_id from cr_revisions @@ -1045,7 +1045,7 @@ -- -- The following loop is just needed to delete the revisions of -- child items. It could be removed, when proper foreign keys are - -- used along the inheritence path of cr_content_revisions (which is + -- used along the inheritance path of cr_content_revisions (which is -- not enforced and not always the case). -- for v_child_val in select item_id Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-test.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-test.sql,v diff -u -r1.11 -r1.11.4.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-test.sql 7 Jul 2011 10:46:02 -0000 1.11 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-test.sql 21 Apr 2017 14:53:07 -0000 1.11.4.1 @@ -387,9 +387,9 @@ sub_sub_folder_id ) ); - PERFORM content_test__put_line('This is a path to an item from a non-existant item'); + PERFORM content_test__put_line('This is a path to an item from a non-existent item'); PERFORM content_test__put_line('Path for ' || item_id || - ' from nonexistant_id: ' || + ' from nonexistent_id: ' || -300 || ' is ' || content_item__get_path(item_id,-300) ); Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v diff -u -r1.57.2.3 -r1.57.2.4 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 10 Feb 2016 09:14:20 -0000 1.57.2.3 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 21 Apr 2017 14:53:07 -0000 1.57.2.4 @@ -454,7 +454,7 @@ drop_attribute__attribute_name); -- FIXME: postgresql does not support drop column. - -- Drop the column if neccessary + -- Drop the column if necessary if drop_attribute__drop_column then execute 'alter table ' || v_table || ' drop column ' || drop_attribute__attribute_name || ' cascade'; @@ -698,8 +698,8 @@ -- into the input view when a new content revision is added. Pg locks the -- underlying table when the rule is dropped, so the dropping and recreating -- of the new content revisons seems like it would be reliable, but the --- possiblity of a race condition exists for either the initial creation --- of dropping of a type. I'm not sure if the possiblity of a race condition +-- possibility of a race condition exists for either the initial creation +-- of dropping of a type. I'm not sure if the possibility of a race condition -- acually exists in practice. The thing to do here might be to just create -- a function that dynamically builds the insert strings and does the -- each time an insert is done on the content_type view. Trade-off being Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql,v diff -u -r1.2 -r1.2.24.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql 17 May 2003 09:43:31 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql 21 Apr 2017 14:53:07 -0000 1.2.24.1 @@ -23,7 +23,7 @@ -- data from sql/common/mime-type-data.sql -insert into tmp_cr_mime_types (label,mime_type,file_extension) values ( 'Unkown' , '*/*' , '' ); +insert into tmp_cr_mime_types (label,mime_type,file_extension) values ( 'Unknown' , '*/*' , '' ); insert into tmp_cr_mime_types (label,mime_type,file_extension) values ( 'AutoCAD drawing files' , 'application/acad' , 'dwg' ); insert into tmp_cr_mime_types (label,mime_type,file_extension) values ( 'Andrew data stream' , 'application/andrew-inset' , 'ez' ); insert into tmp_cr_mime_types (label,mime_type,file_extension) values ( 'ClarisCAD files' , 'application/clariscad' , 'ccad' ); Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql,v diff -u -r1.8 -r1.8.14.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql 4 Jun 2006 00:45:23 -0000 1.8 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql 21 Apr 2017 14:53:07 -0000 1.8.14.1 @@ -751,7 +751,7 @@ drop_attribute__attribute_name); -- FIXME: postgresql does not support drop column. - -- Drop the column if neccessary + -- Drop the column if necessary if drop_attribute__drop_column then execute ''alter table '' || v_table || '' drop column '' || drop_attribute__attribute_name || ''cascade''; Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.1.2d1-5.1.2d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.1.2d1-5.1.2d2.sql,v diff -u -r1.2 -r1.2.18.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.1.2d1-5.1.2d2.sql 24 Jul 2004 08:34:05 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.1.2d1-5.1.2d2.sql 21 Apr 2017 14:53:07 -0000 1.2.18.1 @@ -40,7 +40,7 @@ PERFORM acs_attribute__drop_attribute(drop_attribute__content_type, drop_attribute__attribute_name); - -- Drop the column if neccessary + -- Drop the column if necessary if drop_attribute__drop_column then execute ''alter table '' || v_table || '' drop column '' || drop_attribute__attribute_name || '' cascade''; Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b2-5.2.0b3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b2-5.2.0b3.sql,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b2-5.2.0b3.sql 4 Jun 2006 00:45:23 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b2-5.2.0b3.sql 21 Apr 2017 14:53:07 -0000 1.2.14.1 @@ -1,5 +1,5 @@ ------------------------------------------------------------ --- Upgrade to enhance the perfomance of the acs-content-repository when adding / editing an +-- Upgrade to enhance the performance of the acs-content-repository when adding / editing an -- cr_item, special fix for postgres to avoid using max() which is quite slow. -- Now update tree_sortkey in the process fix dups and add max_child_sortkey -- Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d18-5.2.0d19.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d18-5.2.0d19.sql,v diff -u -r1.2 -r1.2.12.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d18-5.2.0d19.sql 15 Dec 2006 00:01:12 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d18-5.2.0d19.sql 21 Apr 2017 14:53:07 -0000 1.2.12.1 @@ -7,7 +7,7 @@ -- @cvs-id $Id$ -- --- this script was orignally created by daveb -- upgrade-5.2.0d15-5.2.0a1.sql +-- this script was originally created by daveb -- upgrade-5.2.0d15-5.2.0a1.sql -- patch#548 bug#1937 Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql,v diff -u -r1.2 -r1.2.4.1 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql 6 Aug 2012 18:06:14 -0000 1.2 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql 21 Apr 2017 14:53:07 -0000 1.2.4.1 @@ -417,7 +417,7 @@ select define_function_args('content_permission__has_grant_authority','object_id,holder_id,privilege'); select define_function_args('content_permission__has_revoke_authority','object_id,holder_id,privilege,revokee_id'); select define_function_args('content_permission__grant_permission_h','object_id,grantee_id,privilege'); -select define_function_args('content_permission__grant_permission','object_id,holder_id,privilege,recepient_id,is_recursive;f,object_type;content_item'); +select define_function_args('content_permission__grant_permission','object_id,holder_id,privilege,recipient_id,is_recursive;f,object_type;content_item'); select define_function_args('content_permission__revoke_permission_h','object_id,revokee_id,privilege'); select define_function_args('content_permission__revoke_permission','object_id,holder_id,privilege,revokee_id,is_recursive;f,object_type;content_item'); select define_function_args('content_permission__permission_p','object_id,holder_id,privilege'); Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.0d2-5.9.0d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.0d2-5.9.0d3.sql,v diff -u -r1.2.2.1 -r1.2.2.2 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.0d2-5.9.0d3.sql 10 Sep 2015 05:58:04 -0000 1.2.2.1 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.0d2-5.9.0d3.sql 21 Apr 2017 14:53:08 -0000 1.2.2.2 @@ -149,7 +149,7 @@ -- -- The following loop could be dropped / replaced by a cascade -- operation, when proper foreign keys are used along the - -- inheritence path. + -- inheritance path. -- for v_revision_val in select revision_id from cr_revisions Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql 2 Aug 2016 20:02:58 -0000 1.1.2.1 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql 21 Apr 2017 14:53:08 -0000 1.1.2.2 @@ -1 +1 @@ -UPDATE cr_mime_types set label = 'Unknown' where label = 'Unkown'; +UPDATE cr_mime_types set label = 'Unknown' where label = 'Unknown'; Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql 11 Feb 2016 08:07:03 -0000 1.1.2.1 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql 21 Apr 2017 14:53:08 -0000 1.1.2.2 @@ -71,7 +71,7 @@ -- -- The following loop could be dropped / replaced by a cascade -- operation, when proper foreign keys are used along the - -- inheritence path. + -- inheritance path. -- for v_revision_val in select revision_id from cr_revisions @@ -85,7 +85,7 @@ -- -- The following loop is just needed to delete the revisions of -- child items. It could be removed, when proper foreign keys are - -- used along the inheritence path of cr_content_revisions (which is + -- used along the inheritance path of cr_content_revisions (which is -- not enforced and not always the case). -- for v_child_val in select item_id Index: openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl,v diff -u -r1.24.2.3 -r1.24.2.4 --- openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 27 Oct 2016 18:02:00 -0000 1.24.2.3 +++ openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 21 Apr 2017 14:53:08 -0000 1.24.2.4 @@ -228,7 +228,7 @@ @param array_name name of array to upvar content into @return upvars array_name containing all attributes of the content type except content - @return returns 0 if item does not exists or 1 if query was sucessful + @return returns 0 if item does not exists or 1 if query was successful @error } { @@ -238,7 +238,7 @@ } set content_type [content_type -item_id $item_id] if {$content_type eq ""} { - # content_type query was unsucessful, item does not exist + # content_type query was unsuccessful, item does not exist return 0 } if {"content_folder" eq $content_type} { Index: openacs-4/packages/acs-content-repository/tcl/content-permission-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/Attic/content-permission-procs.tcl,v diff -u -r1.3.18.1 -r1.3.18.2 --- openacs-4/packages/acs-content-repository/tcl/content-permission-procs.tcl 10 Sep 2015 08:21:17 -0000 1.3.18.1 +++ openacs-4/packages/acs-content-repository/tcl/content-permission-procs.tcl 21 Apr 2017 14:53:08 -0000 1.3.18.2 @@ -27,22 +27,22 @@ -object_id:required -holder_id:required -privilege:required - -recepient_id:required + -recipient_id:required {-is_recursive ""} {-object_type ""} } { @param object_id @param holder_id @param privilege - @param recepient_id + @param recipient_id @param is_recursive @param object_type } { return [package_exec_plsql -var_list [list \ [list object_id $object_id ] \ [list holder_id $holder_id ] \ [list privilege $privilege ] \ - [list recepient_id $recepient_id ] \ + [list recipient_id $recipient_id ] \ [list is_recursive $is_recursive ] \ [list object_type $object_type ] \ ] content_permission grant_permission] Index: openacs-4/packages/acs-content-repository/tcl/content-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-procs.tcl,v diff -u -r1.13.2.2 -r1.13.2.3 --- openacs-4/packages/acs-content-repository/tcl/content-procs.tcl 27 Mar 2017 10:53:53 -0000 1.13.2.2 +++ openacs-4/packages/acs-content-repository/tcl/content-procs.tcl 21 Apr 2017 14:53:08 -0000 1.13.2.3 @@ -110,7 +110,7 @@ ad_proc -public cr_file_size {relative_file_path} { Returns the size of a file stored in the content repository. Takes the - relative file path of the content repository file as an arguement. + relative file path of the content repository file as an argument. } { return [file size [cr_fs_path]$relative_file_path] Index: openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl,v diff -u -r1.26.2.3 -r1.26.2.4 --- openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl 27 Oct 2016 18:02:00 -0000 1.26.2.3 +++ openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl 21 Apr 2017 14:53:08 -0000 1.26.2.4 @@ -179,7 +179,7 @@ } { - Update content column seperately. Oracle does not allow insert + Update content column separately. Oracle does not allow insert into a BLOB. This assumes that if storage type is lob and no file is specified Index: openacs-4/packages/acs-content-repository/tcl/doc-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/doc-procs.tcl,v diff -u -r1.8.2.1 -r1.8.2.2 --- openacs-4/packages/acs-content-repository/tcl/doc-procs.tcl 10 Sep 2015 08:21:17 -0000 1.8.2.1 +++ openacs-4/packages/acs-content-repository/tcl/doc-procs.tcl 21 Apr 2017 14:53:08 -0000 1.8.2.2 @@ -37,7 +37,7 @@ ad_proc -public get_proc_header { proc_name package_name doc_ref code_ref { db "" } } { - Retreive the function header for a specific function + Retrieve the function header for a specific function and parse out the javadoc comment. } { Index: openacs-4/packages/acs-content-repository/tcl/item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/Attic/item-procs.tcl,v diff -u -r1.29.2.1 -r1.29.2.2 --- openacs-4/packages/acs-content-repository/tcl/item-procs.tcl 10 Sep 2015 08:21:18 -0000 1.29.2.1 +++ openacs-4/packages/acs-content-repository/tcl/item-procs.tcl 21 Apr 2017 14:53:08 -0000 1.29.2.2 @@ -436,7 +436,7 @@ @public get_content_type - Retrieves the content type of tyhe item. If the item does not exist, + Retrieves the content type of the item. If the item does not exist, returns an empty string. @param item_id The item id Index: openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl,v diff -u -r1.11.2.3 -r1.11.2.4 --- openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 27 Mar 2017 10:53:53 -0000 1.11.2.3 +++ openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 21 Apr 2017 14:53:08 -0000 1.11.2.4 @@ -72,7 +72,7 @@ } ad_proc -public publish::mkdirs { path } { - Create all the directories neccessary to save the specified file + Create all the directories necessary to save the specified file @param path The path to the file that is about to be saved } { @@ -225,17 +225,17 @@ @param revision_id_ref {required} The name of the variable in the calling frame that will - recieve the revision_id whose content blob was written + receive the revision_id whose content blob was written to the filesystem. @param url_ref The name of the variable in the calling frame that will - recieve the relative URL of the file in the file system + receive the relative URL of the file in the file system which contains the content blob @param error_ref The name of the variable in the calling frame that will - recieve an error message. If no error has ocurred, this + receive an error message. If no error has occurred, this variable will be set to the empty string "" @option embed Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -r1.32.2.4 -r1.32.2.5 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 6 Dec 2016 11:13:31 -0000 1.32.2.4 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 21 Apr 2017 14:53:08 -0000 1.32.2.5 @@ -71,7 +71,7 @@ set filename [db_string write_file_content ""] if {$filename eq ""} { error "No content for the revision $revision_id.\ - This seems to be an error which occured during the upload of the file" + This seems to be an error which occurred during the upload of the file" } elseif {![file readable $filename]} { ns_log Error "Could not read file $filename. Maybe the content repository is (partially) missing?" ns_return 404 text/plain {} @@ -363,7 +363,7 @@ {-filename ""} {-file ""} } { - Check wether the mimetype is registered. If not, check wether it + Check whether the mimetype is registered. If not, check whether it can be guessed from the filename. If guessed mimetype is not registered optionally insert it. Index: openacs-4/packages/acs-content-repository/tcl/test/content-item-test-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/test/content-item-test-procs.tcl,v diff -u -r1.10.2.2 -r1.10.2.3 --- openacs-4/packages/acs-content-repository/tcl/test/content-item-test-procs.tcl 2 Jan 2016 21:24:47 -0000 1.10.2.2 +++ openacs-4/packages/acs-content-repository/tcl/test/content-item-test-procs.tcl 21 Apr 2017 14:53:08 -0000 1.10.2.3 @@ -106,7 +106,7 @@ # delete the evil_name item ######################################################### - # in oracle content_item.del is not a fucntion and cannot + # in oracle content_item.del is not a function and cannot # return true or false so we have to rely on a query to # see if the item exists or not Index: openacs-4/packages/acs-content-repository/www/doc/api/item.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/item.adp,v diff -u -r1.2.2.11 -r1.2.2.12 --- openacs-4/packages/acs-content-repository/www/doc/api/item.adp 1 Jul 2016 09:17:33 -0000 1.2.2.11 +++ openacs-4/packages/acs-content-repository/www/doc/api/item.adp 21 Apr 2017 14:53:08 -0000 1.2.2.12 @@ -718,7 +718,7 @@
  • Procedure: content_item.write_to_file

    Writes the content of the live revision of this item to a file, -creating all the neccessary directories in the process

    +creating all the necessary directories in the process

    Author:Karl Goldstein
    Parameters:
    Index: openacs-4/packages/acs-content-repository/www/doc/api/item.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/item.html,v diff -u -r1.3.18.2 -r1.3.18.3 --- openacs-4/packages/acs-content-repository/www/doc/api/item.html 22 Jun 2016 07:40:41 -0000 1.3.18.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/item.html 21 Apr 2017 14:53:08 -0000 1.3.18.3 @@ -1344,7 +1344,7 @@
  • Procedure: content_item.write_to_file

    Writes the content of the live revision of this item to a file, -creating all the neccessary directories in the process +creating all the necessary directories in the process

  • Index: openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp,v diff -u -r1.2.2.5 -r1.2.2.6 --- openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp 1 Jul 2016 09:17:33 -0000 1.2.2.5 +++ openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp 21 Apr 2017 14:53:08 -0000 1.2.2.6 @@ -63,7 +63,7 @@

     

  • Function: content_keyword.get_path -

    Retreives a path to the keyword/subject category, with the most +

    Retrieves a path to the keyword/subject category, with the most general category at the root of the path

    Index: openacs-4/packages/acs-content-repository/www/doc/api/keyword.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/keyword.html,v diff -u -r1.1.1.1.30.2 -r1.1.1.1.30.3 --- openacs-4/packages/acs-content-repository/www/doc/api/keyword.html 22 Jun 2016 07:40:41 -0000 1.1.1.1.30.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/keyword.html 21 Apr 2017 14:53:08 -0000 1.1.1.1.30.3 @@ -116,7 +116,7 @@

     

  • Function: content_keyword.get_path -

    Retreives a path to the keyword/subject category, with the most general +

    Retrieves a path to the keyword/subject category, with the most general category at the root of the path

    Index: openacs-4/packages/acs-content-repository/www/doc/api/permission.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/permission.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/api/permission.adp 1 Jul 2016 09:17:33 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/api/permission.adp 21 Apr 2017 14:53:08 -0000 1.2.2.5 @@ -27,8 +27,8 @@ content_permission.has_grant_authority

    Determine if the user may grant a certain permission to another user. The permission may only be granted if the user has the -permission himself and posesses the cm_perm access, or if the user -posesses the cm_perm_admin access.

  • Author:Karl Goldstein
    +permission himself and possesses the cm_perm access, or if the user +possesses the cm_perm_admin access.

    @@ -60,8 +60,8 @@ content_permission.has_revoke_authority

    Determine if the user may take a certain permission away from another user. The permission may only be revoked if the user has -the permission himself and posesses the cm_perm access, while the -other user does not, or if the user posesses the cm_perm_admin +the permission himself and possesses the cm_perm access, while the +other user does not, or if the user possesses the cm_perm_admin access.

    Author:Karl Goldstein
    Index: openacs-4/packages/acs-content-repository/www/doc/api/permission.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/permission.html,v diff -u -r1.1.1.1.30.2 -r1.1.1.1.30.3 --- openacs-4/packages/acs-content-repository/www/doc/api/permission.html 22 Jun 2016 07:40:41 -0000 1.1.1.1.30.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/permission.html 21 Apr 2017 14:53:08 -0000 1.1.1.1.30.3 @@ -40,8 +40,8 @@

    Determine if the user may grant a certain permission to another user. The permission may only be granted if the user has -the permission himself and posesses the cm_perm access, or if the -user posesses the cm_perm_admin access. +the permission himself and possesses the cm_perm access, or if the +user possesses the cm_perm_admin access.

    Author:Karl Goldstein
    @@ -94,8 +94,8 @@

    Determine if the user may take a certain permission away from another user. The permission may only be revoked if the user has -the permission himself and posesses the cm_perm access, while the -other user does not, or if the user posesses the cm_perm_admin access. +the permission himself and possesses the cm_perm access, while the +other user does not, or if the user possesses the cm_perm_admin access.

    Index: openacs-4/packages/acs-content-repository/www/doc/guide/file-system.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/file-system.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/guide/file-system.adp 1 Jul 2016 09:17:33 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/guide/file-system.adp 21 Apr 2017 14:53:08 -0000 1.2.2.5 @@ -61,7 +61,7 @@ approach may have the following advantages:

    • Content management systems can take advantage of the folder -structure to implement an intuitive user interface analagous to +structure to implement an intuitive user interface analogous to familiar desktop tools (Windows Explorer, MacOS Finder, etc.).
    • You can use the content repository API to constraint the type of content that a folder may contain (except for the index page). For example, it is possible to limit the contents of the Index: openacs-4/packages/acs-content-repository/www/doc/guide/file-system.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/file-system.html,v diff -u -r1.1.1.1.30.1 -r1.1.1.1.30.2 --- openacs-4/packages/acs-content-repository/www/doc/guide/file-system.html 22 Jun 2016 07:40:41 -0000 1.1.1.1.30.1 +++ openacs-4/packages/acs-content-repository/www/doc/guide/file-system.html 21 Apr 2017 14:53:08 -0000 1.1.1.1.30.2 @@ -82,7 +82,7 @@
      • Content management systems can take advantage of the folder structure - to implement an intuitive user interface analagous to familiar desktop + to implement an intuitive user interface analogous to familiar desktop tools (Windows Explorer, MacOS Finder, etc.).
      • You can use the content repository API to constraint the type of Index: openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp,v diff -u -r1.2.2.5 -r1.2.2.6 --- openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp 5 Aug 2016 13:36:00 -0000 1.2.2.5 +++ openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp 21 Apr 2017 14:53:08 -0000 1.2.2.6 @@ -43,7 +43,7 @@
    -

    The content repository accomodates these situations in the +

    The content repository accommodates these situations in the following ways:

    • An API procedure, content_type.register_child_type, Index: openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html,v diff -u -r1.1.1.1.30.2 -r1.1.1.1.30.3 --- openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html 5 Aug 2016 13:36:00 -0000 1.1.1.1.30.2 +++ openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html 21 Apr 2017 14:53:08 -0000 1.1.1.1.30.3 @@ -54,7 +54,7 @@
  • -

    The content repository accomodates these situations in the +

    The content repository accommodates these situations in the following ways:

      Index: openacs-4/packages/acs-content-repository/www/doc/guide/search.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/search.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/guide/search.adp 1 Jul 2016 09:17:33 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/guide/search.adp 21 Apr 2017 14:53:08 -0000 1.2.2.5 @@ -12,7 +12,7 @@ all the attribute columns for each content type.

      Searching Content

      The content column in cr_revisions may -contain data in any text or binary format. To accomodate searches +contain data in any text or binary format. To accommodate searches across multiple file types, the content repository uses an Intermedia index with the INSO filtering option. The INSO filter automatically detects the the file type of a binary object, and Index: openacs-4/packages/acs-content-repository/www/doc/guide/search.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/search.html,v diff -u -r1.1.1.1.30.1 -r1.1.1.1.30.2 --- openacs-4/packages/acs-content-repository/www/doc/guide/search.html 22 Jun 2016 07:40:41 -0000 1.1.1.1.30.1 +++ openacs-4/packages/acs-content-repository/www/doc/guide/search.html 21 Apr 2017 14:53:08 -0000 1.1.1.1.30.2 @@ -15,7 +15,7 @@

      Searching Content

      The content column in cr_revisions may contain -data in any text or binary format. To accomodate searches across +data in any text or binary format. To accommodate searches across multiple file types, the content repository uses an Intermedia index with the INSO filtering option. The INSO filter automatically detects the the file type of a binary object, and extracts text from it for