summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost/SparkPost.php
Commit message (Collapse)AuthorAgeFilesLines
* Optional automatic retry on 5xxEwan Dennis2017-07-051-4/+37
|
* Merge pull request #149 from zaporylie/patch-2rajumsys2017-03-081-0/+8
|\ | | | | Setters should return current object.
| * Setters should return current object.Jakub Piasecki2016-10-131-0/+8
| |
* | updated version in SparkPost classAvi Goldman2017-01-071-1/+1
| |
* | added back in buildRequest as a single functionAvi Goldman2017-01-041-3/+16
| |
* | ran fix styleAvi Goldman2017-01-041-8/+10
| |
* | broke building request values into their own func and added debug optionAvi Goldman2017-01-041-9/+40
|/
* Remove form feeds (Fix #141).eiriksm2016-08-241-1/+7
|
* added php-http/message as dependencyAvi Goldman2016-07-281-1/+1
|
* Bump version, update changelog2.0.2Avi Goldman2016-07-281-1/+1
|
* Remove dependency from Guzzle (#131)Tobias Nyholm2016-07-271-11/+46
| | | | | | | | | | * Remove dependency form Guzzle * Fixed borken tests * Added more tests * make sure we require httplug as well.
* Fix phpdocAnatoly Pashin2016-07-251-1/+1
|
* Bump version, update changelog2.0.1Rich Leland2016-06-291-7/+7
|
* getting rid of rold optionsAvi Goldman2016-06-231-1/+0
|
* added comments and fixed BCCAvi Goldman2016-06-211-1/+1
|
* added transmission in sparkpost class. Refactored code in Transmission.phpAvi Goldman2016-06-211-1/+1
|
* Merged FAD-3148 into 2.xAvi Goldman2016-06-201-76/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Bump version, update changelogRich Leland2016-05-271-1/+1
|
* Added a timeout option to overwrite the default 10 seconds built into the ↵Ryan2016-05-191-0/+2
| | | | default configuration
* Bump version, update changelog1.2.0Rich Leland2016-05-041-1/+1
|
* Add php-cs-fixer as composer script and make initial fix-style runJason Rhodes2016-05-031-122/+136
| | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file
* Remove reliance on composerRichard Leland2016-05-031-5/+6
| | | | - Some users don't use composer and the code required the composer.json - Resolves #95
* Merge pull request #69 from j4m3s/ISSUE-58Jordan Nornhold2016-05-021-0/+2
|\ | | | | Message Events
| * Rename MessageEvent to plural, update docblocks.James Fellows2016-04-261-2/+2
| |
| * Add tests for new MessageEvent DateTime handlingJames Fellows2016-04-041-0/+2
| |
* | Update key validationLF Bittencourt2016-04-221-1/+1
|/ | | Fixes #75
* removed test, because it's not needed after added strong-typing to the ↵danil zakablukovskii2016-02-281-37/+24
| | | | 'setHttpAdapter' method
* clean lib codedanil zakablukovskii2016-02-271-40/+47
| | | | | | | removed @desc tag, since it doesn't exist in phpdoc fixed comments fixed namespaces added strong-typing for some methods
* Changed gettype() to is_string()beardyman2015-10-141-1/+1
|
* Added ability to pass in api key as a configbeardyman2015-10-101-7/+9
|
* Merged masterbeardyman2015-10-101-55/+126
|\
| * removed unhittable code and removed a unit test for it. Updated code ↵beardyman2015-10-071-8/+1
| | | | | | | | coverage filters in phpunit.xml to ignore test files because a utility function wasn't being used
| * replaced tabs with two spaces. normalized quotesbeardyman2015-10-031-9/+9
| |
| * Removed all tabs and replaced them with two spacesbeardyman2015-10-021-1/+1
| |
| * Updated tests for new structurebeardyman2015-09-301-1/+1
| |
| * moved config setup and management back into the sparkpost objectbeardyman2015-09-281-1/+118
| |
| * Removed most static methods and adopted an instance based implementation. ↵beardyman2015-09-171-125/+7
| | | | | | | | Updated all examples and compatibility later to reflect these changes.
| * finished code updates/refactoring updated examples and began refactoring testsbeardyman2015-09-161-41/+55
| |
| * Refactored to use http adapter instead of guzzle directlybeardyman2015-09-151-10/+74
| |
* | added check to see if an api key is passed in instead of a config objectbeardyman2015-10-041-14/+20
|/
* Fixed failing unit test - added ability to unset configmapril2015-09-021-0/+4
|
* MA-1084 #time 1h updated tests and compatibilitynornholdj2014-11-131-1/+6
|
* MA-1084 #time 3h updated to be usable with php 5.3nornholdj2014-11-121-2/+2
|
* Updated SparkPost References and updated docs and mappings to reflectnornholdj2014-11-101-0/+51
updated config lists.