Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Releases: mediapart/selligent

New release

16 Jun 12:35
Compare
Choose a tag to compare
v1.1.3

Merge pull request #27 from Talamasca/TriggerCampaignForUserAndAction…

Bugfixes

30 Dec 14:03
Compare
Choose a tag to compare

Changelog

  • fix #19 campaign START_DT value

Added functionalities

26 Dec 15:14
Compare
Choose a tag to compare

Changelog

  • Handle HYPERLINKS_TO_SENSORS attribute,
  • Add Broadcast Helper.

🔗 HYPERLINKS_TO_SENSORS

Adding the ability to use the HYPERLINKS_TO_SENSORS attribute in broadcast campaigns if you want a hyperlink to be measured as a sensor.

<?php
use Mediapart\Selligent\Broadcast\Email;

$email = new Email();
$email->setHyperlinksToSensors(true);

📢 Broadcast Helper

In the same idea that the Transport class, I proposed to add a Broadcast class to helps library end user to trigger broadcasted campaigns.

$broadcast = new Broadcast($client);
$broadcast->setLogger($logger);
$response = $broadcast->triggerCampaign($campaign);

Due to naming conflicts, I moved IndividualTest and BroadcastTest into tests/Integrated/.

Bugfixes

07 Dec 11:15
Compare
Choose a tag to compare

Changelog

  • Fix required constraint of list config param
  • Fix campaign state constant values has to be in capital letters
  • Fix START_DT format in sent XML Campaign to YmdHmi
  • Skip tests (in real testsuite) if no required env vars are defined

Unit tests out of the box

Now you can run directly phpunit tests without any param or environment variables. The real testsuite, who requires a bunch of env vars, are now skipped if there are not set.

Allow broadcast API calls

06 Dec 10:32
Compare
Choose a tag to compare

Changelog

  • Require dependency to symfony/config component
  • Handle both Individual and Broadcast Selligent API endpoints
  • Adding helper to generate the XML document to broadcast complete HTML campaign

Breaking Change

The method Connection::open() has changed his signature. Now it will accept only an array who will contains a valid Mediapart/Selligent/Configuration tree.

To fix the breaking change, change your call from :

$config = [
    'login' => '***', 
    'password' => '***',
    'wsdl' => 'http://emsecure/?wsdl'
];

$connection = new Connection();
$client = $connection->open(
    $config['login'],
    $config['password'],
    $config['wsdl']
);

to :

$config = [
    'login' => '***', 
    'password' => '***',
    'wsdl' => 'http://emsecure/?wsdl'
];

$connection = new Connection();
$client = $connection->open($config);

Bugfixes

07 Nov 11:11
Compare
Choose a tag to compare

Improve tests and documentations. Fixes bug on Transport::TriggerCampaign.

First Release

03 Nov 13:47
Compare
Choose a tag to compare
v0.1

fix Call to a member function getValue() on string