Closed (fixed)
Project:
Mailhandler
Version:
7.x-2.x-dev
Component:
Mailhandler
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2013 at 03:19 UTC
Updated:
20 Nov 2013 at 21:13 UTC
Jump to comment: Most recent
Comments
Comment #1
danepowell commented1) Good idea, committed.
2) It seems like the handbook overview page is the most logical place to link people to from the INSTALL file. You think it should link directly to a child page?
3) Those are ctools constructs. There's an overview at https://drupal.org/node/928026 , although oddly it doesn't mention the "object defaults" property. That is documented at http://drupalcontrib.org/api/drupal/contributions%21ctools%21includes%21... .
4) This has to be included due to a longstanding bug with ctools. You can witness my 2 years of frustration and capitulation at #1364184: AJAX error when adding a mailbox. Here's the actual bug in ctools: #1365524: Fatal error when using export_ui with AJAX
Let me save this so I don't lose my progress and respond to the other issues in a new comment.
Comment #2
danepowell commented5) #2129211: Document hook_mailhandler_auth_failed
6) That file was auto-generated by Features, so Features must have been buggy. I re-exported it.
7) Thanks, I didn't know Drupal provided a library-agnostic version of that function: #2129225: Use drupal_convert_to_utf8 instead of mb_convert_encoding
Comment #3
danepowell commentedAny remaining issues should have been spun off.
Comment #4
kscheireroh ctools :) I updated that issue as well. If there's no action on it, I'll test it out and rtbc it assuming it is still required and still fixes the issue.
2) I just meant that I read the INSTALL as saying "here's a link to help you with PHP Imap", not "here's a link to general mailhandler docs". Not a big issue either way :)
Thanks for the doc links, happy to learn something new!
Comment #5
kscheirerIn MailhandlerAuthenticateTokenauth::authenticate() you can use user_load_by_mail() instead of array shifting the user_load_multiple.
That's all I could find, very nicely written module! I thought there would be too much code to understand, but all the abstract classes and example implementations made it easy to follow :)
Comment #6
danepowell commented2) I see what you mean- I updated the INSTALL.txt to clarify this.
I also fixed the tokenauth function- I had already fixed that in the default authentication class, I guess I just forgot to port it over.
Thanks for the compliments, I always enjoy getting positive feedback :)
Comment #7
danepowell commented