View | Details | Raw Unified | Return to bug 35655
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_35655.pl (+22 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
3
4
return {
5
    bug_number  => "35655",
6
    description => "Add a way to disable RabbitMQ",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT IGNORE INTO systempreferences
14
                (`variable`, `value`, `options`, `explanation`, `type` )
15
            VALUES
16
                ('JobsNotificationMethod', 'STOMP', 'polling|STOMP', 'Define the preferred job worker notification method', 'Choice')
17
        }
18
        );
19
20
        say $out "Added new system preference 'JobsNotificationMethod'";
21
    },
22
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 358-363 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
358
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
358
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
359
('itemcallnumber','',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
359
('itemcallnumber','',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
360
('ItemsDeniedRenewal','','','This syspref allows to define custom rules for denying renewal of specific items.','Textarea'),
360
('ItemsDeniedRenewal','','','This syspref allows to define custom rules for denying renewal of specific items.','Textarea'),
361
('JobsNotificationMethod','STOMP','polling|STOMP','Define the preferred job worker notification method','Choice'),
361
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
362
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
362
('KohaManualBaseURL','https://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'),
363
('KohaManualBaseURL','https://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'),
363
('KohaManualLanguage','en','en|ar|cs|de|es|fr|it|pt_BR|tr|zh_TW','What is the language of the online manual you want to use?','Choice'),
364
('KohaManualLanguage','en','en|ar|cs|de|es|fr|it|pt_BR|tr|zh_TW','What is the language of the online manual you want to use?','Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +9 lines)
Lines 189-194 Administration: Link Here
189
                  None: "None"
189
                  None: "None"
190
                  Common Name: Common Name
190
                  Common Name: Common Name
191
                  emailAddress: emailAddress
191
                  emailAddress: emailAddress
192
    Jobs:
193
        -
194
            - "Use "
195
            - pref: JobsNotificationMethod
196
              default: STOMP
197
              choices:
198
                STOMP: "STOMP"
199
                polling: "polling"
200
            - as the preferred job worker notification method. STOMP (default) requires RabbitMQ running. Polling will be used as a fallback if RabbitMQ is not accessible.
192
    Google OpenID Connect:
201
    Google OpenID Connect:
193
        -
202
        -
194
            - "Use Google OpenID Connect login in the OPAC: "
203
            - "Use Google OpenID Connect login in the OPAC: "
195
- 

Return to bug 35655