-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Api client service providers #115
base: develop
Are you sure you want to change the base?
Conversation
…lications edit view
…e component when a button is clicked
so we can more easily read them via JS
…style improvments on the publications table
…documents cachedAAPublications
…DoiToExistingPublications.php
Into api-client-service-providers branch
Include Publications Api service provider, corrections made in the publications import livewire component, publications service provider mock and feature tests.
… Psalm error Method returns a ProfileData Illuminate\Database\Eloquent\Collection, rather than an empty collection. Psalm error: ERROR: InvalidArgument - app/Providers/AAPublicationsApiServiceProvider.php:75:37 - Argument 1 of Illuminate\Database\Eloquent\Collection::push expects empty, App\ProfileData&static provided (see https://psalm.dev/004) $publications->push($new_record); Solution: Define type items in the collection by adding: /** @var Collection<ProfileData> */ Co-Authored-By: Wun Chiou <[email protected]>
Local configuration required to test the feature: Add the following values to the .env file: Artisan command to add the DOI to existing publications: Description: Usage: Arguments: Example: php artisan |
This PR replaces PR #110 and includes:
Local configuration required to test the feature:
Add the following values to the .env file:
DOI_REGEX = '/(10[.][0-9]{4,}[^\s"\/<>]*/[^\s"<>]+)/'
EMAIL_ADDRESS_DOMAIN= 'utdallas.edu'
Artisan command to add the DOI to existing publications:
Description:
Search the DOI to add it to the existing publications for the profiles with the first letter of their last name given.
Usage:
profiles:add-doi <starting_character>
Arguments:
starting_character - The first letter of the last name of the profiles to run command for. Not case-sensitive.
Example:
php artisan profiles:add-doi "d"
orphp artisan profiles:add-doi "D"