Closed (fixed)
Project:
Mail System
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2014 at 17:26 UTC
Updated:
17 Jun 2015 at 06:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
LukyLuke_ch commentedToday at our First Friday Sprint I completed the D8 port nearly: global configuration and module based.
The Theme-Function is not yet ported and there is no test coverrage currently.
Comment #2
berdirTime to bring this home :)
Work continued on https://github.com/LukyLuke/mailsystem with help from various contributors, it's working quite well, has a considerably nicer API than in 7.x and some unit tests and has been fairly stable (for an 8.x port) over the last few months.
It's not complete, I'm not sure how well the mail theme stuff is working and there are no tests for that nor UI tests in general.
The branch on the github repository is currently 8.x-4.x since it is a completely new implementation despite being based on the 8.x-2.x code base. Happy to discuss what we want to use for the branch name but it seems like a good idea to use something different to 8.x-2.x, also due to the somewhat unfortunate stable releases there.
Attaching a first patch against 8.x-2.x for reviews. I'd suggest to merge in the branch from 8.x-4.x and keep the commits, even though they don't follow d.o practice. We did that in a few other projects and I think it's fairer for all the contributors that helped with pull requests over the time.
@Les_Lim, are you still active here? I do have full access to the project but I'd like to give other maintainers some time to comment here.
Comment #3
berdirDid a full review of the code base, turns out there are quite a few things that should take care of pre-merge.
Follow-ups:
- mail theme stuff (Definitely not working, mostly commented out)
- Convert html_to_text.inc to a class. Too bad that MailFormatHelper isn't a service, or we could have just replaced that.
All those permission changes should probably be reverted, seems like an unnecessary change.
We're missing config schema I guess, not failing because we have no simpletest tests.
We should probably move this into a class, similar to what core did, but we can do that later.
Can be dropped, core needs 5.4 now.
Possibly change to Mail System and also avoid a single word or mail_system in other descriptions.
Left-over, doesn't exist anymore.
Yes, confirmed it's not doing anything yet, then. Probably doesn't need to block merging this?
.
No need for this @todo I think, so drop and then we'll make sure in a follow-up that the mail theme stuff is working correctly, including test coverage.
Can be inlined by adding ?: [] after the get()
Should be moved to a test module but that might not work with the unit test?
Same.
Another test?
Namespace should be Drupal\Tests\mailsystem\Unit in folder tests/src/Unit/
For all tests.
Comment #4
mbovan commentedMade the changes from the comment above and created a pull request on GitHub: https://github.com/LukyLuke/mailsystem/pull/11
Created the follow-ups:
Comment #5
berdirUpdated patch, checking if this triggers the d.o testbot now.
Comment #7
berdirDiscussed this with @Les_Lim, we agreed to merge and release this as a new 8.x-4.x branch.
Yay, one more project is home!
Comment #8
miro_dietikerNice cleanup. Happy to see this merged and ready for regular issue queue based workflows!