Difference between revisions of "EPrints 3.4.6"
(Adds GitHub changes up November 10th 2023) |
(Added changes up to 27th March 2024) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
* Adds <code>unlink_lib</code> option to <code>tools/epm</code>. | * Adds <code>unlink_lib</code> option to <code>tools/epm</code>. | ||
* [https://github.com/eprints/eprints3.4/issues/340 Provide support for converting HEIC and WEBP thumbnails] | * [https://github.com/eprints/eprints3.4/issues/340 Provide support for converting HEIC and WEBP thumbnails] | ||
+ | * Adds support for setting default reply-to when separate <code>$c->{adminemail}</code> and <code>$c->{sendermail}</code> | ||
==== Security and Privacy Improvements ==== | ==== Security and Privacy Improvements ==== | ||
* [https://github.com/eprints/eprints3.4/issues/347 Implement stronger password hashing] | * [https://github.com/eprints/eprints3.4/issues/347 Implement stronger password hashing] | ||
* [https://github.com/eprints/eprints3.4/issues/344 Creates and enables <code>export_privacy</code> setting to prevent export formats that include email addresses to be publicly accessible by default]. | * [https://github.com/eprints/eprints3.4/issues/344 Creates and enables <code>export_privacy</code> setting to prevent export formats that include email addresses to be publicly accessible by default]. | ||
+ | * Ensure <code>ga.js</code> is always served on HTTPS | ||
==== General Improvements ==== | ==== General Improvements ==== | ||
Line 25: | Line 27: | ||
* [https://github.com/eprints/eprints3.4/issues/348 Improves message when file retrieval fails] | * [https://github.com/eprints/eprints3.4/issues/348 Improves message when file retrieval fails] | ||
* Adds <code>.gitignore</code> for ingredients other than those included, so those deploying EPrints using Git do not see new ingredients as uncommitted. | * Adds <code>.gitignore</code> for ingredients other than those included, so those deploying EPrints using Git do not see new ingredients as uncommitted. | ||
+ | * Updates and tidies <code>SystemSettings.pm</code> and <code>SystemSettings.pm.in</code> | ||
+ | * [https://github.com/eprints/eprints3.4/issues/355 Adds function to get local path on disk for file object] | ||
+ | * [https://github.com/eprints/eprints3.4/pull/357 Overwrites media video stream if incoming stream is higher res] | ||
+ | * Uses <code>export</code> version of citation if exists (rather than <code>default</code>) for HTML export of data objects | ||
+ | * [https://github.com/eprints/eprints3.4/pull/359 Adds title attribute for preview images to display on hover] | ||
+ | * Adds function to test if citation style file exists | ||
+ | * Allows truncated URL linls to set a <code>target</code> attribute | ||
+ | * Provide large icons to be printed by EPC <code>icon</code> function | ||
+ | * Added EPC <code>text</code> function to print out phrases into HTML attributes values | ||
+ | * [https://github.com/eprints/eprints3.4/issues/362 Allows certain HTML formatting tags in imports, (e.g. from PubMed)] | ||
+ | * Adds title for action button image | ||
+ | * Allows fields of various types to be more customisable in search forms | ||
+ | * Reports useful error message if user tries to remove subject that has children | ||
+ | * [https://github.com/eprints/eprints3.4/issues/353 Allows way to pass timeout to indexer daemon] | ||
+ | * [https://github.com/eprints/eprints3.4/pull/351 Aligns headings when Itemref occurs within Compound Metafield] | ||
+ | * Log failure if email attempts send with <code>to_email</code> or <code>to_list</code> set | ||
+ | * Allows <code>EPrints::Repository::render_option_list</code> to render select box as disabled | ||
+ | * Ensures more consistent use of space for results listings where div rather than table rows are now used for better Accessibility | ||
+ | * Better margin for search results toolbar (e.g. Batch Edit) | ||
+ | * [https://github.com/eprints/eprints3.4/issues/367 Organise fields under stage in EPrint::View screen by workflow rather than data object] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/370 Rewrite CitationCache code to use EPrints API rather than SQL query] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/360 Allow "make open access" on request copy reponses a disableable field] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/376 Allow signed in user to be logged in Apache access logs] | ||
==== Bug Fixes ==== | ==== Bug Fixes ==== | ||
Line 35: | Line 60: | ||
* Fixes bug preventing user password updates from command line. | * Fixes bug preventing user password updates from command line. | ||
* Fixes intermittent issue with <code>xmlns:xsi</code> attribute being defined twice on some <code>/cgi/oai2/...</code> pages. | * Fixes intermittent issue with <code>xmlns:xsi</code> attribute being defined twice on some <code>/cgi/oai2/...</code> pages. | ||
+ | * Check that <code>uri</code> of relation is set before comparing its value for <code>EPrints::DataObj::remove_dataobj_relations</code> | ||
+ | * Check that <code>uri</code> of relation is set before comparing its value for <code>EPrints::MetaField::Relation::to_sax_basic</code> | ||
+ | * Check URL is set before testing its length in <code>EPrints::Extras::render_url_truncate_end</code> | ||
+ | * Fixes <code>EPrints::XML::SAX::Writer::escape</code> to make sure <code>$str</code> is set before applying regular expression | ||
+ | * Export bar form should use <code>rel_cgipath</code> not <code>http_cgiroot</code> | ||
+ | * Actually use <code>size</code> when calling <code>EPrints::DataObj::Document::render_icon_link</code> | ||
+ | * Ensure lookup of keyname is set before using it in <code>EPrints::Database::get_dataobjs</code> | ||
+ | * Testing an import should set the <code>filename</code> parameter like it would in a real import | ||
+ | * Checks <code>$c->{oai}->{comments}</code> is set before iterating over it. | ||
+ | * Prevents bin script from complaining about email-less users. | ||
+ | * Fixed EPC <code>contains</code> function to return a boolean value rather than a TRUE/FALSE string. | ||
+ | * [https://github.com/eprints/eprints3.4/pull/365 Allows documents to <code>redo_thumbnails</code> even if they have no parent eprint] | ||
+ | * Fixes wrong optione name for loading external DTDs in XML | ||
* Fixes various typos | * Fixes various typos | ||
+ | * [https://github.com/eprints/eprints3.4/issues/366 Fixes overloading of etaField <code>render_quiet</code> attribute by introducing <code>render_column_quiet</code> attribute | ||
+ | * [https://github.com/eprints/eprints3.4/issues/369 Fixes unsecure request when uploading file] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/371 Fix encoding issues for bespoke Export plugins] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/334 Using page_id pin in page templates breaks editing static pages in web interface] | ||
+ | * Checks value is set before performing a regular expression replace in <code>EPrints::MetaField::Search::form_value_basi</code> | ||
+ | * [https://github.com/eprints/eprints3.4/issues/375 Return more appropriate 500 rather than 404 HTTP code if document present but database query fails] | ||
+ | * [https://github.com/eprints/eprints3.4/issues/377 Fixes drag 'n' drop issues leading to zero byte files | ||
+ | * [https://github.com/eprints/eprints3.4/issues/378 Fixes "More input rows" button affecting layout of Compound field tables in workflow] | ||
+ | * Ensures clicking tabs on abstract pages does not reload page | ||
== Further Planned Features and Improvements == | == Further Planned Features and Improvements == |
Latest revision as of 20:28, 3 April 2024
This page contains information about the provisional EPrints v3.4.6 tag and release on GitHub. A date for this release is yet to be scheduled.
Contents
Release Notes (Provisional)
EPrints 3.4.6 will be released later in 2024.
- Zero codename: TO BE DETERMINED
- Publications flavour codename: TO BE DETERMINED
New Dependencies
Check earlier dependencies for EPrints 3.4.5 and before.
Changes Since 3.4.5
New Functionality
- Adds
unlink_lib
option totools/epm
. - Provide support for converting HEIC and WEBP thumbnails
- Adds support for setting default reply-to when separate
$c->{adminemail}
and$c->{sendermail}
Security and Privacy Improvements
- Implement stronger password hashing
- Creates and enables
export_privacy
setting to prevent export formats that include email addresses to be publicly accessible by default. - Ensure
ga.js
is always served on HTTPS
General Improvements
- Implement Recaptcha field to work with Google ReCAPTCHA v3
- [https://github.com/eprints/eprints3.4/issues/339 Sets
ignore_login_ip = 1
by default if HTTPS is enabled. - Improvements Accessibility based on issues raised by axe DevTools
- Improves message when file retrieval fails
- Adds
.gitignore
for ingredients other than those included, so those deploying EPrints using Git do not see new ingredients as uncommitted. - Updates and tidies
SystemSettings.pm
andSystemSettings.pm.in
- Adds function to get local path on disk for file object
- Overwrites media video stream if incoming stream is higher res
- Uses
export
version of citation if exists (rather thandefault
) for HTML export of data objects - Adds title attribute for preview images to display on hover
- Adds function to test if citation style file exists
- Allows truncated URL linls to set a
target
attribute - Provide large icons to be printed by EPC
icon
function - Added EPC
text
function to print out phrases into HTML attributes values - Allows certain HTML formatting tags in imports, (e.g. from PubMed)
- Adds title for action button image
- Allows fields of various types to be more customisable in search forms
- Reports useful error message if user tries to remove subject that has children
- Allows way to pass timeout to indexer daemon
- Aligns headings when Itemref occurs within Compound Metafield
- Log failure if email attempts send with
to_email
orto_list
set - Allows
EPrints::Repository::render_option_list
to render select box as disabled - Ensures more consistent use of space for results listings where div rather than table rows are now used for better Accessibility
- Better margin for search results toolbar (e.g. Batch Edit)
- Organise fields under stage in EPrint::View screen by workflow rather than data object
- Rewrite CitationCache code to use EPrints API rather than SQL query
- Allow "make open access" on request copy reponses a disableable field
- Allow signed in user to be logged in Apache access logs
Bug Fixes
- Fixes Downloading document from preview image does not work for some filenames
- Fixes Do not add
requester_userid
by default as access table can take a long time to add new fields. However, ensure if field exists it is set to current user ID, if set. - Fixes serialization of EPM for
build
option oftools/epm
. - Fixes issues with
disable
andunpack
options fortools/epm
. - Duplicated "_label" span id
- Fixes Tab children deemed decorative
- Fixes bug preventing user password updates from command line.
- Fixes intermittent issue with
xmlns:xsi
attribute being defined twice on some/cgi/oai2/...
pages. - Check that
uri
of relation is set before comparing its value forEPrints::DataObj::remove_dataobj_relations
- Check that
uri
of relation is set before comparing its value forEPrints::MetaField::Relation::to_sax_basic
- Check URL is set before testing its length in
EPrints::Extras::render_url_truncate_end
- Fixes
EPrints::XML::SAX::Writer::escape
to make sure$str
is set before applying regular expression - Export bar form should use
rel_cgipath
nothttp_cgiroot
- Actually use
size
when callingEPrints::DataObj::Document::render_icon_link
- Ensure lookup of keyname is set before using it in
EPrints::Database::get_dataobjs
- Testing an import should set the
filename
parameter like it would in a real import - Checks
$c->{oai}->{comments}
is set before iterating over it. - Prevents bin script from complaining about email-less users.
- Fixed EPC
contains
function to return a boolean value rather than a TRUE/FALSE string. - Allows documents to
redo_thumbnails
even if they have no parent eprint - Fixes wrong optione name for loading external DTDs in XML
- Fixes various typos
- [https://github.com/eprints/eprints3.4/issues/366 Fixes overloading of etaField
render_quiet
attribute by introducingrender_column_quiet
attribute - Fixes unsecure request when uploading file
- Fix encoding issues for bespoke Export plugins
- Using page_id pin in page templates breaks editing static pages in web interface
- Checks value is set before performing a regular expression replace in
EPrints::MetaField::Search::form_value_basi
- Return more appropriate 500 rather than 404 HTTP code if document present but database query fails
- [https://github.com/eprints/eprints3.4/issues/377 Fixes drag 'n' drop issues leading to zero byte files
- Fixes "More input rows" button affecting layout of Compound field tables in workflow
- Ensures clicking tabs on abstract pages does not reload page
Further Planned Features and Improvements
See 3.4.6 milestone on GitHub for more details.