Skip to content

Commit 3eff955

Browse files
committed
Remove AI-crawlers feature.
See cuny-academic-commons/commons-in-a-box#560.
1 parent a0ba52e commit 3eff955

6 files changed

Lines changed: 0 additions & 881 deletions

File tree

bin/build-known-agents.php

Lines changed: 0 additions & 82 deletions
This file was deleted.

bin/classes/KnownAgentsRobotsBuilder.php

Lines changed: 0 additions & 198 deletions
This file was deleted.

cbox-openlab-core.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function cboxol_init() {
5353
require CBOXOL_PLUGIN_DIR . 'includes/registration.php';
5454
require CBOXOL_PLUGIN_DIR . 'includes/communication-settings.php';
5555
require CBOXOL_PLUGIN_DIR . 'includes/profile-fields.php';
56-
require CBOXOL_PLUGIN_DIR . 'includes/robots.php';
5756
require CBOXOL_PLUGIN_DIR . 'includes/search.php';
5857
require CBOXOL_PLUGIN_DIR . 'includes/site-template.php';
5958

classes/GroupType.php

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,6 @@ public function get_labels() {
339339
'privacy_help_text_byrequest_membership',
340340
'privacy_help_text_private_directory',
341341
'privacy_help_text_invited_membership',
342-
'privacy_block_ai_robots_label',
343-
'privacy_block_ai_robots_help_text',
344342
'allow_joining_private_label',
345343
'allow_joining_public_label',
346344
'privacy_membership_settings_private',
@@ -408,8 +406,6 @@ public function get_labels() {
408406
'privacy_help_text_byrequest_membership',
409407
'privacy_help_text_private_directory',
410408
'privacy_help_text_invited_membership',
411-
'privacy_block_ai_robots_label',
412-
'privacy_block_ai_robots_help_text',
413409
'allow_joining_private_label',
414410
'allow_joining_public_label',
415411
'privacy_membership_settings_private',
@@ -471,8 +467,6 @@ public function get_labels() {
471467
'privacy_help_text_byrequest_membership',
472468
'privacy_help_text_private_directory',
473469
'privacy_help_text_invited_membership',
474-
'privacy_block_ai_robots_label',
475-
'privacy_block_ai_robots_help_text',
476470
'allow_joining_private_label',
477471
'allow_joining_public_label',
478472
'privacy_membership_settings_private',
@@ -671,12 +665,6 @@ public function get_label_types() {
671665
'privacy_membership_settings_public' => array(
672666
'value' => '',
673667
),
674-
'privacy_block_ai_robots_label' => array(
675-
'value' => '',
676-
),
677-
'privacy_block_ai_robots_help_text' => array(
678-
'value' => '',
679-
),
680668
'group_home' => array(
681669
'value' => '',
682670
),
@@ -943,16 +931,6 @@ public function get_label_types_info() {
943931
'label' => __( 'Privacy Membership Settings: Public', 'commons-in-a-box' ),
944932
'description' => __( 'Describes the "Public" option for membership settings.', 'commons-in-a-box' ),
945933
),
946-
'privacy_block_ai_robots_label' => array(
947-
'slug' => 'privacy_block_ai_robots_label',
948-
'label' => __( 'Privacy Setting: Block AI Robots', 'commons-in-a-box' ),
949-
'description' => __( 'The label for the "Block AI Robots" privacy setting.', 'commons-in-a-box' ),
950-
),
951-
'privacy_block_ai_robots_help_text' => array(
952-
'slug' => 'privacy_block_ai_robots_help_text',
953-
'label' => __( 'Privacy Setting: Block AI Robots Help Text', 'commons-in-a-box' ),
954-
'description' => __( 'The help text for the "Block AI Robots" privacy setting.', 'commons-in-a-box' ),
955-
),
956934
'group_home' => array(
957935
'slug' => 'group_home',
958936
'label' => __( 'Group Home', 'commons-in-a-box' ),
@@ -1454,8 +1432,6 @@ public static function get_all_group_type_default_labels() {
14541432
'privacy_help_text_invited_membership' => __( 'Only community members who are invited may join this course.', 'commons-in-a-box' ),
14551433
'privacy_membership_settings_private' => __( 'By default, any community member can request membership in a private course. Uncheck the box below to remove the "Request Membership" button from the Course Profile. When the box is unchecked, course membership will be by invitation only.', 'commons-in-a-box' ),
14561434
'privacy_membership_settings_public' => __( 'By default, a public course may be joined by any community member. Uncheck the box below to remove the "Join Course" button from the Course Profile. When the box is unchecked, membership will be by invitation only.', 'commons-in-a-box' ),
1457-
'privacy_block_ai_robots_label' => __( 'Ask AI crawlers not to access this Course profile.', 'commons-in-a-box' ),
1458-
'privacy_block_ai_robots_help_text' => __( 'Note: This option will NOT block access to the Course profile. It is up to AI crawlers to honor your request.', 'commons-in-a-box' ),
14591435
'group_details' => __( 'Course Details', 'commons-in-a-box' ),
14601436
'my_groups' => __( 'My Courses', 'commons-in-a-box' ),
14611437
'course_code' => __( 'Course Code', 'commons-in-a-box' ),
@@ -1522,8 +1498,6 @@ public static function get_all_group_type_default_labels() {
15221498
'privacy_help_text_invited_membership' => __( 'Only community members who are invited may join this project.', 'commons-in-a-box' ),
15231499
'privacy_membership_settings_private' => __( 'By default, any community member can request membership in a private project. Uncheck the box below to remove the "Request Membership" button from the Project Profile. When the box is unchecked, project membership will be by invitation only.', 'commons-in-a-box' ),
15241500
'privacy_membership_settings_public' => __( 'By default, a public project may be joined by any community member. Uncheck the box below to remove the "Join Project" button from the Project Profile. When the box is unchecked, membership will be by invitation only.', 'commons-in-a-box' ),
1525-
'privacy_block_ai_robots_label' => __( 'Ask AI crawlers not to access this Project profile.', 'commons-in-a-box' ),
1526-
'privacy_block_ai_robots_help_text' => __( 'Note: This option will NOT block access to the Project profile. It is up to AI crawlers to honor your request.', 'commons-in-a-box' ),
15271501
'group_details' => __( 'Project Details', 'commons-in-a-box' ),
15281502
'my_groups' => __( 'My Projects', 'commons-in-a-box' ),
15291503
'group_site' => __( 'Project Site', 'commons-in-a-box' ),
@@ -1586,8 +1560,6 @@ public static function get_all_group_type_default_labels() {
15861560
'privacy_help_text_invited_membership' => __( 'Only community members who are invited may join this club.', 'commons-in-a-box' ),
15871561
'privacy_membership_settings_private' => __( 'By default, any community member can request membership in a private club. Uncheck the box below to remove the "Request Membership" button from the Club Profile. When the box is unchecked, club membership will be by invitation only.', 'commons-in-a-box' ),
15881562
'privacy_membership_settings_public' => __( 'By default, a public club may be joined by any community member. Uncheck the box below to remove the "Join Club" button from the Club Profile. When the box is unchecked, membership will be by invitation only.', 'commons-in-a-box' ),
1589-
'privacy_block_ai_robots_label' => __( 'Ask AI crawlers not to access this Club profile.', 'commons-in-a-box' ),
1590-
'privacy_block_ai_robots_help_text' => __( 'Note: This option will NOT block access to the Club profile. It is up to AI crawlers to honor your request.', 'commons-in-a-box' ),
15911563
'group_details' => __( 'Club Details', 'commons-in-a-box' ),
15921564
'my_groups' => __( 'My Clubs', 'commons-in-a-box' ),
15931565
'group_site' => __( 'Club Site', 'commons-in-a-box' ),
@@ -1650,8 +1622,6 @@ public static function get_all_group_type_default_labels() {
16501622
'privacy_help_text_invited_membership' => __( 'Only community members who are invited may join this portfolio.', 'commons-in-a-box' ),
16511623
'privacy_membership_settings_private' => __( 'By default, any community member can request membership in a private portfolio. Uncheck the box below to remove the "Request Membership" button from the Portfolio Profile. When the box is unchecked, portfolio membership will be by invitation only.', 'commons-in-a-box' ),
16521624
'privacy_membership_settings_public' => __( 'By default, a public portfolio may be joined by any community member. Uncheck the box below to remove the "Join Portfolio" button from the Portfolio Profile. When the box is unchecked, membership will be by invitation only.', 'commons-in-a-box' ),
1653-
'privacy_block_ai_robots_label' => __( 'Ask AI crawlers not to access this Portfolio profile.', 'commons-in-a-box' ),
1654-
'privacy_block_ai_robots_help_text' => __( 'Note: This option will NOT block access to the Portfolio profile. It is up to AI crawlers to honor your request.', 'commons-in-a-box' ),
16551625
'create_item' => __( 'Create Portfolio', 'commons-in-a-box' ),
16561626
'group_details' => __( 'Portfolio Details', 'commons-in-a-box' ),
16571627
'my_portfolio' => __( 'My Portfolio', 'commons-in-a-box' ),

0 commit comments

Comments
 (0)