Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2012 at 22:06 UTC
Updated:
25 Jan 2013 at 12:40 UTC
The module exposes the CollegiateLink API to Drupal. By acting as a wrapper for the API the module provides the boilerplate code needed to build additional modules for working with and displaying information from the API.
To my knowledge, a Drupal CollegiateLink API integration module does not exist.
Project Page: http://drupal.org/sandbox/hashmap/1836118
Project Repository:
Drupal 6: git clone --branch 6.x-1.x http://git.drupal.org/sandbox/hashmap/1836118.git collegiatelink_api
Drupal 7: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/hashmap/1836118.git collegiatelink_api
Comments
Comment #0.0
hashmap commentedAdded Drupal 7 Support
Comment #1
bripatand commentedYou should use 7.x-1.x (or 6.x-1.x) to name your branches.
The URL for other people to access the repository should be: git clone --branch 7.x-1.x-dev http://git.drupal.org/sandbox/hashmap/1836118.git collegiatelink_api
There are few issues reported by automatic review at http://ventral.org/pareview.
Is there a module using this API today?
Without an example module at least, we cannot test if the module is actually working.
Manual review:
Remove "version" from the info file, it will be added by drupal.org packaging automatically.
A bit picky as the class only contains contants but in "theory" you should add a files[] directive in the info file for CollegiateLinkApiResource.php and remove the require_once.
Beside those points, the code seems neat and very readable.
Comment #1.0
bripatand commentedfixed git link
Comment #2
dDoak commentedHi,
Maybe you should move API function you want to exposed in dot module file :
- collegiatelink_api_get_event_list
- collegiatelink_api_get_complete_event_list
- collegiatelink_api_get_user_position
- collegiatelink_api_get_user_membership
- etc.
and leave helper function (function _*) in *.inc file. Its just more convenient for an external module to use api function without any require once...
Comment #3
hashmap commentedThanks for taking the time to review my module.
Fixed.
Fixed. I did not know about this tool it is very handy.
I have looked around, but I have not been able to find one.
Unfortunately this module cannot be used if you do not have an instance of CollegiateLink and an API key for it. I added some status pages that indicate API connection status and use a few of the module's functions. This should at least give people with a CollegiateLink instance and an API key feedback about whether their settings are correct.
Fixed.
Comment #4
hashmap commentedI appreciate the feedback, but those functions are accessible to a dependent module even though they are in a .inc file.
Comment #5
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #5.0
klausiUpdated git clone URLs and branch names