Difference between revisions of "EPrints 3.4.4"

From EPrints Documentation
Jump to: navigation, search
(Provisional Release Notes: Added changes since 3.4.3 up to February 8th 2022.)
(New Dependencies: Added info about prototypejs ingredient)
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== Provisional Release Notes ==
 
== Provisional Release Notes ==
* '''Zero codename:''' ''To be determined''
+
* '''Zero codename:''' ''Lemon Trifle Bora''
* '''Publications flavour codename:''' ''To be determined''
+
* '''Publications flavour codename:''' ''Amaretti Biscuit Haboob''
  
 
=== New Dependencies ===
 
=== New Dependencies ===
None. Check earlier dependencies for [[EPrints 3.4.3]] and before.
+
For future facilitation of interchangeable JavaScript libraries, Prototype JavaScript currently used by EPrints has been moved to become an ingredient. Therefore, for those upgrading their repository the following line needs to be added to your flavour's inc file (e.g. <tt>/opt/eprints3/flavours/pub_lib/inc</tt>):
 +
ingredients/protyotypejs
 +
Check earlier dependencies for [[EPrints 3.4.3]] and before.
  
 
=== Changes Since 3.4.3 ===
 
=== Changes Since 3.4.3 ===
Line 15: Line 17:
 
* [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/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).
 
* [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).
 +
* Adds <tt>show_timestamps_in_log config</tt> option to <tt>log.pl</tt> config files.
 +
* [https://github.com/eprints/eprints3.4/issues/197 Adds <tt>--reload</tt> flag to <tt>generate_static</tt> to also reload the repository configuration].  This ensure changes to both static pages and templates are applied at the same time.
 
* Adds function to check whether a dataset with a particular ID actually exists.
 
* Adds function to check whether a dataset with a particular ID actually exists.
 
+
* [https://github.com/eprints/eprints3.4/issues/201 Adds <tt>redo_hash</tt> option to <tt>epadmin</tt> to allow MD5 hash of files to be recalculated]. (E.g. If something when wrong with this originally).
 +
* [https://github.com/eprints/eprints3.4/issues/202|Adds EPC tag <tt>list</tt> and EPScript functions <tt>dumper</tt>, <tt>to_dataobj</tt> and <tt>subproperty</tt>].
  
 
==== Security and Privacy Improvements ====
 
==== Security and Privacy Improvements ====
Line 23: Line 28:
 
* Ensures access settings (i.e. <tt>security</tt> field) of all derived versions of a document are updated when the document's access settings are updated.
 
* Ensures access settings (i.e. <tt>security</tt> 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 <tt>POST</tt> request.
 
* Ensures workflow cannot update a data object with anything other than a <tt>POST</tt> request.
* Adds show_timestamps_in_log config option to log.pl config files.
+
* [https://github.com/eprints/eprints3.4/issues/199 Adds monitoring for login attempts for better intrusion detection].  Stored as hierarchical log files (e.g. <tt>2022/04/13/</tt>) in <tt>login_attempts</tt> sub-directory of archive's <tt>var/</tt> directory.
 +
* [https://github.com/eprints/eprints3.4/issues/208 Creators/editors ID should not (by default) be exportable for better GDPR].
 +
* [https://github.com/eprints/eprints3.4/issues/194 Adds repositpry function that says whether current request is for a preview].
 +
* [https://github.com/eprints/eprints3.4/issues/216 Allows review buffer to be skipped just for eprints of certain owners]. (Rather than binary choice of to skip buffer for all or no eprints).
  
 
==== General Improvements ====
 
==== General Improvements ====
Line 45: Line 53:
 
* Removes defunct <t>ie6.css</tt> stylesheet file.
 
* Removes defunct <t>ie6.css</tt> stylesheet file.
 
* Replaces old bespoke theme with leaner example theme.
 
* Replaces old bespoke theme with leaner example theme.
 +
* Ensures summary page <tt>EPrint::Box</tt> plugins have unique class for CSS.
 +
* Provides a more Accessibility compliant version of <tt>limit_names_shown.pl</tt>.
 +
* Extricates PrototypeJS from core codebase into ingredient, so in future JavaScript library of choice could be used. '''You may need to manually update your <tt>flavours/pub_lib/inc</tt> file.'''
 +
* [https://github.com/eprints/eprints3.4/issues/203 Allows PubMed and DOI import plugins to set corporate creators].
 +
* Allows DOI import plugin to set ORCIDs for creators, editors and contributors.
 +
* [https://github.com/eprints/eprints3.4/issues/200 Modifies <tt>requester_user_agent</tt> column for access table to use <tt>LONGTEXT</tt> rather than <tt>VARCHAR(255)</tt> so long user agent strings do not get set as <tt>NULL</tt>]. (Only update existing archives' access database tables if <tt>NULL</tt> values for <tt>requester_user_agent</tt> have been discovered).
 +
* Replaces old DOI import plugin with newer version that uses UNIXREF import source.
 +
* Allows PubMed import plugin to set <tt>id_number</tt> with most significant ID, (doi > pubmed > pii).
 +
* [https://github.com/eprints/eprints3.4/issues/207 Removes hard-coding of citation style to use].
 +
* [https://github.com/eprints/eprints3.4/issues/189 Adds upload URL field for documents and warns users if file not uploaded properly].  (This should both make it easy to debug upload issues and reduce the chances eprints will failed documents uploads being moved to the live archive).
 +
* [https://github.com/eprints/eprints3.4/issues/209 Switches between <tt>department</tt> and <tt>divisions</tt> as default advanced search field].
 +
* [https://github.com/eprints/eprints3.4/issues/181 Allows top of subjects based view ot be different to field's <tt>top</tt> subject]
 +
* [https://github.com/eprints/eprints3.4/issues/218 Allows whether to show request copy button to be determined based on document metadata].
 +
* [https://github.com/eprints/eprints3.4/issues/220 Adds timestamp paramater to auto CSS and JS files to prevent caching issues].
 +
* [https://github.com/eprints/eprints3.4/issues/221 Allows lift_embargos to retain date_embargo if --retain flag is set].
 +
* Adds/makes consistent OpenXML MS document typename phrases.
 +
* Adds new JavaScript needed for Accessibility compliant limit_names_shown in citations.
  
 
==== Bug Fixes ====
 
==== Bug Fixes ====
Line 83: Line 108:
 
* Uses more reliable <tt>EPrints::Time::iso_date</tt> to get current date to use in <tt>lift_embargos</tt> search.
 
* 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.
 
* 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.
+
* Sets <tt>IsNotNull</tt> search condition to <tt>0</tt> rather than empty string for <tt>date</tt>, <tt>int</tt> and <tt>time</tt> type fields.
 
* Removes invalid characters (<tt>x00</tt>-<tt>x08</tt>, <tt>x0B</tt>, <tt>x0C</tt> and <tt>x0E</tt>-<tt>x19</tt>) from being output as XML, specifically Dublin Core (DC) export.
 
* Removes invalid characters (<tt>x00</tt>-<tt>x08</tt>, <tt>x0B</tt>, <tt>x0C</tt> and <tt>x0E</tt>-<tt>x19</tt>) from being output as XML, specifically Dublin Core (DC) export.
 
* [https://github.com/eprints/eprints3.4/issues/184 Prevents repository admins from modifying usernames where they would create duplicates].
 
* [https://github.com/eprints/eprints3.4/issues/184 Prevents repository admins from modifying usernames where they would create duplicates].
Line 95: Line 120:
 
* Ensures password length validation cannot break if parameters undefined.
 
* Ensures password length validation cannot break if parameters undefined.
 
* [https://github.com/eprints/eprints3.4/issues/193 Provides better handling of error if <tt>TeX::Encode</tt> Perl library is not installed].
 
* [https://github.com/eprints/eprints3.4/issues/193 Provides better handling of error if <tt>TeX::Encode</tt> Perl library is not installed].
 
+
* [https://github.com/eprints/eprints3.4/issues/198 Fixes assumption that PostGreSQL <tt>table_schema</tt> will always be 'public'].
 +
* Fixes typo on EndNote export to check <tt>isbn</tt> field is set before exporting it rather than checking <tt>issn</tt> before trying to export <tt>isbn</tt>.
 +
* Removes duplicate definition of <tt>$c->{make_orderkey_ignore_extras}</tt>.
 +
* Removes <tt>dc:doi</tt> element that does not exist in Dublin Core use <tt>dc:identfier</tt> <tt>dc="dcterms:doi"</tt> attribute instead.
 +
* [https://github.com/eprints/eprints3.4/pull/204 Fixes separator characters used to parse a date].  (To include a space used in EPrints typically format and the letters T and Z used in the ISO 8601 date and time format).
 +
* [https://github.com/eprints/eprints3.4/issues/196 Ensures appropriate default values are set for <tt>allow_null => 1</tt> fields for compatibility if strict rules enforced on MariaDB 10.x].
 +
* [https://github.com/eprints/eprints3.4/issues/213 Fixes bug with <tt>EPrints::System::sanitise</tt> if used in no CGI context], (e.g. in a bin script).
 +
* [https://github.com/eprints/eprints3.4/issues/211 Fixes various bugs with <tt>/cgi/cal</tt> resource].
 +
* [https://github.com/eprints/eprints3.4/issues/212 Makes Search Condition IsNotNull what it says and adds IsNotEmpty Search condition].
 +
* [https://github.com/eprints/eprints3.4/issues/187 Ensures chekboxes in multiple compound MetaFields does not add blank rows].
 +
* [https://github.com/eprints/eprints3.4/issues/217 Stops Upload from URL uploading the whole Internet].
 +
* [https://github.com/eprints/eprints3.4/issues/136 Prevents 'has invalid parameter' being intermittently reported].
 +
* [https://github.com/eprints/eprints3.4/issues/219 Prevents epc:comment in template files rendering comment text on generated web pages].
 +
* Fixes leap year exceptions to every 400 not 1000 years in date MetaField validation.
 +
* [https://github.com/eprints/eprints3.4/issues/224 Fixes download of encapsulated HTML file from Admin::Config::Edit::XPage].
 +
* Ensures HTML generated for download from Admin::Config::Edit::XPage is valid according to xmllint.
 +
* Removes libsepol1 from Deb deps as not available in Ubuntu 22.04.
 +
* Adds mariadb-{client,server} as alternatives to MySQL Debs.
  
 
[[Category:Eprints3.4]]
 
[[Category:Eprints3.4]]
 
[[Category:Planned Releases]]
 
[[Category:Planned Releases]]

Revision as of 09:34, 11 June 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.

Provisional Release Notes

  • Zero codename: Lemon Trifle Bora
  • Publications flavour codename: Amaretti Biscuit Haboob

New Dependencies

For future facilitation of interchangeable JavaScript libraries, Prototype JavaScript currently used by EPrints has been moved to become an ingredient. Therefore, for those upgrading their repository the following line needs to be added to your flavour's inc file (e.g. /opt/eprints3/flavours/pub_lib/inc):

ingredients/protyotypejs

Check earlier dependencies for EPrints 3.4.3 and before.

Changes Since 3.4.3

New Functionality

Security and Privacy Improvements

General Improvements

Bug Fixes