- 🇨🇴Colombia waspper
UPDATE:
This is being worked. We're almost done. But with a different approach: At the end, we've decided to use a pluggable system to allow the creation of custom handlers for both: auction_type and bid_type. So, basically we've based most of the "workflow" as Webform module does, 'cause it looks simple, effective and it allows to do more than just sending an email.
As mentioned above, most of the work is done. Still needed a bit of cleaning-up before creating a new module release. If you're interested about checking the progress of this, take a look to the 2.0.x branch, at https://git.drupalcode.org/project/auctioneer/-/tree/2.0.x. Be warned: Do not use previous branch for production environments yet... We're sending several changes that could affect your website. Use it for testing, reviews or if possible, to provide any feedback about it.
Cheers.
- 🇨🇴Colombia waspper
LATEST NEWS:
This new branch is "usable", said in a way... The latest needed relevant features were added, and there is at least one handler (email) to be added on provided events. Planning to add at least one more handler in next days, so basically there won't be big changes.
Any feedback/improvements are welcome!
- 🇫🇷France andypost
Email notification probably easier to implement via core's action plugin
- 🇨🇴Colombia waspper
@andypost
Thanks for your comment :)
Well, at beginning, I believed the same. But after doing some tests, I noticed it was not as "flexible" as expected (for example, the fields and the token replacements). It could require some code to "transform" or make it compatible with all desired features (and the incoming ones). So, at the end, dealing with a custom one made it easier/more flexible to manage...
- 🇫🇷France andypost
Yes, that's what "basic" in title means, you always can install mime-mail or mailchimp for nifty-mails)
But core provides common API to send emails and pluggable backends until we sort out 🌱 [META] Adopt the symfony mailer component Needs review
- 🇨🇴Colombia waspper
At this moment, the sub-module auctioneer_common_handlers provides 2 options (both with Tokens support):
- Sending an email.
- Sending a message to a Telegram conversation/channel/group.
IMHO, it's enough for now. Anyway, we can to add more "default ones" later. It's just a matter of new feature requests :)
- 🇨🇴Colombia waspper
LATEST NEWS:
Module is now complete. The handlers system works as expected; also each handler is able to have its own set of conditions. Both (handlers and conditions) are pluggable, so you can to define your own ones.
Also, the D9 and D10 compatibility has been fixed.
A new module version will be released very soon...
- Status changed to Fixed
over 1 year ago 2:58am 19 July 2023 - 🇫🇷France andypost
@waspper FYI no need to set status "Closed(Fixed)" manually it will be set by cron in a week or two