| 1 |
Module: FreshBooks - http://drupal.org/project/freshbooks
|
| 2 |
Maintainer: Ryan Szrama - http://www.bywombats.com
|
| 3 |
|
| 4 |
Current development version: 6.x-1.x-dev
|
| 5 |
|
| 6 |
11/7/08
|
| 7 |
- Moved the loading of API credentials to freshbooks_connect() itself, though
|
| 8 |
you can still supply custom values through extra parameters. Added static
|
| 9 |
caching of the DrupalFreshBooks object here for use throughout the page
|
| 10 |
request.
|
| 11 |
- Decided to map DrupalFreshBooks methods to API requests on a 1:1 basis.
|
| 12 |
- Changed method parameters from random data arrays to some specific function
|
| 13 |
parameters, like $client_id for appropriate client requests.
|
| 14 |
- Changed return values to be more specific for each API request.
|
| 15 |
- Added methods for all the client requests and tested each one.
|
| 16 |
- Added logging for failed requests.
|
| 17 |
|
| 18 |
9/16/08
|
| 19 |
- Renamed DrupalFreshBooks::apiRequest to sendAPIRequest and newRequest to
|
| 20 |
buildAPIRequest to reflect the new way of adding support for API methods.
|
| 21 |
- Added in DrupalFreshBooks::getMethodArgs for the same end.
|
| 22 |
- Changed it so adding the API methods will simply entail two things:
|
| 23 |
1. Adding a method to the DrupalFreshBooks class that's a wrapper for the
|
| 24 |
process of building and sending an API requests.
|
| 25 |
2. Adding a case for the API method in getMethodArgs that defines acceptable
|
| 26 |
arguments for the method at FreshBooks.
|
| 27 |
|
| 28 |
9/13/08
|
| 29 |
- Changed from DOMDocument to SimpleXML - it _is_ much simpler! :D
|
| 30 |
- Added clientList method and example code.
|
| 31 |
|
| 32 |
9/12/08
|
| 33 |
- Added freshbooks.class.inc which defines the DrupalFreshBooks class.
|
| 34 |
- Added freshbooks_connect() to freshbooks.module which includes the .inc file,
|
| 35 |
creates a DrupalFreshBooks object, and verifies the API credentials.
|
| 36 |
- Decided it would be smart to start the changelog early. :)
|