Commit Graph

554 Commits

Author SHA1 Message Date
Littlesqx
4a2a4fe4a5 Add forbidden response test cases 2019-08-30 19:49:02 +01:00
Littlesqx
e0cb8023a7 Update forbidden response, set message from response body content. 2019-08-30 19:49:02 +01:00
Littlesqx
300dcc18bb Remove rule for ignoring .idea 2019-08-30 19:49:02 +01:00
徐哈哈
c88f1bc174 Add Forbidden response 2019-08-30 19:49:02 +01:00
David Garcia
5cad522151 Update README.md 2019-08-29 22:59:58 +01:00
Nathan Perkins
2db0619d8a Revise domain creation assertions and add tests
Based on feedback from @DavidGarciaCat.
2019-08-29 22:25:39 +01:00
Nathan Perkins
c9bbf8e45f Revise domain creation to allow select arguments
Previously, passing `$spamAction` only worked if an SMTP password (`$smtpPass`) was provided. This revision de-couples those two arguments.

In addition, it adds support for the `$wildcard` arguments (which appeared to not be used before).

Finally, this revision adds SMTP password validation (the same used in the `credentials` method).
2019-08-29 22:25:39 +01:00
Kevin Pohl
ae9a549e7f sort api methods by name 2019-05-18 01:34:42 +01:00
Kevin Pohl
4d77573ae6 add missing mailingList method 2019-05-18 01:34:42 +01:00
Tobias Nyholm
f30985c925 Added return types 2019-04-19 21:37:48 +01:00
Tobias Nyholm
c3ea40c94e
Fixed a few PRs and some cleanup (#589)
* fix for #581

* fix for #582

* Remove final

This will fix #584

* Type cast to string properly

* Convert to json string if needed

* cs
2019-04-09 20:37:32 +02:00
Tobias Nyholm
ad67b4179c
Make sure Attachment::show always return ResponseInterface (#590) 2019-04-09 20:10:33 +02:00
Louis Coulet
7705cb7666 Fix attachment and inline image renaming (#571)
* Fix file renaming

* Fix file renaming
2019-04-09 19:12:50 +02:00
Martijn
2162ade61a Update mime message docs for new Swiftmailer version and lib parameter update (#585) 2019-04-09 11:16:50 +02:00
David Garcia
abf2a0ae55 Mailgun-461: Validate limits (#565)
* Check limit for paginated domains

* Check limit for paginated events

* Check limit for paginated rotues

* Check limit for paginated tags

* Check limit for paginated mailing lists

* Replace unexpected Assert
2019-02-18 16:43:59 +01:00
Ilya Chekalskiy
7e438f4b4e Fixes #573 (#574)
because `\Http\Client\Common\HttpMethodsClientInterface` is an interface, not a class
2019-02-18 16:41:38 +01:00
David Baker
6ff2a713af Fixed a typo in the CHANGELOG 2019-02-12 21:45:20 +00:00
Tobias Nyholm
bbb88f0113 Make sure the link is updated 2019-02-03 21:58:26 +00:00
Nyholm
92d9d5ead8 minon 2019-02-03 21:57:45 +00:00
Nyholm
15624afa79 Adding Roave BC check 2019-02-03 21:57:45 +00:00
Nyholm
f84f757ae2 Use PSR-17 and mark classes as final 2019-02-03 21:55:05 +00:00
David Garcia
466af8b9a8 Update README.md
Co-Authored-By: Nyholm <tobias.nyholm@gmail.com>
2019-02-03 21:40:14 +00:00
Tobias Nyholm
f50304aa65 Show that we supoprt PSR-18 2019-02-03 21:40:14 +00:00
Alex Fesiuk
0bcc9b3aa5 Add link to the Drupal module. (#559) 2019-02-02 15:18:00 +01:00
Tobias Nyholm
cb6aed8170
Added 2.8.1 changelog (#558) 2019-02-02 08:30:58 +01:00
Tobias Nyholm
6954b4dd2a
Use PSR-18 (#522)
* Use PSR-18

* minor fixes

* phpstan fixes

* cs
2019-02-02 08:30:04 +01:00
David Garcia
398989de61 Include API endpoint in README (#557) 2019-02-02 08:09:51 +01:00
David Garcia
c51c6b10a0 Revert "Add helper for MailingList"
This reverts commit 787811d08b.
2019-01-30 00:08:47 +00:00
David Garcia
b18b4b4f5f Revert "Fix PHPStan validation error"
This reverts commit 3329924ebc.
2019-01-30 00:08:47 +00:00
David Garcia
3329924ebc Fix PHPStan validation error
Class Mailgun\Api\MailingList referenced with incorrect case: Mailgun\API\MailingList.
2019-01-29 23:52:40 +00:00
David Garcia
787811d08b Add helper for MailingList 2019-01-29 23:52:40 +00:00
Tobias Nyholm
cbb13527b9
Minor cleanup and cs (#550)
* Minor cleanup and cs

* minor
2019-01-23 10:35:58 +01:00
Radoje Albijanic
a79b8bb86f CS fixes 2019-01-23 00:46:28 +00:00
Radoje Albijanic
58a353e5f3 Refactor models to php7 2019-01-23 00:46:28 +00:00
Radoje Albijanic
272033dff2 Refactor Tag models to php7 code (#548)
* Refactor models to php7 code

* return model from create method fix
2019-01-22 18:38:44 +01:00
Radoje Albijanic
259d91cb75 Update Suppression models to php7 (#547)
* PHP7 code in Suppression/Bounce

* PHP7 code in Suppression/Complaint and some fixes

* PHP7 code in Suppression/Unsubscribe and some fixes

* Minor

* Empty constructors, changed DateTimeImmutable instead of DateTime

* Code format

* Refactor and consistency fixes

* Nullable getter return values, nullable address fixes
2019-01-22 16:43:20 +01:00
Nyholm
2fe264038b Bugfix 2019-01-20 11:03:18 +00:00
Nyholm
997d545e61 Bugfixes 2019-01-20 11:03:18 +00:00
Nyholm
d0cafddeab Moved MailingList, Message and Route to PHP7 code 2019-01-20 11:03:18 +00:00
Nyholm
ac056e9f75 Updated paging to PHP7 2019-01-20 11:01:02 +00:00
Nyholm
61ae9bc945 Updating Stats models to PHP7 code 2019-01-20 10:59:47 +00:00
Tobias Nyholm
a7f8c14fe8 Cs 2019-01-17 08:31:01 +00:00
Nyholm
9dab02afd4 Make PHP-stan happy 2019-01-17 08:31:01 +00:00
Nyholm
28a4454c63 Fixed PHP7 on Event model and Ip model 2019-01-17 08:31:01 +00:00
Tobias Nyholm
51cff9dbdc cs 2019-01-15 10:43:26 +00:00
Nyholm
47ef0542f0 Updated other domain models 2019-01-15 10:43:26 +00:00
Nyholm
0c3b716cf2 Updated some models with PHP 7 code 2019-01-15 10:43:26 +00:00
Nyholm
3fbd33f640 Make sure we dont use any risky tests 2019-01-12 16:56:42 +00:00
Nyholm
0f54332d0e CS and fixes 2019-01-12 10:34:44 +00:00
Nyholm
2ec2c16227 Added PHP7 code and did some refactoring. 2019-01-12 10:34:44 +00:00