0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-19 17:42:14 +02:00
Commit Graph

2433 Commits

Author SHA1 Message Date
Marcus Bointon
81599d1554
Merge pull request #3094 from jrfnl/feature/testGivenIdnAddress-set-requirements
PHPMailerTest::testGivenIdnAddress...(): set test requirements
2024-09-18 16:27:31 +02:00
jrfnl
6028776a63
PHPMailerTest::testGivenIdnAddress...(): set test requirements
As per the discussion in 3092, this commit removes the `fakefunctions.php` file and adds explicit requirements for the `PHPMailerTest::testGivenIdnAddress_addAddress_returns_true()` test method.

Closes 3092
2024-09-12 09:11:34 +02:00
Marcus Bointon
b554b1e6ca
Merge pull request #3091 from jrfnl/feature/tests-fix-dkim-test
DKIMTest: two fixes for tests for when OpenSSL is disabled/unavailable
2024-09-12 08:43:06 +02:00
jrfnl
78146fb172
DKIMTest::testDKIMSignOpenSSLNotAvailable(): fix the test
As things were, the `DKIMTest::testDKIMSignOpenSSLNotAvailable()` could not pass as the `DKIMTest` class sets the `USE_EXCEPTIONS` class constant to `true`, which means the method would fail on an exception.

As this test is specifically about testing the behaviour when exceptions are _disabled_, the test needs to be in its own test class, which sets `USE_EXCEPTIONS` to `false`.

That should allow the test to run properly and to pass.
2024-09-11 21:05:02 +02:00
jrfnl
10f76cd790
DKIMTest: make exception expectation more specific
As things were, the `DKIMTest::testDKIMSignOpenSSLNotAvailableException()` test _could_ potentially pass even when another `Exception` than the `PHPMailer\PHPMailer\Exception` was being thrown, as _all_ exceptions extend the PHP native `Exception` class.
Now this risk is not that high, as there is also a check on the exception message, but still.

Making the exception expectation more specific (by changing the import `use` statement), should still make the test more stable.
2024-09-11 21:05:02 +02:00
Marcus Bointon
aaddfdf6ec
Merge pull request #3090 from jrfnl/feature/composer-no-lock
Composer: prevent a lock file from being created
2024-09-11 19:07:10 +02:00
jrfnl
3a8e00e4dc
Composer: prevent a lock file from being created
Composer 1.10.0 introduced a `lock` config option, which, when set to `false` will prevent a `composer.lock` file from being created and will ignore it when one exists.

This is a useful option for packages like PHPMailer where the `lock` file has no meaning.

It also makes life more straight-forward for contributors as they don't have to remember that for this repo they should use `composer update` instead of `composer install`. Both will now work the same.

Refs:
https://getcomposer.org/doc/06-config.md#lock
2024-09-11 18:20:45 +02:00
Marcus Bointon
6acfa78df6
Merge pull request #3083 from murongshaozong/master
chore: fix some comments
2024-08-13 10:38:49 +02:00
murongshaozong
19989e4165 chore: fix some comments
Signed-off-by: murongshaozong <netease163@icloud.com>
2024-08-13 15:07:00 +08:00
Marcus Bointon
3d01e8e5ea
Merge pull request #3079 from PHPMailer/dependabot/github_actions/ossf/scorecard-action-2.4.0
GH Actions: Bump ossf/scorecard-action from 2.3.1 to 2.4.0
2024-07-29 15:41:38 +02:00
dependabot[bot]
a93c0f2eb1
GH Actions: Bump ossf/scorecard-action from 2.3.1 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...62b2cac7ed)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 06:02:58 +00:00
Marcus Bointon
4a171fd017
Update changelog.md 2024-07-20 16:03:33 +02:00
Marcus Bointon
e6d79a4853
Merge pull request #3074 from ProjectSoft-STUDIONIONS/patch-1
Full translation into Russian
2024-07-20 16:02:33 +02:00
ProjectSoft
cad92ca7bd
Full translation into Russian 2024-07-20 16:48:39 +04:00
Marcus Bointon
47f3dbbec1
Merge pull request #3071 from decomplexity/patch-3
Additional operands for GoogleAPI for .json management
2024-07-04 19:06:38 +02:00
decomplexity
e79d9f251b
Additional operands for GoogleAPI for .json management
V4.1.0 of the SendOauth2 wrapper introduces two new optional operands for the invocation of both the standard PHPMailer email application and for the complete replacement of a PHPMailer application by the wrapper SendOauth2A front-end. These operands allow the developer to specify a name for the .json credentials file and/or whether the wrapper should dynamically build this .json file or use an already-built one, created  either by Google (its standard download) or by the developer.
2024-07-04 17:18:57 +01:00
decomplexity
10f8e5a7a9
Additional operands for GoogleAPI for .json management
V4.1.0 of the SendOauth2 wrapper introduces two new optional operands for the invocation of both the standard PHPMailer email application and for the complete replacement of a PHPMailer application by the wrapper SendOauth2A front-end. These operands allow the developer to specify a name for the .json credentials file and/or whether the wrapper should dynamically build this .json file or use an already-built one, created  either by Google (its standard download) or by the developer.
2024-07-04 16:36:48 +01:00
Marcus Bointon
06e6e80713
Update UPGRADING.md 2024-05-16 10:22:19 +02:00
Marcus Bointon
829def3388
Update for Codecov token handling change 2024-04-09 11:06:30 +02:00
Marcus Bointon
7bbeaff562
Merge pull request #3013 from PHPMailer/dependabot/github_actions/codecov/codecov-action-4
GH Actions: Bump codecov/codecov-action from 3 to 4
2024-04-09 11:02:24 +02:00
Marcus Bointon
e8135be763
Try to persuade postfix to install 2024-04-08 20:25:15 +02:00
Marcus Bointon
bd0ac03cb2
Changelog 2024-04-08 20:11:42 +02:00
Marcus Bointon
4551149ba2
IDE help 2024-04-08 20:11:42 +02:00
Marcus Bointon
fb317f2a36
Clean up 2024-04-08 20:11:41 +02:00
Marcus Bointon
41027807eb
Merge pull request #3027 from saqibsra/master
Add urdu language support
2024-04-08 20:02:15 +02:00
Marcus Bointon
3c7ed1e7c8
Merge pull request #3006 from arakim/master
Update phpmailer.lang-ja.php
2024-04-08 20:01:33 +02:00
Marcus Bointon
62ed471071
Update phpmailer.lang-ja.php
Remove breaks - this is not really PHP!
2024-04-08 20:00:47 +02:00
Marcus Bointon
400aeae82c
Merge pull request #3047 from axi/#3045
Remove potential ending line break when using edebug() with LoggerInterface
2024-04-08 19:11:49 +02:00
Alexis Urien
72df7924ae Remove potential ending line break when using edebug() with LoggerInterface 2024-04-08 10:06:16 -07:00
Alexis Urien
01db3e6b24 Remove potential ending line break when using edebug() with LoggerInterface 2024-04-08 08:52:41 -07:00
Alexis Urien
df33c89c5b Remove potential ending line break when using edebug() with LoggerInterface 2024-04-08 08:40:09 -07:00
Marcus Bointon
49b4cedfec
Changelog 2024-04-01 23:04:03 +02:00
Marcus Bointon
683d3730fc
Restore trailing space 2024-04-01 22:55:32 +02:00
Marcus Bointon
8f98ddf086
Restore trailing space 2024-04-01 22:41:15 +02:00
Marcus Bointon
dfa731a087
Check broken links, update for HTTPS everywhere 2024-04-01 20:48:10 +02:00
Marcus Bointon
f74f3681a5
Changelog 2024-03-30 08:34:56 +01:00
Marcus Bointon
767b1cfb1f
Merge pull request #3042 from danicruz0415/danicruz0415-patch-1
Adds missing translations
2024-03-30 08:34:07 +01:00
danicruz0415
f6478428c7
Adds missing translations 2024-03-29 23:12:59 -05:00
Marcus Bointon
a0dcf5f788
Changelog 2024-03-26 18:45:33 +01:00
Marcus Bointon
d92d4040b4
Merge pull request #3038 from sbri/master
Update phpmailer.lang-tr.php
2024-03-26 18:42:47 +01:00
Marcus Bointon
7564ef3f41
Update phpmailer.lang-tr.php
No tabs
2024-03-26 18:40:58 +01:00
Marcus Bointon
539a94a608
Update phpmailer.lang-tr.php
Despite appearances, translation files are not actually treated as PHP code
2024-03-26 18:34:58 +01:00
Marcus Bointon
0ae9628228
Merge pull request #3041
Cleaned up OAuth example
2024-03-26 18:29:01 +01:00
Marcus Bointon
5d698fc44d
Cleanup 2024-03-26 18:26:42 +01:00
decomplexity
749e9a3a9d
OAuth2 for MSFT and Google API with authorization_code or client_credentials
Client secrets and X.509 certificates, $_SESSION 'state' and PKCE code exchanges, and creation on the fly of GoogleAPI's .json credentials files are supported.
2024-03-23 20:29:21 +00:00
sbri
f526634b30
Update phpmailer.lang-tr.php 2024-03-20 16:04:18 +03:00
Marcus Bointon
579202e36f
Merge pull request #3028 from PHPMailer/dependabot/github_actions/ramsey/composer-install-3
GH Actions: Bump ramsey/composer-install from 2 to 3
2024-03-12 23:07:08 +01:00
Marcus Bointon
49a8caa76a
Merge pull request #3014 from PHPMailer/dependabot/github_actions/nick-invision/retry-3
GH Actions: Bump nick-invision/retry from 2 to 3
2024-03-12 23:06:55 +01:00
dependabot[bot]
e6ca69847a
GH Actions: Bump ramsey/composer-install from 2 to 3
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3.
- [Release notes](https://github.com/ramsey/composer-install/releases)
- [Commits](https://github.com/ramsey/composer-install/compare/v2...v3)

---
updated-dependencies:
- dependency-name: ramsey/composer-install
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 06:56:31 +00:00
saqibsra
77515b997c Add urdu language support 2024-03-02 17:24:28 +05:00