Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Funder identifier issue fix #3

Open
wants to merge 112 commits into
base: master
Choose a base branch
from

Commits on Dec 19, 2014

  1. Configuration menu
    Copy the full SHA
    7b7533a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af8e62b View commit details
    Browse the repository at this point in the history
  3. Finally fixed the typo in How it works

    David McElroy committed Dec 19, 2014
    Configuration menu
    Copy the full SHA
    e37c779 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2015

  1. code moved to datacitedoi.pl

    thus taking advantage of config options
    cziaarm committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    adbcb28 View commit details
    Browse the repository at this point in the history
  2. new config options

    and datacite_core.pl code too
    cziaarm committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    af246e6 View commit details
    Browse the repository at this point in the history
  3. improved event handling

    plus use of new config options
    cziaarm committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    dae3b09 View commit details
    Browse the repository at this point in the history
  4. Event::Datacite::coin_doi for consisstency

    better name handling, use of new config etc
    cziaarm committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    10c2a39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43dfb29 View commit details
    Browse the repository at this point in the history
  6. Action button plugin

    cziaarm committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    7723caf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    53af6d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2015

  1. Screen not Sreen!!

    cziaarm committed Jan 16, 2015
    Configuration menu
    Copy the full SHA
    67d9326 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c6c49a View commit details
    Browse the repository at this point in the history
  3. epmi relates to latest code

    cziaarm committed Jan 16, 2015
    Configuration menu
    Copy the full SHA
    4db3b82 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2016

  1. Updating plugin code to resolve server error issue

    Andrew Hercules committed Aug 12, 2016
    Configuration menu
    Copy the full SHA
    1683cd6 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. Configuration menu
    Copy the full SHA
    2daef87 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2016

  1. Configuration menu
    Copy the full SHA
    3d1bef3 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. Updating DataCiteEvent.pm to use Crypt::SSLeay module

    Andrew Hercules committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    6b80290 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2016

  1. Update z_datacitedoi.pl

    Added config param to check for DataCiteXML shcema version #2 #3 (Ideally the event will ask which schema version datacite will use, but for now we can set it in the config)
    cziaarm authored Sep 7, 2016
    Configuration menu
    Copy the full SHA
    ee2d788 View commit details
    Browse the repository at this point in the history
  2. Update z_datacitedoi.pl

    Updating the schema version to 4.0
    BorysFeldman authored Sep 7, 2016
    Configuration menu
    Copy the full SHA
    aceb640 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2016

  1. Configuration menu
    Copy the full SHA
    50233b4 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2016

  1. Fixing bug when <subjects> tag is created

    Andrew Hercules committed Nov 3, 2016
    Configuration menu
    Copy the full SHA
    5178819 View commit details
    Browse the repository at this point in the history
  2. Fixing minor typo

    Andrew Hercules committed Nov 3, 2016
    Configuration menu
    Copy the full SHA
    cfb51f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2016

  1. Adding resourceType and resourceTypeGeneral attributes to DataCiteXML…

    … export
    Andrew Hercules committed Nov 4, 2016
    Configuration menu
    Copy the full SHA
    a3354c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2016

  1. Updating rendering of resourceType and subjects elements

    Andrew Hercules committed Nov 7, 2016
    Configuration menu
    Copy the full SHA
    4939f22 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2016

  1. Fixing minor typos in XML element names

    Andrew Hercules committed Nov 15, 2016
    Configuration menu
    Copy the full SHA
    32cc4b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2016

  1. Fixing rendering of geoLocations XML elements

    Andrew Hercules committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    cc5493d View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. Fixed hash ref bug, this closes #6

    Rory McNicholl committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    203e85a View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2016

  1. Commenting out creation of contributors element due to requirements o…

    …f DataCite 4.0 metadata schema
    Andrew Hercules committed Dec 16, 2016
    Configuration menu
    Copy the full SHA
    402886d View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2017

  1. bug fix for creators and orcid, though more to be done, and tidied lo…

    …opy tabs
    Rory McNicholl committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    4fed4d0 View commit details
    Browse the repository at this point in the history
  2. Added configurable var for lang tags, use EPrints::XML::to_string, Cl…

    …oses #9
    Rory McNicholl committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    a40fe61 View commit details
    Browse the repository at this point in the history
  3. be more explicit about utf8

    Rory McNicholl committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    ec11dca View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2017

  1. updates to the dataciteXML

    Borys Feldman committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    d1741dc View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2017

  1. tab tidying and datacite_custom_repo_link

    Rory McNicholl committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    3ac5bf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2017

  1. remove the relatedIdentifier for now

    Rory McNicholl committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    be7a6c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2017

  1. reworked Export plugin so that *any* EPrint field can be mapped if a …

    …corresponding sub is found in zzz_datacite_mapping
    Rory McNicholl committed Aug 21, 2017
    Configuration menu
    Copy the full SHA
    336a27c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2017

  1. rationalisation of field render code

    Borys Feldman committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    7aab5a0 View commit details
    Browse the repository at this point in the history
  2. rationalisation of field render code

    Borys Feldman committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    c5454f7 View commit details
    Browse the repository at this point in the history
  3. remove uneeded file

    Borys Feldman committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    4808185 View commit details
    Browse the repository at this point in the history
  4. removing uneeded file

    Borys Feldman committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    2cb2ba8 View commit details
    Browse the repository at this point in the history
  5. updating Datacitexml file

    Borys Feldman committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    d5659f9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15 from eprintsug/new_release

    Thanks Borys
    cziaarm authored Sep 19, 2017
    Configuration menu
    Copy the full SHA
    659a674 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2017

  1. updated epmi

    Rory McNicholl committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    5a2ab4d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2017

  1. updating the license

    Borys Feldman committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    83f2fa0 View commit details
    Browse the repository at this point in the history
  2. updating epmi

    Borys Feldman committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    b6a4038 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2017

  1. small udate ad bug fix to the plugin

    Borys Feldman committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    d7f8a91 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2017

  1. adding the licenses and correcting the funders

    Borys Feldman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    dc3afe9 View commit details
    Browse the repository at this point in the history
  2. corrcting of the comment in the xml file

    Borys Feldman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    06d541d View commit details
    Browse the repository at this point in the history
  3. correcting the phrase file

    Borys Feldman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    c1882f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    499585b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8a3259 View commit details
    Browse the repository at this point in the history
  6. changes to a for loop

    Borys Feldman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    4e018ab View commit details
    Browse the repository at this point in the history
  7. removed spurious $value

    cziaarm authored Nov 8, 2017
    Configuration menu
    Copy the full SHA
    5fa8843 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    548d743 View commit details
    Browse the repository at this point in the history
  9. correccting the rights

    Borys Feldman committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    21b4e2a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    29ee701 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2017

  1. update epmi

    Rory McNicholl committed Nov 17, 2017
    Configuration menu
    Copy the full SHA
    1789ea2 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. adding publisher

    Borys Feldman committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    0f425ff View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. fix situation in which the existance of an eprint.rights field makes …

    …the rightsList get appneded twice
    Rory McNicholl committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    f34a02f View commit details
    Browse the repository at this point in the history
  2. correct Noncommercial to NonCommercial

    Rory McNicholl committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    88403aa View commit details
    Browse the repository at this point in the history
  3. update epmi

    Rory McNicholl committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    b00ef82 View commit details
    Browse the repository at this point in the history
  4. fix for attached licences

    Rory McNicholl committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    64956b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2018

  1. Correct typos

    Fixing a couple of typos in the readme.
    goetzk authored Aug 22, 2018
    Configuration menu
    Copy the full SHA
    3bd20bc View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Merge pull request #20 from goetzk/patch-1

    Correct typos in Readme
    goetzk authored Sep 13, 2018
    Configuration menu
    Copy the full SHA
    a666e9a View commit details
    Browse the repository at this point in the history
  2. Correct typo in comment

    Noticed this from the README, minor change
    goetzk committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    b036ac8 View commit details
    Browse the repository at this point in the history
  3. Add section on licence phrases to readme (#24)

    Our instance had its licence typename but no licence URI. As a result, the
    following text was being output on every run of the plugin.
    
    ```
    Undefined phrase: licenses_uri_cc_example (en) at line 238 in (eval 200)
    anything really
    ```
    
    This problem also bled directly in to the generated XML with error text where
    our link should be.
    
    ```
    <rightsList>
    	<rights rightsURI="[&quot;licenses_uri_cc_example&quot; not defined]">University of Tasmania Standard License</rights>
    </rightsList>
    ```
    goetzk authored Sep 13, 2018
    Configuration menu
    Copy the full SHA
    9791f6d View commit details
    Browse the repository at this point in the history
  4. Reformat and update How it Works (#25)

    I've changed the file paths to be quoted so they stand out and wrapped the
    descriptive text on to the same line to improve flow.
    
    All paths now start with lib/ (taking / from two of them) as its likely someone
    copying these will want the relative nature of the paths preserved.
    
    Lastly the schema version for DataCite has been updated, looks like it was
    missed in the commits which changed the schema -
    d7f8a91 and
    aceb640 .
    goetzk authored Sep 13, 2018
    Configuration menu
    Copy the full SHA
    2eb6bf3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    070ec00 View commit details
    Browse the repository at this point in the history
  6. Output publisher element

    liamgh authored and goetzk committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    dc7961e View commit details
    Browse the repository at this point in the history
  7. Update location of test Datacite server

    Update DataCite test endpoint in line with their documentation.
    
    Thanks to @liamgh for the contribution.
    goetzk committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    ad369bd View commit details
    Browse the repository at this point in the history
  8. Modify CoinDOI.pm in line with my suggestion in PR #16

    Our environment "doi" is not our field name so instead query our configuration
    for the correct field to use.
    goetzk committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    4d276b8 View commit details
    Browse the repository at this point in the history
  9. some additional resrouceType thingies

    Rory McNicholl committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    30a497d View commit details
    Browse the repository at this point in the history
  10. significantly better mapping of default eprints data to datacite mand…

    …atory fields
    Rory McNicholl committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    fd41e34 View commit details
    Browse the repository at this point in the history
  11. change to allow more control in ...mapping.pl file

    Rory McNicholl committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    2796673 View commit details
    Browse the repository at this point in the history
  12. phrases for warnings

    Rory McNicholl committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    f4dc3c1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    54a5653 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. I have replaced the contents of README.md's example configuration wit…

    …h that of
    
    the actual configuration file.
    goetzk committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    9ff73f1 View commit details
    Browse the repository at this point in the history
  2. Make DOI minters configurable (#32)

    Not everyone who can edit should necesarily be allowed to coin a DOI.
    
    With this change the permission/role specifying who can mint becomes
    configurable with its default value being the current setting.
    goetzk authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    f722b2f View commit details
    Browse the repository at this point in the history
  3. WIP: Only permit coining DOIs for certain eprint types (#30)

    This configuration option allows for altering which types of eprints will
    display a 'Coin DOI' button on their administration page.
    
    We are currently using this functionality so can attest to it having some use
    testing.
    goetzk authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    e1ccc5a View commit details
    Browse the repository at this point in the history
  4. Update the controlled mapping list to schema 4.1 (#27)

    This updates the URL associated with the schema in z_datacitedoi.pl.
    The changes happend in 3.0 but 4.1 appears to have the same list as
    3.0 was released with.
    goetzk authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    6fa9f2a View commit details
    Browse the repository at this point in the history
  5. Correct various spelling and whitespace errors (#28)

    Minor changes, just a collection of issues I noticed while reading through the
    plugin.
    goetzk authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    f930aa4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Check doi prefix (#31)

    Rework hostname check as validation sub routine
    
    Based on feedback in #31 I've merged my existing code in to the new 2.1
    branch's validate_datacite function.
    
    There are a couple of minor updates too:
    * Update path to validate_datacite ; validate_datacite lives in the mapping file under lib/cfg.d rather than the main configuration file in cfg/cfg.d.
    * Copy / paste fix in a comment
    * Now using get_conf instead of $c->
    goetzk authored Sep 26, 2018
    Configuration menu
    Copy the full SHA
    fa34723 View commit details
    Browse the repository at this point in the history
  2. Move from Crypt::SSLeay to LWP::Protocol::https

    As reported in #14, Crypt::SSLeay is no longer the recommended way of getting
    HTTPS through LWP.
    
    https://wiki.eprints.org/w/index.php?title=Installing_EPrints_on_RHEL/Fedora/CentOS&diff=prev&oldid=12408
    
    This is also backed up by Crypt::SSLeay upstream who warn
    ```
    At this point, Crypt::SSLeay is maintained to support existing software that
    already depends on it. However, it is possible that your software does not
    really depend on Crypt::SSLeay, only on the ability of LWP::UserAgent class to
    communicate with sites over SSL/TLS.
    ```
    
    https://metacpan.org/pod/Crypt::SSLeay#DO-YOU-NEED-Crypt::SSLeay?
    
    Closes: #14
    Closes: #23
    goetzk committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    ea64098 View commit details
    Browse the repository at this point in the history
  3. Check $content exists before invocation

    If a document has no 'content' value $content will be empty and the
    condition will generate a warning.
    goetzk authored Sep 26, 2018
    Configuration menu
    Copy the full SHA
    95e7558 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Include matched regex and DOI prefix in error message

    I attempted to include this in the original version of the changes but couldn't
    get it working until I stumbled upon
    https://wiki.eprints.org/w/index.php?title=My_First_Bazaar_Package and its
    example Hello.pm.
    
    Message now includes the matched regex and doi prefix in the error message,
    bolded for readability.
    goetzk committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    d926512 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2018

  1. Fix mapping for Text types

    "Text15" appears to have been copied verbaitum from
    DataCite-MetadataKernel_v4.0.pdf , where "Text" appears with superscript "15"
    to indicate a footnote.
    
    For anyone playing along at home, in v4.1 the relevant footnote is 18.
    goetzk committed Oct 3, 2018
    Configuration menu
    Copy the full SHA
    b77efe5 View commit details
    Browse the repository at this point in the history
  2. Ignore vim temp files

    goetzk committed Oct 3, 2018
    Configuration menu
    Copy the full SHA
    ca572aa View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2018

  1. WIP: Libcurl backend (#26)

    Offer WWW::Curl as an option for API connections
    
    The cause of this development was the age of LWP in RHEL6.10 can't handle SNI servers - used by DataCite for their API.
    
    For more on the LWP age issue and curl updates which ensure it works see these issues.
    libwww-perl/LWP-Protocol-https#17 LWP SNI fix from 6.07
    curl/curl#700 - Curl updates in RHEL 6.7 and 6.8
    
    This branch/change allows curl to be used opt in, defaulting to LWP, and should not change any existing behaviours (those breaking changes were in #23 and #33).
    
    There are also some other changes which have come through as I've tried to keep various files (like configuration and README) in sync.
    goetzk authored Oct 4, 2018
    Configuration menu
    Copy the full SHA
    50d3eec View commit details
    Browse the repository at this point in the history
  2. Import WWW::Curl::Easy

    Somehow this went missing during my merge, adding back in.
    goetzk committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    340fdbc View commit details
    Browse the repository at this point in the history
  3. Disable adding publisher to XML for DataCite

    In #16 (specifically cbf2a2c) the codebase was
    changed to forcibly add the "Default publisher" value to all submissions as it
    wasn't being (reliably) added. In the rework for 2.1.0 (I'm looking at
    fd41e34 but its other commits are relevant
    too) the behaviour changed and now publisher is added if available.
    
    This has resulted in the unfortunate situation that:
    * If you have no publisher, none is added
    * If you do have a publisher, a second is added
    
    Not the situation we want:
    * If you have no publisher, one is added
    * If you have a publisher, nothing changes
    goetzk committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    dfe21a1 View commit details
    Browse the repository at this point in the history
  4. eval() module imports

    Turns out the correct way to conditionally import - use - a module is to eval()
    them. I've now set up all modules required by DataCiteEvent to eval() in and to
    print a log message if something is missing.
    goetzk committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    4766bfb View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2018

  1. be more forgiving with publisher value from config

    Rory McNicholl committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    da742f9 View commit details
    Browse the repository at this point in the history
  2. pub squash went funny

    Rory McNicholl committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    436744e View commit details
    Browse the repository at this point in the history
  3. udpate epmi

    Rory McNicholl committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    4ea7eff View commit details
    Browse the repository at this point in the history
  4. fix logic for pu blisher validation

    Rory McNicholl committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    e30f081 View commit details
    Browse the repository at this point in the history
  5. Be more forgiving when publisher set from config

    Rory McNicholl committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    7e75287 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2018

  1. Provide more detailed error log

    This change allows diagnosing the XML supplied to DataCite by logging the
    entire lot rather than just mentioning the DOI.
    
    Authentication wise this should be safe to do, as the username and password are
    not included directly in the XML.
    goetzk committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    7de3289 View commit details
    Browse the repository at this point in the history
  2. Update version value in DataCiteDoi.epmi

    This file needs to be regenerated in its entirity but I'm updating its version
    field as I'm about to tag the release candidate.
    goetzk committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    ea4270c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2018

  1. Make funders fields optional

    Unlike other mapping functions, funders assumed that its values were available
    and required. This change makes checking eprints for funder and project
    information optional to better reflect the standard and to facilitate a switch
    from eprint value based attributes to mapping based attributes.
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    23cf8e5 View commit details
    Browse the repository at this point in the history
  2. Change from iterating eprint fields to mapping functions

    In essense, this change removes the depencence on specific eprints fields
    having values when performing the XML export.
    
    This expands on the change in 336a27c
    ("reworked Export plugin so that *any* EPrint field can be mapped if
    corresponding sub is found in zzz_datacite_mapping") and removes the change
    required in f8a3259 becuase now we run all
    maps.
    
    It moves from an 'eprint first' configuration to a 'mapping function first'
    which permits:
    - Setting default values (like Publisher)
    - Choosing the eprint fields data comes from (You have a custom date field? no worries).
    - Adding new values to output XML by adding a new mapping function
    - Basically, running arbitrary code. But don't do that.
    
    Of course, anyone adding new mappings or overriding existing mappings will need
    to handle the resulting validation problems themselves...
    
    This is the export components work required to complete #35; optional changes
    to validation would facilitiate the second part but validation can be done via
    overrides per site.
    
    Closes: #35
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    0f6c562 View commit details
    Browse the repository at this point in the history
  3. Change datacite_mapping_date and date validation

    Firstly (in terms of execution order) is a change to the date validation to
    make explicit the intent - that date and date type must be set and date type
    must equal published.
    I believe this also resolves a matching bug.
    
    Secondly is a relaxing of the date requirements fro datacite_mapping_date to
    stop checking date_type is published. If date type is was unset this would pass
    validation then cause an error to be printed due to an empty value being used
    in string equality testing.
    Further tightening the check in datacite_mapping_date was a possibility but
    since validation is run first it seems reasonable that datacite_mapping_date be
    more trusting (and may even make things more flexibile for those who customise
    their validation).
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    b1e649f View commit details
    Browse the repository at this point in the history
  4. Fix bug with corporate creators

    corp_creators is a multi value field but was being treated as a string; its now
    looped and all corp_creators are added to <creators>.
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    cda10da View commit details
    Browse the repository at this point in the history
  5. Add validation for 'type' before minting

    I've just had a situation where the type of my eprint wasn't known in typemap
    so things fell over at the api submission stage. I've added some validation in
    this commit but haven't included the item type - I haven't checked if its site
    specific yet.
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    de45ae9 View commit details
    Browse the repository at this point in the history
  6. Update plugin description

    Minor wording change
    goetzk committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    34fda23 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Correct bug in new mapping validation

    Somehow this slipped through my transferring from dev to repository - this
    particular validation routine uses 'eprint' not 'dataobj' as its eprint
    identifier.
    goetzk committed Oct 11, 2018
    Configuration menu
    Copy the full SHA
    e895777 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2018

  1. add an epm

    Rory McNicholl committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    c9d6cf5 View commit details
    Browse the repository at this point in the history
  2. Update the icon

    Rory McNicholl committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    9af19a3 View commit details
    Browse the repository at this point in the history
  3. update epmi

    Rory McNicholl committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    5ba30d6 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2018

  1. Enhance error message on submission failure

    Now mentions the problem EPrint so looking through the submitted XML is no
    longer required.
    goetzk committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    3617ee4 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. Change SSL library imports to reduce verbosity

    The original warning system meant a warning was generated on every import, even
    if the relevant libraries weren't intended for use. By importing once we load
    sub datacite_doi we can check the repository configuration and only warn
    conditionally based on configuration.
    goetzk committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    298e0e7 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. Merge pull request #42 from UniTasLibrary/reduce-verbosity

    Change SSL library imports to reduce verbosity
    cziaarm authored Dec 17, 2018
    Configuration menu
    Copy the full SHA
    415c595 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2018

  1. update epmi after updating icon

    Rory McNicholl committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    4fe3ff7 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. fixing funderIdentifier element issue to comply with schema 4.0 (and …

    …4.1)
    MicheleMorelli committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    09385b5 View commit details
    Browse the repository at this point in the history