Commit Graph

210 Commits

Author SHA1 Message Date
Oleksandr Mykhailenko
c04197362b
Fixed issues (#829)
* Fixed issues
 - BatchMessage generates "invalid" JSON for recipients with an empty set of recipient-variables
 - Use null coalescing operator in IndexResponse.php

* Fix warning from php-cs-fixer
2022-06-14 00:38:10 +03:00
Pawel Wasiluk
76b7a9a781 Php cs fixes 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
c3c3a9f01a Added dkim size 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
4db9d9bb63
Added tests and method for adding content with string (#797) 2021-10-21 08:09:13 +02:00
Pawel Wasiluk
d926ba72fd
Patch 1 (#792)
* Support setting web_schema

* Added tests, change parameters

* phpcs fixes

* Test fixes

Co-authored-by: Thomas Portelange <thomas@lekoala.be>
2021-10-19 09:46:16 +02:00
Pawel Wasiluk
6853b03247
Pool id tests (#793)
* Add the `pool_id` parameter to Domain::create()

* Formatting

* Added tests

* Added missing comma

Co-authored-by: Roy Hill-Percival <github@royhp.com>
2021-10-05 09:44:50 +02:00
Pavlico
d987c3e5e2 Tests 2021-09-17 16:16:48 +02:00
Nyholm
330ab10505 cs 2021-08-21 10:13:19 +02:00
Nyholm
52a8ec5e63 Fixed broken CI 2021-08-21 10:13:19 +02:00
Pawel Wasiluk
2bec29071e Added Mailbox api usign httpPost etc 2021-08-21 00:43:35 +01:00
Nyholm
a186302994 CS fixes 2021-08-21 00:40:34 +01:00
Nyholm
128bcc680c Update dev dependencies 2021-08-21 00:40:34 +01:00
Pavlico
36d0555da9
Moving back breaking changes (#773)
* Moving back breaking changes

* Moving back tests

* Cs-fix

Co-authored-by: Pawel Wasiluk <pwasi@softserveinc.com>
2021-08-16 11:29:42 +02:00
Artem Bondarenko
9b270d07b8 tests 2021-05-17 22:41:41 +01:00
Sven Rymenants
1eab2cf3be Adapt tests for new version of PHPUnit 2021-03-08 07:22:58 +00:00
Sven Rymenants
de8b1b175a Changed variable case, new webhooks return empty array if no hooks installed 2021-03-08 07:22:58 +00:00
Sven Rymenants
379cd2a36e Support for new webhook endpoints (show) 2021-03-08 07:22:58 +00:00
Sven Rymenants
1a5e3ceee8 Removed empty lines to satisfy code formatting test 2021-03-08 07:22:58 +00:00
Sven Rymenants
26a4f870ab Support for new webhook endpoints 2021-03-08 07:22:58 +00:00
Artem Bondarenko
702d04ef1f fix test 2021-02-28 21:30:21 +00:00
Artem Bondarenko
404405d923 email validation v4 cs fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
b454618229 email validation v4 fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
8c5c99a356 fix 2021-02-01 16:07:20 +00:00
Artem Bondarenko
c24a92822c email validation v4, bulk validation, bulk preview 2021-02-01 16:07:20 +00:00
Tobias Nyholm
12ed8aae43
Updating workflows and add psalm (#741)
* Updating workflows and add psalm

* Normalize composer

* Fixed CS
2021-01-30 12:43:12 +01:00
Aaron Rubin
a39d0b0651
Add additional events to TotalResponseItem (#739) 2021-01-30 07:40:40 +01:00
David Garcia
66fd858a02
PHP 8.x support (#727)
* Set dependencies for 7.3 and 8.x

* Set GitHub Actions for PHP 7.3, 7.4 and 8.0

* Set Ubuntu version that supports PHP from 7.1 to 7.4

According to warnings raised by GitHub Actions, the alias for the latest
Ubuntu version will upgrade soon to the newer 20.04 LTS instead of 18.04.

Aiming to ensure the compatibility with previous PHP versions, it's safer
to force the Ubuntu 18.04 that has the previous PHP version as built-in
versions in the OS

https://github.com/marketplace/actions/setup-php-action#github-hosted-runners

* Fix dependencies for PHP ^7.3 and ^8.0 support

* Run test suite with PHP versions from 7.3 to 8.1

* Broken Prophecy dependency for PHPUnit on PHP 8.1

This broken dependency doesn't allow us to run PHPUnit tests and ensure it works. Keeping the ^8.0 version should allow installations for non-maintainers on newer versions too.

https://packagist.org/packages/phpspec/prophecy#1.12.2

requires
- php: ^7.2 || ~8.0, <8.1
- ...

* Use the latest Ubuntu version instead of a specific version

* Prepare Changelog for PHP 8.0
2021-01-30 07:39:30 +01:00
Artem Bondarenko
75627515f4 added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
6d9a7c42fd added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
9fd5ae16dc Suppression Whitelists 2020-11-16 16:52:49 +00:00
Artem Bondarenko
0a9562e73c mailing list validation 2020-10-15 22:00:38 +01:00
Artem Bondarenko
87c59dc386 comments fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
ce465a8f95 fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
20385fe70c fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
ab8324a178 domain tracking implementation fix active param, fix tests 2020-10-15 22:00:13 +01:00
Artem Bondarenko
2d8283ea29 domain tracking implementation 2020-10-15 22:00:13 +01:00
David Garcia
b6d0ace9f3 Code Style fixes 2020-10-08 13:20:23 +01:00
Joseph Shanak
90028dc6a1 Add mapping for assignable_to_pools property of ips index response 2020-10-07 22:04:54 +01:00
Joseph Shanak
a91f5f6185 Change Ip::index() default to return all ips instead of shared ips 2020-10-07 22:04:54 +01:00
Joseph Shanak
086afb49b7 Allow assigning a domain to a list of ips during creation 2020-10-07 17:58:45 +01:00
Joseph Shanak
ff8c9c31b7 Fix assigning Ip 2020-10-07 17:53:19 +01:00
Artem Bondarenko
3354ac3514 added unmapped proeprty logLevel to Event model 2020-10-07 17:47:06 +01:00
Artem Bondarenko
b56b7dd81d removed unused method 2020-10-07 17:43:44 +01:00
Martin San Juan
7728cf393c style: run php-cs-fixes 2020-09-25 19:05:33 +01:00
Martin San Juan
562cda2504 feat: add array support to webhook handling
Change webhook create() $url parameter from string to array to support
multiple URLs
Change webhook update() $url parameter from string to array yo support
multiple URLs
2020-09-25 19:05:33 +01:00
Justin Sims
cd08d99f87 Updated Mailgun\Tests\Api\MailingListTest to account for new reply_preference property 2020-08-14 01:06:45 +01:00
Tibor Hercz
4641cf735f added tests 2020-08-14 01:06:22 +01:00
Martin San Juan
3fc2f8e227 build: fix style and phpstan 2020-08-14 00:49:39 +01:00
iwahara
8390bdd803 add unsubscribe delete parameter. 2019-10-15 18:50:34 +01:00
Littlesqx
7b674dd2ca Fix mismatch 2019-08-30 19:49:02 +01:00