Commit Graph

2416 Commits

Author SHA1 Message Date
Marcus Bointon a42b4e4906
Merge pull request #2804 from jrfnl/feature/ghactions-harden-cs-steps
GH Actions: harden the workflow against PHPCS ruleset errors
2022-10-25 16:37:41 +02:00
Marcus Bointon 31c59466bd
Merge pull request #2805 from PHPMailer/dependabot/github_actions/ossf/scorecard-action-2.0.6
GH Actions: Bump ossf/scorecard-action from 2.0.4 to 2.0.6
2022-10-25 16:37:07 +02:00
Glodzienski a48797717d
Updating author doc 2022-10-24 23:11:15 -03:00
Glodzienski 5902472c9e
Translating some spanish language keys. 2022-10-24 23:08:18 -03:00
dependabot[bot] c7e3d7302d
GH Actions: Bump ossf/scorecard-action from 2.0.4 to 2.0.6
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](e363bfca00...99c53751e0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 06:16:13 +00:00
jrfnl 86fe1f6403
GH Actions: harden the workflow against PHPCS ruleset errors
If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a `0` error code, even though the PHPCS run failed (though not on CS errors, but on a ruleset error).

This changes the GH Actions workflow to allow for that situation and still fail the build in that case.
2022-10-23 11:26:12 +02:00
Marcus Bointon 3e38b34669
Merge pull request #2793 from greew/ticket_2788/azure_xoauth2
Added Azure XOAUTH2 help and examples
2022-10-16 21:24:02 +02:00
Marcus Bointon 754ea93edb
Merge pull request #2800 from jrfnl/feature/ghactions-dont-use-set-output
GH Actions: fix use of deprecated `set-output`
2022-10-14 23:16:42 +02:00
jrfnl 70cbf85efe
GH Actions: fix use of deprecated `set-output`
GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files.

This commit updates the test workflows to avoid `set-output`.

Refs:
* https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files
2022-10-14 23:08:47 +02:00
Rod Elias 7e7a1a05e0
Add .editorconfig file
See: https://editorconfig.org/
2022-10-13 19:04:21 -03:00
Czirkos Zoltan 4283eb9720 Add line ending \n after POP3 quit command
This is required by some POP3 servers which will wait until
a newline char which is delimiting all commands. Without it,
the login works, but it waits for the full timeout.
2022-10-12 17:47:41 +02:00
Marcus Bointon 12bb746eff
Merge pull request #2796 from jrfnl/feature/ghactions-tweak-action-runner-version-tags
GH Actions: use semver branch/tag references instead of commit references
2022-10-11 13:46:45 +02:00
jrfnl 5a8c04a9d6
GH Actions: use semver branch/tag references instead of commit references
Most predefined action runners offer a long-running branch or a tag which gets moved every release to allow staying on the "latest" version of a certain major of their action, without having to update the workflow scripts on every release of the action runner.

This works well for action runners which follow semver.

I've reviewed the existing workflows and tweaked the versions used whenever possible to make optimal use of this.

* For the `ossf/scorecard-action` action runner, I have not been able to find a workable tag/branch to fix this on.
    Note: I have remove the "# v1.1.1" comment though as it doesn't get updated by Dependabot and was sorely out of date (you are currently on version `2.0.4`).

With the changes in this PR, Dependabot should become less noisy and will only send in PRs to update the action runner versions when a new major release has been tagged. (save for the one exceptions mentioned above)

I would recommend watching the following repos for new releases:
* https://github.com/actions/checkout
* https://github.com/actions/upload-artifact
* https://github.com/shivammathur/setup-php
* https://github.com/ramsey/composer-install
* https://github.com/nick-fields/retry
* https://github.com/codecov/codecov-action
* https://github.com/JamesIves/github-pages-deploy-action
* https://github.com/ossf/scorecard-action
* https://github.com/github/codeql-action

This will ensure you will get an email with the changelogs for those action runners on all releases, so you can still monitor for changes in the action runners you need to be aware of.
2022-10-10 19:23:47 +02:00
Jesper Skytte 849615e819
D'oh - forgot to add the example file 2022-10-08 08:02:06 +02:00
Jesper Skytte 405e5dd94a
Added Azure XOAUTH2 help and examples 2022-10-07 22:34:23 +02:00
Marcus Bointon cbfcd1f8b8
Merge pull request #2792 from sriram-km/sri-ram-contribution
Fixed gramatical errors in README.md
2022-10-07 15:55:40 +02:00
Sri Ram f035ad9db8 Fixed gramatical errors in README.md 2022-10-07 18:39:34 +05:30
Marcus Bointon 8b6386d741
6.6.5 2022-10-07 14:23:10 +02:00
Marcus Bointon 0ca9768e59
Merge pull request #2791 from Aeka123/master
Add missing translations to danish language file
2022-10-06 17:43:51 +02:00
Esben Christian Volsgaard 4cc71741c8 Add missing translations to danish language file 2022-10-06 17:40:49 +02:00
Marcus Bointon 3a407c6afb
Merge pull request #2790 from KaminskiDaniell/patch-1
Update phpmailer.lang-pl.php
2022-10-06 11:38:09 +02:00
Daniel Kamiński 46b8da84ab
Update phpmailer.lang-pl.php
I have made a few grammatical corrections in the translation of Polish
2022-10-06 11:21:30 +02:00
Marcus Bointon 45620a96c3
Merge pull request #2787 from dazsim/fix-overwritten-error-message-on-close
fix bug error message supressed on close()
2022-10-04 11:04:01 +02:00
Marcus Bointon b59b64d35d
Merge pull request #2786 from dazsim/fix-addAttachment-folder-bug
fix bug in addAttachment with folder's instead of filenames
2022-10-04 11:02:55 +02:00
Marcus Bointon 91c442fccd
Add failing test for #2786 2022-10-04 11:02:03 +02:00
Darren Sim fddd95c23e fix bug error message supressed on close() 2022-10-04 00:20:49 +01:00
Darren Sim c4ed6172a5 fix bug in addAttachment with folder's instead of filenames 2022-10-04 00:04:01 +01:00
Marcus Bointon 29cdd9af52
Merge pull request #2784 from PHPMailer/dependabot/github_actions/ossf/scorecard-action-2.0.4
GH Actions: Bump ossf/scorecard-action from 2.0.3 to 2.0.4
2022-10-03 21:05:11 +02:00
Marcus Bointon b90af7177d
Merge pull request #2783 from PHPMailer/dependabot/github_actions/github/codeql-action-2.1.26
GH Actions: Bump github/codeql-action from 2.1.24 to 2.1.26
2022-10-03 21:04:58 +02:00
Marcus Bointon 858a4c8992
Merge pull request #2785 from nexxai/master
Typofixes
2022-10-03 21:03:34 +02:00
JT Smith b894719a4c
Fixing auto-formatting 2022-10-03 12:23:05 -06:00
JT Smith ef36a69e0e Typofixes 2022-10-03 12:21:21 -06:00
dependabot[bot] d579dc362a
GH Actions: Bump ossf/scorecard-action from 2.0.3 to 2.0.4
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](865b409285...e363bfca00)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 06:17:55 +00:00
dependabot[bot] 56ce2fd740
GH Actions: Bump github/codeql-action from 2.1.24 to 2.1.26
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.24 to 2.1.26.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](904260d7d9...e0e5ded33c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 06:17:51 +00:00
Marcus Bointon df88e14dba
Merge pull request #2770 from PHPMailer/dependabot/github_actions/github/codeql-action-2.1.24
GH Actions: Bump github/codeql-action from 2.1.22 to 2.1.24
2022-09-21 17:14:16 +02:00
dependabot[bot] de69dfc97f
GH Actions: Bump github/codeql-action from 2.1.22 to 2.1.24
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.22 to 2.1.24.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b398f525a5...904260d7d9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 13:49:27 +00:00
Marcus Bointon 165f449f4b
Merge pull request #2773 from dotdash/dont_rset_on_connection_error
Don't try to issue RSET on connection errors
2022-09-21 15:38:24 +02:00
Marcus Bointon 7557f5d9c3
Merge pull request #2771 from PHPMailer/dependabot/github_actions/ossf/scorecard-action-2.0.3
GH Actions: Bump ossf/scorecard-action from 2.0.2 to 2.0.3
2022-09-21 15:29:27 +02:00
Marcus Bointon d783947aba
Merge pull request #2772 from sashashura/patch-1
GitHub Workflows security hardening
2022-09-21 15:27:22 +02:00
Björn Steinbrink 703ad1052c Don't try to issue RSET on connection errors
In case of errors, keep-alive SMTP connections are always reset, but
when the error happened while establishing the connection, trying to
reset the connection is pointless and just produces another error.
2022-09-21 13:52:41 +02:00
Alex 01acbb66e0 build: harden tests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 16:12:44 +02:00
Alex a09a739fd1 build: harden docs.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 16:09:01 +02:00
dependabot[bot] a47284acc9
GH Actions: Bump ossf/scorecard-action from 2.0.2 to 2.0.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](68bf5b3327...865b409285)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 06:12:05 +00:00
Marcus Bointon 410086d03e
Merge pull request #2765 from PHPMailer/dependabot/github_actions/ossf/scorecard-action-2.0.2
GH Actions: Bump ossf/scorecard-action from 1.1.2 to 2.0.2
2022-09-12 09:11:03 +02:00
dependabot[bot] 6105356343
GH Actions: Bump ossf/scorecard-action from 1.1.2 to 2.0.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.2 to 2.0.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ce330fde6b...68bf5b3327)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 06:24:09 +00:00
Marcus Bointon f3a9d79c6c
Explicitly add codecov token to action, see https://github.com/codecov/codecov-action/issues/557 2022-09-06 22:56:42 +02:00
Marcus Bointon 88b2d6852c
Merge pull request #2763 from PHPMailer/dependabot/github_actions/github/codeql-action-2.1.22
GH Actions: Bump github/codeql-action from 2.1.21 to 2.1.22
2022-09-05 16:16:40 +02:00
dependabot[bot] 58a18c33f8
GH Actions: Bump github/codeql-action from 2.1.21 to 2.1.22
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.21 to 2.1.22.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f292ea4f...b398f525a5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:15:08 +00:00
Marcus Bointon 21768617e2
Fix possible null param to explode, fixes #2760 2022-09-02 23:39:13 +02:00
Marcus Bointon 65661bcf15
Merge pull request #2759 from PHPMailer/dependabot/github_actions/github/codeql-action-2.1.21
GH Actions: Bump github/codeql-action from 2.1.19 to 2.1.21
2022-08-29 10:35:48 +02:00