From 35fca97a4ec4f5009735544a26160060eaff7610 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 12 Jun 2020 10:20:20 -0400 Subject: [PATCH] 3.5 Post-Beta Release Notes Additions Signed-off-by: Bill Erickson --- docs/RELEASE_NOTES_3_5.adoc | 103 +++++++++++++++++- .../Administration/aged-money.adoc | 42 ------- .../Administration/self-closing-tags.adoc | 6 - .../do-not-cache-angular-root.adoc | 36 ------ ...old-sort-order-chase-home-lib-patrons.adoc | 5 - .../OPAC/custom_css_in_opac.adoc | 6 - 6 files changed, 100 insertions(+), 98 deletions(-) delete mode 100644 docs/RELEASE_NOTES_NEXT/Administration/aged-money.adoc delete mode 100644 docs/RELEASE_NOTES_NEXT/Administration/self-closing-tags.adoc delete mode 100644 docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc delete mode 100644 docs/RELEASE_NOTES_NEXT/Circulation/hold-sort-order-chase-home-lib-patrons.adoc delete mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/custom_css_in_opac.adoc diff --git a/docs/RELEASE_NOTES_3_5.adoc b/docs/RELEASE_NOTES_3_5.adoc index 3c4e1fd735..1fae3761b7 100644 --- a/docs/RELEASE_NOTES_3_5.adoc +++ b/docs/RELEASE_NOTES_3_5.adoc @@ -25,6 +25,93 @@ New Features for 3.5.0 Administration ~~~~~~~~~~~~~~ +Do not cache the Angular application root +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Evergreen administrators should update existing apache configuration files +so that the Angular index.html file is never cached by the client. This +can be done by changing the Angular setup section of the apache configuration +that starts with: + +[source, conf] +---- + +---- + +or similar in the apache configuration. Add the following after the +FallbackResource directive: + +[source, conf] +---- + + + Header set Cache-Control "no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires 0 + + +---- + +Finally, ensure that the mod_headers apache module is enabled by running the +following commands on all apache servers as the root user: + +[source, sh] +---- +a2enmod headers +/etc/init.d/apache2 restart +---- + + +Repair of Self-closing HTML Tags +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The most recent release of JQuery requires valid closing tags for X/HTML elements. +These were repaired within affected OPAC/Staff Client TT2 templates, but care should +be taken in Action/Trigger templates to make sure closing tags are present where +appropriate. The stock template for PO HTML was affected. +See https://bugs.launchpad.net/evergreen/+bug/1873286[LP#1873286] for details. + +Aged Money Changes +^^^^^^^^^^^^^^^^^^ + +Two new global flag settings have been added to control if/when billings and +payments are aged. Both settings are disabled by default. + +* 'history.money.age_with_circs' + ** Age billings and payments linked to circulations when the cirulcation + is aged. +* 'history.money.retention_age' + ** Age billings and payments based on the age of the finish date for + the linked transaction. + ** To age money based on this setting, there is a new srfsh script + at (by default) /openils/bin/age_money.srfsh. + +Aged Payment Additional Fields +++++++++++++++++++++++++++++++ + +The aged payment table now has accepting_usr, cash_drawer, and billing +columns to improve reporting of aged money. + +Manual Data Migration of Aged Money ++++++++++++++++++++++++++++++++++++ + +For users that wish to age money along with circulations (global flag +'history.money.age_with_circs' is set to true), it's necessary to manaully +age money for circulations which have already been aged. This can be +done directly in the database with SQL: + +NOTE: This SQL can take a very long time to run on large databases, so +it may be necessary to process aged circulations in batches instead +of all at once. + +[source,sql] +------------------------------------------------------------------------- +SELECT money.age_billings_and_payments_for_xact(circ.id) +FROM action.aged_circulation circ +-- limit to aged circs with billings +JOIN money.billing mb ON mb.xact = circ.id; +------------------------------------------------------------------------- + + PostgreSQL 10 Support ^^^^^^^^^^^^^^^^^^^^^ PostgreSQL 10 is now available for installation with Evergreen. Please @@ -87,6 +174,15 @@ button. Circulation ~~~~~~~~~~~ +New Hold Sort Order: Traditional with Holds-chase-home-lib-patrons +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This is a new entry under Administration -> Server Administration -> +Best-Hold Selection Sort Order in the staff client. It prioritizes holds +such that a given item, based on its owning library, will prefer patrons with +a matching home library, no matter the pickup library. + + Angular Staff Catalog Holds Patron Search Support ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The Angular staff catalog now supports patron searching directly from @@ -149,9 +245,10 @@ OPAC Custom CSS in OPAC ^^^^^^^^^^^^^^^^^^ -There is now a library setting called opac.patron.custom_css. This can -be populated with CSS that will load in the OPAC after the stylesheets -and allow for custom CSS without editing server side templates. +There is now a library setting called opac.patron.custom_css. This can be +populated with CSS that will load in the OPAC after the stylesheets and +allow for custom CSS without editing server side templates. The permission +UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css manages access to it. diff --git a/docs/RELEASE_NOTES_NEXT/Administration/aged-money.adoc b/docs/RELEASE_NOTES_NEXT/Administration/aged-money.adoc deleted file mode 100644 index 82bc38a6c2..0000000000 --- a/docs/RELEASE_NOTES_NEXT/Administration/aged-money.adoc +++ /dev/null @@ -1,42 +0,0 @@ -Aged Money Changes -^^^^^^^^^^^^^^^^^^ - -Two new global flag settings have been added to control if/when billings and -payments are aged. Both settings are disabled by default. - -* 'history.money.age_with_circs' - ** Age billings and payments linked to circulations when the cirulcation - is aged. -* 'history.money.retention_age' - ** Age billings and payments based on the age of the finish date for - the linked transaction. - ** To age money based on this setting, there is a new srfsh script - at (by default) /openils/bin/age_money.srfsh. - -Aged Payment Additional Fields -++++++++++++++++++++++++++++++ - -The aged payment table now has accepting_usr, cash_drawer, and billing -columns to improve reporting of aged money. - -Manual Data Migration of Aged Money -+++++++++++++++++++++++++++++++++++ - -For users that wish to age money along with circulations (global flag -'history.money.age_with_circs' is set to true), it's necessary to manaully -age money for circulations which have already been aged. This can be -done directly in the database with SQL: - -NOTE: This SQL can take a very long time to run on large databases, so -it may be necessary to process aged circulations in batches instead -of all at once. - -[source,sql] -------------------------------------------------------------------------- -SELECT money.age_billings_and_payments_for_xact(circ.id) -FROM action.aged_circulation circ --- limit to aged circs with billings -JOIN money.billing mb ON mb.xact = circ.id; -------------------------------------------------------------------------- - - diff --git a/docs/RELEASE_NOTES_NEXT/Administration/self-closing-tags.adoc b/docs/RELEASE_NOTES_NEXT/Administration/self-closing-tags.adoc deleted file mode 100644 index de56c71184..0000000000 --- a/docs/RELEASE_NOTES_NEXT/Administration/self-closing-tags.adoc +++ /dev/null @@ -1,6 +0,0 @@ -Repair of Self-closing HTML Tags -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The most recent release of JQuery requires valid closing tags for X/HTML elements. -These were repaired within affected OPAC/Staff Client TT2 templates, but care should -be taken in Action/Trigger templates to make sure closing tags are present where -appropriate. The stock template for PO HTML was affected. See https://bugs.launchpad.net/evergreen/+bug/1873286[LP#1873286] for details. diff --git a/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc b/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc deleted file mode 100644 index 4cb96e3b42..0000000000 --- a/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc +++ /dev/null @@ -1,36 +0,0 @@ -Do not cache the Angular application root -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Evergreen administrators should update existing apache configuration files -so that the Angular index.html file is never cached by the client. This -can be done by changing the Angular setup section of the apache configuration -that starts with: - -[source, conf] ----- - ----- - -or similar in the apache configuration. Add the following after the -FallbackResource directive: - -[source, conf] ----- - - - Header set Cache-Control "no-cache, no-store, must-revalidate" - Header set Pragma "no-cache" - Header set Expires 0 - - ----- - -Finally, ensure that the mod_headers apache module is enabled by running the -following commands on all apache servers as the root user: - -[source, sh] ----- -a2enmod headers -/etc/init.d/apache2 restart ----- - diff --git a/docs/RELEASE_NOTES_NEXT/Circulation/hold-sort-order-chase-home-lib-patrons.adoc b/docs/RELEASE_NOTES_NEXT/Circulation/hold-sort-order-chase-home-lib-patrons.adoc deleted file mode 100644 index 4d683cbcdd..0000000000 --- a/docs/RELEASE_NOTES_NEXT/Circulation/hold-sort-order-chase-home-lib-patrons.adoc +++ /dev/null @@ -1,5 +0,0 @@ -New Hold Sort Order: Traditional with Holds-chase-home-lib-patrons -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -This is a new entry under Administration -> Server Administration -> Best-Hold Selection Sort Order in the staff client. It prioritizes holds such that a given item, based on its owning library, will prefer patrons with a matching home library, no matter the pickup library. - diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/custom_css_in_opac.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/custom_css_in_opac.adoc deleted file mode 100644 index 9ad01f3924..0000000000 --- a/docs/RELEASE_NOTES_NEXT/OPAC/custom_css_in_opac.adoc +++ /dev/null @@ -1,6 +0,0 @@ -Custom CSS in OPAC -^^^^^^^^^^^^^^^^^^ -There is now a library setting called opac.patron.custom_css. This can be -populated with CSS that will load in the OPAC after the stylesheets and -allow for custom CSS without editing server side templates. The permission -UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css manages access to it. -- 2.43.2