Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2011 at 17:27 UTC
Updated:
28 Sep 2012 at 15:51 UTC
This Drupal (7.x) module provides a configurable block that can be used to provide a subscription link to a pre-configured Sympa-based mailing list. There is also a Drupal 6.x module in the "6.x" branch. This is a modularized/configurable version of some code that we have been running directly from a block for the past ~6 months at The University of Chicago.
Code:
- https://github.com/blairc/sympa_subscribe
- http://drupal.org/sandbox/blair.christensen/1314564 (sandbox)
- git clone http://git.drupal.org/sandbox/blair.christensen/1314564.git sympa_subscribe
- Drupal 6 and 7
Comments
Comment #1
attiks commentedComment #2
attiks commentedPlease note: The Coder module currently has an unresolved flaw which will prompt you to add file declarations to your .info file even when it's not necessary to do so. Please do not try to make this warning go away by declaring files which do not contain classes or interfaces.
Comment #3
blair.christensen commentedI've cleaned up the README.txt, added a CHANGELOG.txt and resolved nearly all of the Coder warnings on the new "7.x-1.x" branch.
I haven't finished switching over from the current hardcoded forms in the code to the Form API yet so Coder still kvetches about that.
Comment #4
attiks commentedAutomated test results:
Please note: The Coder module currently has an unresolved flaw which will prompt you to add file declarations to your .info file even when it's not necessary to do so. Please do not try to make this warning go away by declaring files which do not contain classes or interfaces.
Please note: The Coder module currently has an unresolved flaw which will prompt you to add file declarations to your .info file even when it's not necessary to do so. Please do not try to make this warning go away by declaring files which do not contain classes or interfaces.
Comment #5
blair.christensen commentedI've committed a variety of changes/fixes to the 7.x-1.x branch.
Comment #6
blair.christensen commentedPing
Comment #7
blair.christensen commentedI've committed some changes for review. Thanks.
Comment #8
klausiYou need to set the status to "needs review" if you want to get a review.
The response time for a review is now approaching 4 weeks. Get a review bonus and we will come back to your application sooner.
Comment #9
blair.christensen commentedComment #10
prashantgoel commentedplease visit http://ventral.org/pareview/httpgitdrupalorgsandboxblairchristensen13145... for the list of errors being generated.
Comment #11
patrickd commenteddon't block deeper reviews because of minor coding standart issues found by automated reviews
Comment #12
novalnet commentedHello,
Manual Review :
sympa_subscribe.module :
1. You have to provide file comment which should start with @file.
2.drupal_set_message( $result->error, 'error' );=> you have to use t() in set message.Also here , $result->error is a dynamic value, so use placeholders.
3. watchdog( SYMPA_SUBSCRIBE, 'subscription request: code=' . $result->code . ' error=' . $result->error ) => use place holders for dynamic value and add t() for messages.
4. Please check all the watchdog functionality, whether it contains t() and pplaceholders for dynamic value.
5. Use valid_email_address() functionality instead of "function sympa_subscribe_form_validate($form, &$form_state) " for validating mail address.
6.It seems there are so many indent errors.Please fix it all.
7. Please Check http://ventral.org/pareview/httpgitdrupalorgsandboxblairchristensen13145...
Thanks
Comment #13
patrickd commentednote that you should not use t() within a watchdog() call.
Comment #14
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #14.0
klausiadded clone URL + drupal versions