From: Llewellyn Marshall Date: Thu, 7 Jul 2022 20:48:15 +0000 (-0400) Subject: changed library setting name and added ID reporter field to fm_IDL X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=917d6f95df2f250fe7c90ba77d7aa6da65a54160;p=working%2FEvergreen.git changed library setting name and added ID reporter field to fm_IDL --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 8ad8019e05..85cec9a422 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -2416,6 +2416,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA JOIN actor.usr au on au.id = ac.usr ]]> + diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm index 5b9b3205dd..be29646860 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm @@ -15,7 +15,6 @@ use OpenILS::Utils::Fieldmapper; use OpenSRF::Utils::Cache; use OpenILS::Event; use DateTime::Format::ISO8601; -use Data::Dumper; use CGI qw(:all -utf8); use Time::HiRes; diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 2a12e4694f..c70474ad8e 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -21310,16 +21310,16 @@ INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable) INSERT INTO config.org_unit_setting_type (name, grp, label, description, datatype) VALUES ( - 'global.password_reset_age', - 'glob', + 'auth.password_expire_age', + 'sec', oils_i18n_gettext( - 'global.password_reset_age', + 'auth.password_expire_age', 'Password Reset Age', 'coust', 'label' ), oils_i18n_gettext( - 'global.password_reset_age', + 'auth.password_expire_age', 'The number of days after a password has been changed before ' || 'users will be alerted that they should update it.', 'coust', diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.password_age_reset.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.password_age_reset.sql index 9a7ce68469..036ad0a145 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.password_age_reset.sql +++ b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.password_age_reset.sql @@ -7,16 +7,16 @@ BEGIN; INSERT INTO config.org_unit_setting_type (name, grp, label, description, datatype) VALUES ( - 'global.password_reset_age', - 'glob', + 'auth.password_expire_age', + 'sec', oils_i18n_gettext( - 'global.password_reset_age', + 'auth.password_expire_age', 'Password Reset Age', 'coust', 'label' ), oils_i18n_gettext( - 'global.password_reset_age', + 'auth.password_expire_age', 'The number of days after a password has been changed before ' || 'users will be alerted that they should update it.', 'coust', diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 9de990e4e9..da7c15dde6 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -292,5 +292,5 @@ contents_truncate_length = 50; # days since last password change to start reminding a patron to change their password # commenting out this line will disable the reminder -ctx.password_age_reminder = ctx.get_org_setting(ctx.physical_loc || 1, 'global.password_reset_age'); +ctx.password_age_reminder = ctx.get_org_setting(ctx.physical_loc || 1, 'auth.password_expire_age'); %] diff --git a/Open-ILS/web/js/ui/default/staff/app.js b/Open-ILS/web/js/ui/default/staff/app.js index aa3ba9be5f..8dd0c10ec4 100644 --- a/Open-ILS/web/js/ui/default/staff/app.js +++ b/Open-ILS/web/js/ui/default/staff/app.js @@ -161,8 +161,8 @@ function($routeProvider , $locationProvider) { egCore.strings.setPageTitle( egCore.strings['PAGE_TITLE_SPLASH']); - egCore.org.settingsFromServer(['global.password_reset_age','global.password_regex']).then(function(settings) { - $scope.password_reset_age = parseInt(settings['global.password_reset_age']); + egCore.org.settingsFromServer(['auth.password_expire_age','global.password_regex']).then(function(settings) { + $scope.password_reset_age = parseInt(settings['auth.password_expire_age']); }); egCore.net.request( 'open-ils.actor',