[open-ils-commits] [GIT] Evergreen ILS branch master updated. 51c58f55324e77579473a26f323bf22b72a499b1
Evergreen Git
git at git.evergreen-ils.org
Thu Feb 18 18:54:23 EST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 51c58f55324e77579473a26f323bf22b72a499b1 (commit)
via b2514c10cb68a67a492086ee1596d4fc497a0288 (commit)
from deb37b86228082e8af2d009c943137f039cdcb90 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 51c58f55324e77579473a26f323bf22b72a499b1
Author: Kathy Lussier <klussier at masslnc.org>
Date: Thu Feb 18 18:51:33 2016 -0500
LP#1486151 Stamping upgrade script for password reset regex description
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 0e34926..ab33a79 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps
BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0954', :eg_version); --berick/jihpringle/kmlussier
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0955', :eg_version); --mpeters/christineb/kmlussier
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql b/Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql
similarity index 84%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql
rename to Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql
index dfbf7e1..ee2f7af 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql
@@ -1,7 +1,7 @@
BEGIN;
-- check whether patch can be applied
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0955', :eg_version);
UPDATE config.org_unit_setting_type
SET description = 'Regular expression defining the password format. Note: Be sure to update the update_password_msg.tt2 TPAC template with a user-friendly description of your password strength requirements.'
commit b2514c10cb68a67a492086ee1596d4fc497a0288
Author: Michael Peters <mpeters at emeralddata.net>
Date: Tue Aug 18 12:49:10 2015 -0400
LP#1013786 TPAC add reminder to modify update_pasword_msg.tt2 to global.password_regex
Currently, libraries can configure their own password strength regular expressions
via the Library Settings Editor. This, however, did not provide a reminder
that the message shown to the patron when resetting their password needed to
meet those requirements.
This patch provides a hint in the description of the YAOUS global.password_regex
to remind that update_password_msg.tt2 should be updated with a user-friendly
text string explaining the password requirements if they are changed from the default.
Signed-off-by: Michael Peters <mpeters at emeralddata.net>
Signed-off by: Christine Burns <christine.burns at bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
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 bd8aca5..df34cce 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -3931,7 +3931,7 @@ INSERT into config.org_unit_setting_type
'Password format',
'coust', 'label'),
oils_i18n_gettext('global.password_regex',
- 'Regular expression defining the password format',
+ 'Regular expression defining the password format. Note: Be sure to update the update_password_msg.tt2 TPAC template with a user-friendly description of your password strength requirements.',
'coust', 'description'),
'string', null)
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql
new file mode 100644
index 0000000..dfbf7e1
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql
@@ -0,0 +1,10 @@
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE config.org_unit_setting_type
+SET description = 'Regular expression defining the password format. Note: Be sure to update the update_password_msg.tt2 TPAC template with a user-friendly description of your password strength requirements.'
+WHERE NAME = 'global.password_regex';
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
Open-ILS/src/sql/Pg/950.data.seed-values.sql | 2 +-
...955.schema.password-reset-regex-description.sql | 10 ++++++++++
3 files changed, 12 insertions(+), 2 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list