Skip to content
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

Orcid integration employment - ready for prod progress #784

Merged
merged 14 commits into from
Oct 18, 2024

Conversation

vincentauger
Copy link
Member

This feature isn't complete but it's been too long on prod; merging as current code is ready and will add further functionality next week.

This pull request includes several changes, primarily focusing on the addition of new data classes for the ORCID integration, controller updates, and minor code style adjustments.

New Data Classes for ORCID Integration:

  • Added AddressData class to handle address-related data (app/Http/Integrations/Orcid/Data/AddressData.php).
  • Added DateData class to manage date-related data (app/Http/Integrations/Orcid/Data/DateData.php).
  • Added DisambiguatedOrganizationData class for handling disambiguated organization data (app/Http/Integrations/Orcid/Data/DisambiguatedOrganizationData.php).
  • Added EmploymentData class to manage employment-related data (app/Http/Integrations/Orcid/Data/EmploymentData.php).
  • Added additional data classes for handling external IDs, timestamps, and URLs (app/Http/Integrations/Orcid/Data/ExternalIdData.php, app/Http/Integrations/Orcid/Data/ExternalIdsData.php, app/Http/Integrations/Orcid/Data/TimestampData.php, app/Http/Integrations/Orcid/Data/UrlData.php). [1] [2] [3] [4]

Controller Updates:

  • Introduced AuthorEmploymentController to manage author employment resources, including methods for listing, storing, showing, updating, and deleting employments (app/Http/Controllers/AuthorEmploymentController.php).
  • Removed the unused ValidationException import from PasswordResetLinkController (app/Http/Controllers/Auth/PasswordResetLinkController.php).

Code Style Adjustments:

  • Standardized the use of single quotes in DownloadLatestRORData.php (app/Actions/ROR/DownloadLatestRORData.php).
  • Added a missing comma in the array of country codes in SyncRORData.php (app/Actions/ROR/SyncRORData.php).
  • Removed unnecessary blank lines in SyncRORData.php (app/Actions/ROR/SyncRORData.php). [1] [2]

Enum Updates:

  • Renamed ORCIDAuthScope and updated its namespace (app/Http/Integrations/Orcid/Enums/ORCIDAuthScope.php).
  • Added new enums for ORCID activities scope endpoints and list endpoints (app/Http/Integrations/Orcid/Enums/ActivitiesScopeEndpoint.php, app/Http/Integrations/Orcid/Enums/ActivitiesScopeListEndpoint.php). [1] [2]

This commit updates the UI for connecting ORCID accounts in the ManageAuthorOrcidCard component. It adds new text and links to provide more information about the benefits of connecting an ORCID account. Additionally, it improves the layout and styling of the component.
Great feature added to the last laravel template - allows to run all required dev tool from one command and in parallel. Requires concurrently (node) package to be installed if used.
Copy link

⚠️ 1 Checks Failed!

🛡️ 1 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

Copy link

✔️ All Checks Passed!

🛡️ 0 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

@vincentauger vincentauger merged commit f438828 into main Oct 18, 2024
4 checks passed
@vincentauger vincentauger deleted the orcid-integration-employment branch October 18, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant