Index: openacs-4/packages/acs-subsite/www/admin/themes/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/themes/index.adp,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/acs-subsite/www/admin/themes/index.adp 7 Aug 2017 23:47:58 -0000 1.2 +++ openacs-4/packages/acs-subsite/www/admin/themes/index.adp 8 Feb 2024 17:55:19 -0000 1.2.2.1 @@ -12,4 +12,4 @@ name.
When a theme originating from a theming package is deleted, it might -ne recreated via the after_install callback of that package.
+be recreated via theafter_install
callback of that package.
Index: openacs-4/packages/acs-subsite/tcl/attribute-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/attribute-procs.tcl,v
diff -u -r1.20.2.9 -r1.20.2.10
--- openacs-4/packages/acs-subsite/tcl/attribute-procs.tcl 19 Oct 2021 08:32:06 -0000 1.20.2.9
+++ openacs-4/packages/acs-subsite/tcl/attribute-procs.tcl 8 Feb 2024 18:04:04 -0000 1.20.2.10
@@ -137,7 +137,7 @@
for { set i 0 } { $i < [llength $plsql] } { incr i } {
set cmd [lindex $plsql $i]
if { [catch $cmd err_msg] } {
- # Rollback what we've done so far. The loop contitionals are:
+ # Rollback what we've done so far. The loop conditionals are:
# start at the end of the plsql_drop list (Drop things in reverse order of creation)
# execute drop statements until we reach position $i+1
# This position represents the operation on which we failed, and thus
Index: openacs-4/packages/acs-subsite/tcl/email-image-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/email-image-procs.tcl,v
diff -u -r1.21.2.3 -r1.21.2.4
--- openacs-4/packages/acs-subsite/tcl/email-image-procs.tcl 12 Dec 2019 14:09:51 -0000 1.21.2.3
+++ openacs-4/packages/acs-subsite/tcl/email-image-procs.tcl 8 Feb 2024 18:04:05 -0000 1.21.2.4
@@ -344,7 +344,7 @@
ad_proc -public email_image::create_type_folder_rel { } {
Creates a new folder in the content repository with the name and label Email_Images.
Also create a new type and register this type to the created folder.
- Makes a new relation type to asociate the item_id (email_image in the content repository)
+ Makes a new relation type to associate the item_id (email_image in the content repository)
with the user_id.
} {
set type_id [content::type::new \
Index: openacs-4/packages/acs-subsite/tcl/test/subsite-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/test/subsite-procs.tcl,v
diff -u -r1.1.2.2 -r1.1.2.3
--- openacs-4/packages/acs-subsite/tcl/test/subsite-procs.tcl 6 Feb 2023 17:00:42 -0000 1.1.2.2
+++ openacs-4/packages/acs-subsite/tcl/test/subsite-procs.tcl 8 Feb 2024 18:04:05 -0000 1.1.2.3
@@ -41,7 +41,7 @@
group::add_member
group::remove_member
} subsite_api {
- Test subsite-related api
+ Test subsite-related API
} {
aa_run_with_teardown \
-rollback \
@@ -60,6 +60,8 @@
}
set application_package_keys [::subsite::get_application_options]
+ aa_log "application_package_keys: $application_package_keys"
+
aa_true "Application package keys include the search package" {
[lsearch -index 1 -exact $application_package_keys search] >= 0
}
@@ -75,7 +77,7 @@
-package_key $package_key]
set subsite_node [::site_node::get_from_object_id -object_id $subsite_id]
- aa_equals "Subsite and Site Node api return the same result" \
+ aa_equals "Subsite and Site Node API return the same result" \
[lsort -index 0 $subsite_node] \
[lsort -index 0 [::subsite::get -subsite_id $subsite_id]]
@@ -89,7 +91,7 @@
set child_node [::site_node::get_from_object_id -object_id $child_id]
- aa_section {Theme api}
+ aa_section {Theme API}
set subsite_theme [::subsite::get_theme -subsite_id $subsite_id]
set theme_options [::subsite::get_theme_options]
@@ -174,10 +176,10 @@
[db_0or1row q {select 1 from subsite_themes where key = :subsite_theme}]
- aa_section {Subsite api}
+ aa_section {Subsite API}
set subsite_url [subsite::get_url -node_id [dict get $subsite_node node_id]]
- aa_equals "The subsite URL from api is consistent with the one from the subsite info" \
+ aa_equals "The subsite URL from API is consistent with the one from the subsite info" \
$subsite_url [dict get $subsite_node url]
set absolute_subsite_url [subsite::get_url -node_id [dict get $subsite_node node_id] -absolute_p t]
@@ -203,7 +205,7 @@
[lsort $app_packages] [lsort $expected_packages]
- aa_section {Application Group api}
+ aa_section {Application Group API}
set sub_application_group_id [::application_group::closest_ancestor_application_group_id \
-url [dict get $subsite_node url] -include_self]
@@ -232,15 +234,15 @@
[::application_group::package_id_from_group_id -group_id $application_group_id] $subsite_id
set group_name [db_string get_name {select group_name from groups where group_id = :application_group_id}]
- aa_equals "Group name '$group_name' by db and api is consistent" \
+ aa_equals "Group name '$group_name' by db and API is consistent" \
[::group::get_element -group_id $application_group_id -element group_name] $group_name
set group_join_policy [db_string get_policy {
select join_policy from groups where group_id = :application_group_id
}]
- aa_equals "Group name '$group_name' by db and api is consistent" \
+ aa_equals "Group name '$group_name' by db and API is consistent" \
[::group::join_policy -group_id $application_group_id] $group_join_policy
- aa_equals "Group name '$group_name' by db and api is consistent" \
+ aa_equals "Group name '$group_name' by db and API is consistent" \
[::group::get_element -group_id $application_group_id -element join_policy] $group_join_policy
set join_policy_options [::group::get_join_policy_options]
aa_true "Group join policy belongs to one of the options" {
@@ -250,15 +252,15 @@
set user_id [db_string get_user {select max(user_id) from users}]
aa_equals "Test subsite membership is empty at first" \
[::group::get_members -group_id $application_group_id] ""
- aa_false "User '$user_id' is not a member (application group api)" \
+ aa_false "User '$user_id' is not a member (application group API)" \
[::application_group::contains_party_p \
-package_id $subsite_id \
-party_id $user_id]
- aa_false "User '$user_id' is not a member (group api, group)" \
+ aa_false "User '$user_id' is not a member (group API, group)" \
[::group::party_member_p \
-group_id $application_group_id \
-party_id $user_id]
- aa_false "User '$user_id' is not a member (group api, group name)" \
+ aa_false "User '$user_id' is not a member (group API, group name)" \
[::group::party_member_p \
-group_name $group_name \
-party_id $user_id]
@@ -268,15 +270,15 @@
aa_equals "Test subsite membership contains our user" \
[::group::get_members -group_id $application_group_id] [list $user_id]
- aa_true "User '$user_id' is a member (application group api)" \
+ aa_true "User '$user_id' is a member (application group API)" \
[::application_group::contains_party_p \
-package_id $subsite_id \
-party_id $user_id]
- aa_true "User '$user_id' is a member (group api, group)" \
+ aa_true "User '$user_id' is a member (group API, group)" \
[::group::party_member_p \
-group_id $application_group_id \
-party_id $user_id]
- aa_true "User '$user_id' is a member (group api, group name)" \
+ aa_true "User '$user_id' is a member (group API, group name)" \
[::group::party_member_p \
-group_name $group_name \
-party_id $user_id]
@@ -288,15 +290,15 @@
aa_equals "Test subsite membership is empty again" \
[::group::get_members -group_id $application_group_id] ""
- aa_false "User '$user_id' is not a member (application group api)" \
+ aa_false "User '$user_id' is not a member (application group API)" \
[::application_group::contains_party_p \
-package_id $subsite_id \
-party_id $user_id]
- aa_false "User '$user_id' is not a member (group api, group)" \
+ aa_false "User '$user_id' is not a member (group API, group)" \
[::group::party_member_p \
-group_id $application_group_id \
-party_id $user_id]
- aa_false "User '$user_id' is not a member (group api, group name)" \
+ aa_false "User '$user_id' is not a member (group API, group name)" \
[::group::party_member_p \
-group_name $group_name \
-party_id $user_id]
Index: openacs-4/packages/acs-subsite/www/permissions/perm-include.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/permissions/perm-include.tcl,v
diff -u -r1.20.2.3 -r1.20.2.4
--- openacs-4/packages/acs-subsite/www/permissions/perm-include.tcl 6 Oct 2023 12:36:15 -0000 1.20.2.3
+++ openacs-4/packages/acs-subsite/www/permissions/perm-include.tcl 8 Feb 2024 18:04:05 -0000 1.20.2.4
@@ -129,7 +129,7 @@
#
if { $context_id ne "" } {
#
- # The variable "parent_object_name" is used the the following
+ # The variable "parent_object_name" is used in the following
# message keys:
#
# lt_Do_not_inherit_from_p, lt_Inherit_from_parent_o,