-
Notifications
You must be signed in to change notification settings - Fork 2
feat: support for myself party type #185
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
Open
iMercyvlogs
wants to merge
28
commits into
dev
Choose a base branch
from
feat/party-myself
base: dev
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
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e94acd2
enh: Myself party changed to transfer
iMercyvlogs 8abd89c
chore: Resolve conflicts
iMercyvlogs 7e2d3c4
enh: Myself party strictly by config no db change
iMercyvlogs 81cc8e3
chore: Add helper functions in store 2 pass md test
iMercyvlogs 37bc40f
chore: Fix code standards
iMercyvlogs 2e777e1
chore: Added argument controller method to pass tests
iMercyvlogs 5e166a2
chore: Change result to jsonresponse and take more user types
iMercyvlogs bbb2cc3
chore: Fix php code standards
iMercyvlogs 58b2098
chore: Revert testcase and phpunit changes
iMercyvlogs b933206
enh: Import and use config package
iMercyvlogs 8000581
chore: Coding standard tests pass
iMercyvlogs 4e94566
chore: Use authenticated user in ismyselftransfer check n update conf…
iMercyvlogs cbdafc8
chore: Phpunit file content reverted to original
iMercyvlogs 19ccd14
chore: Undo changes in composer files
iMercyvlogs 49358f4
chore: Delete comments in transactioncontroller
iMercyvlogs 6f15a38
chore: Delete comments in app config
iMercyvlogs ae50a3b
chore: Add helper function to pass phpmd
iMercyvlogs de2b185
chore: Helper functions to reduce cyclo complexity
iMercyvlogs c83223c
Revert "chore: Undo previous changes since they rather increase compl…
iMercyvlogs 146607b
Revert "chore: Undo changes since they rather increase complexity to 90"
iMercyvlogs eb32e9c
fix: Suppress cyclocomplexity issue
iMercyvlogs 63af365
enh: Add convertmyselftotransfer in payload
iMercyvlogs d1588b9
chore: Find party only when id is not null
iMercyvlogs a3c24f2
enh: Return transaction instead of transfer
iMercyvlogs 378bab1
chore: Remove config migration table
iMercyvlogs 4362f7f
chore: Merge conflicts
iMercyvlogs 4f5dddb
chore: Reduce line characters to pass code standards test
iMercyvlogs 55c059b
chore: Merge conflict
iMercyvlogs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retrieving the Party model directly in the controller and performing business logic here violates the Single Responsibility Principle. This logic should be encapsulated within the
TransactionServiceor a specificHandleMyselfPartyAction. Additionally, using\App\Models\Party::findignores the user scope; it should be scoped to the authenticated user for security.