Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements an embargo feature for projects, allowing users to schedule future publication with automated release and reminder notifications. Key changes include:
- New embargo workflow with DOI assignment at embargo stage
- Automated reminder system (7, 3, 1 days before release)
- Console command for publishing embargoed projects
- UI updates for embargo status display and publication
Reviewed changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| routes/web.php | Adds two new embargo-related routes for setting embargo and publishing embargo projects |
| routes/console.php | Comments out old schedule and adds reference to new embargo publishing command |
| database/migrations/2025_10_23_105820_create_embargo_reminders_table.php | Creates table to track sent embargo reminders |
| app/Models/Project.php | Adds embargoReminders relationship and datetime casts |
| app/Models/EmbargoReminder.php | New model for tracking embargo reminder notifications |
| app/Policies/ProjectPolicy.php | Prevents editing of embargoed projects |
| app/Notifications/EmbargoReleaseReminderNotification.php | Notification class for embargo release reminders |
| app/Mail/EmbargoReleaseReminder.php | Mailable for embargo reminder emails |
| app/Console/Commands/PublishEmbargoProjects.php | Command to send reminders and publish embargoed projects |
| app/Console/Commands/PublishReleasedProjects.php | Deleted old publish command |
| app/Actions/Project/SetEmbargoProject.php | Action to set project to embargo status with validation |
| app/Actions/Project/PublishEmbargoProject.php | Action to publish an embargoed project |
| app/Jobs/ProcessSubmission.php | Removes embargo status logic, always sets to published |
| app/Http/Controllers/ProjectController.php | Adds setEmbargo and publishEmbargoProject controller methods |
| resources/views/vendor/mail/embargo-release-reminder.blade.php | Email template for embargo release reminders |
| resources/js/Shared/PublishStatusModal.vue | New reusable component for publish processing status |
| resources/js/Pages/Publish.vue | Updates publish logic to handle embargo vs immediate publish |
| resources/js/Pages/Project/Show.vue | Major refactor of publish modal UI and embargo project publishing |
| public/build/manifest.json | Build artifact updates from frontend changes |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## development #1295 +/- ##
==============================================
Coverage ? 18.02%
Complexity ? 2306
==============================================
Files ? 213
Lines ? 8871
Branches ? 0
==============================================
Hits ? 1599
Misses ? 7272
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was
linked to
issues
Nov 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.