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

Standardize sending message : #1596

Merged
merged 5 commits into from
Mar 18, 2021

Conversation

Zowac
Copy link
Contributor

@Zowac Zowac commented Mar 5, 2021

Q A
Bug fix? no
New feature? no
BC breaks? no
Fixed issues comma-separated list of issues fixed by the PR, if any

@Zowac Zowac force-pushed the standardize-sending-messages branch 9 times, most recently from 9cb6f25 to 723614f Compare March 11, 2021 14:01
@Zowac Zowac requested a review from Elorfin March 11, 2021 15:03
@Zowac Zowac force-pushed the standardize-sending-messages branch 4 times, most recently from 31707a2 to b062c49 Compare March 12, 2021 13:17
@Zowac Zowac changed the title [WIP] Standardize sending message : Standardize sending message : Mar 12, 2021
@Zowac Zowac force-pushed the standardize-sending-messages branch 3 times, most recently from 9cec3e7 to a477ee6 Compare March 15, 2021 08:56
Copy link
Member

@Elorfin Elorfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work. Just some little changes are requested.

src/main/core/API/Finder/Log/MessageLogFinder.php Outdated Show resolved Hide resolved
src/plugin/cursus/Manager/EventManager.php Show resolved Hide resolved
src/plugin/cursus/Manager/SessionManager.php Show resolved Hide resolved
src/plugin/message/Manager/MessageManager.php Outdated Show resolved Hide resolved
src/plugin/message/Subscriber/MessageSubscriber.php Outdated Show resolved Hide resolved
src/plugin/message/Subscriber/MessageSubscriber.php Outdated Show resolved Hide resolved
@Zowac Zowac force-pushed the standardize-sending-messages branch 2 times, most recently from f29cffc to 274d5c4 Compare March 16, 2021 10:10
@Zowac Zowac requested a review from Elorfin March 16, 2021 10:15
@Zowac Zowac force-pushed the standardize-sending-messages branch from 274d5c4 to c6fa2d5 Compare March 16, 2021 13:07
@Zowac Zowac requested a review from Elorfin March 16, 2021 13:07
@Zowac Zowac force-pushed the standardize-sending-messages branch from c6fa2d5 to 29d04c0 Compare March 16, 2021 13:08
@Zowac Zowac force-pushed the standardize-sending-messages branch from 29d04c0 to 956d0f9 Compare March 17, 2021 12:59
- Dispatch event instead of using MailManager::send()
- Refacto MessageListener to use only one method/event
- Refacto SendMessageEvent => possibility to make properties null && changing the position of properties
- Create MessageEvents
- Use Subscriber instead of listener
- Use MessageEvents const
- Log event when message is send
- remove MailManager injection
- Merge two properties in one (SendMessageEvent)
@Zowac Zowac force-pushed the standardize-sending-messages branch from 956d0f9 to fad7e28 Compare March 17, 2021 12:59
@Zowac Zowac requested a review from Elorfin March 17, 2021 13:00
@Elorfin Elorfin merged commit 34bfe6e into claroline:13.x Mar 18, 2021
@Zowac Zowac deleted the standardize-sending-messages branch March 18, 2021 10:26
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.

None yet

2 participants