Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optional automatic retry on 5xx | Ewan Dennis | 2017-07-05 | 1 | -4/+37 |
| | |||||
* | Merge pull request #149 from zaporylie/patch-2 | rajumsys | 2017-03-08 | 1 | -0/+8 |
|\ | | | | | Setters should return current object. | ||||
| * | Setters should return current object. | Jakub Piasecki | 2016-10-13 | 1 | -0/+8 |
| | | |||||
* | | updated version in SparkPost class | Avi Goldman | 2017-01-07 | 1 | -1/+1 |
| | | |||||
* | | added default for request param in SparkPostResponse and SparkPostException | Avi Goldman | 2017-01-04 | 3 | -3/+3 |
| | | |||||
* | | added back in buildRequest as a single function | Avi Goldman | 2017-01-04 | 1 | -3/+16 |
| | | |||||
* | | ran fix style | Avi Goldman | 2017-01-04 | 6 | -23/+24 |
| | | |||||
* | | added functions in error and response for getting out the request in debug mode | Avi Goldman | 2017-01-04 | 2 | -2/+34 |
| | | |||||
* | | pass request through to response or error | Avi Goldman | 2017-01-04 | 1 | -7/+16 |
| | | |||||
* | | broke building request values into their own func and added debug option | Avi Goldman | 2017-01-04 | 1 | -9/+40 |
| | | |||||
* | | Fix #150: Rename Resource to ResourceBase and leave deprecation note | zaporylie | 2016-10-13 | 3 | -83/+99 |
|/ | |||||
* | Updating examples (#139) | Avi Goldman | 2016-08-25 | 1 | -11/+13 |
| | | | | | | | | | | | | | | | | * added example of getting transmission by ID * updated example messages and added example with recipient list and template * fixed lib to work with recipient lists * fixed lib to work with recipient lists * added test covering recipient list * added message event example * added template examples | ||||
* | Remove form feeds (Fix #141). | eiriksm | 2016-08-24 | 1 | -1/+7 |
| | |||||
* | added php-http/message as dependency | Avi Goldman | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | Bump version, update changelog2.0.2 | Avi Goldman | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | Remove dependency from Guzzle (#131) | Tobias Nyholm | 2016-07-27 | 1 | -11/+46 |
| | | | | | | | | | | * Remove dependency form Guzzle * Fixed borken tests * Added more tests * make sure we require httplug as well. | ||||
* | Fix phpdoc | Anatoly Pashin | 2016-07-25 | 1 | -1/+1 |
| | |||||
* | Bump version, update changelog2.0.1 | Rich Leland | 2016-06-29 | 1 | -7/+7 |
| | |||||
* | transmission: makes "from" address optional | Conrad Kleinespel | 2016-06-29 | 1 | -1/+3 |
| | |||||
* | getting rid of rold options | Avi Goldman | 2016-06-23 | 1 | -1/+0 |
| | |||||
* | fixed examples, and small details | Avi Goldman | 2016-06-23 | 3 | -10/+10 |
| | |||||
* | formatting and comments | Avi Goldman | 2016-06-22 | 5 | -55/+54 |
| | |||||
* | wrote tests to cover Resource and Transmission classes | Avi Goldman | 2016-06-21 | 1 | -1/+1 |
| | |||||
* | grouped formatting functions into a single 'formatPayload' function | Avi Goldman | 2016-06-21 | 1 | -2/+15 |
| | |||||
* | set param defaults in resource class | Avi Goldman | 2016-06-21 | 1 | -4/+4 |
| | |||||
* | fixed error thrown in toAddressObject function | Avi Goldman | 2016-06-21 | 1 | -2/+1 |
| | |||||
* | added comments and fixed BCC | Avi Goldman | 2016-06-21 | 3 | -6/+108 |
| | |||||
* | added transmission in sparkpost class. Refactored code in Transmission.php | Avi Goldman | 2016-06-21 | 2 | -127/+85 |
| | |||||
* | merged in 2.x | Avi Goldman | 2016-06-20 | 4 | -94/+231 |
|\ | |||||
| * | Merged FAD-3148 into 2.x | Avi Goldman | 2016-06-20 | 8 | -603/+378 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FAD-3148 basic non-functioning base class * FAD-3148 a bit more functionality in the base class * FAD-3148 added custom promise class and custom response class. Did good things to SparkPost class * Updated Transmission.php for new refactor, still WIP. Created Resource.php as a parent class for all future resources. * Removed test functions * Cleaned up Transmissions.php according to PSR-2, deleted more test code and comments. * added sync and aysnc, cleaned up code * added support for async/sync option * added support for async/sync option * Added interns to authors * simplified the request function * added comments * added user agent * added comments in SparkPostPromise * added comments in SparkPostException * added comments in SparkPostResponse * cleaning up test * updated composer.json and contributing files for testing * Ran php-cs-fixer * testing for sparkpost response class * updated to newer version of guzzle * updated to newer version of guzzle * Cleaned up getUrl and other functions * cleaned up constructor and overrode getCode with getResponse()->getStatusCode() * fixed up then method * cleaned up getBody * deleted old test * Wrote total coverage tests for SparkPost class * commented out setting up transmissions endpoint until merging with FAD-3146 | ||||
* | | added put and delete methods along with request function to handle case with ↵ | Avi Goldman | 2016-06-17 | 1 | -4/+28 |
| | | | | | | | | no uri with a payload | ||||
* | | Deleted test code, irrelevant comments, and fixed up code. | Vincent Song | 2016-06-15 | 2 | -18/+10 |
| | | |||||
* | | Added parser to change shorthand recipients to array of name and address, ↵ | Vincent Song | 2016-06-14 | 2 | -2/+68 |
| | | | | | | | | wherever possible | ||||
* | | BCCs and CCs now send properly | Vincent Song | 2016-06-13 | 1 | -19/+18 |
| | | |||||
* | | Sending works, cc/bcc headers don't. | Vincent Song | 2016-06-13 | 3 | -10/+12 |
| | | |||||
* | | WIP | Vincent Song | 2016-06-10 | 7 | -499/+273 |
|\ \ | |||||
| * | | added support for async/sync option | Avi Goldman | 2016-06-10 | 1 | -2/+2 |
| | | | |||||
| * | | added support for async/sync option | Avi Goldman | 2016-06-10 | 1 | -2/+12 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/FAD-3146' into FAD-3148 | Avi Goldman | 2016-06-10 | 1 | -0/+1 |
| |\ \ | |||||
| * | | | added sync and aysnc, cleaned up code | Avi Goldman | 2016-06-10 | 5 | -75/+173 |
| | | | | |||||
| * | | | FAD-3148 added custom promise class and custom response class. Did good ↵ | Avi Goldman | 2016-06-10 | 7 | -536/+118 |
| | | | | | | | | | | | | | | | | things to SparkPost class | ||||
| * | | | FAD-3148 a bit more functionality in the base class | Avi Goldman | 2016-06-09 | 1 | -8/+14 |
| | | | | |||||
| * | | | FAD-3148 basic non-functioning base class | Avi Goldman | 2016-06-09 | 1 | -102/+43 |
| | |/ | |/| | |||||
* | | | WIP | Vincent Song | 2016-06-10 | 1 | -45/+0 |
| | | | |||||
* | | | Minor bug fix | Vincent Song | 2016-06-10 | 1 | -9/+3 |
| | | | |||||
* | | | fixed minor bug | Vincent Song | 2016-06-10 | 1 | -1/+45 |
| | | | |||||
* | | | Resource.post and get now accepts CC headers which are generated in the ↵ | Vincent Song | 2016-06-10 | 2 | -19/+24 |
| | | | | | | | | | | | | fixCarbonCopy() method | ||||
* | | | No more CC header section if there's no CC | Vincent Song | 2016-06-10 | 1 | -2/+5 |
| | | | |||||
* | | | Minor bugfixes | Vincent Song | 2016-06-10 | 2 | -11/+12 |
| | | | |||||
* | | | it wont break anymore if there's no CC or BCC, and also added return to ↵ | Vincent Song | 2016-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Transmissions->post() | ||||
* | | | It won't break anymore if there's no CC or BCC | Vincent Song | 2016-06-10 | 1 | -21/+26 |
| |/ |/| | |||||
* | | Cleaned up Transmissions.php according to PSR-2, deleted more test code and ↵ | Vincent Song | 2016-06-10 | 1 | -116/+30 |
| | | | | | | | | comments. | ||||
* | | Removed test functions | Vincent Song | 2016-06-10 | 1 | -4/+0 |
| | | |||||
* | | Updated Transmission.php for new refactor, still WIP. Created Resource.php ↵ | Vincent Song | 2016-06-10 | 2 | -118/+196 |
|/ | | | | as a parent class for all future resources. | ||||
* | Bump version, update changelog | Rich Leland | 2016-05-27 | 1 | -1/+1 |
| | |||||
* | Added a timeout option to overwrite the default 10 seconds built into the ↵ | Ryan | 2016-05-19 | 1 | -0/+2 |
| | | | | default configuration | ||||
* | Bump version, update changelog1.2.0 | Rich Leland | 2016-05-04 | 1 | -1/+1 |
| | |||||
* | Add php-cs-fixer as composer script and make initial fix-style run | Jason Rhodes | 2016-05-03 | 5 | -553/+610 |
| | | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file | ||||
* | Return extended exception data | Richard Leland | 2016-05-03 | 1 | -2/+9 |
| | | | | | | | | | * Update examples to show available extra exception methods * Resolves #83 * Update 403s to pass back extended exception data Fixes #83 | ||||
* | Remove reliance on composer | Richard Leland | 2016-05-03 | 1 | -5/+6 |
| | | | | - Some users don't use composer and the code required the composer.json - Resolves #95 | ||||
* | Merge pull request #69 from j4m3s/ISSUE-58 | Jordan Nornhold | 2016-05-02 | 4 | -2/+77 |
|\ | | | | | Message Events | ||||
| * | Rename MessageEvent to plural, update docblocks. | James Fellows | 2016-04-26 | 2 | -4/+12 |
| | | |||||
| * | Reformat Transmission code lines | James Fellows | 2016-04-24 | 1 | -4/+2 |
| | | |||||
| * | Add explanation to APIResource query param imploding | James Fellows | 2016-04-24 | 1 | -0/+1 |
| | | |||||
| * | Add unit tests for Message Events::documentation and ::samples | James Fellows | 2016-04-04 | 1 | -3/+3 |
| | | |||||
| * | Add tests for new MessageEvent DateTime handling | James Fellows | 2016-04-04 | 2 | -3/+30 |
| | | |||||
| * | Message Event mocked tests pass | James Fellows | 2016-04-03 | 2 | -12/+30 |
| | | |||||
| * | Initial commit adding MessageEvent support | James Fellows | 2016-03-31 | 2 | -0/+16 |
| | | |||||
| * | Allow startTime param to be a DateTime object | James Fellows | 2016-03-29 | 1 | -1/+8 |
| | | |||||
* | | Update key validation | LF Bittencourt | 2016-04-22 | 1 | -1/+1 |
| | | | | | | Fixes #75 | ||||
* | | Improve Exception message on 403 response (#71) | James Fellows | 2016-04-19 | 1 | -0/+3 |
|/ | | | Fixes #70. | ||||
* | Merge pull request #56 from SparkPost/ISSUE-45 | Jordan Nornhold | 2016-03-14 | 1 | -21/+31 |
|\ | | | | | Additional options for transmissions | ||||
| * | Sort parameter mappings | Rich Leland | 2016-03-12 | 1 | -31/+31 |
| | | |||||
| * | Add transmission options | Rich Leland | 2016-03-12 | 1 | -2/+12 |
| | | |||||
* | | Merge pull request #51 from zaporylie/feat/customize-api-response-exception | Richard Leland | 2016-03-13 | 2 | -8/+62 |
|\ \ | |/ |/| | Improve APIResponseException class | ||||
| * | Rename to | zaporylie | 2016-03-13 | 1 | -7/+7 |
| | | |||||
| * | Improve APIResponseException class | Jakub Piasecki | 2016-03-08 | 2 | -8/+62 |
| | | |||||
* | | Add support for inline images | cchandon | 2016-03-11 | 1 | -0/+1 |
| | | |||||
* | | Add missing support for attchments | Jakub Piasecki | 2016-03-08 | 1 | -0/+1 |
|/ | |||||
* | removed test, because it's not needed after added strong-typing to the ↵ | danil zakablukovskii | 2016-02-28 | 4 | -139/+110 |
| | | | | 'setHttpAdapter' method | ||||
* | clean lib code | danil zakablukovskii | 2016-02-27 | 4 | -156/+180 |
| | | | | | | | removed @desc tag, since it doesn't exist in phpdoc fixed comments fixed namespaces added strong-typing for some methods | ||||
* | Updated concatenations to have spaces | Jordan Nornhold | 2016-02-25 | 1 | -2/+2 |
| | |||||
* | added new exception type and unwrapped example for webhooks | beardyman | 2016-02-23 | 1 | -0/+9 |
| | |||||
* | added logic to handle error responses | beardyman | 2016-02-23 | 1 | -12/+19 |
| | |||||
* | Changed gettype() to is_string() | beardyman | 2015-10-14 | 1 | -1/+1 |
| | |||||
* | Added ability to pass in api key as a config | beardyman | 2015-10-10 | 1 | -7/+9 |
| | |||||
* | Merged master | beardyman | 2015-10-10 | 3 | -364/+425 |
|\ | |||||
| * | removed unhittable code and removed a unit test for it. Updated code ↵ | beardyman | 2015-10-07 | 2 | -13/+2 |
| | | | | | | | | coverage filters in phpunit.xml to ignore test files because a utility function wasn't being used | ||||
| * | replaced tabs with two spaces. normalized quotes | beardyman | 2015-10-03 | 3 | -231/+231 |
| | | |||||
| * | Removed all tabs and replaced them with two spaces | beardyman | 2015-10-02 | 3 | -3/+3 |
| | | |||||
| * | Updated tests for new structure | beardyman | 2015-09-30 | 2 | -1/+6 |
| | | |||||
| * | moved config setup and management back into the sparkpost object | beardyman | 2015-09-28 | 2 | -104/+123 |
| | | |||||
| * | Finished tests and docs | beardyman | 2015-09-25 | 1 | -15/+34 |
| | | |||||
| * | started cleaning up tests to reflect the new changes | beardyman | 2015-09-22 | 1 | -22/+0 |
| | | |||||
| * | Removed most static methods and adopted an instance based implementation. ↵ | beardyman | 2015-09-17 | 3 | -178/+200 |
| | | | | | | | | Updated all examples and compatibility later to reflect these changes. | ||||
| * | finished code updates/refactoring updated examples and began refactoring tests | beardyman | 2015-09-16 | 2 | -61/+78 |
| | | |||||
| * | Refactored to use http adapter instead of guzzle directly | beardyman | 2015-09-15 | 3 | -137/+148 |
| | | |||||
* | | added check to see if an api key is passed in instead of a config object | beardyman | 2015-10-04 | 1 | -14/+20 |
|/ | |||||
* | Fixed failing unit test - added ability to unset config | mapril | 2015-09-02 | 1 | -0/+4 |
| | |||||
* | added base object, test and example | mapril | 2015-08-21 | 1 | -0/+216 |
| |