Difference between revisions of "EPrints 3.4.4"
(Added first tranche of changes since 3.4.3) |
(→Provisional Release Notes: Added changes since 3.4.3 up to 19th November 2021.) |
||
Line 6: | Line 6: | ||
=== New Dependencies === | === New Dependencies === | ||
− | None. | + | None. Check earlier dependencies for [[EPrints 3.4.3]] and before. |
=== Changes Since 3.4.3 === | === Changes Since 3.4.3 === | ||
==== New Functionality ==== | ==== New Functionality ==== | ||
* Adds new script to about unit test results in JUnit format to better support use with Continuous Integration applications (e.g. Jenkins). | * Adds new script to about unit test results in JUnit format to better support use with Continuous Integration applications (e.g. Jenkins). | ||
− | * Adds function to get derived | + | * Adds function <tt>$document->get_derived_versions</tt> to get derived documents, such as preview and thumbnail images. |
* [https://github.com/eprints/eprints3.4/pull/161 Allows custom list of fields for meta tags in summary pages]. | * [https://github.com/eprints/eprints3.4/pull/161 Allows custom list of fields for meta tags in summary pages]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/165 Allows parts of the subject tree to be expanded by default]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/181 Allows top of subjects based view to be different from field's top]. (E.g. have a browse view for a sub-division of the organisation rather than the whole organisation). | ||
==== Security and Privacy Improvements ==== | ==== Security and Privacy Improvements ==== | ||
Line 25: | Line 27: | ||
* Allows saved search alerts to go to additional recipients. | * Allows saved search alerts to go to additional recipients. | ||
* Adds title phrase and warning to <tt>/cgi/set_lang</tt> if it were ever to be called without an immediate redirect. | * Adds title phrase and warning to <tt>/cgi/set_lang</tt> if it were ever to be called without an immediate redirect. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/166 Allows CSS to be applied to specific subjects in a tree of <tt>Subject</tt> field]. | ||
+ | * [https://github.com/eprints/eprints3.4/pull/169 Send test email multiple recipients]. | ||
+ | * Adds high resolution timestamps to database debug lines. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/176 Deal better with field type mismatches in SWORD POST requests]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/177 Allows <tt>epadmin</tt> <tt>reindex</tt>, <tt>recommit</tt>, <tt>redo_thumbnails</tt> and <tt>redo_mime_type</tt> to specify a range / multiple eprints] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/180 Add timestamps to significant error messages]. | ||
+ | * Allows <tt>distinctby</tt> search condition if fields if they are sub/super classes (i.e. types) of each other. | ||
==== Bug Fixes ==== | ==== Bug Fixes ==== | ||
Line 47: | Line 56: | ||
* Moves license/copyright boilerplate for <tt>testdata/bin/import_rand_data</tt> to ensure it does not break random abstract generation. | * Moves license/copyright boilerplate for <tt>testdata/bin/import_rand_data</tt> to ensure it does not break random abstract generation. | ||
* Ensure all fields are added to XML revision files even if <tt>export_as_xml</tt> is set to <tt>0</tt> (false). | * Ensure all fields are added to XML revision files even if <tt>export_as_xml</tt> is set to <tt>0</tt> (false). | ||
+ | * Fixes journal autocomplete to also group on <tt>publisher</tt> field. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/144 Prevents undepositable subjects being unset when eprint is edited]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/168 Fixes subject and body of test email to stop it getting lost in spam filters]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/164 Use reply-to rather from to reduce email sent being marked as spam]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/170 Fixes non-compulsory boolean radiogroup fields cannot deselect UNSPECIFIED]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/172 Fixes email field validation to not allow commas in domain]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/173 Fixes date validation so it still allows archive bespoke validation]. | ||
+ | * Use <tt>default_value</tt> for compound sub-field if it is set and value is not. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/174 Allow uppercase characters in <tt>REGEXP_VARNAME</tt> to allow for user-defined database password]. | ||
+ | * Various minor fixes to <tt>bin/check_xapian</tt> script. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/157 Fixes <tt>aria-describedby</tt> reference when date field used within a compound field]. (E.g. in the Dates, Dates, Dates plugin). | ||
+ | * Uses <tt>EPrints::Language</tt> <tt>has_phrase</tt> to check whether fieldhelp is set for <tt>EPrints::MetaField</tt>'s <tt>get_describedby</tt> function rather than generating unnecessary warning messages if missing. | ||
+ | * [https://github.com/eprints/eprints3.4/pull/179 Fixes DOI import error handling]. | ||
+ | * [https://github.com/eprints/eprints3.4/issues/182 Use <tt>CURRENT_USER()</tt> to get hostname or database server rather than assuming localhost, when creating MySQL database user and granting privileges]. | ||
+ | * Uses more reliable <tt>EPrints::Time::iso_date</tt> to get current date to use in <tt>lift_embargos</tt> search. | ||
+ | * Fixes bug with applying <tt>mysql_enable_utf8=1</tt> when database driver is not MySQL. | ||
+ | * Sets <tt>IsNotNull</tt> search condition to <tt>0</tt> rather than empty string for <tt>date</tt>, <tt>int</code> and <tt>time</tt> type fields. | ||
+ | |||
[[Category:Eprints3.4]] | [[Category:Eprints3.4]] | ||
[[Category:Planned Releases]] | [[Category:Planned Releases]] |
Revision as of 11:27, 12 April 2022
This page contains information about the provisional EPrints v3.4.4 tag and release on GitHub. A date for this release is planned for the end of June 2022.
Contents
Provisional Release Notes
- Zero codename: To be determined
- Publications flavour codename: To be determined
New Dependencies
None. Check earlier dependencies for EPrints 3.4.3 and before.
Changes Since 3.4.3
New Functionality
- Adds new script to about unit test results in JUnit format to better support use with Continuous Integration applications (e.g. Jenkins).
- Adds function $document->get_derived_versions to get derived documents, such as preview and thumbnail images.
- Allows custom list of fields for meta tags in summary pages.
- Allows parts of the subject tree to be expanded by default.
- Allows top of subjects based view to be different from field's top. (E.g. have a browse view for a sub-division of the organisation rather than the whole organisation).
Security and Privacy Improvements
- Ensures render_fileinfo always uses https URLs if enabled. So files can be downloaded securely.
- Allows EPrints::System::proc_exists to work when SELinux is enforcing.
- Ensures access settings (i.e. security field) of all derived versions of a document are updated when the document's access settings are updated.
- Ensures workflow cannot update a data object with anything other than a POST request.
General Improvements
- Includes check of dark_document dataset before assuming no document in certain position on eprint is present.
- Allows bespoke function ultimate_doc_pos to be defined to work out position for new document, if eprint can use more than one document dataset (e.g. document and dark_document).
- Allows saved search alerts to go to additional recipients.
- Adds title phrase and warning to /cgi/set_lang if it were ever to be called without an immediate redirect.
- Allows CSS to be applied to specific subjects in a tree of Subject field.
- Send test email multiple recipients.
- Adds high resolution timestamps to database debug lines.
- Deal better with field type mismatches in SWORD POST requests.
- Allows epadmin reindex, recommit, redo_thumbnails and redo_mime_type to specify a range / multiple eprints
- Add timestamps to significant error messages.
- Allows distinctby search condition if fields if they are sub/super classes (i.e. types) of each other.
Bug Fixes
- Ensures epadmin upgrade also adds new dataset fields
- Checks whether id_number field is set before parse test in Export::DC and Export::EndNote plugins.
- Fixes data read in hack with Import::BibTeX plugin so it works with unit test.
- Fixes way EPrints::Utils::crypt_password is called in unit tests.
- Fixes validation for date field when it is multiple
- Sets a search_input_style for document license field.
- Fixes is_public check for documents and returns 0 (false) if security field is not set. (Rather than generating a warning, but still returning false).
- Ensure send_out_alert errors if search expression is EPrints::Plugin::Search::Xapianv2 (as well as EPrints::Plugin::Search::Xapian. As such search expressions cannot be used for alerts.
- Fixes bug in defining cookie settings when using /cgi/set_lang>.
- Fixes mismatch in calling code and method (EPrints::Apache::Rewrite and EPrints::Update::Views).
- Various fixes to prevent bad filenames/formats being used or processed.
- Considers datestamp for deleted records when finding the earliest record.
- Updates td element to div in views missed during Accessibility improvements.
- Fixes aria-describedby for non-multiple itemref/dataobjref components.
- Fixes rendering issues for Multipart type field.
- Adds aria-labelledby and aria-describedby to Boolean menu.
- Fixes anomaly with unordered fields.
- Ensures requests with text/* in the Accept header work.
- Moves license/copyright boilerplate for testdata/bin/import_rand_data to ensure it does not break random abstract generation.
- Ensure all fields are added to XML revision files even if export_as_xml is set to 0 (false).
- Fixes journal autocomplete to also group on publisher field.
- Prevents undepositable subjects being unset when eprint is edited.
- Fixes subject and body of test email to stop it getting lost in spam filters.
- Use reply-to rather from to reduce email sent being marked as spam.
- Fixes non-compulsory boolean radiogroup fields cannot deselect UNSPECIFIED.
- Fixes email field validation to not allow commas in domain.
- Fixes date validation so it still allows archive bespoke validation.
- Use default_value for compound sub-field if it is set and value is not.
- Allow uppercase characters in REGEXP_VARNAME to allow for user-defined database password.
- Various minor fixes to bin/check_xapian script.
- Fixes aria-describedby reference when date field used within a compound field. (E.g. in the Dates, Dates, Dates plugin).
- Uses EPrints::Language has_phrase to check whether fieldhelp is set for EPrints::MetaField's get_describedby function rather than generating unnecessary warning messages if missing.
- Fixes DOI import error handling.
- Use CURRENT_USER() to get hostname or database server rather than assuming localhost, when creating MySQL database user and granting privileges.
- Uses more reliable EPrints::Time::iso_date to get current date to use in lift_embargos search.
- Fixes bug with applying mysql_enable_utf8=1 when database driver is not MySQL.
- Sets IsNotNull search condition to 0 rather than empty string for date, int and time type fields.