-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pedro García ManyRequest Deliver #1
Open
PedGarblue
wants to merge
94
commits into
ManyRequests:main
Choose a base branch
from
PedGarblue:pgarcia-development
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
phpunit.xml defines DB_DATABASE and cannot be overwritten by .env.testing which is a problem in cases like sqlite
Helps to prevent N+1 problem
…notification item
…tion/form components
…date form requests
…n clearing values
Now only the owner of the video can update or delete it
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.
Demo page:
https://manyvideos.budare.dev
This pull request introduces several significant changes to the codebase, including updates to environment configuration, new controllers, and the addition of request validation classes. The most important changes are summarized below.
Environment Configuration Updates:
.env.example
: ChangedAPP_NAME
from "Laravel" to "ManyVideos", switchedDB_CONNECTION
fromsqlite
tomysql
, and updated the broadcast connection to usepusher
. Added newPUSHER
configuration keys. [1] [2]Controller Additions:
app/Http/Controllers/CommentController.php
: Added a newCommentController
to handle CRUD operations for comments.app/Http/Controllers/HomeController.php
: Added a newHomeController
to handle the display of processed videos on the home page, with various filtering options.app/Http/Controllers/TagController.php
: Added a newTagController
to manage tags, including creating, updating, and deleting tags.app/Http/Controllers/VideoController.php
: Added a newVideoController
to handle video management, including processing, storing, and updating videos.Request Validation Classes:
app/Http/Requests/IndexHomeRequest.php
: Added a new request validation class for handling home page filters.app/Http/Requests/StoreCommentRequest.php
: Added a new request validation class for storing comments.app/Http/Requests/StoreTagRequest.php
: Added a new request validation class for storing tags.app/Http/Requests/StoreVideoRequest.php
: Added a new request validation class for storing videos.app/Http/Requests/UpdateCommentRequest.php
: Added a new request validation class for updating comments.app/Http/Requests/UpdateTagRequest.php
: Added a new request validation class for updating tags.app/Http/Requests/UpdateVideoRequest.php
: Added a new request validation class for updating videos.Enum Addition:
app/Enums/VideoStatusEnum.php
: Added a newVideoStatusEnum
to manage video processing statuses.Jobs Addition:
Added the following jobs for Video Create and Update
ProcessVideo
GenerateVideoThumbnail
SaveVideoMetadata
UpdateVideoStatus
SendVideoProcessingCompletedNotification
Middleware Update:
app/Http/Middleware/HandleInertiaRequests.php
: Updated theshare
method to includeuserUnreadNotifications
.These changes collectively enhance the application's functionality for managing videos, comments, and tags, and improve the overall configuration and request handling.