CVS edit link for Gomez_in_the_South
I've corrected the problems you indicated with the namespace conflicts. I believe the rest of the code should follow the Drupal coding standards quite closely. We've also made some usability improvements since the initial submission.The rest of my the application is pasted below as there are no other changes. I didn't realise that my previous application would be automatically declined if there was no response for a week otherwise I would've been a bit more pro-active.
The Sentinel module can be downloaded from: http://www.springfisher.com/sentinel/sentinel-6.x-1.0-beta2.tar.gz
Regards,
George
I would like a CVS account to contribute a module called Sentinel which extends the functionality of the watchdog module.
I believe that the module that we've developed is unique and does not offer functionality that is available in existing modules. I've looked at the Watchdog Live module amongst others.
Sentinel has the following key features:
- Group watchdog entries by type to allow an overview of the sites watchdog entries.
- Alert feature where certain watchdog events will trigger an e-mail to the administrator.
- Archival of existing watchdog entries on cron based on user specified filters
- Ajax used to enhance usability for navigation of watchdog entries
Example use cases:
1. Eric runs GuitarFeeds.com which has a lot of feeds to be updated and therefore runs cron every 5 minutes. This causes 288 entries of Cron run completed to appear in the watchdog table every day, or 8640 every month. Using the Sentinel module, Eric can set any entries matching the type 'cron' with the keywords 'completed' to be archived on a daily basis. This will reduce the 288 entries into a single watchdog entry where Eric can see the number of matching entries that were deleted.
2. Larry is running a high profile site that depends on the Apache solr module for search. Unfortunately he has been having stability issues with the Solr instance. Whilst the Solr module will post a warning to the watchdog table, Larry doesn't have the time to watch the Log entries page constantly. With the Sentinel module, Larry can be e-mailed whenever an 'Apache Solr' type of event occurs of severity 'error' or higher which he can respond to in a much more timely fashion.
The module can be downloaded from: http://www.springfisher.com/sentinel/sentinel-6.x-1.0-beta2.tar.gz
Please see the readme.txt included in the module for more information.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | sentinel-6.x-1.0-beta3.tar_.gz | 15.49 KB | gomez_in_the_south |
| #1 | sentinel-6.x-1.0-beta2.tar_.gz | 17.13 KB | gomez_in_the_south |
Comments
Comment #1
gomez_in_the_south commentedPlease find the module attached.
Comment #2
AjK commentedComment #3
gomez_in_the_south commentedPlease let me know if any more information is needed to process my CVS account application.
Thanks,
George
Gomez_in_the_South
Comment #4
avpadernoThe message string is built by concatenating strings, and it is not translatable, in that way.
The SQL query is built concatenating strings, and some of the dynamic strings are not appropriately filtered;
db_query()supports placeholders.Comment #5
avpadernoSee the Drupal coding standards to understand how a module code should be written.
Comment #6
gomez_in_the_south commentedThanks again for taking your time to review our submission.
Please find the revised version of the Sentinel module attached (sentinel-6.x-1.0-beta3.tar.gz). I've corrected the specific code you mentioned as well as made a few other minor changes keeping the Drupal coding standards in mind.
Comment #7
avpadernoThe version line should be removed, and the core line appears twice.
If you need to pass the number 4 as argument, you need to pass it as string; differently it would probably changed from the menu code handler present in Drupal core code.
Those strings must be passed not translated; Drupal core code will get the translation itself.
Comment #8
avpadernoI forgot to change the status.
Comment #9
dave reidThe e-mailing feature duplicates the Logging and alerts modules. Maybe the other features proposed here could be merged into the existing module package?
Comment #10
avpadernoI agree with Dave.
Comment #11
avpadernoI am adding the review tags.
Comment #12
avpadernoThere have not been replies from the OP in the past 7 days. I am marking this report as .
Comment #13
gomez_in_the_south commentedSorry, about the lack of response from my side. I was under the mistaken impression that I would be e-mailed when this thread would be changed.
I'll implement the changes mentioned in #7 shortly.
I'll also have a look at the Logging and Alerts module Dave mentioned to see how this could affect the goals and implementation of our own module.
I am serious about getting this module approved as I believe it can be useful to other uses as it has been for us on our projects.
Comment #14
avpadernoYou need to re-apply for the CVSs account, as it has been already declined; changing the status of this report doesn't change the status of the application.