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
Littlesqx
4a2a4fe4a5
Add forbidden response test cases
2019-08-30 19:49:02 +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
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
Louis Coulet
7705cb7666
Fix attachment and inline image renaming ( #571 )
...
* Fix file renaming
* Fix file renaming
2019-04-09 19:12:50 +02:00
Tobias Nyholm
6954b4dd2a
Use PSR-18 ( #522 )
...
* Use PSR-18
* minor fixes
* phpstan fixes
* cs
2019-02-02 08:30:04 +01:00
Nyholm
997d545e61
Bugfixes
2019-01-20 11:03:18 +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
Nyholm
2b60fba811
Moved Mailgun\Model\Route\Response
to Mailgun\Model\Route
2019-01-12 10:28:05 +00:00
David Garcia
f3566026b6
Remove egulias/email-validator and dependencies
2019-01-10 22:15:40 +00:00
David Garcia
f775795b85
Test EmailValidation Model
2019-01-10 22:15:40 +00:00
David Garcia
34b33a9127
Add Header comment
2019-01-10 22:15:40 +00:00
David Garcia
df7043343e
Test Parse model for Parseable and Unparseable data
2019-01-10 22:15:40 +00:00
David Garcia
6fc5b1e938
Test Parts model
2019-01-10 22:15:40 +00:00
David Garcia
8cb9a0e48a
Provide test to parse a valid email address
2019-01-10 22:15:40 +00:00
David Garcia
2c37651097
Remove non-required tests
...
Egulias/EmailValidator validates these cases,
is useless to test it
2019-01-10 22:15:40 +00:00
David Garcia
18d948be0f
Provide test to validate a valid email address
2019-01-10 22:15:40 +00:00
David Garcia
3f097bb178
Add EmailValidationTest
2019-01-10 22:15:40 +00:00
Nyholm
dd7c1d2361
Added new CS rules
...
Declare strict and no superfluous phpdoc
2019-01-10 08:25:29 +00:00
Nyholm
6dff177387
typo
2019-01-09 20:51:05 +00:00
Nyholm
f915b103a3
cs
2019-01-09 20:51:05 +00:00
Nyholm
b619b66732
Adding tag aggregates
2019-01-09 20:51:05 +00:00
Tobias Nyholm
b725ab728e
Adding PHP7 type annotations ( #523 )
...
* Adding PHP7 type annotations
* cs
* Moved HttpClientConfigurator and RequestBuilder to Mailgun\HttpClient namespace
* fixing tests
* Rebased and fixed tests
* minors
* cs
* Bugfixes
* Typo
2019-01-09 20:18:58 +01:00
Tobias Nyholm
519fd7a674
Added proper PHP CS fixer rules ( #527 )
...
* Added proper PHP CS fixer rules
* Adding Symfony cs rules
* Updated CS on tests
2019-01-07 06:12:53 +01:00
Tobias Nyholm
e341a44a5c
Removed deprecated code ( #521 )
...
* Removed deprecated code
* cs
* Removed more deprecated code
* minor
2019-01-06 10:07:06 +01:00
Tobias Nyholm
da5ccde2a7
Adding support for Mailing list ( #514 )
...
* Adding Mailing list API
* Added tests
* cs
* Fixed the tests
* code cleanup
2019-01-06 08:11:37 +01:00
Tobias Nyholm
56655ad6c0
Added IP API class, models and test ( #515 )
...
* Added IP API class, models and test
* cs
* bugfix
2019-01-05 20:31:38 +01:00
Tobias Nyholm
c0a386027b
Added more tests for models ( #511 )
...
* Added more tests for models
* cs
2019-01-05 20:30:55 +01:00
Tobias Nyholm
09113482ea
Added "complaints" to TotalResponse ( #509 )
2019-01-05 19:56:55 +01:00
Paul R Rogers
02e3191bc9
Change exception message of HttpClientException when badRequest to us… ( #466 )
...
* Change exception message of HttpClientException when badRequest to use server content's message to aid resolving problems with user input.
* style(HttpClientException): Removed space to comply with styleCI.
* Fix missing assoc flag.
* Refactor to reuse constructor parsing when passing along server error.
Add tests covering passing along of server message.
* Updated tests
* cs
* bugfix
2019-01-05 12:52:40 +01:00
Matias Barletta
07da83776a
fix: Validate file name length ( #463 )
...
* fix: Validate file name length
$message could contain a large email text that if sent to is_file it could break with this error:
` is_file(): File name is longer than the maximum allowed path `
This validation prevents using is_file if the $message is longer than the allowed path.
* style: Fix extra space
* Added a small test
* cs
* cs
2019-01-05 12:44:50 +01:00