From ae9ece5266a084dd2cfee779218a1d15a7e8c4ed Mon Sep 17 00:00:00 2001 From: Steve White Date: Sun, 2 Feb 2025 15:53:34 -0500 Subject: [PATCH] *** Initial Commit of Files for APRS.TO Backend Administration Panel *** This code is non-functional at this point. --- .gitignore | 1 + .gitmodules | 6 + LICENSE | 674 +++ README.md | 5 + config/apache/000-default.conf | 40 + config/backend-default.ini | 29 + config/backend.ini | 26 + config/php/fpm/10-opcache.ini | 12 + config/php/fpm/php.ini | 1981 +++++++ config/php/fpm/pool.d/www.conf | 490 ++ htdocs/.htaccess | 10 + htdocs/includes/autoload.php | 25 + htdocs/includes/bootstrap.php | 55 + htdocs/includes/common.php | 3039 ++++++++++ htdocs/includes/database.class.php | 59 + htdocs/includes/dewpoint.php | 121 + .../includes/external/phpmailer/.codecov.yml | 21 + .../external/phpmailer/.gitattributes | 16 + .../external/phpmailer/.github/FUNDING.yml | 6 + .../.github/ISSUE_TEMPLATE/bug_report.md | 23 + .../.github/actions/build-docs/Dockerfile | 15 + .../.github/actions/build-docs/entrypoint.sh | 5 + .../external/phpmailer/.github/dependabot.yml | 14 + .../phpmailer/.github/workflows/docs.yaml | 29 + .../.github/workflows/scorecards.yml | 62 + .../phpmailer/.github/workflows/tests.yml | 178 + htdocs/includes/external/phpmailer/.gitignore | 16 + .../external/phpmailer/.phan/config.php | 41 + htdocs/includes/external/phpmailer/COMMITMENT | 46 + htdocs/includes/external/phpmailer/LICENSE | 502 ++ htdocs/includes/external/phpmailer/README.md | 230 + .../includes/external/phpmailer/SECURITY.md | 37 + .../includes/external/phpmailer/UPGRADING.md | 125 + htdocs/includes/external/phpmailer/VERSION | 1 + .../includes/external/phpmailer/changelog.md | 1047 ++++ .../includes/external/phpmailer/composer.json | 78 + .../external/phpmailer/docs/README.md | 9 + .../phpmailer/examples/DKIM_gen_keys.phps | 81 + .../phpmailer/examples/DKIM_sign.phps | 46 + .../external/phpmailer/examples/README.md | 95 + .../phpmailer/examples/azure_xoauth2.phps | 126 + .../external/phpmailer/examples/callback.phps | 76 + .../phpmailer/examples/contactform-ajax.phps | 146 + .../phpmailer/examples/contactform.phps | 95 + .../external/phpmailer/examples/contents.html | 17 + .../phpmailer/examples/contentsutf8.html | 23 + .../phpmailer/examples/exceptions.phps | 40 + .../phpmailer/examples/extending.phps | 72 + .../external/phpmailer/examples/gmail.phps | 108 + .../phpmailer/examples/gmail_xoauth.phps | 124 + .../images/PHPMailer card logo.afdesign | Bin 0 -> 29525 bytes .../examples/images/PHPMailer card logo.png | Bin 0 -> 26755 bytes .../examples/images/PHPMailer card logo.svg | 209 + .../phpmailer/examples/images/phpmailer.png | Bin 0 -> 5831 bytes .../examples/images/phpmailer_mini.png | Bin 0 -> 1842 bytes .../external/phpmailer/examples/mail.phps | 35 + .../phpmailer/examples/mailing_list.phps | 78 + .../phpmailer/examples/pop_before_smtp.phps | 60 + .../phpmailer/examples/send_file_upload.phps | 60 + .../examples/send_multiple_file_upload.phps | 60 + .../external/phpmailer/examples/sendmail.phps | 37 + .../examples/simple_contact_form.phps | 102 + .../phpmailer/examples/smime_signed_mail.phps | 99 + .../external/phpmailer/examples/smtp.phps | 57 + .../phpmailer/examples/smtp_check.phps | 60 + .../phpmailer/examples/smtp_low_memory.phps | 131 + .../phpmailer/examples/smtp_no_auth.phps | 53 + .../phpmailer/examples/ssl_options.phps | 81 + .../external/phpmailer/get_oauth_token.php | 182 + .../phpmailer/language/phpmailer.lang-af.php | 26 + .../phpmailer/language/phpmailer.lang-ar.php | 27 + .../phpmailer/language/phpmailer.lang-az.php | 27 + .../phpmailer/language/phpmailer.lang-ba.php | 27 + .../phpmailer/language/phpmailer.lang-be.php | 27 + .../phpmailer/language/phpmailer.lang-bg.php | 27 + .../phpmailer/language/phpmailer.lang-ca.php | 27 + .../phpmailer/language/phpmailer.lang-cs.php | 28 + .../phpmailer/language/phpmailer.lang-da.php | 35 + .../phpmailer/language/phpmailer.lang-de.php | 28 + .../phpmailer/language/phpmailer.lang-el.php | 33 + .../phpmailer/language/phpmailer.lang-eo.php | 26 + .../phpmailer/language/phpmailer.lang-es.php | 31 + .../phpmailer/language/phpmailer.lang-et.php | 28 + .../phpmailer/language/phpmailer.lang-fa.php | 28 + .../phpmailer/language/phpmailer.lang-fi.php | 27 + .../phpmailer/language/phpmailer.lang-fo.php | 27 + .../phpmailer/language/phpmailer.lang-fr.php | 37 + .../phpmailer/language/phpmailer.lang-gl.php | 27 + .../phpmailer/language/phpmailer.lang-he.php | 27 + .../phpmailer/language/phpmailer.lang-hi.php | 35 + .../phpmailer/language/phpmailer.lang-hr.php | 27 + .../phpmailer/language/phpmailer.lang-hu.php | 27 + .../phpmailer/language/phpmailer.lang-hy.php | 27 + .../phpmailer/language/phpmailer.lang-id.php | 31 + .../phpmailer/language/phpmailer.lang-it.php | 28 + .../phpmailer/language/phpmailer.lang-ja.php | 29 + .../phpmailer/language/phpmailer.lang-ka.php | 27 + .../phpmailer/language/phpmailer.lang-ko.php | 27 + .../phpmailer/language/phpmailer.lang-lt.php | 27 + .../phpmailer/language/phpmailer.lang-lv.php | 27 + .../phpmailer/language/phpmailer.lang-mg.php | 27 + .../phpmailer/language/phpmailer.lang-mn.php | 27 + .../phpmailer/language/phpmailer.lang-ms.php | 27 + .../phpmailer/language/phpmailer.lang-nb.php | 33 + .../phpmailer/language/phpmailer.lang-nl.php | 34 + .../phpmailer/language/phpmailer.lang-pl.php | 26 + .../phpmailer/language/phpmailer.lang-pt.php | 27 + .../language/phpmailer.lang-pt_br.php | 38 + .../phpmailer/language/phpmailer.lang-ro.php | 33 + .../phpmailer/language/phpmailer.lang-ru.php | 28 + .../phpmailer/language/phpmailer.lang-si.php | 34 + .../phpmailer/language/phpmailer.lang-sk.php | 30 + .../phpmailer/language/phpmailer.lang-sl.php | 36 + .../phpmailer/language/phpmailer.lang-sr.php | 28 + .../language/phpmailer.lang-sr_latn.php | 28 + .../phpmailer/language/phpmailer.lang-sv.php | 27 + .../phpmailer/language/phpmailer.lang-tl.php | 28 + .../phpmailer/language/phpmailer.lang-tr.php | 31 + .../phpmailer/language/phpmailer.lang-uk.php | 28 + .../phpmailer/language/phpmailer.lang-vi.php | 27 + .../phpmailer/language/phpmailer.lang-zh.php | 29 + .../language/phpmailer.lang-zh_cn.php | 36 + .../external/phpmailer/phpcs.xml.dist | 42 + .../external/phpmailer/phpdoc.dist.xml | 20 + .../external/phpmailer/phpunit.xml.dist | 36 + .../phpmailer/src/DSNConfigurator.php | 245 + .../external/phpmailer/src/Exception.php | 40 + .../includes/external/phpmailer/src/OAuth.php | 139 + .../phpmailer/src/OAuthTokenProvider.php | 44 + .../external/phpmailer/src/PHPMailer.php | 5126 +++++++++++++++++ .../includes/external/phpmailer/src/POP3.php | 467 ++ .../includes/external/phpmailer/src/SMTP.php | 1466 +++++ .../phpmailer/test/DebugLogTestListener.php | 47 + .../FileIsAccessibleTest/accessible.txt | 1 + .../FileIsAccessibleTest/inaccessible.txt | 1 + .../LocalizationTest/phpmailer.lang-fr.php | 10 + .../LocalizationTest/phpmailer.lang-nl.php | 10 + .../phpmailer.lang-xa_scri_cc.php | 9 + .../phpmailer.lang-xb_scri.php | 9 + .../LocalizationTest/phpmailer.lang-xc_cc.php | 9 + .../LocalizationTest/phpmailer.lang-xd_cc.php | 9 + .../phpmailer.lang-xd_scri.php | 9 + .../LocalizationTest/phpmailer.lang-xe.php | 9 + .../LocalizationTest/phpmailer.lang-xx.php | 9 + .../LocalizationTest/phpmailer.lang-yy.php | 17 + .../LocalizationTest/phpmailer.lang-zz.php | 20 + .../Language/TranslationCompletenessTest.php | 97 + .../phpmailer/test/OAuth/OAuthTest.php | 76 + .../test/PHPMailer/AddEmbeddedImageTest.php | 178 + .../PHPMailer/AddStringAttachmentTest.php | 147 + .../PHPMailer/AddStringEmbeddedImageTest.php | 161 + .../test/PHPMailer/AddrFormatTest.php | 70 + .../test/PHPMailer/AuthCRAMMD5Test.php | 48 + .../test/PHPMailer/CustomHeaderTest.php | 225 + .../phpmailer/test/PHPMailer/DKIMTest.php | 274 + .../test/PHPMailer/DSNConfiguratorTest.php | 221 + .../phpmailer/test/PHPMailer/EncodeQTest.php | 110 + .../test/PHPMailer/EncodeStringTest.php | 135 + .../test/PHPMailer/FileIsAccessibleTest.php | 103 + .../test/PHPMailer/FilenameToTypeTest.php | 74 + .../test/PHPMailer/GenerateIdTest.php | 75 + .../test/PHPMailer/GetLastMessageIDTest.php | 110 + .../PHPMailer/HasLineLongerThanMaxTest.php | 118 + .../test/PHPMailer/Html2TextTest.php | 231 + .../phpmailer/test/PHPMailer/ICalTest.php | 126 + .../test/PHPMailer/IsPermittedPathTest.php | 108 + .../test/PHPMailer/IsValidHostTest.php | 107 + .../test/PHPMailer/LocalizationTest.php | 480 ++ .../test/PHPMailer/MailTransportTest.php | 108 + .../test/PHPMailer/MbPathinfoTest.php | 171 + .../test/PHPMailer/MimeTypesTest.php | 70 + .../test/PHPMailer/NormalizeBreaksTest.php | 111 + .../test/PHPMailer/PHPMailerTest.php | 1246 ++++ .../test/PHPMailer/ParseAddressesTest.php | 355 ++ .../test/PHPMailer/PunyencodeAddressTest.php | 141 + .../test/PHPMailer/QuotedStringTest.php | 70 + .../test/PHPMailer/ReplyToGetSetClearTest.php | 451 ++ .../phpmailer/test/PHPMailer/SetErrorTest.php | 154 + .../phpmailer/test/PHPMailer/SetFromTest.php | 202 + .../phpmailer/test/PHPMailer/SetTest.php | 81 + .../test/PHPMailer/SetWordWrapTest.php | 120 + .../test/PHPMailer/Utf8CharBoundaryTest.php | 66 + .../ValidateAddressCustomValidatorTest.php | 116 + .../test/PHPMailer/ValidateAddressTest.php | 487 ++ .../phpmailer/test/PHPMailer/WrapTextTest.php | 125 + .../phpmailer/test/PHPMailer/XMailerTest.php | 75 + .../phpmailer/test/POP3/PopBeforeSmtpTest.php | 139 + .../phpmailer/test/PreSendTestCase.php | 46 + .../Security/DenialOfServiceVectorsTest.php | 54 + .../external/phpmailer/test/SendTestCase.php | 126 + .../external/phpmailer/test/TestCase.php | 391 ++ .../external/phpmailer/test/fakefunctions.php | 15 + .../external/phpmailer/test/fakepopserver.sh | 126 + .../external/phpmailer/test/fakesendmail.sh | 22 + .../phpmailer/test/runfakepopserver.sh | 13 + .../phpmailer/test/testbootstrap-dist.php | 8 + .../external/phpmailer/test/validators.php | 12 + htdocs/includes/kml.class.php | 308 + htdocs/includes/models/announcement.class.php | 242 + htdocs/includes/models/cadatabase.class.php | 70 + htdocs/includes/models/dmrdatabase.class.php | 11 + .../includes/models/favoritestation.class.php | 212 + htdocs/includes/models/fccdatabase.class.php | 135 + htdocs/includes/models/filterpreset.class.php | 208 + htdocs/includes/models/language.class.php | 108 + htdocs/includes/models/mapshot.class.php | 292 + htdocs/includes/models/model.class.php | 116 + htdocs/includes/models/packet.class.php | 853 +++ htdocs/includes/models/packetogn.class.php | 10 + htdocs/includes/models/packetpath.class.php | 10 + .../includes/models/packettelemetry.class.php | 236 + .../includes/models/packetweather.class.php | 83 + htdocs/includes/models/personalapi.class.php | 212 + htdocs/includes/models/receiver.class.php | 19 + htdocs/includes/models/sender.class.php | 19 + htdocs/includes/models/station.class.php | 600 ++ .../models/stationtelemetrybits.class.php | 9 + .../models/stationtelemetryeqns.class.php | 9 + .../models/stationtelemetryparam.class.php | 9 + htdocs/includes/models/user.class.php | 936 +++ htdocs/includes/models/usersettings.class.php | 329 ++ htdocs/includes/pdoconnection.class.php | 189 + htdocs/includes/pdomysqlconnection.class.php | 161 + htdocs/includes/pdowriterconnection.class.php | 190 + htdocs/includes/preload.php | 12 + htdocs/includes/qrz.class.php | 203 + .../announcementrepository.class.php | 110 + .../cadatabaserepository.class.php | 97 + .../repositories/configrepository.class.php | 86 + .../dmrdatabaserepository.class.php | 43 + .../favoritestationrepository.class.php | 141 + .../fccdatabaserepository.class.php | 108 + .../filterpresetrepository.class.php | 139 + .../repositories/languagerepository.class.php | 100 + .../repositories/mapshotrepository.class.php | 127 + .../repositories/modelrepository.class.php | 115 + .../packetognrepository.class.php | 66 + .../packetpathrepository.class.php | 204 + .../repositories/packetrepository.class.php | 733 +++ .../packettelemetryrepository.class.php | 273 + .../packetweatherrepository.class.php | 259 + .../personalapirepository.class.php | 128 + .../repositories/receiverrepository.class.php | 46 + .../repositories/senderrepository.class.php | 46 + .../repositories/stationrepository.class.php | 628 ++ .../stationtelemetrybitsrepository.class.php | 37 + .../stationtelemetryeqnsrepository.class.php | 37 + .../stationtelemetryparamrepository.class.php | 37 + .../stationtelemetryunitrepository.class.php | 37 + .../repositories/userrepository.class.php | 166 + .../usersettingsrepository.class.php | 94 + htdocs/includes/session.class.php | 557 ++ htdocs/includes/sessioncron.php | 13 + htdocs/includes/statcron.php | 73 + .../includes/stationtelemetryunit.class.php | 9 + .../includes/utilities/add_receiver_index.php | 50 + htdocs/includes/utilities/aprs_equipment.php | 84 + .../utilities/aprs_thursday_import.php | 102 + .../includes/utilities/aprs_thursday_log.txt | 401 ++ htdocs/includes/utilities/aprst.php | 103 + htdocs/includes/utilities/aprst.txt | 4917 ++++++++++++++++ htdocs/includes/utilities/aprst_stats.php | 49 + .../utilities/check_table_attachments.php | 152 + htdocs/includes/utilities/enable_hot.php | 50 + .../includes/utilities/fix_beacon_comment.php | 48 + htdocs/includes/utilities/fix_indexes.php | 70 + .../includes/utilities/fix_wx_direction.php | 59 + htdocs/includes/utilities/fix_wx_speed.php | 60 + .../includes/utilities/populate_addresse.php | 59 + .../includes/utilities/populate_bulletins.php | 62 + .../includes/utilities/populate_receivers.php | 122 + htdocs/includes/version.php | 10 + htdocs/public | 1 + 273 files changed, 45839 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 LICENSE create mode 100644 README.md create mode 100644 config/apache/000-default.conf create mode 100644 config/backend-default.ini create mode 100644 config/backend.ini create mode 100644 config/php/fpm/10-opcache.ini create mode 100644 config/php/fpm/php.ini create mode 100644 config/php/fpm/pool.d/www.conf create mode 100755 htdocs/.htaccess create mode 100644 htdocs/includes/autoload.php create mode 100644 htdocs/includes/bootstrap.php create mode 100644 htdocs/includes/common.php create mode 100644 htdocs/includes/database.class.php create mode 100644 htdocs/includes/dewpoint.php create mode 100644 htdocs/includes/external/phpmailer/.codecov.yml create mode 100644 htdocs/includes/external/phpmailer/.gitattributes create mode 100644 htdocs/includes/external/phpmailer/.github/FUNDING.yml create mode 100644 htdocs/includes/external/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 htdocs/includes/external/phpmailer/.github/actions/build-docs/Dockerfile create mode 100755 htdocs/includes/external/phpmailer/.github/actions/build-docs/entrypoint.sh create mode 100644 htdocs/includes/external/phpmailer/.github/dependabot.yml create mode 100644 htdocs/includes/external/phpmailer/.github/workflows/docs.yaml create mode 100644 htdocs/includes/external/phpmailer/.github/workflows/scorecards.yml create mode 100644 htdocs/includes/external/phpmailer/.github/workflows/tests.yml create mode 100644 htdocs/includes/external/phpmailer/.gitignore create mode 100644 htdocs/includes/external/phpmailer/.phan/config.php create mode 100644 htdocs/includes/external/phpmailer/COMMITMENT create mode 100644 htdocs/includes/external/phpmailer/LICENSE create mode 100644 htdocs/includes/external/phpmailer/README.md create mode 100644 htdocs/includes/external/phpmailer/SECURITY.md create mode 100644 htdocs/includes/external/phpmailer/UPGRADING.md create mode 100644 htdocs/includes/external/phpmailer/VERSION create mode 100644 htdocs/includes/external/phpmailer/changelog.md create mode 100644 htdocs/includes/external/phpmailer/composer.json create mode 100644 htdocs/includes/external/phpmailer/docs/README.md create mode 100644 htdocs/includes/external/phpmailer/examples/DKIM_gen_keys.phps create mode 100644 htdocs/includes/external/phpmailer/examples/DKIM_sign.phps create mode 100644 htdocs/includes/external/phpmailer/examples/README.md create mode 100644 htdocs/includes/external/phpmailer/examples/azure_xoauth2.phps create mode 100644 htdocs/includes/external/phpmailer/examples/callback.phps create mode 100644 htdocs/includes/external/phpmailer/examples/contactform-ajax.phps create mode 100644 htdocs/includes/external/phpmailer/examples/contactform.phps create mode 100644 htdocs/includes/external/phpmailer/examples/contents.html create mode 100644 htdocs/includes/external/phpmailer/examples/contentsutf8.html create mode 100644 htdocs/includes/external/phpmailer/examples/exceptions.phps create mode 100644 htdocs/includes/external/phpmailer/examples/extending.phps create mode 100644 htdocs/includes/external/phpmailer/examples/gmail.phps create mode 100644 htdocs/includes/external/phpmailer/examples/gmail_xoauth.phps create mode 100644 htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.afdesign create mode 100644 htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.png create mode 100644 htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.svg create mode 100644 htdocs/includes/external/phpmailer/examples/images/phpmailer.png create mode 100644 htdocs/includes/external/phpmailer/examples/images/phpmailer_mini.png create mode 100644 htdocs/includes/external/phpmailer/examples/mail.phps create mode 100644 htdocs/includes/external/phpmailer/examples/mailing_list.phps create mode 100644 htdocs/includes/external/phpmailer/examples/pop_before_smtp.phps create mode 100644 htdocs/includes/external/phpmailer/examples/send_file_upload.phps create mode 100644 htdocs/includes/external/phpmailer/examples/send_multiple_file_upload.phps create mode 100644 htdocs/includes/external/phpmailer/examples/sendmail.phps create mode 100644 htdocs/includes/external/phpmailer/examples/simple_contact_form.phps create mode 100644 htdocs/includes/external/phpmailer/examples/smime_signed_mail.phps create mode 100644 htdocs/includes/external/phpmailer/examples/smtp.phps create mode 100644 htdocs/includes/external/phpmailer/examples/smtp_check.phps create mode 100644 htdocs/includes/external/phpmailer/examples/smtp_low_memory.phps create mode 100644 htdocs/includes/external/phpmailer/examples/smtp_no_auth.phps create mode 100644 htdocs/includes/external/phpmailer/examples/ssl_options.phps create mode 100644 htdocs/includes/external/phpmailer/get_oauth_token.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-af.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ar.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-az.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ba.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-be.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-bg.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ca.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-cs.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-da.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-de.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-el.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-eo.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-es.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-et.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-fa.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-fi.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-fo.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-fr.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-gl.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-he.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-hi.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-hr.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-hu.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-hy.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-id.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-it.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ja.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ka.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ko.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-lt.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-lv.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-mg.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-mn.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ms.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-nb.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-nl.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-pl.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-pt.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-pt_br.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ro.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-ru.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-si.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-sk.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-sl.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-sr.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-sr_latn.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-sv.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-tl.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-tr.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-uk.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-vi.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-zh.php create mode 100644 htdocs/includes/external/phpmailer/language/phpmailer.lang-zh_cn.php create mode 100644 htdocs/includes/external/phpmailer/phpcs.xml.dist create mode 100644 htdocs/includes/external/phpmailer/phpdoc.dist.xml create mode 100644 htdocs/includes/external/phpmailer/phpunit.xml.dist create mode 100644 htdocs/includes/external/phpmailer/src/DSNConfigurator.php create mode 100644 htdocs/includes/external/phpmailer/src/Exception.php create mode 100644 htdocs/includes/external/phpmailer/src/OAuth.php create mode 100644 htdocs/includes/external/phpmailer/src/OAuthTokenProvider.php create mode 100644 htdocs/includes/external/phpmailer/src/PHPMailer.php create mode 100644 htdocs/includes/external/phpmailer/src/POP3.php create mode 100644 htdocs/includes/external/phpmailer/src/SMTP.php create mode 100644 htdocs/includes/external/phpmailer/test/DebugLogTestListener.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/FileIsAccessibleTest/accessible.txt create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/FileIsAccessibleTest/inaccessible.txt create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-fr.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-nl.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xa_scri_cc.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xb_scri.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xc_cc.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_cc.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_scri.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xe.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xx.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yy.php create mode 100644 htdocs/includes/external/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-zz.php create mode 100644 htdocs/includes/external/phpmailer/test/Language/TranslationCompletenessTest.php create mode 100644 htdocs/includes/external/phpmailer/test/OAuth/OAuthTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/AddEmbeddedImageTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/AddStringAttachmentTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/AddStringEmbeddedImageTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/AddrFormatTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/AuthCRAMMD5Test.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/CustomHeaderTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/DKIMTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/DSNConfiguratorTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/EncodeQTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/EncodeStringTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/FileIsAccessibleTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/FilenameToTypeTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/GenerateIdTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/GetLastMessageIDTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/HasLineLongerThanMaxTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/Html2TextTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/ICalTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/IsPermittedPathTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/IsValidHostTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/LocalizationTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/MailTransportTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/MbPathinfoTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/MimeTypesTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/NormalizeBreaksTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/PHPMailerTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/ParseAddressesTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/PunyencodeAddressTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/QuotedStringTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/ReplyToGetSetClearTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/SetErrorTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/SetFromTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/SetTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/SetWordWrapTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/Utf8CharBoundaryTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/ValidateAddressCustomValidatorTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/ValidateAddressTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/WrapTextTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PHPMailer/XMailerTest.php create mode 100644 htdocs/includes/external/phpmailer/test/POP3/PopBeforeSmtpTest.php create mode 100644 htdocs/includes/external/phpmailer/test/PreSendTestCase.php create mode 100644 htdocs/includes/external/phpmailer/test/Security/DenialOfServiceVectorsTest.php create mode 100644 htdocs/includes/external/phpmailer/test/SendTestCase.php create mode 100644 htdocs/includes/external/phpmailer/test/TestCase.php create mode 100644 htdocs/includes/external/phpmailer/test/fakefunctions.php create mode 100755 htdocs/includes/external/phpmailer/test/fakepopserver.sh create mode 100755 htdocs/includes/external/phpmailer/test/fakesendmail.sh create mode 100755 htdocs/includes/external/phpmailer/test/runfakepopserver.sh create mode 100644 htdocs/includes/external/phpmailer/test/testbootstrap-dist.php create mode 100644 htdocs/includes/external/phpmailer/test/validators.php create mode 100644 htdocs/includes/kml.class.php create mode 100644 htdocs/includes/models/announcement.class.php create mode 100644 htdocs/includes/models/cadatabase.class.php create mode 100644 htdocs/includes/models/dmrdatabase.class.php create mode 100644 htdocs/includes/models/favoritestation.class.php create mode 100644 htdocs/includes/models/fccdatabase.class.php create mode 100644 htdocs/includes/models/filterpreset.class.php create mode 100644 htdocs/includes/models/language.class.php create mode 100644 htdocs/includes/models/mapshot.class.php create mode 100644 htdocs/includes/models/model.class.php create mode 100644 htdocs/includes/models/packet.class.php create mode 100644 htdocs/includes/models/packetogn.class.php create mode 100644 htdocs/includes/models/packetpath.class.php create mode 100644 htdocs/includes/models/packettelemetry.class.php create mode 100644 htdocs/includes/models/packetweather.class.php create mode 100644 htdocs/includes/models/personalapi.class.php create mode 100644 htdocs/includes/models/receiver.class.php create mode 100644 htdocs/includes/models/sender.class.php create mode 100644 htdocs/includes/models/station.class.php create mode 100644 htdocs/includes/models/stationtelemetrybits.class.php create mode 100644 htdocs/includes/models/stationtelemetryeqns.class.php create mode 100644 htdocs/includes/models/stationtelemetryparam.class.php create mode 100644 htdocs/includes/models/user.class.php create mode 100644 htdocs/includes/models/usersettings.class.php create mode 100644 htdocs/includes/pdoconnection.class.php create mode 100644 htdocs/includes/pdomysqlconnection.class.php create mode 100644 htdocs/includes/pdowriterconnection.class.php create mode 100644 htdocs/includes/preload.php create mode 100644 htdocs/includes/qrz.class.php create mode 100644 htdocs/includes/repositories/announcementrepository.class.php create mode 100644 htdocs/includes/repositories/cadatabaserepository.class.php create mode 100644 htdocs/includes/repositories/configrepository.class.php create mode 100644 htdocs/includes/repositories/dmrdatabaserepository.class.php create mode 100644 htdocs/includes/repositories/favoritestationrepository.class.php create mode 100644 htdocs/includes/repositories/fccdatabaserepository.class.php create mode 100644 htdocs/includes/repositories/filterpresetrepository.class.php create mode 100644 htdocs/includes/repositories/languagerepository.class.php create mode 100644 htdocs/includes/repositories/mapshotrepository.class.php create mode 100644 htdocs/includes/repositories/modelrepository.class.php create mode 100644 htdocs/includes/repositories/packetognrepository.class.php create mode 100644 htdocs/includes/repositories/packetpathrepository.class.php create mode 100644 htdocs/includes/repositories/packetrepository.class.php create mode 100644 htdocs/includes/repositories/packettelemetryrepository.class.php create mode 100644 htdocs/includes/repositories/packetweatherrepository.class.php create mode 100644 htdocs/includes/repositories/personalapirepository.class.php create mode 100644 htdocs/includes/repositories/receiverrepository.class.php create mode 100644 htdocs/includes/repositories/senderrepository.class.php create mode 100644 htdocs/includes/repositories/stationrepository.class.php create mode 100644 htdocs/includes/repositories/stationtelemetrybitsrepository.class.php create mode 100644 htdocs/includes/repositories/stationtelemetryeqnsrepository.class.php create mode 100644 htdocs/includes/repositories/stationtelemetryparamrepository.class.php create mode 100644 htdocs/includes/repositories/stationtelemetryunitrepository.class.php create mode 100644 htdocs/includes/repositories/userrepository.class.php create mode 100644 htdocs/includes/repositories/usersettingsrepository.class.php create mode 100644 htdocs/includes/session.class.php create mode 100644 htdocs/includes/sessioncron.php create mode 100644 htdocs/includes/statcron.php create mode 100644 htdocs/includes/stationtelemetryunit.class.php create mode 100644 htdocs/includes/utilities/add_receiver_index.php create mode 100644 htdocs/includes/utilities/aprs_equipment.php create mode 100644 htdocs/includes/utilities/aprs_thursday_import.php create mode 100644 htdocs/includes/utilities/aprs_thursday_log.txt create mode 100644 htdocs/includes/utilities/aprst.php create mode 100644 htdocs/includes/utilities/aprst.txt create mode 100644 htdocs/includes/utilities/aprst_stats.php create mode 100644 htdocs/includes/utilities/check_table_attachments.php create mode 100644 htdocs/includes/utilities/enable_hot.php create mode 100644 htdocs/includes/utilities/fix_beacon_comment.php create mode 100644 htdocs/includes/utilities/fix_indexes.php create mode 100644 htdocs/includes/utilities/fix_wx_direction.php create mode 100644 htdocs/includes/utilities/fix_wx_speed.php create mode 100644 htdocs/includes/utilities/populate_addresse.php create mode 100644 htdocs/includes/utilities/populate_bulletins.php create mode 100644 htdocs/includes/utilities/populate_receivers.php create mode 100644 htdocs/includes/version.php create mode 160000 htdocs/public diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..e43b0f98 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..683850a6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "htdocs/includes/external/phpmailer"] + path = htdocs/includes/external/phpmailer + url = https://github.com/PHPMailer/PHPMailer +[submodule "htdocs/public"] + path = htdocs/public + url = https://github.com/Iqbolshoh/php-admin-panel diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..f288702d --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.md b/README.md new file mode 100644 index 00000000..694597fd --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# APRS.TO - The N2RWE APRS Tracker Admin + +N2RWE APRS Tracker is a collection of tools that can be used to run an APRS website. You can use data from APRS-IS, CWOP-IS, OGN or any other source that uses the APRS specification. + +Tools included for this package are to support the administration of the site via a separate virtual machine. diff --git a/config/apache/000-default.conf b/config/apache/000-default.conf new file mode 100644 index 00000000..8dbb563a --- /dev/null +++ b/config/apache/000-default.conf @@ -0,0 +1,40 @@ + + Options SymLinksIfOwnerMatch + AllowOverride All + Allow from all + Require all granted + DirectoryIndex index.html index.cgi index.pl index.php + + + # The ServerName directive sets the request scheme, hostname and port that + # the server uses to identify itself. This is used when creating + # redirection URLs. In the context of virtual hosts, the ServerName + # specifies what hostname must appear in the request's Host: header to + # match this virtual host. For the default virtual host (this file) this + # value is not decisive as it is used as a last resort host regardless. + # However, you must set it for any further virtual host explicitly. + #ServerName www.example.com + + ServerAdmin webmaster@localhost + DocumentRoot /root/aprsto/htdocs + + # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, + # error, crit, alert, emerg. + # It is also possible to configure the loglevel for particular + # modules, e.g. + #LogLevel info ssl:warn + + #ErrorLog ${APACHE_LOG_DIR}/error.log + Errorlog "| /usr/bin/logger -thttp_error: -n 192.168.8.5 -P 514 -d" + + #CustomLog ${APACHE_LOG_DIR}/access.log combined + LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedhost + CustomLog "| /usr/bin/logger -thttp_access: -n 192.168.8.5 -P 514 -d" combinedhost + + # For most configuration files from conf-available/, which are + # enabled or disabled at a global level, it is possible to + # include a line for only one particular virtual host. For example the + # following line enables the CGI configuration for this host only + # after it has been globally disabled with "a2disconf". + #Include conf-available/serve-cgi-bin.conf + diff --git a/config/backend-default.ini b/config/backend-default.ini new file mode 100644 index 00000000..d653e466 --- /dev/null +++ b/config/backend-default.ini @@ -0,0 +1,29 @@ +;; APRS.TO Configuration Example +;; This is an example bootstrap configuration file, you need to modify it for your use. + +[bootstrap] + +;; Basic database settings for the site back-end functions +;; This includes user account management, preferences, site configurations, etc. +;; This must be a separate server from the normal Postgresql used for packet +;; storage as that database is optimized to tolerate some data loss. + +;; Mysql Hostname or IP +host="192.168.8.254" + +;; Database Name +;database="aprsto" + +;; Database credentials +;; If using docker, activate username and set to "root" +;username="user" +;password="pass" + +;; Database port (3306 for mysql) +;port="3306" + +;; For busy sites and sites running the database on a separate server enabling +;; persistent connections can improve responsiveness and reduce server load by +;; eliminating the need to re-establish a connection to the database on every +;; page request. +use_persistent_db_connections="1" diff --git a/config/backend.ini b/config/backend.ini new file mode 100644 index 00000000..0f5d829d --- /dev/null +++ b/config/backend.ini @@ -0,0 +1,26 @@ +[bootstrap] + +;; Basic database settings for the site back-end functions +;; This includes user account management, preferences, site configurations, etc. +;; This must be a separate server from the normal Postgresql used for packet +;; storage as that database is optimized to tolerate some data loss. + +;; Mysql Hostname or IP +host="192.168.8.254" + +;; Database Name +database="aprs_tracker_backend" + +;; Database credentials +;; If using docker, activate username and set to "root" +username="tracker_backend" +password="DxwU3Lnakdi3" + +;; Database port (3306 for mysql) +port="3306" + +;; For busy sites and sites running the database on a separate server enabling +;; persistent connections can improve responsiveness and reduce server load by +;; eliminating the need to re-establish a connection to the database on every +;; page request. +use_persistent_db_connections="1" diff --git a/config/php/fpm/10-opcache.ini b/config/php/fpm/10-opcache.ini new file mode 100644 index 00000000..d4b3091b --- /dev/null +++ b/config/php/fpm/10-opcache.ini @@ -0,0 +1,12 @@ +; path /etc/php/8.2/fpm/conf.d/10-opcache.ini +; configuration for php opcache module +; priority=10 +zend_extension=opcache.so +opcache.jit=on +opcache.jit_buffer_size=500000000 +opcache.jit=1235 +opcache.memory_consumption=192 +opcache.max_wasted_percentage=10 +opcache.interned_strings_buffer=16 +opcache.preload_user=root +opcache.preload=/root/aprsto/htdocs/includes/preload.php diff --git a/config/php/fpm/php.ini b/config/php/fpm/php.ini new file mode 100644 index 00000000..70788ade --- /dev/null +++ b/config/php/fpm/php.ini @@ -0,0 +1,1981 @@ +[PHP] + +;;;;;;;;;;;;;;;;;;; +; About php.ini ; +;;;;;;;;;;;;;;;;;;; +; PHP's initialization file, generally called php.ini, is responsible for +; configuring many of the aspects of PHP's behavior. + +; PHP attempts to find and load this configuration from a number of locations. +; The following is a summary of its search order: +; 1. SAPI module specific location. +; 2. The PHPRC environment variable. +; 3. A number of predefined registry keys on Windows +; 4. Current working directory (except CLI) +; 5. The web server's directory (for SAPI modules), or directory of PHP +; (otherwise in Windows) +; 6. The directory from the --with-config-file-path compile time option, or the +; Windows directory (usually C:\windows) +; See the PHP docs for more specific information. +; https://php.net/configuration.file + +; The syntax of the file is extremely simple. Whitespace and lines +; beginning with a semicolon are silently ignored (as you probably guessed). +; Section headers (e.g. [Foo]) are also silently ignored, even though +; they might mean something in the future. + +; Directives following the section heading [PATH=/www/mysite] only +; apply to PHP files in the /www/mysite directory. Directives +; following the section heading [HOST=www.example.com] only apply to +; PHP files served from www.example.com. Directives set in these +; special sections cannot be overridden by user-defined INI files or +; at runtime. Currently, [PATH=] and [HOST=] sections only work under +; CGI/FastCGI. +; https://php.net/ini.sections + +; Directives are specified using the following syntax: +; directive = value +; Directive names are *case sensitive* - foo=bar is different from FOO=bar. +; Directives are variables used to configure PHP or PHP extensions. +; There is no name validation. If PHP can't find an expected +; directive because it is not set or is mistyped, a default value will be used. + +; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one +; of the INI constants (On, Off, True, False, Yes, No and None) or an expression +; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a +; previously set variable or directive (e.g. ${foo}) + +; Expressions in the INI file are limited to bitwise operators and parentheses: +; | bitwise OR +; ^ bitwise XOR +; & bitwise AND +; ~ bitwise NOT +; ! boolean NOT + +; Boolean flags can be turned on using the values 1, On, True or Yes. +; They can be turned off using the values 0, Off, False or No. + +; An empty string can be denoted by simply not writing anything after the equal +; sign, or by using the None keyword: + +; foo = ; sets foo to an empty string +; foo = None ; sets foo to an empty string +; foo = "None" ; sets foo to the string 'None' + +; If you use constants in your value, and these constants belong to a +; dynamically loaded extension (either a PHP extension or a Zend extension), +; you may only use these constants *after* the line that loads the extension. + +;;;;;;;;;;;;;;;;;;; +; About this file ; +;;;;;;;;;;;;;;;;;;; +; PHP comes packaged with two INI files. One that is recommended to be used +; in production environments and one that is recommended to be used in +; development environments. + +; php.ini-production contains settings which hold security, performance and +; best practices at its core. But please be aware, these settings may break +; compatibility with older or less security conscience applications. We +; recommending using the production ini in production and testing environments. + +; php.ini-development is very similar to its production variant, except it is +; much more verbose when it comes to errors. We recommend using the +; development version only in development environments, as errors shown to +; application users can inadvertently leak otherwise secure information. + +; This is the php.ini-production INI file. + +;;;;;;;;;;;;;;;;;;; +; Quick Reference ; +;;;;;;;;;;;;;;;;;;; + +; The following are all the settings which are different in either the production +; or development versions of the INIs with respect to PHP's default behavior. +; Please see the actual settings later in the document for more details as to why +; we recommend these changes in PHP's behavior. + +; display_errors +; Default Value: On +; Development Value: On +; Production Value: Off + +; display_startup_errors +; Default Value: On +; Development Value: On +; Production Value: Off + +; error_reporting +; Default Value: E_ALL +; Development Value: E_ALL +; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT + +; log_errors +; Default Value: Off +; Development Value: On +; Production Value: On + +; max_input_time +; Default Value: -1 (Unlimited) +; Development Value: 60 (60 seconds) +; Production Value: 60 (60 seconds) + +; output_buffering +; Default Value: Off +; Development Value: 4096 +; Production Value: 4096 + +; register_argc_argv +; Default Value: On +; Development Value: Off +; Production Value: Off + +; request_order +; Default Value: None +; Development Value: "GP" +; Production Value: "GP" + +; session.gc_divisor +; Default Value: 100 +; Development Value: 1000 +; Production Value: 1000 + +; session.sid_bits_per_character +; Default Value: 4 +; Development Value: 5 +; Production Value: 5 + +; short_open_tag +; Default Value: On +; Development Value: Off +; Production Value: Off + +; variables_order +; Default Value: "EGPCS" +; Development Value: "GPCS" +; Production Value: "GPCS" + +; zend.exception_ignore_args +; Default Value: Off +; Development Value: Off +; Production Value: On + +; zend.exception_string_param_max_len +; Default Value: 15 +; Development Value: 15 +; Production Value: 0 + +;;;;;;;;;;;;;;;;;;;; +; php.ini Options ; +;;;;;;;;;;;;;;;;;;;; +; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" +;user_ini.filename = ".user.ini" + +; To disable this feature set this option to an empty value +;user_ini.filename = + +; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) +;user_ini.cache_ttl = 300 + +;;;;;;;;;;;;;;;;;;;; +; Language Options ; +;;;;;;;;;;;;;;;;;;;; + +; Enable the PHP scripting language engine under Apache. +; https://php.net/engine +engine = On + +; This directive determines whether or not PHP will recognize code between +; tags as PHP source which should be processed as such. It is +; generally recommended that should be used and that this feature +; should be disabled, as enabling it may result in issues when generating XML +; documents, however this remains supported for backward compatibility reasons. +; Note that this directive does not control the would work. +; https://php.net/syntax-highlighting +;highlight.string = #DD0000 +;highlight.comment = #FF9900 +;highlight.keyword = #007700 +;highlight.default = #0000BB +;highlight.html = #000000 + +; If enabled, the request will be allowed to complete even if the user aborts +; the request. Consider enabling it if executing long requests, which may end up +; being interrupted by the user or a browser timing out. PHP's default behavior +; is to disable this feature. +; https://php.net/ignore-user-abort +;ignore_user_abort = On + +; Determines the size of the realpath cache to be used by PHP. This value should +; be increased on systems where PHP opens many files to reflect the quantity of +; the file operations performed. +; Note: if open_basedir is set, the cache is disabled +; https://php.net/realpath-cache-size +;realpath_cache_size = 4096k + +; Duration of time, in seconds for which to cache realpath information for a given +; file or directory. For systems with rarely changing files, consider increasing this +; value. +; https://php.net/realpath-cache-ttl +;realpath_cache_ttl = 120 + +; Enables or disables the circular reference collector. +; https://php.net/zend.enable-gc +zend.enable_gc = On + +; If enabled, scripts may be written in encodings that are incompatible with +; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such +; encodings. To use this feature, mbstring extension must be enabled. +;zend.multibyte = Off + +; Allows to set the default encoding for the scripts. This value will be used +; unless "declare(encoding=...)" directive appears at the top of the script. +; Only affects if zend.multibyte is set. +;zend.script_encoding = + +; Allows to include or exclude arguments from stack traces generated for exceptions. +; In production, it is recommended to turn this setting on to prohibit the output +; of sensitive information in stack traces +; Default Value: Off +; Development Value: Off +; Production Value: On +zend.exception_ignore_args = On + +; Allows setting the maximum string length in an argument of a stringified stack trace +; to a value between 0 and 1000000. +; This has no effect when zend.exception_ignore_args is enabled. +; Default Value: 15 +; Development Value: 15 +; Production Value: 0 +; In production, it is recommended to set this to 0 to reduce the output +; of sensitive information in stack traces. +zend.exception_string_param_max_len = 0 + +;;;;;;;;;;;;;;;;; +; Miscellaneous ; +;;;;;;;;;;;;;;;;; + +; Decides whether PHP may expose the fact that it is installed on the server +; (e.g. by adding its signature to the Web server header). It is no security +; threat in any way, but it makes it possible to determine whether you use PHP +; on your server or not. +; https://php.net/expose-php +expose_php = Off + +;;;;;;;;;;;;;;;;;;; +; Resource Limits ; +;;;;;;;;;;;;;;;;;;; + +; Maximum execution time of each script, in seconds +; https://php.net/max-execution-time +; Note: This directive is hardcoded to 0 for the CLI SAPI +max_execution_time = 30 + +; Maximum amount of time each script may spend parsing request data. It's a good +; idea to limit this time on productions servers in order to eliminate unexpectedly +; long running scripts. +; Note: This directive is hardcoded to -1 for the CLI SAPI +; Default Value: -1 (Unlimited) +; Development Value: 60 (60 seconds) +; Production Value: 60 (60 seconds) +; https://php.net/max-input-time +max_input_time = 60 + +; Maximum input variable nesting level +; https://php.net/max-input-nesting-level +;max_input_nesting_level = 64 + +; How many GET/POST/COOKIE input variables may be accepted +;max_input_vars = 1000 + +; How many multipart body parts (combined input variable and file uploads) may +; be accepted. +; Default Value: -1 (Sum of max_input_vars and max_file_uploads) +;max_multipart_body_parts = 1500 + +; Maximum amount of memory a script may consume +; https://php.net/memory-limit +memory_limit = 256M + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; Error handling and logging ; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +; This directive informs PHP of which errors, warnings and notices you would like +; it to take action for. The recommended way of setting values for this +; directive is through the use of the error level constants and bitwise +; operators. The error level constants are below here for convenience as well as +; some common settings and their meanings. +; By default, PHP is set to take action on all errors, notices and warnings EXCEPT +; those related to E_NOTICE and E_STRICT, which together cover best practices and +; recommended coding standards in PHP. For performance reasons, this is the +; recommend error reporting setting. Your production server shouldn't be wasting +; resources complaining about best practices and coding standards. That's what +; development servers and development settings are for. +; Note: The php.ini-development file has this setting as E_ALL. This +; means it pretty much reports everything which is exactly what you want during +; development and early testing. +; +; Error Level Constants: +; E_ALL - All errors and warnings +; E_ERROR - fatal run-time errors +; E_RECOVERABLE_ERROR - almost fatal run-time errors +; E_WARNING - run-time warnings (non-fatal errors) +; E_PARSE - compile-time parse errors +; E_NOTICE - run-time notices (these are warnings which often result +; from a bug in your code, but it's possible that it was +; intentional (e.g., using an uninitialized variable and +; relying on the fact it is automatically initialized to an +; empty string) +; E_STRICT - run-time notices, enable to have PHP suggest changes +; to your code which will ensure the best interoperability +; and forward compatibility of your code +; E_CORE_ERROR - fatal errors that occur during PHP's initial startup +; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's +; initial startup +; E_COMPILE_ERROR - fatal compile-time errors +; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) +; E_USER_ERROR - user-generated error message +; E_USER_WARNING - user-generated warning message +; E_USER_NOTICE - user-generated notice message +; E_DEPRECATED - warn about code that will not work in future versions +; of PHP +; E_USER_DEPRECATED - user-generated deprecation warnings +; +; Common Values: +; E_ALL (Show all errors, warnings and notices including coding standards.) +; E_ALL & ~E_NOTICE (Show all errors, except for notices) +; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.) +; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) +; Default Value: E_ALL +; Development Value: E_ALL +; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT +; https://php.net/error-reporting +error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT + +; This directive controls whether or not and where PHP will output errors, +; notices and warnings too. Error output is very useful during development, but +; it could be very dangerous in production environments. Depending on the code +; which is triggering the error, sensitive information could potentially leak +; out of your application such as database usernames and passwords or worse. +; For production environments, we recommend logging errors rather than +; sending them to STDOUT. +; Possible Values: +; Off = Do not display any errors +; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) +; On or stdout = Display errors to STDOUT +; Default Value: On +; Development Value: On +; Production Value: Off +; https://php.net/display-errors +display_errors = Off + +; The display of errors which occur during PHP's startup sequence are handled +; separately from display_errors. We strongly recommend you set this to 'off' +; for production servers to avoid leaking configuration details. +; Default Value: On +; Development Value: On +; Production Value: Off +; https://php.net/display-startup-errors +display_startup_errors = Off + +; Besides displaying errors, PHP can also log errors to locations such as a +; server-specific log, STDERR, or a location specified by the error_log +; directive found below. While errors should not be displayed on productions +; servers they should still be monitored and logging is a great way to do that. +; Default Value: Off +; Development Value: On +; Production Value: On +; https://php.net/log-errors +log_errors = On + +; Do not log repeated messages. Repeated errors must occur in same file on same +; line unless ignore_repeated_source is set true. +; https://php.net/ignore-repeated-errors +ignore_repeated_errors = Off + +; Ignore source of message when ignoring repeated messages. When this setting +; is On you will not log errors with repeated messages from different files or +; source lines. +; https://php.net/ignore-repeated-source +ignore_repeated_source = Off + +; If this parameter is set to Off, then memory leaks will not be shown (on +; stdout or in the log). This is only effective in a debug compile, and if +; error reporting includes E_WARNING in the allowed list +; https://php.net/report-memleaks +report_memleaks = On + +; This setting is off by default. +;report_zend_debug = 0 + +; Turn off normal error reporting and emit XML-RPC error XML +; https://php.net/xmlrpc-errors +;xmlrpc_errors = 0 + +; An XML-RPC faultCode +;xmlrpc_error_number = 0 + +; When PHP displays or logs an error, it has the capability of formatting the +; error message as HTML for easier reading. This directive controls whether +; the error message is formatted as HTML or not. +; Note: This directive is hardcoded to Off for the CLI SAPI +; https://php.net/html-errors +;html_errors = On + +; If html_errors is set to On *and* docref_root is not empty, then PHP +; produces clickable error messages that direct to a page describing the error +; or function causing the error in detail. +; You can download a copy of the PHP manual from https://php.net/docs +; and change docref_root to the base URL of your local copy including the +; leading '/'. You must also specify the file extension being used including +; the dot. PHP's default behavior is to leave these settings empty, in which +; case no links to documentation are generated. +; Note: Never use this feature for production boxes. +; https://php.net/docref-root +; Examples +;docref_root = "/phpmanual/" + +; https://php.net/docref-ext +;docref_ext = .html + +; String to output before an error message. PHP's default behavior is to leave +; this setting blank. +; https://php.net/error-prepend-string +; Example: +;error_prepend_string = "" + +; String to output after an error message. PHP's default behavior is to leave +; this setting blank. +; https://php.net/error-append-string +; Example: +;error_append_string = "" + +; Log errors to specified file. PHP's default behavior is to leave this value +; empty. +; https://php.net/error-log +; Example: +;error_log = php_errors.log +; Log errors to syslog (Event Log on Windows). +;error_log = syslog + +; The syslog ident is a string which is prepended to every message logged +; to syslog. Only used when error_log is set to syslog. +;syslog.ident = php + +; The syslog facility is used to specify what type of program is logging +; the message. Only used when error_log is set to syslog. +;syslog.facility = user + +; Set this to disable filtering control characters (the default). +; Some loggers only accept NVT-ASCII, others accept anything that's not +; control characters. If your logger accepts everything, then no filtering +; is needed at all. +; Allowed values are: +; ascii (all printable ASCII characters and NL) +; no-ctrl (all characters except control characters) +; all (all characters) +; raw (like "all", but messages are not split at newlines) +; https://php.net/syslog.filter +;syslog.filter = ascii + +;windows.show_crt_warning +; Default value: 0 +; Development value: 0 +; Production value: 0 + +;;;;;;;;;;;;;;;;; +; Data Handling ; +;;;;;;;;;;;;;;;;; + +; The separator used in PHP generated URLs to separate arguments. +; PHP's default setting is "&". +; https://php.net/arg-separator.output +; Example: +;arg_separator.output = "&" + +; List of separator(s) used by PHP to parse input URLs into variables. +; PHP's default setting is "&". +; NOTE: Every character in this directive is considered as separator! +; https://php.net/arg-separator.input +; Example: +;arg_separator.input = ";&" + +; This directive determines which super global arrays are registered when PHP +; starts up. G,P,C,E & S are abbreviations for the following respective super +; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty +; paid for the registration of these arrays and because ENV is not as commonly +; used as the others, ENV is not recommended on productions servers. You +; can still get access to the environment variables through getenv() should you +; need to. +; Default Value: "EGPCS" +; Development Value: "GPCS" +; Production Value: "GPCS"; +; https://php.net/variables-order +variables_order = "GPCS" + +; This directive determines which super global data (G,P & C) should be +; registered into the super global array REQUEST. If so, it also determines +; the order in which that data is registered. The values for this directive +; are specified in the same manner as the variables_order directive, +; EXCEPT one. Leaving this value empty will cause PHP to use the value set +; in the variables_order directive. It does not mean it will leave the super +; globals array REQUEST empty. +; Default Value: None +; Development Value: "GP" +; Production Value: "GP" +; https://php.net/request-order +request_order = "GP" + +; This directive determines whether PHP registers $argv & $argc each time it +; runs. $argv contains an array of all the arguments passed to PHP when a script +; is invoked. $argc contains an integer representing the number of arguments +; that were passed when the script was invoked. These arrays are extremely +; useful when running scripts from the command line. When this directive is +; enabled, registering these variables consumes CPU cycles and memory each time +; a script is executed. For performance reasons, this feature should be disabled +; on production servers. +; Note: This directive is hardcoded to On for the CLI SAPI +; Default Value: On +; Development Value: Off +; Production Value: Off +; https://php.net/register-argc-argv +register_argc_argv = Off + +; When enabled, the ENV, REQUEST and SERVER variables are created when they're +; first used (Just In Time) instead of when the script starts. If these +; variables are not used within a script, having this directive on will result +; in a performance gain. The PHP directive register_argc_argv must be disabled +; for this directive to have any effect. +; https://php.net/auto-globals-jit +auto_globals_jit = On + +; Whether PHP will read the POST data. +; This option is enabled by default. +; Most likely, you won't want to disable this option globally. It causes $_POST +; and $_FILES to always be empty; the only way you will be able to read the +; POST data will be through the php://input stream wrapper. This can be useful +; to proxy requests or to process the POST data in a memory efficient fashion. +; https://php.net/enable-post-data-reading +;enable_post_data_reading = Off + +; Maximum size of POST data that PHP will accept. +; Its value may be 0 to disable the limit. It is ignored if POST data reading +; is disabled through enable_post_data_reading. +; https://php.net/post-max-size +post_max_size = 8M + +; Automatically add files before PHP document. +; https://php.net/auto-prepend-file +auto_prepend_file = + +; Automatically add files after PHP document. +; https://php.net/auto-append-file +auto_append_file = + +; By default, PHP will output a media type using the Content-Type header. To +; disable this, simply set it to be empty. +; +; PHP's built-in default media type is set to text/html. +; https://php.net/default-mimetype +default_mimetype = "text/html" + +; PHP's default character set is set to UTF-8. +; https://php.net/default-charset +default_charset = "UTF-8" + +; PHP internal character encoding is set to empty. +; If empty, default_charset is used. +; https://php.net/internal-encoding +;internal_encoding = + +; PHP input character encoding is set to empty. +; If empty, default_charset is used. +; https://php.net/input-encoding +;input_encoding = + +; PHP output character encoding is set to empty. +; If empty, default_charset is used. +; See also output_buffer. +; https://php.net/output-encoding +;output_encoding = + +;;;;;;;;;;;;;;;;;;;;;;;;; +; Paths and Directories ; +;;;;;;;;;;;;;;;;;;;;;;;;; + +; UNIX: "/path1:/path2" +;include_path = ".:/usr/share/php" +; +; Windows: "\path1;\path2" +;include_path = ".;c:\php\includes" +; +; PHP's default setting for include_path is ".;/path/to/php/pear" +; https://php.net/include-path + +; The root of the PHP pages, used only if nonempty. +; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root +; if you are running php as a CGI under any web server (other than IIS) +; see documentation for security issues. The alternate is to use the +; cgi.force_redirect configuration below +; https://php.net/doc-root +doc_root = + +; The directory under which PHP opens the script using /~username used only +; if nonempty. +; https://php.net/user-dir +user_dir = + +; Directory in which the loadable extensions (modules) reside. +; https://php.net/extension-dir +;extension_dir = "./" +; On windows: +;extension_dir = "ext" + +; Directory where the temporary files should be placed. +; Defaults to the system default (see sys_get_temp_dir) +;sys_temp_dir = "/tmp" + +; Whether or not to enable the dl() function. The dl() function does NOT work +; properly in multithreaded servers, such as IIS or Zeus, and is automatically +; disabled on them. +; https://php.net/enable-dl +enable_dl = Off + +; cgi.force_redirect is necessary to provide security running PHP as a CGI under +; most web servers. Left undefined, PHP turns this on by default. You can +; turn it off here AT YOUR OWN RISK +; **You CAN safely turn this off for IIS, in fact, you MUST.** +; https://php.net/cgi.force-redirect +;cgi.force_redirect = 1 + +; if cgi.nph is enabled it will force cgi to always sent Status: 200 with +; every request. PHP's default behavior is to disable this feature. +;cgi.nph = 1 + +; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape +; (iPlanet) web servers, you MAY need to set an environment variable name that PHP +; will look for to know it is OK to continue execution. Setting this variable MAY +; cause security issues, KNOW WHAT YOU ARE DOING FIRST. +; https://php.net/cgi.redirect-status-env +;cgi.redirect_status_env = + +; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's +; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok +; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting +; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting +; of zero causes PHP to behave as before. Default is 1. You should fix your scripts +; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. +; https://php.net/cgi.fix-pathinfo +;cgi.fix_pathinfo=1 + +; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside +; of the web tree and people will not be able to circumvent .htaccess security. +;cgi.discard_path=1 + +; FastCGI under IIS supports the ability to impersonate +; security tokens of the calling client. This allows IIS to define the +; security context that the request runs under. mod_fastcgi under Apache +; does not currently support this feature (03/17/2002) +; Set to 1 if running under IIS. Default is zero. +; https://php.net/fastcgi.impersonate +;fastcgi.impersonate = 1 + +; Disable logging through FastCGI connection. PHP's default behavior is to enable +; this feature. +;fastcgi.logging = 0 + +; cgi.rfc2616_headers configuration option tells PHP what type of headers to +; use when sending HTTP response code. If set to 0, PHP sends Status: header that +; is supported by Apache. When this option is set to 1, PHP will send +; RFC2616 compliant header. +; Default is zero. +; https://php.net/cgi.rfc2616-headers +;cgi.rfc2616_headers = 0 + +; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #! +; (shebang) at the top of the running script. This line might be needed if the +; script support running both as stand-alone script and via PHP CGI<. PHP in CGI +; mode skips this line and ignores its content if this directive is turned on. +; https://php.net/cgi.check-shebang-line +;cgi.check_shebang_line=1 + +;;;;;;;;;;;;;;;; +; File Uploads ; +;;;;;;;;;;;;;;;; + +; Whether to allow HTTP file uploads. +; https://php.net/file-uploads +file_uploads = On + +; Temporary directory for HTTP uploaded files (will use system default if not +; specified). +; https://php.net/upload-tmp-dir +;upload_tmp_dir = + +; Maximum allowed size for uploaded files. +; https://php.net/upload-max-filesize +upload_max_filesize = 2M + +; Maximum number of files that can be uploaded via a single request +max_file_uploads = 20 + +;;;;;;;;;;;;;;;;;; +; Fopen wrappers ; +;;;;;;;;;;;;;;;;;; + +; Whether to allow the treatment of URLs (like http:// or ftp://) as files. +; https://php.net/allow-url-fopen +allow_url_fopen = On + +; Whether to allow include/require to open URLs (like https:// or ftp://) as files. +; https://php.net/allow-url-include +allow_url_include = Off + +; Define the anonymous ftp password (your email address). PHP's default setting +; for this is empty. +; https://php.net/from +;from="john@doe.com" + +; Define the User-Agent string. PHP's default setting for this is empty. +; https://php.net/user-agent +;user_agent="PHP" + +; Default timeout for socket based streams (seconds) +; https://php.net/default-socket-timeout +default_socket_timeout = 60 + +; If your scripts have to deal with files from Macintosh systems, +; or you are running on a Mac and need to deal with files from +; unix or win32 systems, setting this flag will cause PHP to +; automatically detect the EOL character in those files so that +; fgets() and file() will work regardless of the source of the file. +; https://php.net/auto-detect-line-endings +;auto_detect_line_endings = Off + +;;;;;;;;;;;;;;;;;;;;;; +; Dynamic Extensions ; +;;;;;;;;;;;;;;;;;;;;;; + +; If you wish to have an extension loaded automatically, use the following +; syntax: +; +; extension=modulename +; +; For example: +; +; extension=mysqli +; +; When the extension library to load is not located in the default extension +; directory, You may specify an absolute path to the library file: +; +; extension=/path/to/extension/mysqli.so +; +; Note : The syntax used in previous PHP versions ('extension=.so' and +; 'extension='php_.dll') is supported for legacy reasons and may be +; deprecated in a future PHP major version. So, when it is possible, please +; move to the new ('extension=) syntax. +; +; Notes for Windows environments : +; +; - Many DLL files are located in the ext/ +; extension folders as well as the separate PECL DLL download. +; Be sure to appropriately set the extension_dir directive. +; +;extension=bz2 + +; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used +; otherwise it results in segfault when unloading after using SASL. +; See https://github.com/php/php-src/issues/8620 for more info. +;extension=ldap + +;extension=curl +;extension=ffi +;extension=ftp +;extension=fileinfo +;extension=gd +;extension=gettext +;extension=gmp +;extension=intl +;extension=imap +;extension=mbstring +;extension=exif ; Must be after mbstring as it depends on it +;extension=mysqli +;extension=oci8_12c ; Use with Oracle Database 12c Instant Client +;extension=oci8_19 ; Use with Oracle Database 19 Instant Client +;extension=odbc +;extension=openssl +;extension=pdo_firebird +;extension=pdo_mysql +;extension=pdo_oci +;extension=pdo_odbc +;extension=pdo_pgsql +;extension=pdo_sqlite +;extension=pgsql +;extension=shmop + +; The MIBS data available in the PHP distribution must be installed. +; See https://www.php.net/manual/en/snmp.installation.php +;extension=snmp + +;extension=soap +;extension=sockets +;extension=sodium +;extension=sqlite3 +;extension=tidy +;extension=xsl +;extension=zip + +;zend_extension=opcache + +;;;;;;;;;;;;;;;;;;; +; Module Settings ; +;;;;;;;;;;;;;;;;;;; + +[CLI Server] +; Whether the CLI web server uses ANSI color coding in its terminal output. +cli_server.color = On + +[Date] +; Defines the default timezone used by the date functions +; https://php.net/date.timezone +;date.timezone = + +; https://php.net/date.default-latitude +;date.default_latitude = 31.7667 + +; https://php.net/date.default-longitude +;date.default_longitude = 35.2333 + +; https://php.net/date.sunrise-zenith +;date.sunrise_zenith = 90.833333 + +; https://php.net/date.sunset-zenith +;date.sunset_zenith = 90.833333 + +[filter] +; https://php.net/filter.default +;filter.default = unsafe_raw + +; https://php.net/filter.default-flags +;filter.default_flags = + +[iconv] +; Use of this INI entry is deprecated, use global input_encoding instead. +; If empty, default_charset or input_encoding or iconv.input_encoding is used. +; The precedence is: default_charset < input_encoding < iconv.input_encoding +;iconv.input_encoding = + +; Use of this INI entry is deprecated, use global internal_encoding instead. +; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. +; The precedence is: default_charset < internal_encoding < iconv.internal_encoding +;iconv.internal_encoding = + +; Use of this INI entry is deprecated, use global output_encoding instead. +; If empty, default_charset or output_encoding or iconv.output_encoding is used. +; The precedence is: default_charset < output_encoding < iconv.output_encoding +; To use an output encoding conversion, iconv's output handler must be set +; otherwise output encoding conversion cannot be performed. +;iconv.output_encoding = + +[imap] +; rsh/ssh logins are disabled by default. Use this INI entry if you want to +; enable them. Note that the IMAP library does not filter mailbox names before +; passing them to rsh/ssh command, thus passing untrusted data to this function +; with rsh/ssh enabled is insecure. +;imap.enable_insecure_rsh=0 + +[intl] +;intl.default_locale = +; This directive allows you to produce PHP errors when some error +; happens within intl functions. The value is the level of the error produced. +; Default is 0, which does not produce any errors. +;intl.error_level = E_WARNING +;intl.use_exceptions = 0 + +[sqlite3] +; Directory pointing to SQLite3 extensions +; https://php.net/sqlite3.extension-dir +;sqlite3.extension_dir = + +; SQLite defensive mode flag (only available from SQLite 3.26+) +; When the defensive flag is enabled, language features that allow ordinary +; SQL to deliberately corrupt the database file are disabled. This forbids +; writing directly to the schema, shadow tables (eg. FTS data tables), or +; the sqlite_dbpage virtual table. +; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html +; (for older SQLite versions, this flag has no use) +;sqlite3.defensive = 1 + +[Pcre] +; PCRE library backtracking limit. +; https://php.net/pcre.backtrack-limit +;pcre.backtrack_limit=100000 + +; PCRE library recursion limit. +; Please note that if you set this value to a high number you may consume all +; the available process stack and eventually crash PHP (due to reaching the +; stack size limit imposed by the Operating System). +; https://php.net/pcre.recursion-limit +;pcre.recursion_limit=100000 + +; Enables or disables JIT compilation of patterns. This requires the PCRE +; library to be compiled with JIT support. +;pcre.jit=1 + +[Pdo] +; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" +; https://php.net/pdo-odbc.connection-pooling +;pdo_odbc.connection_pooling=strict + +[Pdo_mysql] +; Default socket name for local MySQL connects. If empty, uses the built-in +; MySQL defaults. +pdo_mysql.default_socket= + +[Phar] +; https://php.net/phar.readonly +;phar.readonly = On + +; https://php.net/phar.require-hash +;phar.require_hash = On + +;phar.cache_list = + +[mail function] +; For Win32 only. +; https://php.net/smtp +SMTP = localhost +; https://php.net/smtp-port +smtp_port = 25 + +; For Win32 only. +; https://php.net/sendmail-from +;sendmail_from = me@example.com + +; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). +; https://php.net/sendmail-path +;sendmail_path = + +; Force the addition of the specified parameters to be passed as extra parameters +; to the sendmail binary. These parameters will always replace the value of +; the 5th parameter to mail(). +;mail.force_extra_parameters = + +; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename +mail.add_x_header = Off + +; Use mixed LF and CRLF line separators to keep compatibility with some +; RFC 2822 non conformant MTA. +mail.mixed_lf_and_crlf = Off + +; The path to a log file that will log all mail() calls. Log entries include +; the full path of the script, line number, To address and headers. +;mail.log = +; Log mail to syslog (Event Log on Windows). +;mail.log = syslog + +[ODBC] +; https://php.net/odbc.default-db +;odbc.default_db = Not yet implemented + +; https://php.net/odbc.default-user +;odbc.default_user = Not yet implemented + +; https://php.net/odbc.default-pw +;odbc.default_pw = Not yet implemented + +; Controls the ODBC cursor model. +; Default: SQL_CURSOR_STATIC (default). +;odbc.default_cursortype + +; Allow or prevent persistent links. +; https://php.net/odbc.allow-persistent +odbc.allow_persistent = On + +; Check that a connection is still valid before reuse. +; https://php.net/odbc.check-persistent +odbc.check_persistent = On + +; Maximum number of persistent links. -1 means no limit. +; https://php.net/odbc.max-persistent +odbc.max_persistent = -1 + +; Maximum number of links (persistent + non-persistent). -1 means no limit. +; https://php.net/odbc.max-links +odbc.max_links = -1 + +; Handling of LONG fields. Returns number of bytes to variables. 0 means +; passthru. +; https://php.net/odbc.defaultlrl +odbc.defaultlrl = 4096 + +; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. +; See the documentation on odbc_binmode and odbc_longreadlen for an explanation +; of odbc.defaultlrl and odbc.defaultbinmode +; https://php.net/odbc.defaultbinmode +odbc.defaultbinmode = 1 + +[MySQLi] + +; Maximum number of persistent links. -1 means no limit. +; https://php.net/mysqli.max-persistent +mysqli.max_persistent = -1 + +; Allow accessing, from PHP's perspective, local files with LOAD DATA statements +; https://php.net/mysqli.allow_local_infile +;mysqli.allow_local_infile = On + +; It allows the user to specify a folder where files that can be sent via LOAD DATA +; LOCAL can exist. It is ignored if mysqli.allow_local_infile is enabled. +;mysqli.local_infile_directory = + +; Allow or prevent persistent links. +; https://php.net/mysqli.allow-persistent +mysqli.allow_persistent = On + +; Maximum number of links. -1 means no limit. +; https://php.net/mysqli.max-links +mysqli.max_links = -1 + +; Default port number for mysqli_connect(). If unset, mysqli_connect() will use +; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the +; compile-time value defined MYSQL_PORT (in that order). Win32 will only look +; at MYSQL_PORT. +; https://php.net/mysqli.default-port +mysqli.default_port = 3306 + +; Default socket name for local MySQL connects. If empty, uses the built-in +; MySQL defaults. +; https://php.net/mysqli.default-socket +mysqli.default_socket = + +; Default host for mysqli_connect() (doesn't apply in safe mode). +; https://php.net/mysqli.default-host +mysqli.default_host = + +; Default user for mysqli_connect() (doesn't apply in safe mode). +; https://php.net/mysqli.default-user +mysqli.default_user = + +; Default password for mysqli_connect() (doesn't apply in safe mode). +; Note that this is generally a *bad* idea to store passwords in this file. +; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") +; and reveal this password! And of course, any users with read access to this +; file will be able to reveal the password as well. +; https://php.net/mysqli.default-pw +mysqli.default_pw = + +; Allow or prevent reconnect +mysqli.reconnect = Off + +; If this option is enabled, closing a persistent connection will rollback +; any pending transactions of this connection, before it is put back +; into the persistent connection pool. +;mysqli.rollback_on_cached_plink = Off + +[mysqlnd] +; Enable / Disable collection of general statistics by mysqlnd which can be +; used to tune and monitor MySQL operations. +mysqlnd.collect_statistics = On + +; Enable / Disable collection of memory usage statistics by mysqlnd which can be +; used to tune and monitor MySQL operations. +mysqlnd.collect_memory_statistics = Off + +; Records communication from all extensions using mysqlnd to the specified log +; file. +; https://php.net/mysqlnd.debug +;mysqlnd.debug = + +; Defines which queries will be logged. +;mysqlnd.log_mask = 0 + +; Default size of the mysqlnd memory pool, which is used by result sets. +;mysqlnd.mempool_default_size = 16000 + +; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. +;mysqlnd.net_cmd_buffer_size = 2048 + +; Size of a pre-allocated buffer used for reading data sent by the server in +; bytes. +;mysqlnd.net_read_buffer_size = 32768 + +; Timeout for network requests in seconds. +;mysqlnd.net_read_timeout = 31536000 + +; SHA-256 Authentication Plugin related. File with the MySQL server public RSA +; key. +;mysqlnd.sha256_server_public_key = + +[OCI8] + +; Connection: Enables privileged connections using external +; credentials (OCI_SYSOPER, OCI_SYSDBA) +; https://php.net/oci8.privileged-connect +;oci8.privileged_connect = Off + +; Connection: The maximum number of persistent OCI8 connections per +; process. Using -1 means no limit. +; https://php.net/oci8.max-persistent +;oci8.max_persistent = -1 + +; Connection: The maximum number of seconds a process is allowed to +; maintain an idle persistent connection. Using -1 means idle +; persistent connections will be maintained forever. +; https://php.net/oci8.persistent-timeout +;oci8.persistent_timeout = -1 + +; Connection: The number of seconds that must pass before issuing a +; ping during oci_pconnect() to check the connection validity. When +; set to 0, each oci_pconnect() will cause a ping. Using -1 disables +; pings completely. +; https://php.net/oci8.ping-interval +;oci8.ping_interval = 60 + +; Connection: Set this to a user chosen connection class to be used +; for all pooled server requests with Oracle Database Resident +; Connection Pooling (DRCP). To use DRCP, this value should be set to +; the same string for all web servers running the same application, +; the database pool must be configured, and the connection string must +; specify to use a pooled server. +;oci8.connection_class = + +; High Availability: Using On lets PHP receive Fast Application +; Notification (FAN) events generated when a database node fails. The +; database must also be configured to post FAN events. +;oci8.events = Off + +; Tuning: This option enables statement caching, and specifies how +; many statements to cache. Using 0 disables statement caching. +; https://php.net/oci8.statement-cache-size +;oci8.statement_cache_size = 20 + +; Tuning: Enables row prefetching and sets the default number of +; rows that will be fetched automatically after statement execution. +; https://php.net/oci8.default-prefetch +;oci8.default_prefetch = 100 + +; Tuning: Sets the amount of LOB data that is internally returned from +; Oracle Database when an Oracle LOB locator is initially retrieved as +; part of a query. Setting this can improve performance by reducing +; round-trips. +; https://php.net/oci8.prefetch-lob-size +; oci8.prefetch_lob_size = 0 + +; Compatibility. Using On means oci_close() will not close +; oci_connect() and oci_new_connect() connections. +; https://php.net/oci8.old-oci-close-semantics +;oci8.old_oci_close_semantics = Off + +[PostgreSQL] +; Allow or prevent persistent links. +; https://php.net/pgsql.allow-persistent +pgsql.allow_persistent = On + +; Detect broken persistent links always with pg_pconnect(). +; Auto reset feature requires a little overheads. +; https://php.net/pgsql.auto-reset-persistent +pgsql.auto_reset_persistent = Off + +; Maximum number of persistent links. -1 means no limit. +; https://php.net/pgsql.max-persistent +pgsql.max_persistent = -1 + +; Maximum number of links (persistent+non persistent). -1 means no limit. +; https://php.net/pgsql.max-links +pgsql.max_links = -1 + +; Ignore PostgreSQL backends Notice message or not. +; Notice message logging require a little overheads. +; https://php.net/pgsql.ignore-notice +pgsql.ignore_notice = 0 + +; Log PostgreSQL backends Notice message or not. +; Unless pgsql.ignore_notice=0, module cannot log notice message. +; https://php.net/pgsql.log-notice +pgsql.log_notice = 0 + +[bcmath] +; Number of decimal digits for all bcmath functions. +; https://php.net/bcmath.scale +bcmath.scale = 0 + +[browscap] +; https://php.net/browscap +;browscap = extra/browscap.ini + +[Session] +; Handler used to store/retrieve data. +; https://php.net/session.save-handler +session.save_handler = rediscluster + +; Argument passed to save_handler. In the case of files, this is the path +; where data files are stored. Note: Windows users have to change this +; variable in order to use PHP's session functions. +; +; The path can be defined as: +; +; session.save_path = "N;/path" +; +; where N is an integer. Instead of storing all the session files in +; /path, what this will do is use subdirectories N-levels deep, and +; store the session data in those directories. This is useful if +; your OS has problems with many files in one directory, and is +; a more efficient layout for servers that handle many sessions. +; +; NOTE 1: PHP will not create this directory structure automatically. +; You can use the script in the ext/session dir for that purpose. +; NOTE 2: See the section on garbage collection below if you choose to +; use subdirectories for session storage +; +; The file storage module creates files using mode 600 by default. +; You can change that by using +; +; session.save_path = "N;MODE;/path" +; +; where MODE is the octal representation of the mode. Note that this +; does not overwrite the process's umask. +; https://php.net/session.save-path +;session.save_path = "/var/lib/php/sessions" +session.save_path = "seed[]=192.168.8.101:7000&seed[]=192.168.8.102:7000&seed[]=192.168.8.103:7000&seed[]=192.168.8.104:7000&seed[]=192.168.8.105:7000&seed[]=192.168.8.106:7000&seed[]=192.168.8.107:7000&seed[]=192.168.8.108:7000&seed[]=192.168.8.109:7000&seed[]=192.168.8.110:7000&timeout=2&read_timeout=2&failover=error&persistent=1&prefix=APRST:" + + + +; Whether to use strict session mode. +; Strict session mode does not accept an uninitialized session ID, and +; regenerates the session ID if the browser sends an uninitialized session ID. +; Strict mode protects applications from session fixation via a session adoption +; vulnerability. It is disabled by default for maximum compatibility, but +; enabling it is encouraged. +; https://wiki.php.net/rfc/strict_sessions +session.use_strict_mode = 0 + +; Whether to use cookies. +; https://php.net/session.use-cookies +session.use_cookies = 1 + +; https://php.net/session.cookie-secure +;session.cookie_secure = + +; This option forces PHP to fetch and use a cookie for storing and maintaining +; the session id. We encourage this operation as it's very helpful in combating +; session hijacking when not specifying and managing your own session id. It is +; not the be-all and end-all of session hijacking defense, but it's a good start. +; https://php.net/session.use-only-cookies +session.use_only_cookies = 1 + +; Name of the session (used as cookie name). +; https://php.net/session.name +session.name = APRST + +; Initialize session on request startup. +; https://php.net/session.auto-start +session.auto_start = 0 + +; Lifetime in seconds of cookie or, if 0, until browser is restarted. +; https://php.net/session.cookie-lifetime +session.cookie_lifetime = 0 + +; The path for which the cookie is valid. +; https://php.net/session.cookie-path +session.cookie_path = / + +; The domain for which the cookie is valid. +; https://php.net/session.cookie-domain +session.cookie_domain = + +; Whether or not to add the httpOnly flag to the cookie, which makes it +; inaccessible to browser scripting languages such as JavaScript. +; https://php.net/session.cookie-httponly +session.cookie_httponly = + +; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF) +; Current valid values are "Strict", "Lax" or "None". When using "None", +; make sure to include the quotes, as `none` is interpreted like `false` in ini files. +; https://tools.ietf.org/html/draft-west-first-party-cookies-07 +session.cookie_samesite = + +; Handler used to serialize data. php is the standard serializer of PHP. +; https://php.net/session.serialize-handler +session.serialize_handler = php_serialize + +; Defines the probability that the 'garbage collection' process is started on every +; session initialization. The probability is calculated by using gc_probability/gc_divisor, +; e.g. 1/100 means there is a 1% chance that the GC process starts on each request. +; Default Value: 1 +; Development Value: 1 +; Production Value: 1 +; https://php.net/session.gc-probability +session.gc_probability = 0 + +; Defines the probability that the 'garbage collection' process is started on every +; session initialization. The probability is calculated by using gc_probability/gc_divisor, +; e.g. 1/100 means there is a 1% chance that the GC process starts on each request. +; For high volume production servers, using a value of 1000 is a more efficient approach. +; Default Value: 100 +; Development Value: 1000 +; Production Value: 1000 +; https://php.net/session.gc-divisor +session.gc_divisor = 1000 + +; After this number of seconds, stored data will be seen as 'garbage' and +; cleaned up by the garbage collection process. +; https://php.net/session.gc-maxlifetime +; 2040 = 34 minutes +session.gc_maxlifetime = 2040 + +; NOTE: If you are using the subdirectory option for storing session files +; (see session.save_path above), then garbage collection does *not* +; happen automatically. You will need to do your own garbage +; collection through a shell script, cron entry, or some other method. +; For example, the following script is the equivalent of setting +; session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): +; find /path/to/sessions -cmin +24 -type f | xargs rm + +; Check HTTP Referer to invalidate externally stored URLs containing ids. +; HTTP_REFERER has to contain this substring for the session to be +; considered as valid. +; https://php.net/session.referer-check +session.referer_check = + +; Set to {nocache,private,public,} to determine HTTP caching aspects +; or leave this empty to avoid sending anti-caching headers. +; https://php.net/session.cache-limiter +session.cache_limiter = nocache + +; Document expires after n minutes. +; https://php.net/session.cache-expire +session.cache_expire = 180 + +; trans sid support is disabled by default. +; Use of trans sid may risk your users' security. +; Use this option with caution. +; - User may send URL contains active session ID +; to other person via. email/irc/etc. +; - URL that contains active session ID may be stored +; in publicly accessible computer. +; - User may access your site with the same session ID +; always using URL stored in browser's history or bookmarks. +; https://php.net/session.use-trans-sid +session.use_trans_sid = 0 + +; Set session ID character length. This value could be between 22 to 256. +; Shorter length than default is supported only for compatibility reason. +; Users should use 32 or more chars. +; https://php.net/session.sid-length +; Default Value: 32 +; Development Value: 26 +; Production Value: 26 +session.sid_length = 32 + +; The URL rewriter will look for URLs in a defined set of HTML tags. +;
is special; if you include them here, the rewriter will +; add a hidden field with the info which is otherwise appended +; to URLs. tag's action attribute URL will not be modified +; unless it is specified. +; Note that all valid entries require a "=", even if no value follows. +; Default Value: "a=href,area=href,frame=src,form=" +; Development Value: "a=href,area=href,frame=src,form=" +; Production Value: "a=href,area=href,frame=src,form=" +; https://php.net/url-rewriter.tags +session.trans_sid_tags = "a=href,area=href,frame=src,form=" + +; URL rewriter does not rewrite absolute URLs by default. +; To enable rewrites for absolute paths, target hosts must be specified +; at RUNTIME. i.e. use ini_set() +; tags is special. PHP will check action attribute's URL regardless +; of session.trans_sid_tags setting. +; If no host is defined, HTTP_HOST will be used for allowed host. +; Example value: php.net,www.php.net,wiki.php.net +; Use "," for multiple hosts. No spaces are allowed. +; Default Value: "" +; Development Value: "" +; Production Value: "" +;session.trans_sid_hosts="" + +; Define how many bits are stored in each character when converting +; the binary hash data to something readable. +; Possible values: +; 4 (4 bits: 0-9, a-f) +; 5 (5 bits: 0-9, a-v) +; 6 (6 bits: 0-9, a-z, A-Z, "-", ",") +; Default Value: 4 +; Development Value: 5 +; Production Value: 5 +; https://php.net/session.hash-bits-per-character +session.sid_bits_per_character = 5 + +; Enable upload progress tracking in $_SESSION +; Default Value: On +; Development Value: On +; Production Value: On +; https://php.net/session.upload-progress.enabled +;session.upload_progress.enabled = On + +; Cleanup the progress information as soon as all POST data has been read +; (i.e. upload completed). +; Default Value: On +; Development Value: On +; Production Value: On +; https://php.net/session.upload-progress.cleanup +;session.upload_progress.cleanup = On + +; A prefix used for the upload progress key in $_SESSION +; Default Value: "upload_progress_" +; Development Value: "upload_progress_" +; Production Value: "upload_progress_" +; https://php.net/session.upload-progress.prefix +;session.upload_progress.prefix = "upload_progress_" + +; The index name (concatenated with the prefix) in $_SESSION +; containing the upload progress information +; Default Value: "PHP_SESSION_UPLOAD_PROGRESS" +; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" +; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" +; https://php.net/session.upload-progress.name +;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" + +; How frequently the upload progress should be updated. +; Given either in percentages (per-file), or in bytes +; Default Value: "1%" +; Development Value: "1%" +; Production Value: "1%" +; https://php.net/session.upload-progress.freq +;session.upload_progress.freq = "1%" + +; The minimum delay between updates, in seconds +; Default Value: 1 +; Development Value: 1 +; Production Value: 1 +; https://php.net/session.upload-progress.min-freq +;session.upload_progress.min_freq = "1" + +; Only write session data when session data is changed. Enabled by default. +; https://php.net/session.lazy-write +;session.lazy_write = On + +[Assertion] +; Switch whether to compile assertions at all (to have no overhead at run-time) +; -1: Do not compile at all +; 0: Jump over assertion at run-time +; 1: Execute assertions +; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) +; Default Value: 1 +; Development Value: 1 +; Production Value: -1 +; https://php.net/zend.assertions +zend.assertions = -1 + +; Assert(expr); active by default. +; https://php.net/assert.active +;assert.active = On + +; Throw an AssertionError on failed assertions +; https://php.net/assert.exception +;assert.exception = On + +; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active) +; https://php.net/assert.warning +;assert.warning = On + +; Don't bail out by default. +; https://php.net/assert.bail +;assert.bail = Off + +; User-function to be called if an assertion fails. +; https://php.net/assert.callback +;assert.callback = 0 + +[COM] +; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs +; https://php.net/com.typelib-file +;com.typelib_file = + +; allow Distributed-COM calls +; https://php.net/com.allow-dcom +;com.allow_dcom = true + +; autoregister constants of a component's typelib on com_load() +; https://php.net/com.autoregister-typelib +;com.autoregister_typelib = true + +; register constants casesensitive +; https://php.net/com.autoregister-casesensitive +;com.autoregister_casesensitive = false + +; show warnings on duplicate constant registrations +; https://php.net/com.autoregister-verbose +;com.autoregister_verbose = true + +; The default character set code-page to use when passing strings to and from COM objects. +; Default: system ANSI code page +;com.code_page= + +; The version of the .NET framework to use. The value of the setting are the first three parts +; of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319". +;com.dotnet_version= + +[mbstring] +; language for internal character representation. +; This affects mb_send_mail() and mbstring.detect_order. +; https://php.net/mbstring.language +;mbstring.language = Japanese + +; Use of this INI entry is deprecated, use global internal_encoding instead. +; internal/script encoding. +; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*) +; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. +; The precedence is: default_charset < internal_encoding < iconv.internal_encoding +;mbstring.internal_encoding = + +; Use of this INI entry is deprecated, use global input_encoding instead. +; http input encoding. +; mbstring.encoding_translation = On is needed to use this setting. +; If empty, default_charset or input_encoding or mbstring.input is used. +; The precedence is: default_charset < input_encoding < mbstring.http_input +; https://php.net/mbstring.http-input +;mbstring.http_input = + +; Use of this INI entry is deprecated, use global output_encoding instead. +; http output encoding. +; mb_output_handler must be registered as output buffer to function. +; If empty, default_charset or output_encoding or mbstring.http_output is used. +; The precedence is: default_charset < output_encoding < mbstring.http_output +; To use an output encoding conversion, mbstring's output handler must be set +; otherwise output encoding conversion cannot be performed. +; https://php.net/mbstring.http-output +;mbstring.http_output = + +; enable automatic encoding translation according to +; mbstring.internal_encoding setting. Input chars are +; converted to internal encoding by setting this to On. +; Note: Do _not_ use automatic encoding translation for +; portable libs/applications. +; https://php.net/mbstring.encoding-translation +;mbstring.encoding_translation = Off + +; automatic encoding detection order. +; "auto" detect order is changed according to mbstring.language +; https://php.net/mbstring.detect-order +;mbstring.detect_order = auto + +; substitute_character used when character cannot be converted +; one from another +; https://php.net/mbstring.substitute-character +;mbstring.substitute_character = none + +; Enable strict encoding detection. +;mbstring.strict_detection = Off + +; This directive specifies the regex pattern of content types for which mb_output_handler() +; is activated. +; Default: mbstring.http_output_conv_mimetypes=^(text/|application/xhtml\+xml) +;mbstring.http_output_conv_mimetypes= + +; This directive specifies maximum stack depth for mbstring regular expressions. It is similar +; to the pcre.recursion_limit for PCRE. +;mbstring.regex_stack_limit=100000 + +; This directive specifies maximum retry count for mbstring regular expressions. It is similar +; to the pcre.backtrack_limit for PCRE. +;mbstring.regex_retry_limit=1000000 + +[gd] +; Tell the jpeg decode to ignore warnings and try to create +; a gd image. The warning will then be displayed as notices +; disabled by default +; https://php.net/gd.jpeg-ignore-warning +;gd.jpeg_ignore_warning = 1 + +[exif] +; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. +; With mbstring support this will automatically be converted into the encoding +; given by corresponding encode setting. When empty mbstring.internal_encoding +; is used. For the decode settings you can distinguish between motorola and +; intel byte order. A decode setting cannot be empty. +; https://php.net/exif.encode-unicode +;exif.encode_unicode = ISO-8859-15 + +; https://php.net/exif.decode-unicode-motorola +;exif.decode_unicode_motorola = UCS-2BE + +; https://php.net/exif.decode-unicode-intel +;exif.decode_unicode_intel = UCS-2LE + +; https://php.net/exif.encode-jis +;exif.encode_jis = + +; https://php.net/exif.decode-jis-motorola +;exif.decode_jis_motorola = JIS + +; https://php.net/exif.decode-jis-intel +;exif.decode_jis_intel = JIS + +[Tidy] +; The path to a default tidy configuration file to use when using tidy +; https://php.net/tidy.default-config +;tidy.default_config = /usr/local/lib/php/default.tcfg + +; Should tidy clean and repair output automatically? +; WARNING: Do not use this option if you are generating non-html content +; such as dynamic images +; https://php.net/tidy.clean-output +tidy.clean_output = Off + +[soap] +; Enables or disables WSDL caching feature. +; https://php.net/soap.wsdl-cache-enabled +soap.wsdl_cache_enabled=1 + +; Sets the directory name where SOAP extension will put cache files. +; https://php.net/soap.wsdl-cache-dir +soap.wsdl_cache_dir="/tmp" + +; (time to live) Sets the number of second while cached file will be used +; instead of original one. +; https://php.net/soap.wsdl-cache-ttl +soap.wsdl_cache_ttl=86400 + +; Sets the size of the cache limit. (Max. number of WSDL files to cache) +soap.wsdl_cache_limit = 5 + +[sysvshm] +; A default size of the shared memory segment +;sysvshm.init_mem = 10000 + +[ldap] +; Sets the maximum number of open links or -1 for unlimited. +ldap.max_links = -1 + +[dba] +;dba.default_handler= + +[opcache] +; Determines if Zend OPCache is enabled +;opcache.enable=1 + +; Determines if Zend OPCache is enabled for the CLI version of PHP +;opcache.enable_cli=0 + +; The OPcache shared memory storage size. +;opcache.memory_consumption=128 + +; The amount of memory for interned strings in Mbytes. +;opcache.interned_strings_buffer=8 + +; The maximum number of keys (scripts) in the OPcache hash table. +; Only numbers between 200 and 1000000 are allowed. +;opcache.max_accelerated_files=10000 + +; The maximum percentage of "wasted" memory until a restart is scheduled. +;opcache.max_wasted_percentage=5 + +; When this directive is enabled, the OPcache appends the current working +; directory to the script key, thus eliminating possible collisions between +; files with the same name (basename). Disabling the directive improves +; performance, but may break existing applications. +;opcache.use_cwd=1 + +; When disabled, you must reset the OPcache manually or restart the +; webserver for changes to the filesystem to take effect. +;opcache.validate_timestamps=1 + +; How often (in seconds) to check file timestamps for changes to the shared +; memory storage allocation. ("1" means validate once per second, but only +; once per request. "0" means always validate) +;opcache.revalidate_freq=2 + +; Enables or disables file search in include_path optimization +;opcache.revalidate_path=0 + +; If disabled, all PHPDoc comments are dropped from the code to reduce the +; size of the optimized code. +;opcache.save_comments=1 + +; If enabled, compilation warnings (including notices and deprecations) will +; be recorded and replayed each time a file is included. Otherwise, compilation +; warnings will only be emitted when the file is first cached. +;opcache.record_warnings=0 + +; Allow file existence override (file_exists, etc.) performance feature. +;opcache.enable_file_override=0 + +; A bitmask, where each bit enables or disables the appropriate OPcache +; passes +;opcache.optimization_level=0x7FFFBFFF + +;opcache.dups_fix=0 + +; The location of the OPcache blacklist file (wildcards allowed). +; Each OPcache blacklist file is a text file that holds the names of files +; that should not be accelerated. The file format is to add each filename +; to a new line. The filename may be a full path or just a file prefix +; (i.e., /var/www/x blacklists all the files and directories in /var/www +; that start with 'x'). Line starting with a ; are ignored (comments). +;opcache.blacklist_filename= + +; Allows exclusion of large files from being cached. By default all files +; are cached. +;opcache.max_file_size=0 + +; Check the cache checksum each N requests. +; The default value of "0" means that the checks are disabled. +;opcache.consistency_checks=0 + +; How long to wait (in seconds) for a scheduled restart to begin if the cache +; is not being accessed. +;opcache.force_restart_timeout=180 + +; OPcache error_log file name. Empty string assumes "stderr". +;opcache.error_log= + +; All OPcache errors go to the Web server log. +; By default, only fatal errors (level 0) or errors (level 1) are logged. +; You can also enable warnings (level 2), info messages (level 3) or +; debug messages (level 4). +;opcache.log_verbosity_level=1 + +; Preferred Shared Memory back-end. Leave empty and let the system decide. +;opcache.preferred_memory_model= + +; Protect the shared memory from unexpected writing during script execution. +; Useful for internal debugging only. +;opcache.protect_memory=0 + +; Allows calling OPcache API functions only from PHP scripts which path is +; started from specified string. The default "" means no restriction +;opcache.restrict_api= + +; Mapping base of shared memory segments (for Windows only). All the PHP +; processes have to map shared memory into the same address space. This +; directive allows to manually fix the "Unable to reattach to base address" +; errors. +;opcache.mmap_base= + +; Facilitates multiple OPcache instances per user (for Windows only). All PHP +; processes with the same cache ID and user share an OPcache instance. +;opcache.cache_id= + +; Enables and sets the second level cache directory. +; It should improve performance when SHM memory is full, at server restart or +; SHM reset. The default "" disables file based caching. +;opcache.file_cache= + +; Enables or disables opcode caching in shared memory. +;opcache.file_cache_only=0 + +; Enables or disables checksum validation when script loaded from file cache. +;opcache.file_cache_consistency_checks=1 + +; Implies opcache.file_cache_only=1 for a certain process that failed to +; reattach to the shared memory (for Windows only). Explicitly enabled file +; cache is required. +;opcache.file_cache_fallback=1 + +; Enables or disables copying of PHP code (text segment) into HUGE PAGES. +; Under certain circumstances (if only a single global PHP process is +; started from which all others fork), this can increase performance +; by a tiny amount because TLB misses are reduced. On the other hand, this +; delays PHP startup, increases memory usage and degrades performance +; under memory pressure - use with care. +; Requires appropriate OS configuration. +;opcache.huge_code_pages=0 + +; Validate cached file permissions. +;opcache.validate_permission=0 + +; Prevent name collisions in chroot'ed environment. +;opcache.validate_root=0 + +; If specified, it produces opcode dumps for debugging different stages of +; optimizations. +;opcache.opt_debug_level=0 + +; Specifies a PHP script that is going to be compiled and executed at server +; start-up. +; https://php.net/opcache.preload +;opcache.preload= + +; Preloading code as root is not allowed for security reasons. This directive +; facilitates to let the preloading to be run as another user. +; https://php.net/opcache.preload_user +;opcache.preload_user= + +; Prevents caching files that are less than this number of seconds old. It +; protects from caching of incompletely updated files. In case all file updates +; on your site are atomic, you may increase performance by setting it to "0". +;opcache.file_update_protection=2 + +; Absolute path used to store shared lockfiles (for *nix only). +;opcache.lockfile_path=/tmp + +[curl] +; A default value for the CURLOPT_CAINFO option. This is required to be an +; absolute path. +;curl.cainfo = + +[openssl] +; The location of a Certificate Authority (CA) file on the local filesystem +; to use when verifying the identity of SSL/TLS peers. Most users should +; not specify a value for this directive as PHP will attempt to use the +; OS-managed cert stores in its absence. If specified, this value may still +; be overridden on a per-stream basis via the "cafile" SSL stream context +; option. +;openssl.cafile= + +; If openssl.cafile is not specified or if the CA file is not found, the +; directory pointed to by openssl.capath is searched for a suitable +; certificate. This value must be a correctly hashed certificate directory. +; Most users should not specify a value for this directive as PHP will +; attempt to use the OS-managed cert stores in its absence. If specified, +; this value may still be overridden on a per-stream basis via the "capath" +; SSL stream context option. +;openssl.capath= + +[ffi] +; FFI API restriction. Possible values: +; "preload" - enabled in CLI scripts and preloaded files (default) +; "false" - always disabled +; "true" - always enabled +;ffi.enable=preload + +; List of headers files to preload, wildcard patterns allowed. +;ffi.preload= diff --git a/config/php/fpm/pool.d/www.conf b/config/php/fpm/pool.d/www.conf new file mode 100644 index 00000000..4dc90b47 --- /dev/null +++ b/config/php/fpm/pool.d/www.conf @@ -0,0 +1,490 @@ +; Start a new pool named 'www'. +; the variable $pool can be used in any directive and will be replaced by the +; pool name ('www' here) +[www] + +; Per pool prefix +; It only applies on the following directives: +; - 'access.log' +; - 'slowlog' +; - 'listen' (unixsocket) +; - 'chroot' +; - 'chdir' +; - 'php_values' +; - 'php_admin_values' +; When not set, the global prefix (or /usr) applies instead. +; Note: This directive can also be relative to the global prefix. +; Default Value: none +;prefix = /path/to/pools/$pool + +; Unix user/group of the child processes. This can be used only if the master +; process running user is root. It is set after the child process is created. +; The user and group can be specified either by their name or by their numeric +; IDs. +; Note: If the user is root, the executable needs to be started with +; --allow-to-run-as-root option to work. +; Default Values: The user is set to master process running user by default. +; If the group is not set, the user's group is used. +user = www-data +group = www-data + +; The address on which to accept FastCGI requests. +; Valid syntaxes are: +; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on +; a specific port; +; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on +; a specific port; +; 'port' - to listen on a TCP socket to all addresses +; (IPv6 and IPv4-mapped) on a specific port; +; '/path/to/unix/socket' - to listen on a unix socket. +; Note: This value is mandatory. +listen = /run/php/php8.3-fpm.sock + +; Set listen(2) backlog. +; Default Value: 511 (-1 on Linux, FreeBSD and OpenBSD) +;listen.backlog = 511 + +; Set permissions for unix socket, if one is used. In Linux, read/write +; permissions must be set in order to allow connections from a web server. Many +; BSD-derived systems allow connections regardless of permissions. The owner +; and group can be specified either by name or by their numeric IDs. +; Default Values: Owner is set to the master process running user. If the group +; is not set, the owner's group is used. Mode is set to 0660. +listen.owner = www-data +listen.group = www-data +;listen.mode = 0660 + +; When POSIX Access Control Lists are supported you can set them using +; these options, value is a comma separated list of user/group names. +; When set, listen.owner and listen.group are ignored +;listen.acl_users = +;listen.acl_groups = + +; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect. +; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original +; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address +; must be separated by a comma. If this value is left blank, connections will be +; accepted from any ip address. +; Default Value: any +;listen.allowed_clients = 127.0.0.1 + +; Set the associated the route table (FIB). FreeBSD only +; Default Value: -1 +;listen.setfib = 1 + +; Specify the nice(2) priority to apply to the pool processes (only if set) +; The value can vary from -19 (highest priority) to 20 (lower priority) +; Note: - It will only work if the FPM master process is launched as root +; - The pool processes will inherit the master process priority +; unless it specified otherwise +; Default Value: no set +; process.priority = -19 + +; Set the process dumpable flag (PR_SET_DUMPABLE prctl for Linux or +; PROC_TRACE_CTL procctl for FreeBSD) even if the process user +; or group is different than the master process user. It allows to create process +; core dump and ptrace the process for the pool user. +; Default Value: no +; process.dumpable = yes + +; Choose how the process manager will control the number of child processes. +; Possible Values: +; static - a fixed number (pm.max_children) of child processes; +; dynamic - the number of child processes are set dynamically based on the +; following directives. With this process management, there will be +; always at least 1 children. +; pm.max_children - the maximum number of children that can +; be alive at the same time. +; pm.start_servers - the number of children created on startup. +; pm.min_spare_servers - the minimum number of children in 'idle' +; state (waiting to process). If the number +; of 'idle' processes is less than this +; number then some children will be created. +; pm.max_spare_servers - the maximum number of children in 'idle' +; state (waiting to process). If the number +; of 'idle' processes is greater than this +; number then some children will be killed. +; pm.max_spawn_rate - the maximum number of rate to spawn child +; processes at once. +; ondemand - no children are created at startup. Children will be forked when +; new requests will connect. The following parameter are used: +; pm.max_children - the maximum number of children that +; can be alive at the same time. +; pm.process_idle_timeout - The number of seconds after which +; an idle process will be killed. +; Note: This value is mandatory. +pm = static + +; The number of child processes to be created when pm is set to 'static' and the +; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. +; This value sets the limit on the number of simultaneous requests that will be +; served. Equivalent to the ApacheMaxClients directive with mpm_prefork. +; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP +; CGI. The below defaults are based on a server without much resources. Don't +; forget to tweak pm.* to fit your needs. +; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' +; Note: This value is mandatory. +pm.max_children = 64 + +; The number of child processes created on startup. +; Note: Used only when pm is set to 'dynamic' +; Default Value: (min_spare_servers + max_spare_servers) / 2 +pm.start_servers = 2 + +; The desired minimum number of idle server processes. +; Note: Used only when pm is set to 'dynamic' +; Note: Mandatory when pm is set to 'dynamic' +pm.min_spare_servers = 1 + +; The desired maximum number of idle server processes. +; Note: Used only when pm is set to 'dynamic' +; Note: Mandatory when pm is set to 'dynamic' +pm.max_spare_servers = 3 + +; The number of rate to spawn child processes at once. +; Note: Used only when pm is set to 'dynamic' +; Note: Mandatory when pm is set to 'dynamic' +; Default Value: 32 +;pm.max_spawn_rate = 32 + +; The number of seconds after which an idle process will be killed. +; Note: Used only when pm is set to 'ondemand' +; Default Value: 10s +;pm.process_idle_timeout = 10s; + +; The number of requests each child process should execute before respawning. +; This can be useful to work around memory leaks in 3rd party libraries. For +; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS. +; Default Value: 0 +pm.max_requests = 10000 + +; The URI to view the FPM status page. If this value is not set, no URI will be +; recognized as a status page. It shows the following information: +; pool - the name of the pool; +; process manager - static, dynamic or ondemand; +; start time - the date and time FPM has started; +; start since - number of seconds since FPM has started; +; accepted conn - the number of request accepted by the pool; +; listen queue - the number of request in the queue of pending +; connections (see backlog in listen(2)); +; max listen queue - the maximum number of requests in the queue +; of pending connections since FPM has started; +; listen queue len - the size of the socket queue of pending connections; +; idle processes - the number of idle processes; +; active processes - the number of active processes; +; total processes - the number of idle + active processes; +; max active processes - the maximum number of active processes since FPM +; has started; +; max children reached - number of times, the process limit has been reached, +; when pm tries to start more children (works only for +; pm 'dynamic' and 'ondemand'); +; Value are updated in real time. +; Example output: +; pool: www +; process manager: static +; start time: 01/Jul/2011:17:53:49 +0200 +; start since: 62636 +; accepted conn: 190460 +; listen queue: 0 +; max listen queue: 1 +; listen queue len: 42 +; idle processes: 4 +; active processes: 11 +; total processes: 15 +; max active processes: 12 +; max children reached: 0 +; +; By default the status page output is formatted as text/plain. Passing either +; 'html', 'xml' or 'json' in the query string will return the corresponding +; output syntax. Example: +; http://www.foo.bar/status +; http://www.foo.bar/status?json +; http://www.foo.bar/status?html +; http://www.foo.bar/status?xml +; +; By default the status page only outputs short status. Passing 'full' in the +; query string will also return status for each pool process. +; Example: +; http://www.foo.bar/status?full +; http://www.foo.bar/status?json&full +; http://www.foo.bar/status?html&full +; http://www.foo.bar/status?xml&full +; The Full status returns for each process: +; pid - the PID of the process; +; state - the state of the process (Idle, Running, ...); +; start time - the date and time the process has started; +; start since - the number of seconds since the process has started; +; requests - the number of requests the process has served; +; request duration - the duration in µs of the requests; +; request method - the request method (GET, POST, ...); +; request URI - the request URI with the query string; +; content length - the content length of the request (only with POST); +; user - the user (PHP_AUTH_USER) (or '-' if not set); +; script - the main script called (or '-' if not set); +; last request cpu - the %cpu the last request consumed +; it's always 0 if the process is not in Idle state +; because CPU calculation is done when the request +; processing has terminated; +; last request memory - the max amount of memory the last request consumed +; it's always 0 if the process is not in Idle state +; because memory calculation is done when the request +; processing has terminated; +; If the process is in Idle state, then informations are related to the +; last request the process has served. Otherwise informations are related to +; the current request being served. +; Example output: +; ************************ +; pid: 31330 +; state: Running +; start time: 01/Jul/2011:17:53:49 +0200 +; start since: 63087 +; requests: 12808 +; request duration: 1250261 +; request method: GET +; request URI: /test_mem.php?N=10000 +; content length: 0 +; user: - +; script: /home/fat/web/docs/php/test_mem.php +; last request cpu: 0.00 +; last request memory: 0 +; +; Note: There is a real-time FPM status monitoring sample web page available +; It's available in: /usr/share/php/8.3/fpm/status.html +; +; Note: The value must start with a leading slash (/). The value can be +; anything, but it may not be a good idea to use the .php extension or it +; may conflict with a real PHP file. +; Default Value: not set +;pm.status_path = /status + +; The address on which to accept FastCGI status request. This creates a new +; invisible pool that can handle requests independently. This is useful +; if the main pool is busy with long running requests because it is still possible +; to get the status before finishing the long running requests. +; +; Valid syntaxes are: +; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on +; a specific port; +; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on +; a specific port; +; 'port' - to listen on a TCP socket to all addresses +; (IPv6 and IPv4-mapped) on a specific port; +; '/path/to/unix/socket' - to listen on a unix socket. +; Default Value: value of the listen option +;pm.status_listen = 127.0.0.1:9001 + +; The ping URI to call the monitoring page of FPM. If this value is not set, no +; URI will be recognized as a ping page. This could be used to test from outside +; that FPM is alive and responding, or to +; - create a graph of FPM availability (rrd or such); +; - remove a server from a group if it is not responding (load balancing); +; - trigger alerts for the operating team (24/7). +; Note: The value must start with a leading slash (/). The value can be +; anything, but it may not be a good idea to use the .php extension or it +; may conflict with a real PHP file. +; Default Value: not set +;ping.path = /ping + +; This directive may be used to customize the response of a ping request. The +; response is formatted as text/plain with a 200 response code. +; Default Value: pong +;ping.response = pong + +; The access log file +; Default: not set +;access.log = log/$pool.access.log + +; The access log format. +; The following syntax is allowed +; %%: the '%' character +; %C: %CPU used by the request +; it can accept the following format: +; - %{user}C for user CPU only +; - %{system}C for system CPU only +; - %{total}C for user + system CPU (default) +; %d: time taken to serve the request +; it can accept the following format: +; - %{seconds}d (default) +; - %{milliseconds}d +; - %{milli}d +; - %{microseconds}d +; - %{micro}d +; %e: an environment variable (same as $_ENV or $_SERVER) +; it must be associated with embraces to specify the name of the env +; variable. Some examples: +; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e +; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e +; %f: script filename +; %l: content-length of the request (for POST request only) +; %m: request method +; %M: peak of memory allocated by PHP +; it can accept the following format: +; - %{bytes}M (default) +; - %{kilobytes}M +; - %{kilo}M +; - %{megabytes}M +; - %{mega}M +; %n: pool name +; %o: output header +; it must be associated with embraces to specify the name of the header: +; - %{Content-Type}o +; - %{X-Powered-By}o +; - %{Transfert-Encoding}o +; - .... +; %p: PID of the child that serviced the request +; %P: PID of the parent of the child that serviced the request +; %q: the query string +; %Q: the '?' character if query string exists +; %r: the request URI (without the query string, see %q and %Q) +; %R: remote IP address +; %s: status (response code) +; %t: server time the request was received +; it can accept a strftime(3) format: +; %d/%b/%Y:%H:%M:%S %z (default) +; The strftime(3) format must be encapsulated in a %{}t tag +; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t +; %T: time the log has been written (the request has finished) +; it can accept a strftime(3) format: +; %d/%b/%Y:%H:%M:%S %z (default) +; The strftime(3) format must be encapsulated in a %{}t tag +; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t +; %u: remote user +; +; Default: "%R - %u %t \"%m %r\" %s" +;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{milli}d %{kilo}M %C%%" + +; A list of request_uri values which should be filtered from the access log. +; +; As a security precuation, this setting will be ignored if: +; - the request method is not GET or HEAD; or +; - there is a request body; or +; - there are query parameters; or +; - the response code is outwith the successful range of 200 to 299 +; +; Note: The paths are matched against the output of the access.format tag "%r". +; On common configurations, this may look more like SCRIPT_NAME than the +; expected pre-rewrite URI. +; +; Default Value: not set +;access.suppress_path[] = /ping +;access.suppress_path[] = /health_check.php + +; The log file for slow requests +; Default Value: not set +; Note: slowlog is mandatory if request_slowlog_timeout is set +;slowlog = log/$pool.log.slow + +; The timeout for serving a single request after which a PHP backtrace will be +; dumped to the 'slowlog' file. A value of '0s' means 'off'. +; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) +; Default Value: 0 +;request_slowlog_timeout = 0 + +; Depth of slow log stack trace. +; Default Value: 20 +;request_slowlog_trace_depth = 20 + +; The timeout for serving a single request after which the worker process will +; be killed. This option should be used when the 'max_execution_time' ini option +; does not stop script execution for some reason. A value of '0' means 'off'. +; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) +; Default Value: 0 +;request_terminate_timeout = 0 + +; The timeout set by 'request_terminate_timeout' ini option is not engaged after +; application calls 'fastcgi_finish_request' or when application has finished and +; shutdown functions are being called (registered via register_shutdown_function). +; This option will enable timeout limit to be applied unconditionally +; even in such cases. +; Default Value: no +;request_terminate_timeout_track_finished = no + +; Set open file descriptor rlimit. +; Default Value: system defined value +;rlimit_files = 1024 + +; Set max core size rlimit. +; Possible Values: 'unlimited' or an integer greater or equal to 0 +; Default Value: system defined value +;rlimit_core = 0 + +; Chroot to this directory at the start. This value must be defined as an +; absolute path. When this value is not set, chroot is not used. +; Note: you can prefix with '$prefix' to chroot to the pool prefix or one +; of its subdirectories. If the pool prefix is not set, the global prefix +; will be used instead. +; Note: chrooting is a great security feature and should be used whenever +; possible. However, all PHP paths will be relative to the chroot +; (error_log, sessions.save_path, ...). +; Default Value: not set +;chroot = + +; Chdir to this directory at the start. +; Note: relative path can be used. +; Default Value: current directory or / when chroot +;chdir = /var/www + +; Redirect worker stdout and stderr into main error log. If not set, stdout and +; stderr will be redirected to /dev/null according to FastCGI specs. +; Note: on highloaded environment, this can cause some delay in the page +; process time (several ms). +; Default Value: no +;catch_workers_output = yes + +; Decorate worker output with prefix and suffix containing information about +; the child that writes to the log and if stdout or stderr is used as well as +; log level and time. This options is used only if catch_workers_output is yes. +; Settings to "no" will output data as written to the stdout or stderr. +; Default value: yes +;decorate_workers_output = no + +; Clear environment in FPM workers +; Prevents arbitrary environment variables from reaching FPM worker processes +; by clearing the environment in workers before env vars specified in this +; pool configuration are added. +; Setting to "no" will make all environment variables available to PHP code +; via getenv(), $_ENV and $_SERVER. +; Default Value: yes +;clear_env = no + +; Limits the extensions of the main script FPM will allow to parse. This can +; prevent configuration mistakes on the web server side. You should only limit +; FPM to .php extensions to prevent malicious users to use other extensions to +; execute php code. +; Note: set an empty value to allow all extensions. +; Default Value: .php +;security.limit_extensions = .php .php3 .php4 .php5 .php7 + +; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from +; the current environment. +; Default Value: clean env +;env[HOSTNAME] = $HOSTNAME +;env[PATH] = /usr/local/bin:/usr/bin:/bin +;env[TMP] = /tmp +;env[TMPDIR] = /tmp +;env[TEMP] = /tmp + +; Additional php.ini defines, specific to this pool of workers. These settings +; overwrite the values previously defined in the php.ini. The directives are the +; same as the PHP SAPI: +; php_value/php_flag - you can set classic ini defines which can +; be overwritten from PHP call 'ini_set'. +; php_admin_value/php_admin_flag - these directives won't be overwritten by +; PHP call 'ini_set' +; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. + +; Defining 'extension' will load the corresponding shared extension from +; extension_dir. Defining 'disable_functions' or 'disable_classes' will not +; overwrite previously defined php.ini values, but will append the new value +; instead. + +; Note: path INI options can be relative and will be expanded with the prefix +; (pool, global or /usr) + +; Default Value: nothing is defined by default except the values in php.ini and +; specified at startup with the -d argument +;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com +;php_flag[display_errors] = off +;php_admin_value[error_log] = /var/log/fpm-php.www.log +;php_admin_flag[log_errors] = on +;php_admin_value[memory_limit] = 32M diff --git a/htdocs/.htaccess b/htdocs/.htaccess new file mode 100755 index 00000000..77113e2d --- /dev/null +++ b/htdocs/.htaccess @@ -0,0 +1,10 @@ + + ExpiresActive On + ExpiresByType image/jpg "access 1 month" + ExpiresByType image/jpeg "access 1 month" + ExpiresByType image/gif "access 1 month" + ExpiresByType image/png "access 1 month" + ExpiresDefault "access 1 week" + + Header set Access-Control-Allow-Origin "*" + diff --git a/htdocs/includes/autoload.php b/htdocs/includes/autoload.php new file mode 100644 index 00000000..41a569a5 --- /dev/null +++ b/htdocs/includes/autoload.php @@ -0,0 +1,25 @@ +getAll(); + + // Dev overrides + if (isset($_SERVER["SERVER_ADDR"]) && $_SERVER['SERVER_ADDR'] == '192.168.9.100') + { + $config["website"]["websocket_url"] = 'ws://192.168.9.209:9000/ws'; + $config["website"]["ajax_domain"] = '192.168.9.100'; + } + + // Start a local (or Dummy) Session + if (!defined('NO_SESSION')) $tdSession = Session::getInstance(); + + // Load languages + $language = LanguageRepository::getInstance()->getAll(); +} diff --git a/htdocs/includes/common.php b/htdocs/includes/common.php new file mode 100644 index 00000000..24c57855 --- /dev/null +++ b/htdocs/includes/common.php @@ -0,0 +1,3039 @@ +isImperialUnitUser(); +} + +/** + * Convert km to miles (or kmh to mph) + * + * @param {float} value + * @return float + */ +function convertKilometerToMile($value) +{ + return $value * 0.621371192; +} + +/** + * Convert meter to feet + * + * @param {float} value + * @return float + */ +function convertMeterToFeet($value) +{ + return $value * 3.2808399; +} + +/** + * Convert meter per second to miles per second + * + * @param {float} value + * @return float + */ +function convertMpsToMph($value) +{ + return $value * 2.23693629; +} + +/** + * Convert meter to yard + * + * @param {float} value + * @return float + */ +function convertMeterToYard($value) +{ + return $value * 1.0936133; +} + +/** + * Convert mm to inches + * + * @param {float} value + * @return float + */ +function convertMmToInch($value) +{ + return $value * 0.0393700787; +} + +/** + * Convert celcius to fahrenheit + * + * @param {float} value + * @return float + */ +function convertCelciusToFahrenheit($value) +{ + return $value * (9/5) + 32; +} + +/** + * Calculate wind chill and return celcius temperature + * + * @param {float} temp Temperature in degrees celcius + * @param {float} speed Wind speed in m/s + * @return float + */ +function calculateMetricWindChill($temp, $speed) +{ + // Convert windspeed m/s to Km/h + $speed *= 3.6; + + if ($temp > 10) return null; + if ($speed <= 4.8) return $temp; + + return 13.12 + (0.6215 * $temp) + ((0.3965 * $temp - 11.37) * pow($speed, 0.16)); +} + +/** + * Calculate wind chill and return fahrenheit temperature + * + * @param {float} temp Temperature in degrees celcius + * @param {float} speed Wind speed in m/s + * @return float + */ +function calculateImperialWindChill($temp, $speed) +{ + $value = calculateMetricWindChill($temp, $speed); + if ($value) + { + $value = convertCelciusToFahrenheit($value); + } + + return $value; +} + +/** + * Convert hPa/mbar to mmhg + * + * @param {float} value + * @return float + */ +function convertMbarToMmhg($value) +{ + return $value * 0.75006375541921; +} + +/** + * Convert hPa/mbar to inches hg + * + * @param {float} value + * @return float + */ +function convertMbarToInchHg($value) +{ + return $value * 0.0295301; +} + +/** + * Convert a value based on its unit + * + * @param {float} value + * @param {string} unit + * @return float + */ +function universalDataUnitConvert($value, $unit) +{ + if (!isImperialUnitUser()) return array('value' => $value, 'unit' => $unit); + $unit = trim($unit); + + if ($unit == 'C') return array('value' => round(convertCelciusToFahrenheit($value), 2), 'unit' => 'F'); + return array('value' => $value, 'unit' => $unit); +} + +/** + * Returnes true if value is float + * + * @param mixed $value + * @return boolean + */ +function isFloat($value) +{ + if (is_numeric($value)) + { + // PHP automagically tries to coerce $value to a number + return is_float($value + 0); + } + return false; +} + +/** + * Returnes true if value is int + * + * @param mixed $value + * @return boolean + */ +function isInt($value) +{ + return (ctype_digit(strval($value))); +} + +/** + * Replace first occurence + * + * @param string $search + * @param string $replace + * @param string $string + * @return string + */ +function str_replace_first($search, $replace, $string) +{ + $pos = strpos($string, $search); + if ($pos !== false) + { + return substr_replace($string, $replace, $pos, strlen($search)); + } + else + { + return $string; + } +} + +/** + * Gets the APRS data source filter from an HTTP request + * + * @param array $defaultValues (Default data source values to use if none set) + * @param string $method (INPUT_GET or INPUT_POST) + * @param varname $string (Key to look for, default 'source') + * @return array (Data sources) + */ +function getAPRSFilterSourceFromRequest($defaultValues = [SOURCE_APRS,SOURCE_CWOP,SOURCE_CBAPRS,SOURCE_OGN], $method = INPUT_GET, $varname = 'source') +{ + $source = array_filter(array_unique(filter_input($method, $varname, FILTER_VALIDATE_INT, ['flags' => FILTER_REQUIRE_ARRAY | FILTER_NULL_ON_FAILURE | FILTER_FORCE_ARRAY, 'options' => ['min_range'=> SOURCE_APRS, 'max_range'=> SOURCE_OGN]]) ?: $defaultValues)); + if (sizeof($source) == 0) $source = $defaultValues; + + return $source; +} + +/* + * Returnes symbol description + * + * @param string $symbolTable + * @param string $symbol + * @param boolean $includeUndefinedOverlay + * @return string + */ +function getSymbolDescription($symbolTable, $symbol, $includeUndefinedOverlay) +{ + if ($symbolTable == '/') + { + switch ($symbol) + { + case '!': + return 'Police, Sheriff'; + case '"': + return 'No Symbol'; + case '#': + return 'Digipeater'; + case '$': + return 'Phone'; + case '%': + return 'DX Cluster'; + case '&': + return 'HF Gateway'; + case '\'': + return 'Small Aircraft'; + case '(': + return 'Mobile Satellite Station'; + case ')': + return 'Wheelchair (handicapped)'; + case '*': + return 'Snowmobile'; + case '+': + return 'Red Cross'; + case ',': + return 'Scout (Boy Scout)'; + case '-': + return 'House (VHF)'; + case '.': + return 'X'; + case '/': + return 'Red Dot'; + case '0': + return 'Circle (0)'; + case '1': + return 'Circle (1)'; + case '2': + return 'Circle (2)'; + case '3': + return 'Circle (3)'; + case '4': + return 'Circle (4)'; + case '5': + return 'Circle (5)'; + case '6': + return 'Circle (6)'; + case '7': + return 'Circle (7)'; + case '8': + return 'Circle (8)'; + case '9': + return 'Circle (9)'; + case ':': + return 'Fire'; + case ';': + return 'Campground or Portable operation'; + case '<': + return 'Motorcycle'; + case '=': + return 'Railroad Engine'; + case '>': + return 'Car'; + case '?': + return 'File server'; + case '@': + return 'Hurricane prediction'; + case 'A': + return 'Aid Station'; + case 'B': + return 'BBS or PBBS'; + case 'C': + return 'Canoe'; + case 'D': + return 'No Symbol'; // was originally undefined + case 'E': + return 'Event (Special live event)'; // Eyeball + case 'F': + return 'Farm Vehicle (tractor)'; + case 'G': + return 'Grid Square (6 digit)'; + case 'H': + return 'Hotel (blue bed symbol)'; + case 'I': + return 'TCP/IP network station'; + case 'J': + return 'No Symbol'; + case 'K': + return 'School'; + case 'L': + return 'Logged-ON user (or PC User)'; + case 'M': + return 'MacAPRS'; + case 'N': + return 'NTS Station'; + case 'O': + return 'Balloon'; + case 'P': + return 'Police'; + case 'Q': + return 'TBD'; + case 'R': + return 'Recreational Vehicle'; + case 'S': + return 'Shuttle'; + case 'T': + return 'SSTV'; + case 'U': + return 'Bus'; + case 'V': + return 'ATV'; + case 'W': + return 'National Weather Service'; + case 'X': + return 'Helicopter'; + case 'Y': + return 'Yacht (sail)'; + case 'Z': + return 'WinAPRS'; + case '[': + return 'Human/Person'; + case '\\': + return 'Triangle (DF station)'; + case ']': + return 'Mail/PostOffice'; + case '^': + return 'Large Aircraft'; + case '_': + return 'Weather Station'; + case '`': + return 'Dish Antenna'; + case 'a': + return 'Ambulance'; + case 'b': + return 'Bike'; + case 'c': + return 'Incident Command Post'; + case 'd': + return 'Fire Station'; + case 'e': + return 'Horse (equestrian)'; + case 'f': + return 'Fire Truck'; + case 'g': + return 'Glider'; + case 'h': + return 'Hospital'; + case 'i': + return 'IOTA (islands on the air)'; + case 'j': + return 'Jeep'; + case 'k': + return 'Truck'; + case 'l': + return 'Laptop'; + case 'm': + return 'Mic-E Repeater'; + case 'n': + return 'Node (black bulls-eye)'; + case 'o': + return 'EOC'; + case 'p': + return 'Rover (puppy, or dog)'; + case 'q': + return 'Grid square'; + case 'r': + return 'Antenna'; + case 's': + return 'Power Boat'; + case 't': + return 'Truck Stop'; + case 'u': + return 'Truck (18 wheeler)'; + case 'v': + return 'Van'; + case 'w': + return 'Water Station'; + case 'x': + return 'xAPRS (Unix)'; + case 'y': + return 'Yagi @ QTH'; + case 'z': + return 'Shelter'; + case '{': + return 'No Symbol'; + case '|': + return 'TNC Stream Switch'; + case '}': + return 'No Symbol'; + case '~': + return 'TNC Stream Switch'; + } + + } + else + { + switch ($symbol) + { + case '!': + switch ($symbolTable) + { + case "\\": + return 'Emergency!'; + case 'E': + return 'ELT or EPIRB'; + case 'V': + return 'Volcanic Eruption or Lava'; + default: + if ($includeUndefinedOverlay) + { + return 'Emergency (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '"': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '#': + switch ($symbolTable) + { + case '\\': + return 'Digipeater'; + case 'A': + return 'Digipeater (An Alt-Freq input digi)'; + case 'R': + return 'Digipeater (RELAY only)'; + case 'W': + return 'Digipeater (RELAY and WIDE)'; + case 'T': + return 'Digipeater (PacComm RELAY,WIDE and TRACE)'; + case 'N': + return 'Digipeater (WIDEn-N and relay,wide,trace)'; + case 'I': + return 'Digipeater (digipeater is also an IGate)'; + case 'L': + return 'Digipeater (LIMITED New n-N Paradigm digi)'; + case 'S': + return 'Digipeater (New n-N Paradigm digi)'; + case 'P': + return 'Digipeater (PacComm, New n-N Paradigm)'; + case 'U': + return 'Digipeater (UI-DIGI firmware)'; + case 'D': + return 'Digipeater (DIGI_NED)'; + case '1': + return 'Digipeater (Fill-in digi, 1-hop limit)'; + case 'X': + return 'Digipeater (Experimental)'; + default: + if ($includeUndefinedOverlay) + { + return 'Digipeater (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '$': + switch ($symbolTable) + { + case '\\': + return 'Bank or ATM'; + case 'U': + return 'ATM (US dollars)'; + case 'L': + return 'ATM (Brittish Pound)'; + case 'Y': + return 'ATM (Japanese Yen)'; + default: + if ($includeUndefinedOverlay) + { + return 'Bank or ATM (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case '%': + switch ($symbolTable) + { + case '\\': + return 'Power/Energy'; + case 'C': + return 'Power/Energy (Coal)'; + case 'E': + return 'Power/Energy (Emergency)'; + case 'G': + return 'Power/Energy (Geothermal)'; + case 'H': + return 'Power/Energy (Hydroelectric)'; + case 'N': + return 'Power/Energy (Nuclear)'; + case 'P': + return 'Power/Energy (Portable)'; + case 'S': + return 'Power/Energy (Solar)'; + case 'T': + return 'Power/Energy (Turbine)'; + case 'W': + return 'Power/Energy (Wind)'; + default: + if ($includeUndefinedOverlay) + { + return 'Power/Energy'; + } + else + { + return null; + } + } + case '&': + switch ($symbolTable) + { + case '\\': + return 'Gateway'; + case 'I': + return 'Igate (Generic)'; + case 'R': + return 'Receive only IGate'; + case 'P': + return 'PSKmail node'; + case 'T': + return 'TX Igate (with path set to 1 hop)'; + case 'W': + return 'WIRES-X'; + case '2': + return 'TX igate (with path set to 2 hops)'; + case 'D': + return 'D-STAR (D-PRS IGate)'; + default: + if ($includeUndefinedOverlay) + { + return 'Gateway (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '\'': + switch ($symbolTable) + { + case '\\': + return 'Incident site (Airplane Crash Site)'; + case 'A': + return 'Incident site (Automobile crash site)'; + case 'H': + return 'Incident site (Hazardous incident)'; + case 'M': + return 'Incident site (Multi-Vehicle crash site)'; + case 'P': + return 'Incident site (Pileup)'; + case 'T': + return 'Incident site (Truck wreck)'; + default: + if ($includeUndefinedOverlay) + { + return 'Incident site'; + } + else + { + return null; + } + } + case '(': + switch ($symbolTable) + { + case "\\": + return 'Cloudy'; + default: + if ($includeUndefinedOverlay) + { + return 'Cloudy'; + } + else + { + return null; + } + } + + case ')': + switch ($symbolTable) + { + case "\\": + return 'Firenet MEO (Modis Earth Observatory)'; + default: + if ($includeUndefinedOverlay) + { + return 'Firenet MEO (Modis Earth Observatory)'; + } + else + { + return null; + } + } + + case '*': + switch ($symbolTable) + { + case "\\": + return 'Snow'; + default: + if ($includeUndefinedOverlay) + { + return 'Snow'; + } + else + { + return null; + } + } + + case '+': + switch ($symbolTable) + { + case "\\": + return 'Church'; + default: + if ($includeUndefinedOverlay) + { + return 'Church'; + } + else + { + return null; + } + } + + case ',': + switch ($symbolTable) + { + case "\\": + return 'Scout (Girl Scout)'; + default: + if ($includeUndefinedOverlay) + { + return 'Scout (Girl Scout)'; + } + else + { + return null; + } + } + + case '-': + switch ($symbolTable) + { + case '\\': + return 'House (HF)'; + case '5': + return 'House (50 Hz mains power)'; + case '6': + return 'House (60 Hz mains power)'; + case 'B': + return 'House (Backup Battery Power)'; + case 'C': + return 'House (Ham club)'; + case 'E': + return 'House (Emergency power)'; + case 'G': + return 'House (Geothermal)'; + case 'H': + return 'House (Hydro powered)'; + case 'O': + return 'House (Operator Present)'; + case 'S': + return 'House (Solar Powered)'; + case 'W': + return 'House (Wind powered)'; + default: + if ($includeUndefinedOverlay) + { + return 'House (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case '.': + switch ($symbolTable) + { + case "\\": + return 'Unknown Position'; + default: + if ($includeUndefinedOverlay) + { + return 'Unknown Position'; + } + else + { + return null; + } + } + + case '/': + switch ($symbolTable) + { + case "\\": + return 'Waypoint Destination'; + default: + if ($includeUndefinedOverlay) + { + return 'Waypoint Destination'; + } + else + { + return null; + } + } + + case '0': + switch ($symbolTable) + { + case '\\': + return 'Circle'; + case 'A': + return 'Allstar Node'; + case 'E': + return 'Echolink Node'; + case 'I': + return 'IRLP repeater'; + case 'S': + return 'Staging Area'; + case 'V': + return 'Echolink and IRLP (VOIP)'; + case 'W': + return 'WIRES (Yaesu VOIP)'; + default: + if ($includeUndefinedOverlay) + { + return 'Circle (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '8': + switch ($symbolTable) + { + case '\\': + return 'No Symbol'; + case '8': + return '802.11 network node'; + case 'G': + return '802.11G'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '9': + switch ($symbolTable) { + case "\\": + return 'Gas Station'; + default: + if ($includeUndefinedOverlay) + { + return 'Gas Station'; + } + else + { + return null; + } + } + + case ':': + switch ($symbolTable) + { + case "\\": + return 'Hail (weather condition)'; + default: + if ($includeUndefinedOverlay) + { + return 'Hail (weather condition)'; + } + else + { + return null; + } + } + + case ';': + switch ($symbolTable) + { + case '\\': + return 'Portable, Park or Picnic'; + case 'F': + return 'Field Day'; + case 'I': + return 'Islands on the air'; + case 'S': + return 'Summits on the air'; + case 'W': + return 'WOTA'; + default: + if ($includeUndefinedOverlay) + { + return 'Portable'; + } + else + { + return null; + } + } + + case '<': + switch ($symbolTable) + { + case "\\": + return 'Advisory (single gale flag)'; + default: + if ($includeUndefinedOverlay) { + return 'Advisory (single gale flag)'; + } + else + { + return null; + } + } + + case '=': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '>': + switch ($symbolTable) + { + case '\\': + return 'Car'; + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + case '0': + return 'Numbered Car (' . $symbolTable . ')'; + case 'E': + return 'Car (Electric)'; + case 'H': + return 'Car (Hybrid)'; + case 'S': + return 'Car (Solar powered)'; + case 'V': + return 'Car (GM Volt)'; + default: + if ($includeUndefinedOverlay) + { + return 'Car (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case '?': + switch ($symbolTable) + { + case "\\": + return 'Info Kiosk'; + default: + if ($includeUndefinedOverlay) + { + return 'Info Kiosk'; + } + else + { + return null; + } + } + + case '@': + switch ($symbolTable) + { + case "\\": + return 'Hurricane/Tropical storm'; + default: + if ($includeUndefinedOverlay) + { + return 'Hurricane/Tropical storm (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'A': + switch ($symbolTable) + { + case '\\': + return 'Box'; + case '9': + return 'Mobile DTMF user'; + case '7': + return 'HT DTMF user'; + case 'H': + return 'House DTMF user'; + case 'E': + return 'Echolink DTMF report'; + case 'I': + return 'IRLP DTMF report'; + case 'R': + return 'RFID report'; + case 'A': + return 'AllStar DTMF report'; + case 'D': + return 'D-Star report'; + case 'X': + return 'OLPC Laptop XO'; + default: + if ($includeUndefinedOverlay) + { + return 'Box (' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'B': + switch ($symbolTable) + { + case "\\": + return 'Blowing snow'; + default: + if ($includeUndefinedOverlay) + { + return 'Blowing snow'; + } + else + { + return null; + } + } + + case 'C': + switch ($symbolTable) + { + case "\\": + return 'Coast Guard'; + default: + if ($includeUndefinedOverlay) + { + return 'Coast Guard'; + } + else + { + return null; + } + } + + case 'D': + switch ($symbolTable) + { + case '\\': + return 'Depot'; // drizzle rain moved to ' ovlyD + case 'A': + return 'Airport'; + case 'F': + return 'Ferry Landing'; + case 'H': + return 'Heloport'; + case 'R': + return 'Rail Depot'; + case 'B': + return 'Bus Depot'; + case 'L': + return 'LIght Rail or Subway'; + case 'S': + return 'Seaport Depot'; + default: + if ($includeUndefinedOverlay) + { + return 'Depot (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'E': + switch ($symbolTable) + { + case '\\': + return 'Smoke'; + case 'H': + return 'Haze'; + case 'S': + return 'Smoke'; + case 'B': + return 'Blowing Snow'; // was \B + case 'D': + return 'Blowing Dust or Sand'; // was \b + case 'F': + return 'Fog'; // was \{ + default: + if ($includeUndefinedOverlay) + { + return 'Smoke (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'F': + switch ($symbolTable) + { + case "\\": + return 'Freezing rain'; + default: + if ($includeUndefinedOverlay) + { + return 'Freezing rain'; + } + else + { + return null; + } + } + + case 'G': + switch ($symbolTable) { + case "\\": + return 'Snow Shower'; + default: + if ($includeUndefinedOverlay) + { + return 'Snow Shower'; + } + else + { + return null; + } + } + + case 'H': + switch ($symbolTable) + { + case '\\': + return 'Haze'; + case 'R': + return 'Radiation detector'; + case 'W': + return 'Hazardous Waste'; + case 'X': + return 'Skull&Crossbones'; + default: + if ($includeUndefinedOverlay) + { + return 'Hazard (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'I': + switch ($symbolTable) + { + case "\\": + return 'Rain Shower'; + default: + if ($includeUndefinedOverlay) + { + return 'Rain Shower'; + } + else + { + return null; + } + } + + case 'J': + switch ($symbolTable) + { + case "\\": + return 'Lightning'; + default: + if ($includeUndefinedOverlay) + { + return 'Lightning'; + } + else + { + return null; + } + } + + case 'K': + switch ($symbolTable) + { + case "\\": + return 'Kenwood HT'; + default: + if ($includeUndefinedOverlay) + { + return 'Kenwood HT'; + } + else + { + return null; + } + } + + case 'L': + switch ($symbolTable) + { + case "\\": + return 'Lighthouse'; + default: + if ($includeUndefinedOverlay) + { + return 'Lighthouse (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'M': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case 'N': + switch ($symbolTable) + { + case "\\": + return 'Navigation Buoy'; + default: + if ($includeUndefinedOverlay) + { + return 'Navigation Buoy (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'O': + switch ($symbolTable) + { + case '\\': + return 'Rocket (amateur)'; + case 'B': + return 'Blimp (non-rigid airship)'; + case 'M': + return 'Manned Balloon'; + case 'T': + return 'Teathered Balloon'; + case 'C': + return 'Constant Pressure Balloon - Long duration'; + case 'R': + return 'Rocket bearing Balloon (Rockoon)'; + default: + if ($includeUndefinedOverlay) + { + return 'Balloon (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'P': + switch ($symbolTable) + { + case "\\": + return 'Parking'; + default: + if ($includeUndefinedOverlay) + { + return 'Parking (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'Q': + switch ($symbolTable) + { + case "\\": + return 'Quake'; + default: + if ($includeUndefinedOverlay) + { + return 'Quake'; + } + else + { + return null; + } + } + + case 'R': + switch ($symbolTable) + { + case '\\': + return 'Restaurant (generic)'; + case '7': + return 'Restaurant (7/11)'; + case 'K': + return 'Restaurant (KFC)'; + case 'M': + return 'Restaurant (McDonalds)'; + case 'T': + return 'Restaurant (Taco Bell)'; + default: + if ($includeUndefinedOverlay) + { + return 'Restaurant (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'S': + switch ($symbolTable) + { + case "\\": + return 'Satellite/Pacsat'; + default: + if ($includeUndefinedOverlay) + { + return 'Satellite/Pacsat (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'T': + switch ($symbolTable) + { + case "\\": + return 'Thunderstorm'; + default: + if ($includeUndefinedOverlay) + { + return 'Thunderstorm (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'U': + switch ($symbolTable) + { + case "\\": + return 'Sunny'; + default: + if ($includeUndefinedOverlay) + { + return 'Sunny (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'V': + switch ($symbolTable) + { + case "\\": + return 'VORTAC Navigation Aid'; + default: + if ($includeUndefinedOverlay) + { + return 'VORTAC Navigation Aid'; + } + else + { + return null; + } + } + + case 'W': + switch ($symbolTable) + { + case "\\": + return 'National Weather Service'; + default: + if ($includeUndefinedOverlay) + { + return 'National Weather Service (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'X': + switch ($symbolTable) + { + case "\\": + return 'Pharmacy'; + default: + if ($includeUndefinedOverlay) + { + return 'Pharmacy'; + } + else + { + return null; + } + } + + case 'Y': + switch ($symbolTable) + { + case '\\': + return 'Radio/APRS Device'; + case 'A': + return 'Alinco'; + case 'B': + return 'Byonics'; + case 'I': + return 'Icom'; + case 'K': + return 'Kenwood'; + case 'Y': + return 'Yaesu/Standard'; + default: + if ($includeUndefinedOverlay) + { + return 'Radio/APRS Device'; // or "No Symbol"? + } + else + { + return null; + } + } + case 'Z': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '[': + switch ($symbolTable) + { + case '\\': + return 'Wall Cloud (or pedestal cloud)'; + case 'B': + return 'Baby on board (stroller, pram etc)'; + case 'S': + return 'Skier'; + case 'R': + return 'Runner'; + case 'H': + return 'Hiker'; + default: + if ($includeUndefinedOverlay) + { + return 'Human/Person (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '\\': + switch ($symbolTable) + { + case '\\': + return 'No Symbol'; + case 'A': + return 'Avmap G5'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + case ']': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '^': + switch ($symbolTable) + { + case '\\': + return 'Aircraft'; // top-view originally intended to point in direction of flight + case 'A': + return 'Aircraft (A = Autonomous)'; + case 'D': + return 'Aircraft (D = Drone)'; + case 'E': + return 'Aircraft (E = Electric aircraft)'; + case 'G': + return 'Aircraft (G = Glider aircraft)'; + case 'H': + return 'Aircraft (H = Hovercraft)'; + case 'J': + return 'Aircraft (J = JET)'; + case 'L': + return 'Paraglider'; // Not official definition + case 'M': + return 'Aircraft (M = Missle)'; + case 'P': + return 'Aircraft (P = Propeller)'; + case 'R': + return 'Aircraft (R = Remotely Piloted)'; + case 'S': + return 'Aircraft (S = Solar Powered)'; + case 'V': + return 'Aircraft (V = Vertical takeoff)'; + case 'X': + return 'Aircraft (X = Experimental)'; + default: + if ($includeUndefinedOverlay) + { + return 'Aircraft (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '_': + switch ($symbolTable) + { + case "\\": + return 'Weather Station'; + default: + if ($includeUndefinedOverlay) + { + return 'Weather Station (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '`': + switch ($symbolTable) + { + case "\\": + return 'Rain'; + default: + if ($includeUndefinedOverlay) + { + return 'Rain'; + } + else + { + return null; + } + } + + case 'a': + switch ($symbolTable) + { + case '\\': + return 'Red Diamond'; + case 'A': + return 'ARES'; + case 'D': + return 'D-STAR (previously Dutch ARES)'; + case 'G': + return 'RSGB Radio Society of Great Brittan'; + case 'R': + return 'RACES'; + case 'S': + return 'SATERN Salvation Army'; + case 'W': + return 'WinLink'; + case 'Y': + return 'C4FM Yaesu repeaters'; + default: + if ($includeUndefinedOverlay) + { + return 'Red Diamond (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'b': + switch ($symbolTable) + { + case "\\": + return 'Dust blowing'; + default: + if ($includeUndefinedOverlay) + { + return 'Dust blowing'; + } + else + { + return null; + } + } + + case 'c': + switch ($symbolTable) + { + case '\\': + return 'Civil Defense'; + case 'D': + return 'Decontamination'; + case 'R': + return 'RACES'; + case 'S': + return 'SATERN mobile canteen'; + default: + if ($includeUndefinedOverlay) + { + return 'Civil Defense (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'd': + switch ($symbolTable) + { + case "\\": + return 'DX Spot'; + default: + if ($includeUndefinedOverlay) + { + return 'DX Spot'; + } + else + { + return null; + } + } + + case 'e': + switch ($symbolTable) + { + case "\\": + return 'Sleet'; + default: + if ($includeUndefinedOverlay) + { + return 'Sleet'; + } + else + { + return null; + } + } + + case 'f': + switch ($symbolTable) + { + case "\\": + return 'Funnel Cloud'; + default: + if ($includeUndefinedOverlay) + { + return 'Funnel Cloud'; + } + else + { + return null; + } + } + + case 'g': + switch ($symbolTable) + { + case "\\": + return 'Gale warning flags'; + default: + if ($includeUndefinedOverlay) + { + return 'Gale warning flags (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'h': + switch ($symbolTable) + { + case '\\': + return 'Store/Ham Store'; + case 'F': + return 'Hamfest'; + case 'H': + return 'Home Dept etc..'; + default: + if ($includeUndefinedOverlay) + { + return 'Other store (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 'i': + switch ($symbolTable) + { + case "\\": + return 'Point of interest'; + default: + if ($includeUndefinedOverlay) + { + return 'Point of interest (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'j': + switch ($symbolTable) + { + case "\\": + return 'Work Zone'; + default: + if ($includeUndefinedOverlay) + { + return 'Work Zone'; + } + else + { + return null; + } + } + + case 'k': + switch ($symbolTable) + { + case '\\': + return 'Special Vehicle (SUV)'; + case '4': + return 'Special Vehicle (4x4)'; + case 'A': + return 'Special Vehicle (ATV)'; + default: + if ($includeUndefinedOverlay) + { + return 'Special Vehicle (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'l': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case 'm': + switch ($symbolTable) + { + case "\\": + return 'Milepost'; + default: + if ($includeUndefinedOverlay) + { + return 'Milepost'; + } + else + { + return null; + } + } + + case 'n': + switch ($symbolTable) + { + case "\\": + return 'Red Triangle'; + default: + if ($includeUndefinedOverlay) + { + return 'Red Triangle (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'o': + switch ($symbolTable) + { + case "\\": + return 'Small Circle'; + default: + if ($includeUndefinedOverlay) + { + return 'Small Circle (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'p': + switch ($symbolTable) + { + case "\\": + return 'Partly Cloudy'; + default: + if ($includeUndefinedOverlay) + { + return 'Partly Cloudy'; + } + else + { + return null; + } + } + + case 'q': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case 'r': + switch ($symbolTable) + { + case "\\": + return 'Restrooms'; + default: + if ($includeUndefinedOverlay) + { + return 'Restrooms'; + } + else + { + return null; + } + } + + case 's': + switch ($symbolTable) + { + case '\\': + return 'Ship/Boat'; + case '6': + return 'Ship/Boat (Shipwreck "deep6")'; + case 'B': + return 'Ship/Boat (Pleasure Boat)'; + case 'C': + return 'Ship/Boat (Cargo)'; + case 'D': + return 'Ship/Boat (Diving)'; + case 'E': + return 'Ship/Boat (Emergency or Medical transport)'; + case 'F': + return 'Ship/Boat (Fishing)'; + case 'H': + return 'Ship/Boat (High-speed Craft)'; + case 'J': + return 'Ship/Boat (Jet Ski)'; + case 'L': + return 'Ship/Boat (Law enforcement)'; + case 'M': + return 'Ship/Boat (Miltary)'; + case 'O': + return 'Ship/Boat (Oil Rig)'; + case 'P': + return 'Ship/Boat (Pilot Boat)'; + case 'Q': + return 'Ship/Boat (Torpedo)'; + case 'S': + return 'Ship/Boat (Search and Rescue)'; + case 'T': + return 'Ship/Boat (Tug)'; + case 'U': + return 'Ship/Boat (Underwater ops or submarine)'; + case 'W': + return 'Ship/Boat (Wing-in-Ground effect or Hovercraft)'; + case 'X': + return 'Ship/Boat (Passenger, Ferry)'; + case 'Y': + return 'Ship/Boat (Sailing, large ship)'; + default: + if ($includeUndefinedOverlay) + { + return 'Ship/Boat (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + case 't': + switch ($symbolTable) + { + case "\\": + return 'Tornado'; + default: + if ($includeUndefinedOverlay) + { + return 'Tornado'; + } + else + { + return null; + } + } + + case 'u': + switch ($symbolTable) + { + case '\\': + return 'Truck'; + case 'B': + return 'Truck (Buldozer/construction/Backhoe)'; + case 'G': + return 'Truck (Gas)'; + case 'P': + return 'Truck (Plow or SnowPlow)'; + case 'T': + return 'Truck (Tanker)'; + case 'C': + return 'Truck (Chlorine Tanker)'; + case 'H': + return 'Truck (Hazardous)'; + default: + if ($includeUndefinedOverlay) + { + return 'Truck (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'v': + switch ($symbolTable) + { + case "\\": + return 'Van'; + default: + if ($includeUndefinedOverlay) + { + return 'Van (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case 'w': + switch ($symbolTable) + { + case "\\": + return 'Flooding'; + default: + if ($includeUndefinedOverlay) + { + return 'Flooding'; + } + else + { + return null; + } + } + + case 'x': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case 'y': + switch ($symbolTable) + { + case "\\": + return 'Skywarn'; + default: + if ($includeUndefinedOverlay) + { + return 'Skywarn'; + } + else + { + return null; + } + } + + case 'z': + switch ($symbolTable) + { + case '\\': + return 'Shelter'; + case 'C': + return 'Clinic'; + case 'G': + return 'Government building'; + case 'M': + return 'Morgue'; + case 'T': + return 'Triage'; + default: + if ($includeUndefinedOverlay) + { + return 'Building (with overlay ' . $symbolTable . ')'; + } + else + { + return null; + } + } + + case '{': + switch ($symbolTable) + { + case "\\": + return 'Fog'; + default: + if ($includeUndefinedOverlay) + { + return 'Fog'; + } + else + { + return null; + } + } + + case '|': + switch ($symbolTable) + { + case "\\": + return 'TNC Stream Switch'; + default: + if ($includeUndefinedOverlay) + { + return 'TNC Stream Switch'; + } + else + { + return null; + } + } + + case '}': + switch ($symbolTable) + { + case "\\": + return 'No Symbol'; + default: + if ($includeUndefinedOverlay) + { + return 'No Symbol'; + } + else + { + return null; + } + } + + case '~': + switch ($symbolTable) + { + case "\\": + return 'TNC Stream Switch'; + default: + if ($includeUndefinedOverlay) + { + return 'TNC Stream Switch'; + } + else + { + return null; + } + } + } + } +} + + +/** + * Returnes true if we may show data older than 24h + * + * @return boolean + */ +function isAllowedToShowOlderData() +{ + $isAllowedToShowOlderData = false; + $config = getConfig('application_server'); + + if (isset($config) && is_array($config)) + { + if (isset($config['allow_time_travel'])) + { + if ($config['allow_time_travel'] == '1') + { + $isAllowedToShowOlderData = true; + } + } + } + + return $isAllowedToShowOlderData; +} + +/** + * Returnes valid view path + * + * @param {string} $request + * @return string + */ +function getView($request) +{ + if (is_null($request)) return null; + $parts = explode("/", trim($request, '/')); + if (count($parts) >= 2) + { + $page = array_pop($parts); + $dir = array_pop($parts); + if ($page && ($dir == 'views' || $dir == 'station' || $dir == 'account' || $dir == 'events')) + { + $path = ROOT . '/public/' . $dir . '/' . $page; + if (file_exists($path)) return $path; + } + } + return null; +} + +/** + * Helper function to return an assoc array containing the bootstrap config + * + * @param {string} $key + * @return string + * */ +function getBootstrapConfig() +{ + global $bootstrap_config; + return $bootstrap_config['bootstrap']; +} + +/** + * Helper function to return an assoc array containing website related values from config + * + * @param {string} $key + * @return string + * */ +function getWebsiteConfig($key) +{ + return getConfig('website', $key); +} + +/** + * Helper function to return an assoc array containing backend database related values from config + * + * @param {string} $key + * @return string + * */ +function getBackendDatabaseConfig($key) +{ + return getConfig('backend_database', $key); +} + +/** + * Helper function to return an assoc array containing database related values from config + * + * @param {string} $key + * @return string + * */ +function getDatabaseConfig($key) +{ + return getConfig('database', $key); +} + +/** + * Helper function to return an assoc array containing websocket related values from config + * + * @param {string} $key + * @return string + * */ +function getWebsocketConfig($key) +{ + return getConfig('application_server', $key); +} + +/** + * Helper function to return an assoc array containing SMTP related values from config + * + * @param {string} $key + * @return string + * */ +function getEmailConfig($key) +{ + return getConfig('email', $key); +} + +/** + * Returns an associative array containing related key values from the specified section in the configuration. + * + * @param string $section The section of the configuration to retrieve values from. + * @param string|null $key The specific key to retrieve. If null, the entire section is returned. + * @return array|null Returns the value associated with the key, the entire section, or null if not found. + */ +function getConfig(string $section, ?string $key = null): mixed +{ + global $config; + + if (isset($config[$section])) + { + if ($key === null) + { + return $config[$section]; + } + + if (isset($config[$section][$key])) + { + return $config[$section][$key]; + } + } + + return null; // Explicitly return null if the section or key is not found +} + + +/** + * Echo a language phrase from $id to the browser + * + * @param {string} $id - The phrase key + * @param {int} $itemCount - Number of items the phrase refers to (for pluralization) + * @return none + */ +function _L($id, $itemCount = 1) +{ + global $language; + if (isset($language['en-us']["$id"])) + { + if ($itemCount == 1) + echo $language['en-us'][$id]['s'] ?? 'literal missing'; + else + echo $language['en-us'][$id]['p'] ?? 'literal missing'; + } + else echo 'literal missing'; +} + + +/** + * Returns a language phrase from $id + * + * @param {string} $id - The phrase key + * @param {int} $itemCount - Number of items the phrase refers to (for pluralization) + * @return {string} - The phrase from the language + */ +function _LANG($id, $itemCount = 1) +{ + global $language; + if (isset($language['en-us']["$id"])) + { + if ($itemCount == 1) + return $language['en-us'][$id]['s']; + else + return $language['en-us'][$id]['p']; + } + else return 'literal missing'; +} + + +/** + * Convert coordinate to pixel position in heatmap image + * + * @param {float} $lat + * @param {int} $zoom + * @param {int} $imageTileSize + * @return int + */ +function getLatPixelCoordinate($lat, $zoom, $imageTileSize) +{ + $pixelGlobeSize = $imageTileSize * pow(2, $zoom); + $yPixelsToRadiansRatio = $pixelGlobeSize / (2 * M_PI); + $halfPixelGlobeSize = $pixelGlobeSize / 2; + $pixelGlobeCenterY = $halfPixelGlobeSize; + $degreesToRadiansRatio = 180 / M_PI; + $siny = sin($lat * M_PI / 180); + + # Truncating to 0.9999 effectively limits latitude to 89.189. This is + # about a third of a tile past the edge of the world tile. + if ($siny < -0.9999) + { + $siny = -0.9999; + } + if ($siny > 0.9999) + { + $siny = 0.9999; + } + $latY = round($pixelGlobeCenterY + 0.5 * log((1 + $siny) / (1 - $siny)) * -$yPixelsToRadiansRatio); + return $latY; +} + +/** + * Convert coordinate to pixel position in heatmap image + * + * @param {float} $lng + * @param {int} $zoom + * @param {int} $imageTileSize + * @return int + */ +function getLngPixelCoordinate($lng, $zoom, $imageTileSize) +{ + $scale = 1 << $zoom; + $lngX = floor($imageTileSize * (0.5 + $lng / 360) * $scale); + return $lngX; +} + +/** + * Convert pixel position in heatmap image to coordinate + * + * @param {float} $latPixelCoord + * @param {int} $zoom + * @param {int} $imageTileSize + * @return float + */ +function getLatFromLatPixelCoordinate($latPixelCoord, $zoom, $imageTileSize) +{ + $pixelGlobeSize = $imageTileSize * pow(2, $zoom); + $yPixelsToRadiansRatio = $pixelGlobeSize / (2 * M_PI); + $halfPixelGlobeSize = $pixelGlobeSize / 2; + $pixelGlobeCenterY = $halfPixelGlobeSize; + $degreesToRadiansRatio = 180 / M_PI; + $lat = (2 * atan(exp(($latPixelCoord - $pixelGlobeCenterY) / -$yPixelsToRadiansRatio)) - M_PI / 2) * $degreesToRadiansRatio; + return $lat; +} + +/** + * Convert pixel position in heatmap image to coordinate + * + * @param {float} $lngPixelCoord + * @param {int} $zoom + * @param {int} $imageTileSize + * @return float + */ +function getLngFromLngPixelCoordinate($lngPixelCoord, $zoom, $imageTileSize) +{ + $scale = 1 << $zoom; + $lng = ((($lngPixelCoord / $scale) / $imageTileSize) - 0.5) * 360; + return $lng; +} + +/** + * Get the closest timezone from coordinates + * Original credit to ben@jp + * https://stackoverflow.com/questions/3126878/get-php-timezone-name-from-latitude-and-longitude + * + * @param {float} $latitude + * @param {float} $longitude + * @param {string} $countryCode (optional) + * @return string + */ +function getNearestTimezone($latitude, $longitude, $countryCode = '') +{ + if (is_null($latitude) || is_null($longitude)) return null; + + $countryCode = strtoupper(trim($countryCode)); + $timezone_ids = ($countryCode) ? DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY, $countryCode) : DateTimeZone::listIdentifiers(); + if($timezone_ids && is_array($timezone_ids) && isset($timezone_ids[0])) + { + $time_zone = ''; + $tz_distance = 0; + $timezone_obj = null; + + //only one identifier? + if (count($timezone_ids) == 1) + { + $time_zone = $timezone_ids[0]; + } + else + { + foreach($timezone_ids as $timezone_id) + { + $timezone = new DateTimeZone($timezone_id); + $location = $timezone->getLocation(); + $tz_lat = $location['latitude']; + $tz_long = $location['longitude']; + + $theta = $longitude - $tz_long; + $distance = (sin(deg2rad($latitude)) * sin(deg2rad($tz_lat))) + (cos(deg2rad($latitude)) * cos(deg2rad($tz_lat)) * cos(deg2rad($theta))); + $distance = acos($distance); + $distance = abs(rad2deg($distance)); + + if (!$time_zone || $tz_distance > $distance) + { + $time_zone = $timezone_id; + $tz_distance = $distance; + $timezone_obj = $timezone; + } + } + } + return $timezone_obj; + } + return null; +} + + +/** + * Get the maindenhead grid square from latitiude and longitude + * + * @param {float} $latitude + * @param {float} $longitude + * @param {int} $precision (optional, min/default = 3, max = 5) + * @return string + */ + define('ORD_A', ord('A')); + define('ORD_0', ord('0')); + function getMaidenheadFromCoordinates($latitude, $longitude, $precision = 3) + { + if ($precision < 3 || $precision > 5) $precision = 3; + + $lat = $latitude + 90; + $lon = $longitude + 180; + + // Pair 1 + $gs = chr(ORD_A + floor($lon / 20)) . chr(ORD_A + floor($lat / 10)); + $lon = fmod($lon, 20); + if ($lon < 0) $lon += 20; + $lat = fmod($lat, 10); + if ($lat < 0) $lat += 10; + + // Pair 2 + $gs .= chr(ORD_0 + floor($lon / 2)) . chr(ORD_0 + floor($lat / 1)); + $lon = fmod($lon, 2); + if ($lon < 0) $lon += 2; + $lat = fmod($lat, 1); + if ($lat < 0) $lat += 1; + + // Pair 3 + $gs .= chr(ORD_A + floor($lon * 12)) . chr(ORD_A + floor($lat * 24)); + $lon = fmod($lon, (1/12)); + if ($lon < 0) $lon += (1/12); + $lat = fmod($lat, (1/24)); + if ($lat < 0) $lat += (1/24); + + // Pair 4 + if ($precision > 3) + { + $gs .= chr(ORD_0 + floor($lon * 120)) . chr(ORD_0 + floor($lat * 240)); + $lon = fmod($lon, (1/120)); + if ($lon < 0) $lon += (1/120); + $lat = fmod($lat, (1/240)); + if ($lat < 0) $lat += (1/240); + } + + // Pair 5 + if ($precision > 4) + { + $gs .= chr(ORD_A + floor($lon * 120 * 24)) . chr(ORD_A + floor($lat * 240 * 24)); + $lon = fmod($lon, (1/120/24)); + if ($lon < 0) $lon += (1/120/24); + $lat = fmod($lat, (1/240/24)); + if ($lat < 0) $lat += (1/240/24); + } + return $gs; + } + + // Imported from repository... Object fetch is slower, so we will not use it here + function getTelemetryValue($telemetryPacket, $valNumber, $rootTelemetryPacket) + { + $val = $telemetryPacket["val{$valNumber}"]; + + $eqns = $rootTelemetryPacket->getEqnsValue($valNumber); + + $a = $eqns[0]; + $b = $eqns[1]; + $c = $eqns[2]; + + if ($a == null && $b == null) + { + // User has sent us a faulty eqns, just return raw value + return $val; + + } + else + { + $result = 0; + + if ($a != null) + { + $result += $a * $val * $val; + } + + if ($b != null) + { + $result += $b * $val; + } + + if ($c != null) + { + $result += $c; + } + + return $result; + } + } + + +/** +* Converts degrees to cardinal directions +* +* @param {int} $degrees +* @return string +*/ +function convertDegreesToCardinalDirection($degrees) +{ + if (!isInt($degrees) || $degrees > 360) return ''; + return ['N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW', 'N'][round($degrees / 22.5)]; +} + + +/** +* Parses a Mic-E Destination Address +* +* @param {char} $c +* @return array +* */ +function getInfoForDestinationAddressChar($c) +{ + //0 - 0, 1 - 1 custom, 2 - 1 std + $asciiCode = ord($c); + $ret = ['latDigit'=> 0, 'message'=> 0, 'isNorth'=> false, 'longOffset'=> 0, 'isWest'=> false]; + + if ($c >= '0' && $c <= '9') + { + $ret['latDigit'] = $asciiCode - ord('0'); + } + else if ($c >= 'A' && $c <= 'J') + { + $ret['latDigit'] = $asciiCode - ord('A'); + $ret['message'] = 1; + $ret['isNorth'] = null; + $ret['longOffset'] = null; + $ret['isWest'] = null; + } + else if ($c == 'K') + { + $ret['latDigit'] = 0; + $ret['message'] = 1; + $ret['isNorth'] = null; + $ret['longOffset'] = null; + $ret['isWest'] = null; + } + else if ($c == 'L') + { + $ret['latDigit'] = 0; + $ret['message'] = 0; + } + else if ($c >= 'P' && $c <= 'Y') + { + $ret['latDigit'] = $asciiCode - ord('P'); + $ret['message'] = 2; + $ret['isNorth'] = true; + $ret['longOffset'] = 100; + $ret['isWest'] = true; + } + else if ($c == 'Z') + { + $ret['latDigit'] = 0; + $ret['message'] = 2; + $ret['isNorth'] = true; + $ret['longOffset'] = 100; + $ret['isWest'] = true; + } + + return $ret; +} + + +const MicEStates = +[ + 'M0'=> 'off duty', + 'M1'=> 'en route', + 'M2'=> 'in service', + 'M3'=> 'returning', + 'M4'=> 'commited', + 'M5'=> 'special', + 'M6'=> 'priority', + 'C0'=> 'custom-0', + 'C1'=> 'custom-1', + 'C2'=> 'custom-2', + 'C3'=> 'custom-3', + 'C4'=> 'custom-4', + 'C5'=> 'custom-5', + 'C6'=> 'custom-6', + 'EMERGENCY'=> 'emergency', + 'UNKNOWN'=> 'unknown' +]; + + +/** +* Gets the Mic-E state (i.e. In Service) from the Mic-E data +* Note Message: array, 3 elements, values: 0 - 0, 1 - 1 custom, 2 - 1 std +* @param {string} $message +* @return {string} +*/ +function getStateFromMicE($message) +{ + $state = null; + + if (sizeof($message) != 3) return null; // Message array should contain 3 elements + + if ($message[0] == 0 && $message[1] == 0 && $message[2] == 0) + { + $state = MicEStates['EMERGENCY']; + } + else + { + $isStd = $message[0] == 2 || $message[1] == 2 || $message[2] == 2; + $isCustom = $message[0] == 1 || $message[1] == 1 || $message[2] == 1; + + if ($isStd && $isCustom) + { + $state = MicEStates['UNKNOWN']; + } + else + { + $message[0] = $message[0] == 2 ? 1 : $message[0]; + $message[1] = $message[1] == 2 ? 1 : $message[1]; + $message[2] = $message[2] == 2 ? 1 : $message[2]; + + if ($message == [1, 1, 1]) + $state = $isStd ? MicEStates['M0'] : MicEStates['C0']; + else if ($message == [1, 1, 0]) + $state = $isStd ? MicEStates['M1'] : MicEStates['C1']; + else if ($message == [1, 0, 1]) + $state = $isStd ? MicEStates['M2'] : MicEStates['C2']; + else if ($message == [1, 0, 0]) + $state = $isStd ? MicEStates['M3'] : MicEStates['C3']; + else if ($message == [0, 1, 1]) + $state = $isStd ? MicEStates['M4'] : MicEStates['C4']; + else if ($message == [0, 1, 0]) + $state = $isStd ? MicEStates['M5'] : MicEStates['C5']; + else if ($message == [0, 0, 1]) + $state = $isStd ? MicEStates['M6'] : MicEStates['C6']; + else + $state = MicEStates['UNKNOWN']; + } + } + + return $state; +} + + +/** +* Generates a random numerical code $length digits long +* +* @param {int} $length (Length of the random code to generate, default 6) +* @return {string} (Generated code) +*/ +function generateSecureCode($length = 6) +{ + // Generate a {$length} digit random code + $code = []; + for ($x = 0; $x < $length; ++$x) + { + $code[] = strval(random_int(0, 9)); + } + return implode('', $code); +} + + +/** +* Generates a random binary token $length digits long +* +* @param {int} $length (Length of the random token to generate, default 20) +* @return {string} (Generated code) +*/ +function generateSecureToken($length = 20) +{ + return bin2hex(random_bytes($length)); +} + + +/** +* Generates a base URL to the site taking into account http vs https and domain name +* +* @return {string} (Full URL to site including http/https) +*/ +function getWebsiteURL() +{ + return (getWebsiteConfig('cookie_secure') == 1 ? "https" : "http") . "://" . getWebsiteConfig('cookie_domain'); +} + + +/** +* Outputs to the client a fully rendered navigation menu for the station modal +* +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getStationMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'station.php' => ['title' => 'Station Details', 'text' => 'Station'], + 'statistics.php' => ['title' => 'Station Statistics', 'text' => 'Statistics'], + 'trail.php' => ['title' => 'Trail Chart', 'text' => 'Trail Chart'], + 'weather.php' => ['title' => 'Weather Conditions, History, and Graphs', 'text' => 'Weather'], + 'telemetry.php' => ['title' => 'Current and Historical Telemetry and Graphs', 'text' => 'Telemetry'], + 'raw.php' => ['title' => 'Raw Packets', 'text' => 'Raw Packets'], + 'live.php' => ['title' => 'Live Packet Feed', 'text' => 'Live Feed'], + 'messages.php' => ['title' => 'Station Messages', 'text' => 'Messages'], + 'bulletins.php' => ['title' => 'Station Bulletins', 'text' => 'Bulletins'] + ]; + + return renderMenu('station-menu', '/station/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered navigation menu for the account management modal +* +* @param {string} $selectedIndexL (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getAccountMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'map_settings.php' => ['title' => 'Map Settings', 'text' => 'Map Settings'], + 'site_settings.php' => ['title' => 'Site Settings', 'text' => 'Site Settings'], + 'my_stations.php' => ['title' => 'My Stations', 'text' => 'My Stations'], + 'favorites.php' => ['title' => 'Favorite Stations', 'text' => 'Favorite Stations'], + 'aprs_thursday.php' => ['title' => 'My APRSThursday Profile', 'text' => 'APRSThursday Profile'], + 'mapshots.php' => ['title' => 'Map Snapshots (Mapshots)', 'text' => 'Map Snapshots'], + 'my_api.php' => ['title' => 'Personal API', 'text' => 'Personal API'], + 'account.php' => ['title' => 'My Account', 'text' => 'My Account'] + ]; + + return renderMenu('account-menu', '/account/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered general navigation menu for the account management modal +* +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getGeneralMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'about.php' => ['title' => 'More information about this APRS website', 'text' => 'About'], + 'faq.php' => ['title' => 'Frequently Asked Questions about APRS', 'text' => 'FAQ'], + 'site_statistics.php' => ['title' => 'Site and Database Statistics', 'text' => 'Statistics'], + 'changelog.php' => ['title' => 'APRS Site News and Updates', 'text' => 'What\'s New?'], + 'server_health.php' => ['title' => 'Check the Health of systems supporting this APRS map.', 'text' => 'Server Status'], + 'data_availability.php' => ['title' => 'Check the availability of the data avaiable to the map.', 'text' => 'Data Availability'] + ]; + + if (getWebsiteConfig('aprs_is_status_url')) $pages['aprs_status.php'] = ['title' => 'APRS Server Status and Metrics', 'text' => 'APRS Server Status']; + if (getWebsiteConfig('cwop_is_status_url')) $pages['cwop_status.php'] = ['title' => 'CWOP Server Status and Metrics', 'text' => 'CWOP Server Status']; + if (getWebsiteConfig('ogn_is_status_url')) $pages['ogn_status.php'] = ['title' => 'OGN Server Status and Metrics', 'text' => 'OGN Server Status']; + if (getWebsiteConfig('cbaprs_is_status_url')) $pages['cbaprs_status.php'] = ['title' => 'CBAPRS Server Status and Metrics', 'text' => 'CBAPRS Server Status']; + + return renderMenu('about-menu', '/views/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered search window navigation menu +* +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getSearchMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'search.php' => ['title' => 'Search for a station/object/airplane, etc.', 'text' => 'Station Search'], + 'search_grid.php' => ['title' => 'Maidenhead Locator Grid Search', 'text' => 'Maidenhead Grid Search'], + 'search_location.php' => ['title' => 'Search for any place (address, business, park) or location', 'text' => 'Location Search'], + 'search_license.php' => ['title' => 'Search the FCC and Canadian License Databases', 'text' => 'License Search'] + ]; + + return renderMenu('search-menu', '/views/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered legal (ToS) window navigation menu +* +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getLegalMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'contact.php' => ['title' => 'Contact us with questions or to report a problem', 'text' => 'Contact Us'], + 'terms_of_service.php' => ['title' => 'Terms of Service Agreement', 'text' => 'Terms of Service'], + 'privacy_policy.php' => ['title' => 'Our Commitment to your Privacy', 'text' => 'Privacy Policy'] + ]; + + return renderMenu('legal-menu', '/views/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered #APRSThursday window navigation menu +* +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function getAPRSThursdayMenu($selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + $pages = + [ + 'aprs_thursday.php' => ['title' => 'All about the #APRSThursday Weekly Net', 'text' => 'About #APRSThursday'], + 'aprs_thursday_checkins.php' => ['title' => 'View check-ins for the most recent nets.', 'text' => 'Recent Check-Ins'], + 'aprs_thursday_statistics.php' => ['title' => 'Historical statistics since the beginning of #APRSThursday.', 'text' => 'Statistics'], + 'aprs_thursday_leaderboard.php' => ['title' => 'View the participation leaderboard.', 'text' => 'Leaderboard'] + ]; + + return renderMenu('APRSThursday-menu', '/events/', $pages, $selectedIndex, $urlParams, $extraHTML); +} + + +/** +* Outputs to the client a fully rendered navigation menu +* +* @param {string} $selectId (ID of the select tag for the menu) +* @param {string} $baseURL (Root path of the items in the menu) +* @param {array} $pages (Array of pages to use as menu items) +* @param {string} $selectedIndex (Base name of the file being displayed i.e. station.php) +* @param {array} $urlParams (Array of parameters to pass in each generated URL) +* @param {string} $extraHTML (Extra menu HTML to include at the end of the menu) +* @return {string} HTML Menu +*/ +function renderMenu($selectId, $baseURL, $pages, $selectedIndex, $urlParams = [], $extraHTML = null) +{ + global $tdSession; + + // Mobile Menu + $menu = '
Menu: '; + + // Normal Menu + $menu .= '' . $extraHTML . '
'; + + return $menu; +} + + +/** +* Outputs to the client a fully rendered navigation menu +* +* @param {string} $colorName (CSS Color Name) +* @param {string} $alpha (Alpha transparency value 0-.99) +* @return {string} Complete rgbA CSS tag +*/ +function cssColorToRgbATag($colorName, $alpha) +{ + $cssColors = [ + 'black' => '0,0,0', + 'silver' => '192, 192, 192', + 'gray' => '128, 128, 128', + 'white' => '255, 255, 255', + 'maroon' => '128, 0, 0', + 'red' => '255, 0, 0', + 'purple' => '128, 0, 128', + 'fuchsia' => '255, 0, 255', + 'green' => '0, 128, 0', + 'lime' => '0, 255, 0', + 'olive' => '128, 128, 0', + 'yellow' => '255, 255, 0', + 'navy' => '0, 0, 128', + 'blue' => '0, 0, 255', + 'teal' => '0, 128, 128', + 'aqua' => '0, 255, 255' + ]; + + // Return black if no color is specififed + if (is_null($colorName) || $colorName == '') return 'rgba(' . $cssColors["black"] . ", $alpha)"; + return 'rgba(' . $cssColors["$colorName"] . ", $alpha)"; +} + + +/** +* Wrapper function to return a station object from various URI critera +* +* @return {Station} Station object (uninitialized if no station found) +*/ +function getStationFromURI() +{ + if (isset($_GET['c'])) + { + $name = filter_input(INPUT_GET, 'c', FILTER_DEFAULT); + return StationRepository::getInstance()->getObjectByName(strtoupper(trim($name))); + } + + // New ID format with sourceId as the first digit + else if (isset($_GET['s'])) + { + $station_id = filter_input(INPUT_GET, 's', FILTER_VALIDATE_INT, ['options' => ['flags' => FILTER_NULL_ON_FAILURE]]); + if (!is_null($station_id)) + { + $sid = strval($station_id); + if (strlen($sid) >= 2) + { + $source_id = $sid[0]; + $station_id = substr($sid, 1); + return StationRepository::getInstance()->getObjectById($station_id, $source_id); + } + } + return new Station(0); + } + + // Legacy ID format + else + { + $station_id = filter_input(INPUT_GET, 'id', FILTER_VALIDATE_INT, ['options' => ['flags' => FILTER_NULL_ON_FAILURE]]); + return StationRepository::getInstance()->getObjectById($station_id); + } + + return new Station(0); +} diff --git a/htdocs/includes/database.class.php b/htdocs/includes/database.class.php new file mode 100644 index 00000000..4030cb8d --- /dev/null +++ b/htdocs/includes/database.class.php @@ -0,0 +1,59 @@ +_existingTables = Array(); + } + + /** + * Returnes an initiated Database + * + * @return Database + */ + public static function getInstance() + { + if (self::$_singletonInstance === null) { + self::$_singletonInstance = new Database(); + } + + return self::$_singletonInstance; + } + + /** + * Returnes true if specified table exists in database + * + * @param string $tablename + * @return boolean + */ + public function checkTableExists($tablename) + { + + if (!isset($this->_existingTables[$tablename])) { + + $sql = "SELECT COUNT(*) c + FROM information_schema.tables + WHERE table_name = ?"; + + $pdo = PDOConnection::getInstance(); + $stmt = $pdo->prepareAndExec($sql, [str_replace('\'', '\'\'', $tablename)]); + + $record = $stmt->fetch(PDO::FETCH_ASSOC); + if ($record && $record['c'] > 0) { + $this->_existingTables[$tablename] = true; + } else { + $this->_existingTables[$tablename] = false; + } + } + + return $this->_existingTables[$tablename]; + } +} diff --git a/htdocs/includes/dewpoint.php b/htdocs/includes/dewpoint.php new file mode 100644 index 00000000..a36d5674 --- /dev/null +++ b/htdocs/includes/dewpoint.php @@ -0,0 +1,121 @@ +maxT) return NaN; + else if ($T$maxCount) { + $xnew=NaN; + return C_OFFSET; + } + $x = $xNew; + $count ++; + } while ( TRUE ); +} + +//print dewPoint( $argv[1], $argv[2] )."\n"; +?> diff --git a/htdocs/includes/external/phpmailer/.codecov.yml b/htdocs/includes/external/phpmailer/.codecov.yml new file mode 100644 index 00000000..193a7e75 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.codecov.yml @@ -0,0 +1,21 @@ +codecov: + notify: + after_n_builds: 2 + +coverage: + round: nearest + # Status will be green when coverage is between 70 and 100%. + range: "70...100" + status: + project: + default: + threshold: 2% + paths: + - "src" + patch: + default: + threshold: 0% + paths: + - "src" + +comment: false diff --git a/htdocs/includes/external/phpmailer/.gitattributes b/htdocs/includes/external/phpmailer/.gitattributes new file mode 100644 index 00000000..8faf4ba9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.gitattributes @@ -0,0 +1,16 @@ +* text=auto + +/.codecov.yml export-ignore +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore +/.phan export-ignore +/.scrutinizer.yml export-ignore +/changelog.md export-ignore +/docs export-ignore +/examples export-ignore +/phpcs.xml.dist export-ignore +/phpdoc.dist.xml export-ignore +/phpunit.xml.dist export-ignore +/test export-ignore +/UPGRADING.md export-ignore diff --git a/htdocs/includes/external/phpmailer/.github/FUNDING.yml b/htdocs/includes/external/phpmailer/.github/FUNDING.yml new file mode 100644 index 00000000..36db3983 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/FUNDING.yml @@ -0,0 +1,6 @@ +# These are supported funding model platforms + +github: Synchro +patreon: marcusbointon +tidelift: "packagist/phpmailer/phpmailer" +custom: https://marcus.bointon.com/donations/ diff --git a/htdocs/includes/external/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md b/htdocs/includes/external/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..cd3a0d85 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,23 @@ +--- +name: Bug report +about: If you've found a bug in PHPMailer, this is the right place to report it +title: '' +labels: '' +assignees: '' + +--- + +Please check these things before submitting your issue: + +- [ ] *Read the error message* you're seeing - it often tells you what is wrong, and may contain useful links & instructions +- [ ] Make sure you're using the latest version of PHPMailer +- [ ] Check that your problem is not dealt with in [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting), especially if you're having problems connecting to Gmail or GoDaddy +- [ ] Include sufficient code to reproduce your problem +- [ ] If you're having an SMTP issue, include the debug output generated with `SMTPDebug = 2` set +- [ ] If you have a question about how to use PHPMailer (rather than reporting a bug in it), tag a question on Stack Overflow with `phpmailer`, but [**search first**](https://stackoverflow.com/questions/tagged/phpmailer)! + +# Problem description + +# Code to reproduce + +# Debug output diff --git a/htdocs/includes/external/phpmailer/.github/actions/build-docs/Dockerfile b/htdocs/includes/external/phpmailer/.github/actions/build-docs/Dockerfile new file mode 100644 index 00000000..404b94a5 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/actions/build-docs/Dockerfile @@ -0,0 +1,15 @@ +FROM phpdoc/phpdoc + +LABEL "repository"="https://github.com/PHPMailer/PHPMailer" + +LABEL "com.github.actions.name"="Build Docs" +LABEL "com.github.actions.description"="Build Docs with phpDocumentor" +LABEL "com.github.actions.icon"="file-text" +LABEL "com.github.actions.color"="blue" + +# don't show errors +RUN echo "display_errors = Off" > $PHP_INI_DIR/conf.d/errors.ini + +COPY entrypoint.sh /entrypoint.sh + +ENTRYPOINT ["/entrypoint.sh"] diff --git a/htdocs/includes/external/phpmailer/.github/actions/build-docs/entrypoint.sh b/htdocs/includes/external/phpmailer/.github/actions/build-docs/entrypoint.sh new file mode 100755 index 00000000..0d7061a0 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/actions/build-docs/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -eu + +/opt/phpdoc/bin/phpdoc diff --git a/htdocs/includes/external/phpmailer/.github/dependabot.yml b/htdocs/includes/external/phpmailer/.github/dependabot.yml new file mode 100644 index 00000000..d727b17c --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/dependabot.yml @@ -0,0 +1,14 @@ +# Dependabot configuration. +# +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + commit-message: + prefix: "GH Actions:" diff --git a/htdocs/includes/external/phpmailer/.github/workflows/docs.yaml b/htdocs/includes/external/phpmailer/.github/workflows/docs.yaml new file mode 100644 index 00000000..5535fc06 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/workflows/docs.yaml @@ -0,0 +1,29 @@ +name: Docs +on: + push: + branches: + - master +permissions: {} +jobs: + build_and_publish: + permissions: + contents: write # to push changes in repo (jamesives/github-pages-deploy-action) + + name: Build and publish Docs + runs-on: ubuntu-latest + if: github.repository == 'PHPMailer/PHPMailer' + steps: + - name: Checkout sources + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Build Docs + uses: ./.github/actions/build-docs + - name: Publish Docs to gh-pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: docs + env: + BUILD_DIR: docs/ + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/htdocs/includes/external/phpmailer/.github/workflows/scorecards.yml b/htdocs/includes/external/phpmailer/.github/workflows/scorecards.yml new file mode 100644 index 00000000..ea31bbad --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/workflows/scorecards.yml @@ -0,0 +1,62 @@ +name: Scorecards supply-chain security +on: + # Only the default branch is supported. + branch_protection_rule: + schedule: + - cron: '39 20 * * 1' + push: + branches: [ "master" ] + +# Declare default permissions as read only. +permissions: read-all + +jobs: + analysis: + name: Scorecards analysis + runs-on: ubuntu-latest + permissions: + # Needed to upload the results to code-scanning dashboard. + security-events: write + # Used to receive a badge. (Upcoming feature) + id-token: write + # Needs for private repositories. + contents: read + actions: read + + steps: + - name: "Checkout code" + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: "Run analysis" + uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af + with: + results_file: results.sarif + results_format: sarif + # (Optional) Read-only PAT token. Uncomment the `repo_token` line below if: + # - you want to enable the Branch-Protection check on a *public* repository, or + # - you are installing Scorecards on a *private* repository + # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat. + # repo_token: ${{ secrets.SCORECARD_READ_TOKEN }} + + # Publish the results for public repositories to enable scorecard badges. For more details, see + # https://github.com/ossf/scorecard-action#publishing-results. + # For private repositories, `publish_results` will automatically be set to `false`, regardless + # of the value entered here. + publish_results: true + + # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF + # format to the repository Actions tab. + - name: "Upload artifact" + uses: actions/upload-artifact@v3 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard. + - name: "Upload to code-scanning" + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: results.sarif diff --git a/htdocs/includes/external/phpmailer/.github/workflows/tests.yml b/htdocs/includes/external/phpmailer/.github/workflows/tests.yml new file mode 100644 index 00000000..9ad59732 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.github/workflows/tests.yml @@ -0,0 +1,178 @@ +name: "Tests" + +on: + push: + pull_request: + # Allow manually triggering the workflow. + workflow_dispatch: + +permissions: + contents: read # to fetch code (actions/checkout) + +jobs: + + coding-standard: + runs-on: ubuntu-22.04 + name: Coding standards + + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Set up PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + coverage: none + tools: cs2pr + + # Install dependencies and handle caching in one go. + # @link https://github.com/marketplace/actions/install-composer-dependencies + - name: Install Composer dependencies + uses: "ramsey/composer-install@v2" + with: + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") + + - name: Check coding standards + id: phpcs + run: ./vendor/bin/phpcs -s --report-full --report-checkstyle=./phpcs-report.xml + + - name: Show PHPCS results in PR + if: ${{ always() && steps.phpcs.outcome == 'failure' }} + run: cs2pr ./phpcs-report.xml + + lint: + runs-on: ubuntu-22.04 + strategy: + matrix: + php: ['5.5', '7.2', '8.0', '8.1', '8.2'] + experimental: [false] + include: + - php: '8.3' + experimental: true + + name: "Lint: PHP ${{ matrix.php }}" + continue-on-error: ${{ matrix.experimental }} + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: none + tools: cs2pr + + # Install dependencies and handle caching in one go. + # @link https://github.com/marketplace/actions/install-composer-dependencies + - name: Install Composer dependencies + uses: "ramsey/composer-install@v2" + with: + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") + + - name: Lint against parse errors + if: ${{ matrix.php != '8.3' }} + run: composer lint -- --checkstyle | cs2pr + + - name: Lint against future parse errors (PHP 8.3) + if: ${{ matrix.php == '8.3' }} + run: composer lint + + test: + needs: ['coding-standard', 'lint'] + runs-on: ubuntu-22.04 + strategy: + matrix: + php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] + coverage: [false] + experimental: [false] + include: + # Run code coverage on high/low PHP. + - php: '5.5' + coverage: true + experimental: false + - php: '8.2' + coverage: true + experimental: false + + # Experimental builds. These are allowed to fail. + - php: '8.3' + coverage: false + experimental: true + + name: "Test: PHP ${{ matrix.php }}" + + continue-on-error: ${{ matrix.experimental }} + + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Set up PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: ${{ matrix.coverage && 'xdebug' || 'none' }} + ini-values: sendmail_path=/usr/sbin/sendmail -t -i, error_reporting=E_ALL, display_errors=On + extensions: imap, mbstring, intl, ctype, filter, hash + + # Install dependencies and handle caching in one go. + # @link https://github.com/marketplace/actions/install-composer-dependencies + - name: Install PHP packages - normal + if: ${{ matrix.php != '8.3' }} + uses: "ramsey/composer-install@v2" + with: + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") + + - name: Install PHP packages - ignore-platform-reqs + if: ${{ matrix.php == '8.3' }} + uses: "ramsey/composer-install@v2" + with: + composer-options: --ignore-platform-reqs + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") + + # Install postfix and automatically retry if the install failed, which happens reguarly. + # @link https://github.com/marketplace/actions/retry-step + - name: Install postfix + uses: nick-invision/retry@v2 + with: + timeout_minutes: 2 + max_attempts: 3 + retry_wait_seconds: 8 + command: | + sudo apt-get install -y libsqlite3-0 postfix + sudo systemctl stop postfix.service + + - name: Set up sendmail + run: | + smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 & + mkdir -p build/logs + sudo cp test/testbootstrap-dist.php test/testbootstrap.php + sudo chmod +x test/fakesendmail.sh + sudo mkdir -p /var/qmail/bin + sudo cp test/fakesendmail.sh /var/qmail/bin/sendmail + sudo cp test/fakesendmail.sh /usr/sbin/sendmail + + - name: Run tests, no code coverage + if: ${{ matrix.coverage == false }} + run: ./vendor/bin/phpunit --no-coverage + + - name: Run tests with code coverage + if: ${{ matrix.coverage == true }} + run: vendor/bin/phpunit + + - name: Send coverage report to Codecov + if: ${{ success() && matrix.coverage == true }} + uses: codecov/codecov-action@v3 + with: + files: ./build/logs/clover.xml + fail_ci_if_error: true + verbose: true + # see https://github.com/codecov/codecov-action/issues/557 + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/htdocs/includes/external/phpmailer/.gitignore b/htdocs/includes/external/phpmailer/.gitignore new file mode 100644 index 00000000..e27cff1b --- /dev/null +++ b/htdocs/includes/external/phpmailer/.gitignore @@ -0,0 +1,16 @@ +docs/* +!docs/README.md +test/message.txt +test/testbootstrap.php +build/ +vendor/ +*.pem +composer.lock +.phpcs.xml +phpcs.xml +.phpcs-cache +/.rnd +test/PHPMailerTest.php*nonexistent_file.txt +test/*/PHPMailerTest.php*nonexistent_file.txt +phpunit.xml +/.phpunit.result.cache diff --git a/htdocs/includes/external/phpmailer/.phan/config.php b/htdocs/includes/external/phpmailer/.phan/config.php new file mode 100644 index 00000000..785e9df7 --- /dev/null +++ b/htdocs/includes/external/phpmailer/.phan/config.php @@ -0,0 +1,41 @@ + [ + 'src', + 'vendor', + 'examples' + ], + + // A directory list that defines files that will be excluded + // from static analysis, but whose class and method + // information should be included. + // + // Generally, you'll want to include the directories for + // third-party code (such as "vendor/") in this list. + // + // n.b.: If you'd like to parse but not analyze 3rd + // party code, directories containing that code + // should be added to the `directory_list` as + // to `exclude_analysis_directory_list`. + "exclude_analysis_directory_list" => [ + 'vendor/' + ], + + 'skip_slow_php_options_warning' => true, + + 'exclude_file_regex' => '@^vendor/.*/(tests|Tests)/@', +]; diff --git a/htdocs/includes/external/phpmailer/COMMITMENT b/htdocs/includes/external/phpmailer/COMMITMENT new file mode 100644 index 00000000..a687e0dd --- /dev/null +++ b/htdocs/includes/external/phpmailer/COMMITMENT @@ -0,0 +1,46 @@ +GPL Cooperation Commitment +Version 1.0 + +Before filing or continuing to prosecute any legal proceeding or claim +(other than a Defensive Action) arising from termination of a Covered +License, we commit to extend to the person or entity ('you') accused +of violating the Covered License the following provisions regarding +cure and reinstatement, taken from GPL version 3. As used here, the +term 'this License' refers to the specific Covered License being +enforced. + + However, if you cease all violation of this License, then your + license from a particular copyright holder is reinstated (a) + provisionally, unless and until the copyright holder explicitly + and finally terminates your license, and (b) permanently, if the + copyright holder fails to notify you of the violation by some + reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is + reinstated permanently if the copyright holder notifies you of the + violation by some reasonable means, this is the first time you + have received notice of violation of this License (for any work) + from that copyright holder, and you cure the violation prior to 30 + days after your receipt of the notice. + +We intend this Commitment to be irrevocable, and binding and +enforceable against us and assignees of or successors to our +copyrights. + +Definitions + +'Covered License' means the GNU General Public License, version 2 +(GPLv2), the GNU Lesser General Public License, version 2.1 +(LGPLv2.1), or the GNU Library General Public License, version 2 +(LGPLv2), all as published by the Free Software Foundation. + +'Defensive Action' means a legal proceeding or claim that We bring +against you in response to a prior proceeding or claim initiated by +you or your affiliate. + +'We' means each contributor to this repository as of the date of +inclusion of this file, including subsidiaries of a corporate +contributor. + +This work is available under a Creative Commons Attribution-ShareAlike +4.0 International license (https://creativecommons.org/licenses/by-sa/4.0/). diff --git a/htdocs/includes/external/phpmailer/LICENSE b/htdocs/includes/external/phpmailer/LICENSE new file mode 100644 index 00000000..f166cc57 --- /dev/null +++ b/htdocs/includes/external/phpmailer/LICENSE @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! \ No newline at end of file diff --git a/htdocs/includes/external/phpmailer/README.md b/htdocs/includes/external/phpmailer/README.md new file mode 100644 index 00000000..878274f4 --- /dev/null +++ b/htdocs/includes/external/phpmailer/README.md @@ -0,0 +1,230 @@ +[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://supportukrainenow.org/) + +![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png) + +# PHPMailer – A full-featured email creation and transfer class for PHP + +[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) +[![codecov.io](https://codecov.io/gh/PHPMailer/PHPMailer/branch/master/graph/badge.svg?token=iORZpwmYmM)](https://codecov.io/gh/PHPMailer/PHPMailer) +[![Latest Stable Version](https://poser.pugx.org/phpmailer/phpmailer/v/stable.svg)](https://packagist.org/packages/phpmailer/phpmailer) +[![Total Downloads](https://poser.pugx.org/phpmailer/phpmailer/downloads)](https://packagist.org/packages/phpmailer/phpmailer) +[![License](https://poser.pugx.org/phpmailer/phpmailer/license.svg)](https://packagist.org/packages/phpmailer/phpmailer) +[![API Docs](https://github.com/phpmailer/phpmailer/workflows/Docs/badge.svg)](https://phpmailer.github.io/PHPMailer/) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer/badge)](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer) + +## Features +- Probably the world's most popular code for sending email from PHP! +- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more +- Integrated SMTP support – send without a local mail server +- Send emails with multiple To, CC, BCC, and Reply-to addresses +- Multipart/alternative emails for mail clients that do not read HTML email +- Add attachments, including inline +- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings +- SMTP authentication with LOGIN, PLAIN, CRAM-MD5, and XOAUTH2 mechanisms over SMTPS and SMTP+STARTTLS transports +- Validates email addresses automatically +- Protects against header injection attacks +- Error messages in over 50 languages! +- DKIM and S/MIME signing support +- Compatible with PHP 5.5 and later, including PHP 8.2 +- Namespaced to prevent name clashes +- Much more! + +## Why you might need it +Many PHP developers need to send email from their code. The only PHP function that supports this directly is [`mail()`](https://www.php.net/manual/en/function.mail.php). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments. + +Formatting email correctly is surprisingly difficult. There are myriad overlapping (and conflicting) standards, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the `mail()` function directly is just plain wrong, if not unsafe! + +The PHP `mail()` function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD, and macOS platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP client allows email sending on all platforms without needing a local mail server. Be aware though, that the `mail()` function should be avoided when possible; it's both faster and [safer](https://exploitbox.io/paper/Pwning-PHP-Mail-Function-For-Fun-And-RCE.html) to use SMTP to localhost. + +*Please* don't be tempted to do it yourself – if you don't use PHPMailer, there are many other excellent libraries that +you should look at before rolling your own. Try [SwiftMailer](https://swiftmailer.symfony.com/) +, [Laminas/Mail](https://docs.laminas.dev/laminas-mail/), [ZetaComponents](https://github.com/zetacomponents/Mail), etc. + +## License +This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license, along with the [GPL Cooperation Commitment](https://gplcc.github.io/gplcc/). Please read [LICENSE](https://github.com/PHPMailer/PHPMailer/blob/master/LICENSE) for information on the software availability and distribution. + +## Installation & loading +PHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file: + +```json +"phpmailer/phpmailer": "^6.8.1" +``` + +or run + +```sh +composer require phpmailer/phpmailer +``` + +Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailer. + +If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package in your `composer.json`. + +Alternatively, if you're not using Composer, you +can [download PHPMailer as a zip file](https://github.com/PHPMailer/PHPMailer/archive/master.zip), (note that docs and examples are not included in the zip file), then copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration and load each class file manually: + +```php +SMTPDebug = SMTP::DEBUG_SERVER; //Enable verbose debug output + $mail->isSMTP(); //Send using SMTP + $mail->Host = 'smtp.example.com'; //Set the SMTP server to send through + $mail->SMTPAuth = true; //Enable SMTP authentication + $mail->Username = 'user@example.com'; //SMTP username + $mail->Password = 'secret'; //SMTP password + $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption + $mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` + + //Recipients + $mail->setFrom('from@example.com', 'Mailer'); + $mail->addAddress('joe@example.net', 'Joe User'); //Add a recipient + $mail->addAddress('ellen@example.com'); //Name is optional + $mail->addReplyTo('info@example.com', 'Information'); + $mail->addCC('cc@example.com'); + $mail->addBCC('bcc@example.com'); + + //Attachments + $mail->addAttachment('/var/tmp/file.tar.gz'); //Add attachments + $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); //Optional name + + //Content + $mail->isHTML(true); //Set email format to HTML + $mail->Subject = 'Here is the subject'; + $mail->Body = 'This is the HTML message body in bold!'; + $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; + + $mail->send(); + echo 'Message has been sent'; +} catch (Exception $e) { + echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; +} +``` + +You'll find plenty to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder, which covers many common scenarios including sending through Gmail, building contact forms, sending to mailing lists, and more. + +If you are re-using the instance (e.g. when sending to a mailing list), you may need to clear the recipient list to avoid sending duplicate messages. See [the mailing list example](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) for further guidance. + +That's it. You should now be ready to use PHPMailer! + +## Localization +PHPMailer defaults to English, but in the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder, you'll find many translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this: + +```php +//To load the French version +$mail->setLanguage('fr', '/optional/path/to/language/directory/'); +``` + +We welcome corrections and new languages – if you're looking for corrections, run the [Language/TranslationCompletenessTest.php](https://github.com/PHPMailer/PHPMailer/blob/master/test/Language/TranslationCompletenessTest.php) script in the tests folder and it will show any missing translations. + +## Documentation +Start reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, head for [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) as it's frequently updated. + +Examples of how to use PHPMailer for common scenarios can be found in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the Gmail example](https://github.com/PHPMailer/PHPMailer/tree/master/examples/gmail.phps). + +To reduce PHPMailer's deployed code footprint, examples are not included if you load PHPMailer via Composer or via [GitHub's zip file download](https://github.com/PHPMailer/PHPMailer/archive/master.zip), so you'll need to either clone the git repository or use the above links to get to the examples directly. + +Complete generated API documentation is [available online](https://phpmailer.github.io/PHPMailer/). + +You can generate complete API-level documentation by running `phpdoc` in the top-level folder, and documentation will appear in the `docs` folder, though you'll need to have [PHPDocumentor](http://www.phpdoc.org) installed. You may find [the unit tests](https://github.com/PHPMailer/PHPMailer/blob/master/test/PHPMailerTest.php) a good reference for how to do various operations such as encryption. + +If the documentation doesn't cover what you need, search the [many questions on Stack Overflow](http://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about "SMTP Error: Could not connect to SMTP host.", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting). + +## Tests +[PHPMailer tests](https://github.com/PHPMailer/PHPMailer/tree/master/test/) use PHPUnit 9, with [a polyfill](https://github.com/Yoast/PHPUnit-Polyfills) to let 9-style tests run on older PHPUnit and PHP versions. + +[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) + +If this isn't passing, is there something you can do to help? + +## Security +Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. + +See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) and [PHPMailer's security advisories on GitHub](https://github.com/PHPMailer/PHPMailer/security). + +## Contributing +Please submit bug reports, suggestions, and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). + +We're particularly interested in fixing edge cases, expanding test coverage, and updating translations. + +If you found a mistake in the docs, or want to add something, go ahead and amend the wiki – anyone can edit it. + +If you have git clones from prior to the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone: + +```sh +git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git +``` + +Please *don't* use the SourceForge or Google Code projects any more; they are obsolete and no longer maintained. + +## Sponsorship +Development time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), the world's only privacy-first email marketing system. + +Smartmessages.net privacy-first email marketing logo + +Donations are very welcome, whether in beer ðŸº, T-shirts 👕, or cold, hard cash 💰. Sponsorship through GitHub is a simple and convenient way to say "thank you" to PHPMailer's maintainers and contributors – just click the "Sponsor" button [on the project page](https://github.com/PHPMailer/PHPMailer). If your company uses PHPMailer, consider taking part in Tidelift's enterprise support programme. + +## PHPMailer For Enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of PHPMailer and thousands of other packages are working with Tidelift to deliver commercial +support and maintenance for the open-source packages you use to build your applications. Save time, reduce risk, and +improve code health, while paying the maintainers of the exact packages you +use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-phpmailer-phpmailer?utm_source=packagist-phpmailer-phpmailer&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) + +## Changelog +See [changelog](changelog.md). + +## History +- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/). +- [Marcus Bointon](https://github.com/Synchro) (`coolbru` on SF) and Andy Prevost (`codeworxtech`) took over the project in 2004. +- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski. +- Marcus created [his fork on GitHub](https://github.com/Synchro/PHPMailer) in 2008. +- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer in 2013. +- PHPMailer moves to [the PHPMailer organisation](https://github.com/PHPMailer) on GitHub in 2013. + +### What's changed since moving from SourceForge? +- Official successor to the SourceForge and Google Code projects. +- Test suite. +- Continuous integration with GitHub Actions. +- Composer support. +- Public development. +- Additional languages and language strings. +- CRAM-MD5 authentication support. +- Preserves full repo history of authors, commits, and branches from the original SourceForge project. diff --git a/htdocs/includes/external/phpmailer/SECURITY.md b/htdocs/includes/external/phpmailer/SECURITY.md new file mode 100644 index 00000000..035a87f7 --- /dev/null +++ b/htdocs/includes/external/phpmailer/SECURITY.md @@ -0,0 +1,37 @@ +# Security notices relating to PHPMailer + +Please disclose any security issues or vulnerabilities found through [Tidelift's coordinated disclosure system](https://tidelift.com/security) or to the maintainers privately. + +PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the `$patternselect` parameter to `validateAddress()` is set to `'php'` (the default, defined by `PHPMailer::$validator`), and the global namespace contains a function called `php`, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names. Recorded as [CVE-2021-3603](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603). Reported by [Vikrant Singh Chauhan](mailto:vi@hackberry.xyz) via [huntr.dev](https://www.huntr.dev/). + +PHPMailer versions 6.4.1 and earlier contain a possible remote code execution vulnerability through the `$lang_path` parameter of the `setLanguage()` method. If the `$lang_path` parameter is passed unfiltered from user input, it can be set to [a UNC path](https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths), and if an attacker is also able to persuade the server to load a file from that UNC path, a script file under their control may be executed. This vulnerability only applies to systems that resolve UNC paths, typically only Microsoft Windows. +PHPMailer 6.5.0 mitigates this by no longer treating translation files as PHP code, but by parsing their text content directly. This approach avoids the possibility of executing unknown code while retaining backward compatibility. This isn't ideal, so the current translation format is deprecated and will be replaced in the next major release. Recorded as [CVE-2021-34551](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34551). Reported by [Jilin Diting Information Technology Co., Ltd](https://listensec.com) via Tidelift. + +PHPMailer versions between 6.1.8 and 6.4.0 contain a regression of the earlier CVE-2018-19296 object injection vulnerability as a result of [a fix for Windows UNC paths in 6.1.8](https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9). Recorded as [CVE-2020-36326](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36326). Reported by Fariskhi Vidyan via Tidelift. 6.4.1 fixes this issue, and also enforces stricter checks for URL schemes in local path contexts. + +PHPMailer versions 6.1.5 and earlier contain an output escaping bug that occurs in `Content-Type` and `Content-Disposition` when filenames passed into `addAttachment` and other methods that accept attachment names contain double quote characters, in contravention of RFC822 3.4.1. No specific vulnerability has been found relating to this, but it could allow file attachments to bypass attachment filters that are based on matching filename extensions. Recorded as [CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625). Reported by Elar Lang of Clarified Security. + +PHPMailer versions prior to 6.0.6 and 5.2.27 are vulnerable to an object injection attack by passing `phar://` paths into `addAttachment()` and other functions that may receive unfiltered local paths, possibly leading to RCE. Recorded as [CVE-2018-19296](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-19296). See [this article](https://knasmueller.net/5-answers-about-php-phar-exploitation) for more info on this type of vulnerability. Mitigated by blocking the use of paths containing URL-protocol style prefixes such as `phar://`. Reported by Sehun Oh of cyberone.kr. + +PHPMailer versions prior to 5.2.24 (released July 26th 2017) have an XSS vulnerability in one of the code examples, [CVE-2017-11503](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11503). The `code_generator.phps` example did not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, and the file is not included when PHPMailer is loaded through composer, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project. + +PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity. + +PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable to [CVE-2016-10045](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10045) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html), and patched by Paul Buonopane (@Zenexer). + +PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html). + +PHPMailer versions prior to 5.2.14 (released November 2015) are vulnerable to [CVE-2015-8476](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8476) an SMTP CRLF injection bug permitting arbitrary message sending. + +PHPMailer versions prior to 5.2.10 (released May 2015) are vulnerable to [CVE-2008-5619](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-5619), a remote code execution vulnerability in the bundled html2text library. This file was removed in 5.2.10, so if you are using a version prior to that and make use of the html2text function, it's vitally important that you upgrade and remove this file. + +PHPMailer versions prior to 2.0.7 and 2.2.1 are vulnerable to [CVE-2012-0796](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0796), an email header injection attack. + +Joomla 1.6.0 uses PHPMailer in an unsafe way, allowing it to reveal local file paths, reported in [CVE-2011-3747](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3747). + +PHPMailer didn't sanitise the `$lang_path` parameter in `SetLanguage`. This wasn't a problem in itself, but some apps (PHPClassifieds, ATutor) also failed to sanitise user-provided parameters passed to it, permitting semi-arbitrary local file inclusion, reported in [CVE-2010-4914](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4914), [CVE-2007-2021](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2021) and [CVE-2006-5734](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-5734). + +PHPMailer 1.7.2 and earlier contained a possible DDoS vulnerability reported in [CVE-2005-1807](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-1807). + +PHPMailer 1.7 and earlier (June 2003) have a possible vulnerability in the `SendmailSend` method where shell commands may not be sanitised. Reported in [CVE-2007-3215](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-3215). + diff --git a/htdocs/includes/external/phpmailer/UPGRADING.md b/htdocs/includes/external/phpmailer/UPGRADING.md new file mode 100644 index 00000000..31bca7aa --- /dev/null +++ b/htdocs/includes/external/phpmailer/UPGRADING.md @@ -0,0 +1,125 @@ +# Upgrading from PHPMailer 5.2 to 6.0 + +PHPMailer 6.0 is a major update, breaking backward compatibility. + +If you're in doubt about how you should be using PHPMailer 6, take a look at the examples as they have all been updated to work in a PHPMailer 6.0 style. + +## PHP Version + +PHPMailer 6.0 requires PHP 5.5 or later, and is fully compatible with PHP 7.0. PHPMailer 5.2 supported PHP 5.0 and upwards, so if you need to run on a legacy PHP version, see the [PHPMailer 5.2-stable branch on Github](https://github.com/PHPMailer/PHPMailer/tree/5.2-stable). + +## Loading PHPMailer + +The single biggest change will be in the way that you load PHPMailer. In earlier versions you may have done this: + +```php +require 'PHPMailerAutoload.php'; +``` + +or + +```php +require 'class.phpmailer.php'; +require 'class.smtp.php'; +``` + +We recommend that you load PHPMailer via composer, using its standard autoloader, which you probably won't need to load if you're using it already, but in case you're not, you will need to do this instead: + +```php +require 'vendor/autoload.php'; +``` + +If you're not using composer, you can still load the classes manually, depending on what you're using: + +```php +require 'src/PHPMailer.php'; +require 'src/SMTP.php'; +require 'src/Exception.php'; +``` + +## Namespace +PHPMailer 6 uses a [namespace](http://php.net/manual/en/language.namespaces.rationale.php) of `PHPMailer\PHPMailer`, because it's the PHPMailer project within the PHPMailer organisation. You **must** import (with a `use` statement) classes you're using explicitly into your own namespace, or reference them absolutely in the global namespace - all the examples do this. This means the fully-qualified name of the main PHPMailer class is `PHPMailer\PHPMailer\PHPMailer`, which is a bit of a mouthful, but there's no harm in it! If you are using other PHPMailer classes explicitly (such as `SMTP` or `Exception`), you will need to import them into your namespace too. + +For example you might create an instance like this: + +```php +errorMessage(); +} catch (Exception $e) { + echo $e->getMessage(); +} +``` + +Convert it to: + +```php +use PHPMailer\PHPMailer\Exception; +... +try { +... +} catch (Exception $e) { + echo $e->errorMessage(); +} catch (\Exception $e) { + echo $e->getMessage(); +} +``` + +## OAuth2 Support +The OAuth2 implementation has been completely redesigned using the [OAuth2 packages](http://oauth2-client.thephpleague.com) from the [League of extraordinary packages](http://thephpleague.com), providing support for many more OAuth services, and you'll need to update your code if you were using OAuth in 5.2. See [the examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) and documentation in the [PHPMailer wiki](https://github.com/PHPMailer/PHPMailer/wiki). + +## Extras +Additional classes previously bundled in the `Extras` folder (such as htmlfilter and EasyPeasyICS) have been removed - use equivalent packages from [packagist.org](https://packagist.org) instead. + +## Other upgrade changes +See the changelog for full details. +* File structure simplified, classes live in the `src/` folder +* Most statically called functions now use the `static` keyword instead of `self`, so it's possible to override static internal functions in subclasses, for example `validateAddress()` +* Complete RFC standardisation on CRLF (`\r\n`) line breaks by default: + * `PHPMailer::$LE` still exists, but all uses of it are changed to `static::$LE` for easier overriding. It may be changed to `\n` automatically when sending via `mail()` on UNIX-like OSs + * `PHPMailer::CRLF` line ending constant removed + * The length of the line break is no longer used in line length calculations + * Similar changes to line break handling in SMTP and POP3 classes +* All elements previously marked as deprecated have been removed: + * `PHPMailer->Version` + * `PHPMailer->ReturnPath` + * `PHPMailer->PluginDir` + * `PHPMailer->encodeQPphp()` + * `SMTP->CRLF` + * `SMTP->Version` + * `SMTP->SMTP_PORT` + * `POP3->CRLF` + * `POP3->Version` +* NTLM authentication has been removed - it never worked anyway! + * `PHPMailer->Workstation` + * `PHPMailer->Realm` +* `SMTP::authenticate` method signature changed +* `parseAddresses()` is now static +* `validateAddress()` is now called statically from `parseAddresses()` +* `idnSupported()` is now static and is called statically from `punyencodeAddress()` +* `PHPMailer->SingleToArray` is now protected diff --git a/htdocs/includes/external/phpmailer/VERSION b/htdocs/includes/external/phpmailer/VERSION new file mode 100644 index 00000000..23863d3d --- /dev/null +++ b/htdocs/includes/external/phpmailer/VERSION @@ -0,0 +1 @@ +6.8.1 \ No newline at end of file diff --git a/htdocs/includes/external/phpmailer/changelog.md b/htdocs/includes/external/phpmailer/changelog.md new file mode 100644 index 00000000..ef863387 --- /dev/null +++ b/htdocs/includes/external/phpmailer/changelog.md @@ -0,0 +1,1047 @@ +# PHPMailer Change Log + +## Version 6.8.1 (August 29th, 2023) +* Don't reflect malformed DSNs in error messages to avert any risk of XSS +* Improve Simplified Chinese, Sinhalese, and Norwegian translations +* Don't use `setAccessible` in PHP >= 8.1 in tests +* Avoid a deprecation notice in PHP 8.3 +* Fix link in readme + +## Version 6.8.0 (March 6th, 2023) +* Add DSN parsing class, thanks to @voronkovich +* Fix some name edge cases, expand tests +* Add pattern for ZonMTA message IDs +* Improve Hindi translation + +## Version 6.7.1 (December 8th, 2022) +* Add official support for PHP 8.2 +* Add PHP 8.3 to test suite with "experimental" status +* Add ext-openssl to composer suggest list +* Bump development dependencies + +## Version 6.7 (December 5th, 2022) +* Break out boundary definitions into a method (note that boundary format has also changed slightly) +* Remove MIME preamble to match popular client behaviour, may help with DKIM too +* Fix handling of trailing whitespace in simple DKIM canonicalisation +* Fix some possible POP3 auth issues, including a TCP hang (thanks to @czirkoszoltan) +* Add Azure XOAUTH2 example and docs (thanks to @greew) +* Preserve errors during disconnect +* Avoid some PHP 8.1 type issues +* Update CI to run on Ubuntu 22.04 + +## Version 6.6.5 (October 7th, 2022) + +* Don't try to issue RSET if there has been a connection error +* Reject attempts to add folders as attachments +* Don't suppress earlier error messages on close() +* Handle Host === null better +* Update Danish and Polish translations +* Change recommendation for Microsoft OAuth package to thenetworg/oauth2-azure +* Bump some GitHub action versions + +## Version 6.6.4 (August 22nd, 2022) +* Update Greek translation +* Add text/csv MIME type +* Fix DKIM when sending to anonymous group via mail() +* Improve docs around auth following gmail & MS deprecations +* Update GitHub action deps +* Add OpenSSF Scorecard security health metrics + +## Version 6.6.3 (June 20th, 2022) +* Add an HTML form to the OAuth setup script +* Minor CS improvements +* Add Mongolian translation +* Remove bogus "ch" translation + +## Version 6.6.2 (June 14th, 2022) +* Fix docs deployment GitHub action +* Updates to parallel-lint and console highlighter, thanks to @jrfnl + +## Version 6.6.1 (June 14th, 2022) (unreleased) +* Don't clear errors on RSET, so they can still be obtained when using keepalive +* Bump some GitHub action versions +* Fix some tests +* 🇺🇦 Slava Ukraini! + +## Version 6.6 (February 28th, 2022) +* Introduce interface for OAuth providers, making it easier to use OAuth libraries other than the League one, thanks to @pdscopes. +* Add more contextual information to TLS connection failure error messages, and throw exceptions on TLS connection errors, thanks to @miken32 + +## Version 6.5.4 (February 17th, 2022) +* If we can't use escaping functions, refuse to do unsafe things +* Avoid PHP 8.1 trim issue +* Add tests for XMailer +* Fix bug in use of CharSet property +* Fix bug in file upload example +* Update dev dependencies + +## Version 6.5.3 (November 25th, 2021) +* Wrong commit tagged for the 6.5.2 release! +* Version file updated + +## Version 6.5.2 (November 25th, 2021) +* Enable official support for PHP 8.1 +* Enable experimental support for PHP 8.2 +* Fix for PHP 5.6 +* Fix for incorrect options for punyencoding IDNs + +## Version 6.5.1 (August 18th, 2021) +* Provisional support for PHP 8.1 +* Major overhaul of test suite +* Add codecov.io coverage reporting +* Prefer implicit TLS on port 465 as default encryption scheme in examples, as per RFC8314 +* Fix potential noisy output from IMAP address parser +* Stricter checking of custom MessageID validity +* Replace invalid default From address +* Support fallback for languages, so a request for `pt_xx` will fall back to `pt` rather than the default `en`. +* Support multi-line RFC2047 addresses in parseAddresses +* Improved Japanese translation + +Many thanks to @jrfnl for all her work. + +## Version 6.5.0 (June 16th, 2021) +* **SECURITY** Fixes CVE-2021-34551, a complex RCE affecting Windows hosts. See [SECURITY.md](SECURITY.md) for details. +* The fix for this issue changes the way that language files are loaded. While they remain in the same PHP-like format, they are processed as plain text, and any code in them will not be run, including operations such as concatenation using the `.` operator. +* *Deprecation* The current translation file format using PHP arrays is now deprecated; the next major version will introduce a new format. +* **SECURITY** Fixes CVE-2021-3603 that may permit untrusted code to be run from an address validator. See [SECURITY.md](SECURITY.md) for details. +* The fix for this issue includes a minor BC break: callables injected into `validateAddress`, or indirectly through the `$validator` class property, may no longer be simple strings. If you want to inject your own validator, provide a closure instead of a function name. +* Haraka message ID strings are now recognised + +## Version 6.4.1 (April 29th, 2021) +* **SECURITY** Fixes CVE-2020-36326, a regression of CVE-2018-19296 object injection introduced in 6.1.8, see SECURITY.md for details +* Reject more file paths that look like URLs, matching RFC3986 spec, blocking URLS using schemes such as `ssh2` +* Ensure method signature consistency in `doCallback` calls +* Ukrainian language update +* Add composer scripts for checking coding standards and running tests + +## Version 6.4.0 (March 31st, 2021) +* Revert change that made the `mail()` and sendmail transports set the envelope sender if one isn't explicitly provided, as it causes problems described in +* Check for mbstring extension before decoding addresss in `parseAddress` +* Add Serbian Latin translation (`sr_latn`) +* Enrol PHPMailer in Tidelift + +## Version 6.3.0 (February 19th, 2021) +* Handle early connection errors such as 421 during connection and EHLO states +* Switch to GitHub Actions for CI +* Generate debug output for `mail()`, sendmail, and qmail transports. Enable using the same mechanism as for SMTP: set `SMTPDebug` > 0 +* Make the `mail()` and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever `From` is set to, only falling back to the `sendmail_from` php.ini setting if `From` is unset. This avoids errors from the `mail()` function if `Sender` is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number. +* Extend `parseAddresses` to decode encoded names, improve tests + +## Version 6.2.0 +* PHP 8.0 compatibility, many thanks to @jrf_nl! +* Switch from PHP CS Fixer to PHP CodeSniffer for coding standards +* Create class constants for the debug levels in the POP3 class +* Improve French, Slovenian, and Ukrainian translations +* Improve file upload examples so file extensions are retained +* Resolve PHP 8 line break issues due to a very old PHP bug being fixed +* Avoid warnings when using old openssl functions +* Improve Travis-CI build configuration + +## Version 6.1.8 (October 9th, 2020) +* Mark `ext-hash` as required in composer.json. This has long been required, but now it will cause an error at install time rather than runtime, making it easier to diagnose +* Make file upload examples safer +* Update links to SMTP testing servers +* Avoid errors when set_time_limit is disabled (you need better hosting!) +* Allow overriding auth settings for local tests; makes it easy to run tests using HELO +* Recover gracefully from errors during keepalive sessions +* Add AVIF MIME type mapping +* Prevent duplicate `To` headers in BCC-only messages when using `mail()` +* Avoid file function problems when attaching files from Windows UNC paths +* Improve German, Bahasa Indonesian, Filipino translations +* Add Javascript-based example +* Increased test coverage + +## Version 6.1.7 (July 14th, 2020) +* Split SMTP connection into two separate methods +* Undo BC break in PHP versions 5.2.3 - 7.0.0 introduced in 6.1.2 when injecting callables for address validation and HTML to text conversion +* Save response to SMTP welcome banner as other responses are saved +* Retry stream_select if interrupted by a signal + +## Version 6.1.6 (May 27th, 2020) +* **SECURITY** Fix insufficient output escaping bug in file attachment names. CVE-2020-13625. Reported by Elar Lang of Clarified Security. +* Correct Armenian ISO language code from `am` to `hy`, add mapping for fallback +* Use correct timeout property in debug output + +## Version 6.1.5 (March 14th, 2020) +* Reject invalid custom headers that are empty or contain breaks +* Various fixes for DKIM issues, especially when using `mail()` transport +* Drop the `l=` length tag from DKIM signatures; it's a mild security risk +* Ensure CRLF is used explicitly when needed, rather than `static::$LE` +* Add a method for trimming header content consistently +* Some minor tweaks to resolve static analyser complaints +* Check that attachment files are readable both when adding *and* when sending +* Work around Outlook bug in mishandling MIME preamble +* Danish translation improvements + +## Version 6.1.4 (December 10th, 2019) +* Clean up hostname handling +* Avoid IDN error on older PHP versions, prep for PHP 8.0 +* Don't force RFC2047 folding unnecessarily +* Enable tests on full release of PHP 7.4 + +## Version 6.1.3 (November 21st, 2019) +* Fix an issue preventing injected debug handlers from working +* Fix an issue relating to connection timeout +* Add `SMTP::MAX_REPLY_LENGTH` constant +* Remove some dev dependencies; phpdoc no longer included +* Fix an issue where non-compliant servers returning bare codes caused an SMTP hang + +## Version 6.1.2 (November 13th, 2019) +* Substantial revision of DKIM header generation +* Use shorter hashes for auto-generated CID values +* Fix format of content-id headers, and only use them for inline attachments +* Remove all use of XHTML +* Lots of coding standards cleanup +* API docs are now auto-updated via GitHub actions +* Fix header separation bug created in 6.1.1 +* Fix misidentification of background attributes in SVG images in msgHTML + +## Version 6.1.1 (September 27th 2019) +* Fix misordered version tag + +## Version 6.1.0 (September 27th 2019) +* Multiple bug fixes for folding of long header lines, thanks to @caugner +* Add support for [RFC2387 child element content-type hint](https://tools.ietf.org/html/rfc2387#section-3.1) in `multipart/related` structures. +* Support for Ical event methods other than `REQUEST`, thanks to @puhr-mde +* Change header folding and param separation to use spaces instead of tabs +* Use ; to separate multiple MIME header params +* Add support for RFC3461 DSN messages +* IMAP example code fixed +* Use PHP temp streams instead of temp files +* Allow for longer SMTP error codes +* Updated Brazilian Portuguese translation +* Throw exceptions on invalid encoding values +* Add Afrikaans translation, thanks to @Donno191 +* Updated Farsi/Persian translation +* Add PHP 7.4 to test config +* Remove some ambiguity about setting XMailer property +* Improve error checking in mailing list example +* Drop PHP 5.5 from CI config as it's no longer supported by Travis-CI +* Fix S/MIME signing +* Add constants for encryption type +* More consistent use of constants for encryption, charset, encoding +* Add PHPMailer logo images + +## Version 6.0.7 (February 1st 2019) +* Include RedHat GPL Cooperation Commitment - see the `COMMITMENT` file for details. +* Don't exclude composer.json from git exports as it breaks composer updates in projects that use PHPMailer +* Updated Malay translation +* Fix language tests + +## Version 6.0.6 (November 14th 2018) +* **SECURITY** Fix potential object injection vulnerability. Reported by Sehun Oh of cyberone.kr. +* Added Tagalog translation, thanks to @StoneArtz +* Added Malagache translation, thanks to @Hackinet +* Updated Serbian translation, fixed incorrect language code, thanks to @mmilanovic4 +* Updated Arabic translations (@MicroDroid) +* Updated Hungarian translations +* Updated Dutch translations +* Updated Slovenian translation (@filips123) +* Updated Slovak translation (@pcmanik) +* Updated Italian translation (@sabas) +* Updated Norwegian translation (@aleskr) +* Updated Indonesian translation (@mylastof) +* Add constants for common values, such as `text/html` and `quoted-printable`, and use them +* Added support for copied headers in DKIM, helping with debugging, and an option to add extra headers to the DKIM signature. See DKIM_sign example for how to use them. Thanks to @gwi-mmuths. +* Add Campaign Monitor transaction ID pattern matcher +* Remove deprecated constant and ini values causing warnings in PHP 7.3, added PHP 7.3 build to Travis config. +* Expanded test coverage + +## Version 5.2.27 (November 14th 2018) +* **SECURITY** Fix potential object injection vulnerability. Reported by Sehun Oh of cyberone.kr. +* Note that the 5.2 branch is now deprecated and will not receive security updates after 31st December 2018. + +## Version 6.0.5 (March 27th 2018) +* Re-roll of 6.0.4 to fix missed version file entry. No code changes. + +## Version 6.0.4 (March 27th 2018) +* Add some modern MIME types +* Add Hindi translation (thanks to @dextel2) +* Improve composer docs +* Fix generation of path to language files + +## Version 6.0.3 (January 5th 2018) +* Correct DKIM canonicalization of line breaks for header & body - thanks to @themichaelhall +* Make dependence on ext-filter explicit in composer.json + +## Version 6.0.2 (November 29th 2017) +* Don't make max line length depend on line break format +* Improve Travis-CI config - thanks to Filippo Tessarotto +* Match SendGrid transaction IDs +* `idnSupported()` now static, as previously documented +* Improve error messages for invalid addresses +* Improve Indonesian translation (thanks to @januridp) +* Improve Esperanto translation (thanks to @dknacht) +* Clean up git export ignore settings for production and zip bundles +* Update license doc +* Updated upgrading docs +* Clarify `addStringEmbeddedImage` docs +* Hide auth credentials in all but lowest-level debug output, prevents leakage in bug reports +* Code style cleanup + +## Version 6.0.1 (September 14th 2017) +* Use shorter Message-ID headers (with more entropy) to avoid iCloud blackhole bug +* Switch to Symfony code style (though it's not well defined) +* CI builds now apply syntax & code style checks, so make your PRs tidy! +* CI code coverage only applied on latest version of PHP to speed up builds (thanks to @Slamdunk for these CI changes) +* Remove `composer.lock` - it's important that libraries break early; keeping it is for apps +* Rename test scripts to PSR-4 spec +* Make content-id values settable on attachments, not just embedded items +* Add SMTP transaction IDs to callbacks & allow for future expansion +* Expand test coverage + +## Version 6.0 (August 28th 2017) +This is a major update that breaks backwards compatibility. + +* **Requires PHP 5.5 or later** +* **Uses the `PHPMailer\PHPMailer` namespace** +* File structure simplified and PSR-4 compatible, classes live in the `src/` folder +* The custom autoloader has been removed: [**use composer**](https://getcomposer.org)! +* Classes & Exceptions renamed to make use of the namespace +* Most statically called functions now use the `static` keyword instead of `self`, so it's possible to override static internal functions in subclasses, for example `validateAddress()` +* Complete RFC standardisation on CRLF (`\r\n`) line breaks for SMTP by default: + * `PHPMailer:$LE` defaults to CRLF + * All uses of `PHPMailer::$LE` property converted to use `static::$LE` constant for consistency and ease of overriding + * Similar changes to line break handling in SMTP and POP3 classes. + * Line break format for `mail()` transport is set automatically. + * Warnings emitted for buggy `mail()` in PHP versions 7.0.0 - 7.0.16 and 7.1.0 - 7.1.2; either upgrade or switch to SMTP. +* Extensive reworking of XOAUTH2, adding support for Google, Yahoo and Microsoft providers, thanks to @sherryl4george +* Major cleanup of docs and examples +* All elements previously marked as deprecated have been removed: + * `PHPMailer->Version` (replaced with `VERSION` constant) + * `PHPMailer->ReturnPath` + * `PHPMailer->PluginDir` + * `PHPMailer->encodeQPphp()` + * `SMTP->CRLF` (replaced with `LE` constant) + * `SMTP->Version` (replaced with `VERSION` constant) + * `SMTP->SMTP_PORT` (replaced with `DEFAULT_PORT` constant) + * `POP3->CRLF` (replaced with `LE` constant) + * `POP3->Version` (replaced with `VERSION` constant) + * `POP3->POP3_PORT` (replaced with `DEFAULT_PORT` constant) + * `POP3->POP3_TIMEOUT` (replaced with `DEFAULT_TIMEOUT` constant) +* NTLM authentication has been removed - it never worked anyway! + * `PHPMailer->Workstation` + * `PHPMailer->Realm` +* `SingleTo` functionality is deprecated; this belongs at a higher level - PHPMailer is not a mailing list system. +* `SMTP::authenticate` method signature changed +* `parseAddresses()` is now static +* `validateAddress()` is now called statically from `parseAddresses()` +* `idnSupported()` is now static and is called statically from `punyencodeAddress()` +* `PHPMailer->SingleToArray` is now protected +* `fixEOL()` method removed - it duplicates `PHPMailer::normalizeBreaks()`, so use that instead +* Don't try to use an auth mechanism if it's not supported by the server +* Reorder automatic AUTH mechanism selector to try most secure method first +* `Extras` classes have been removed - use alternative packages from [packagist.org](https://packagist.org) instead +* Better handling of automatic transfer encoding switch in the presence of long lines +* Simplification of address validation - now uses PHP's `FILTER_VALIDATE_EMAIL` pattern by default, retains advanced options +* `Debugoutput` can accept a PSR-3 logger instance +* To reduce code footprint, the examples folder is no longer included in composer deployments or GitHub zip files +* Trap low-level errors in SMTP, reports via debug output +* More reliable folding of message headers +* Inject your own SMTP implementation via `setSMTPInstance()` instead of having to subclass and override `getSMTPInstance()`. +* Make obtaining SMTP transaction ID more reliable +* Better handling of unreliable PHP timeouts +* Made `SMTPDebug = 4` slightly less noisy + +## Version 5.2.25 (August 28th 2017) +* Make obtaining SMTP transaction ID more reliable +* Add Bosnian translation +* This is the last official release in the legacy PHPMailer 5.2 series; there may be future security patches (which will be found in the [5.2-stable branch](https://github.com/PHPMailer/PHPMailer/tree/5.2-stable)), but no further non-security PRs or issues will be accepted. Migrate to PHPMailer 6.0. + +## Version 5.2.24 (July 26th 2017) +* **SECURITY** Fix XSS vulnerability in one of the code examples, [CVE-2017-11503](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11503). The `code_generator.phps` example did not filter user input prior to output. This file is distributed with a `.phps` extension, so it is not normally executable unless it is explicitly renamed, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project. +* Handle bare codes (an RFC contravention) in SMTP server responses +* Make message timestamps more dynamic - calculate the date separately for each message +* More thorough checks for reading attachments. +* Throw an exception when trying to send a message with an empty body caused by an internal error. +* Replaced all use of MD5 and SHA1 hash functions with SHA256. +* Now checks for invalid host strings when sending via SMTP. +* Include timestamps in HTML-format debug output +* Improve Turkish, Norwegian, Serbian, Brazilian Portuguese & simplified Chinese translations +* Correction of Serbian ISO language code from `sr` to `rs` +* Fix matching of multiple entries in `Host` to match IPv6 literals without breaking port selection (see #1094, caused by a3b4f6b) +* Better capture and reporting of SMTP connection errors + +## Version 5.2.23 (March 15th 2017) +* Improve trapping of TLS errors during connection so that they don't cause warnings, and are reported better in debug output +* Amend test suite so it uses PHPUnit version 4.8, compatible with older versions of PHP, instead of the version supplied by Travis-CI +* This forces pinning of some dev packages to older releases, but should make travis builds more reliable +* Test suite now runs on HHVM, and thus so should PHPMailer in general +* Improve Czech translations +* Add links to CVE-2017-5223 resources + +## Version 5.2.22 (January 5th 2017) +* **SECURITY** Fix [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223), local file disclosure vulnerability if content passed to `msgHTML()` is sourced from unfiltered user input. Reported by Yongxiang Li of Asiasecurity. The fix for this means that calls to `msgHTML()` without a `$basedir` will not import images with relative URLs, and relative URLs containing `..` will be ignored. +* Add simple contact form example +* Emoji in test content + +## Version 5.2.21 (December 28th 2016) +* Fix missed number update in version file - no functional changes + +## Version 5.2.20 (December 28th 2016) +* **SECURITY** Critical security update for CVE-2016-10045 please update now! Thanks to [Dawid Golunski](https://legalhackers.com) and Paul Buonopane (@Zenexer). +* Note that this change will break VERP addresses in Sender if you're using mail() - workaround: use SMTP to localhost instead. + +## Version 5.2.19 (December 26th 2016) +* Minor cleanup + +## Version 5.2.18 (December 24th 2016) +* **SECURITY** Critical security update for CVE-2016-10033 please update now! Thanks to [Dawid Golunski](https://legalhackers.com). +* Add ability to extract the SMTP transaction ID from some common SMTP success messages +* Minor documentation tweaks + +## Version 5.2.17 (December 9th 2016) +* This is officially the last feature release of 5.2. Security fixes only from now on; use PHPMailer 6.0! +* Allow DKIM private key to be provided as a string +* Provide mechanism to allow overriding of boundary and message ID creation +* Improve Brazilian Portuguese, Spanish, Swedish, Romanian, and German translations +* PHP 7.1 support for Travis-CI +* Fix some language codes +* Add security notices +* Improve DKIM compatibility in older PHP versions +* Improve trapping and capture of SMTP connection errors +* Improve passthrough of error levels for debug output +* PHPDoc cleanup + +## Version 5.2.16 (June 6th 2016) +* Added DKIM example +* Fixed empty additional_parameters problem +* Fixed wrong version number in VERSION file! +* Improve line-length tests +* Use instance settings for SMTP::connect by default +* Use more secure auth mechanisms first + +## Version 5.2.15 (May 10th 2016) +* Added ability to inject custom address validators, and set the default validator +* Fix TLS 1.2 compatibility +* Remove some excess line breaks in MIME structure +* Updated Polish, Russian, Brazilian Portuguese, Georgian translations +* More DRY! +* Improve error messages +* Update dependencies +* Add example showing how to handle multiple form file uploads +* Improve SMTP example +* Improve Windows compatibility +* Use consistent names for temp files +* Fix gmail XOAUTH2 scope, thanks to @sherryl4george +* Fix extra line break in getSentMIMEMessage() +* Improve DKIM signing to use SHA-2 + +## Version 5.2.14 (Nov 1st 2015) +* Allow addresses with IDN (Internationalized Domain Name) in PHP 5.3+, thanks to @fbonzon +* Allow access to POP3 errors +* Make all POP3 private properties and methods protected +* **SECURITY** Fix vulnerability that allowed email addresses with line breaks (valid in RFC5322) to pass to SMTP, permitting message injection at the SMTP level. Mitigated in both the address validator and in the lower-level SMTP class. Thanks to Takeshi Terada. +* Updated Brazilian Portuguese translations (Thanks to @phelipealves) + +## Version 5.2.13 (Sep 14th 2015) +* Rename internal oauth class to avoid name clashes +* Improve Estonian translations + +## Version 5.2.12 (Sep 1st 2015) +* Fix incorrect composer package dependencies +* Skip existing embedded image `cid`s in `msgHTML` + +## Version 5.2.11 (Aug 31st 2015) +* Don't switch to quoted-printable for long lines if already using base64 +* Fixed Travis-CI config when run on PHP 7 +* Added Google XOAUTH2 authentication mechanism, thanks to @sherryl4george +* Add address parser for RFC822-format addresses +* Update MS Office MIME types +* Don't convert line breaks when using quoted-printable encoding +* Handle MS Exchange returning an invalid empty AUTH-type list in EHLO +* Don't set name or filename properties on MIME parts that don't have one + +## Version 5.2.10 (May 4th 2015) +* Add custom header getter +* Use `application/javascript` for .js attachments +* Improve RFC2821 compliance for timelimits, especially for end-of-data +* Add Azerbaijani translations (Thanks to @mirjalal) +* Minor code cleanup for robustness +* Add Indonesian translations (Thanks to @ceceprawiro) +* Avoid `error_log` Debugoutput naming clash +* Add ability to parse server capabilities in response to EHLO (useful for SendGrid etc) +* Amended default values for WordWrap to match RFC +* Remove html2text converter class (has incompatible license) +* Provide new mechanism for injecting html to text converters +* Improve pointers to docs and support in README +* Add example file upload script +* Refactor and major cleanup of EasyPeasyICS, now a lot more usable +* Make set() method simpler and more reliable +* Add Malay translation (Thanks to @nawawi) +* Add Bulgarian translation (Thanks to @mialy) +* Add Armenian translation (Thanks to Hrayr Grigoryan) +* Add Slovenian translation (Thanks to Klemen TuÅ¡ar) +* More efficient word wrapping +* Add support for S/MIME signing with additional CA certificate (thanks to @IgitBuh) +* Fix incorrect MIME structure when using S/MIME signing and isMail() (#372) +* Improved checks and error messages for missing extensions +* Store and report SMTP errors more consistently +* Add MIME multipart preamble for better Outlook compatibility +* Enable TLS encryption automatically if the server offers it +* Provide detailed errors when individual recipients fail +* Report more errors when connecting +* Add extras classes to composer classmap +* Expose stream_context_create options via new SMTPOptions property +* Automatic encoding switch to quoted-printable if message lines are too long +* Add Korean translation (Thanks to @ChalkPE) +* Provide a pointer to troubleshooting docs on SMTP connection failure + +## Version 5.2.9 (Sept 25th 2014) +* **Important: The autoloader is no longer autoloaded by the PHPMailer class** +* Update html2text from https://github.com/mtibben/html2text +* Improve Arabic translations (Thanks to @tarekdj) +* Consistent handling of connection variables in SMTP and POP3 +* PHPDoc cleanup +* Update composer to use PHPUnit 4.1 +* Pass consistent params to callbacks +* More consistent handling of error states and debug output +* Use property defaults, remove constructors +* Remove unreachable code +* Use older regex validation pattern for troublesome PCRE library versions +* Improve PCRE detection in older PHP versions +* Handle debug output consistently, and always in UTF-8 +* Allow user-defined debug output method via a callable +* msgHTML now converts data URIs to embedded images +* SMTP::getLastReply() will now always be populated +* Improved example code in README +* Ensure long filenames in Content-Disposition are encoded correctly +* Simplify SMTP debug output mechanism, clarify levels with constants +* Add SMTP connection check example +* Simplify examples, don't use mysql* functions + +## Version 5.2.8 (May 14th 2014) +* Increase timeout to match RFC2821 section 4.5.3.2 and thus not fail greetdelays, fixes #104 +* Add timestamps to default debug output +* Add connection events and new level 3 to debug output options +* Chinese language update (Thanks to @binaryoung) +* Allow custom Mailer types (Thanks to @michield) +* Cope with spaces around SMTP host specs +* Fix processing of multiple hosts in connect string +* Added Galician translation (Thanks to @donatorouco) +* Autoloader now prepends +* Docs updates +* Add Latvian translation (Thanks to @eddsstudio) +* Add Belarusian translation (Thanks to @amaksymiuk) +* Make autoloader work better on older PHP versions +* Avoid double-encoding if mbstring is overloading mail() +* Add Portuguese translation (Thanks to @Jonadabe) +* Make quoted-printable encoder respect line ending setting +* Improve Chinese translation (Thanks to @PeterDaveHello) +* Add Georgian translation (Thanks to @akalongman) +* Add Greek translation (Thanks to @lenasterg) +* Fix serverHostname on PHP < 5.3 +* Improve performance of SMTP class +* Implement automatic 7bit downgrade +* Add Vietnamese translation (Thanks to @vinades) +* Improve example images, switch to PNG +* Add Croatian translation (Thanks to @hrvoj3e) +* Remove setting the Return-Path and deprecate the Return-path property - it's just wrong! +* Fix language file loading if CWD has changed (@stephandesouza) +* Add HTML5 email validation pattern +* Improve Turkish translations (Thanks to @yasinaydin) +* Improve Romanian translations (Thanks to @aflorea) +* Check php.ini for path to sendmail/qmail before using default +* Improve Farsi translation (Thanks to @MHM5000) +* Don't use quoted-printable encoding for multipart types +* Add Serbian translation (Thanks to ajevremovic at gmail.com) +* Remove useless PHP5 check +* Use SVG for build status badges +* Store MessageDate on creation +* Better default behaviour for validateAddress + +## Version 5.2.7 (September 12th 2013) +* Add Ukrainian translation from @Krezalis +* Support for do_verp +* Fix bug in CRAM-MD5 AUTH +* Propagate Debugoutput option to SMTP class (@Reblutus) +* Determine MIME type of attachments automatically +* Add cross-platform, multibyte-safe pathinfo replacement (with tests) and use it +* Add a new 'html' Debugoutput type +* Clean up SMTP debug output, remove embedded HTML +* Some small changes in header formatting to improve IETF msglint test results +* Update test_script to use some recently changed features, rename to code_generator +* Generated code actually works! +* Update SyntaxHighlighter +* Major overhaul and cleanup of example code +* New PHPMailer graphic +* msgHTML now uses RFC2392-compliant content ids +* Add line break normalization function and use it in msgHTML +* Don't set unnecessary reply-to addresses +* Make fakesendmail.sh a bit cleaner and safer +* Set a content-transfer-encoding on multiparts (fixes msglint error) +* Fix cid generation in msgHTML (Thanks to @digitalthought) +* Fix handling of multiple SMTP servers (Thanks to @NanoCaiordo) +* SMTP->connect() now supports stream context options (Thanks to @stanislavdavid) +* Add support for iCal event alternatives (Thanks to @reblutus) +* Update to Polish language file (Thanks to Krzysztof Kowalewski) +* Update to Norwegian language file (Thanks to @datagutten) +* Update to Hungarian language file (Thanks to @dominicus-75) +* Add Persian/Farsi translation from @jaii +* Make SMTPDebug property type match type in SMTP class +* Add unit tests for DKIM +* Major refactor of SMTP class +* Reformat to PSR-2 coding standard +* Introduce autoloader +* Allow overriding of SMTP class +* Overhaul of PHPDocs +* Fix broken Q-encoding +* Czech language update (Thanks to @nemelu) +* Removal of excess blank lines in messages +* Added fake POP server and unit tests for POP-before-SMTP + +## Version 5.2.6 (April 11th 2013) +* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer +* Fix unbumped version numbers +* Update packagist.org with new location +* Clean up Changelog + +## Version 5.2.5 (April 6th 2013) +* First official release after move from Google Code +* Fixes for qmail when sending via mail() +* Merge in changes from Google code 5.2.4 release +* Minor coding standards cleanup in SMTP class +* Improved unit tests, now tests S/MIME signing +* Travis-CI support on GitHub, runs tests with fake SMTP server + +## Version 5.2.4 (February 19, 2013) +* Fix tag and version bug. +* un-deprecate isSMTP(), isMail(), IsSendmail() and isQmail(). +* Numerous translation updates + +## Version 5.2.3 (February 8, 2013) +* Fix issue with older PCREs and ValidateAddress() (Bugz: 124) +* Add CRAM-MD5 authentication, thanks to Elijah madden, https://github.com/okonomiyaki3000 +* Replacement of obsolete Quoted-Printable encoder with a much better implementation +* Composer package definition +* New language added: Hebrew + +## Version 5.2.2 (December 3, 2012) +* Some fixes and syncs from https://github.com/Synchro/PHPMailer +* Add Slovak translation, thanks to Michal Tinka + +## Version 5.2.2-rc2 (November 6, 2012) +* Fix SMTP server rotation (Bugz: 118) +* Allow override of autogen'ed 'Date' header (for Drupal's + og_mailinglist module) +* No whitespace after '-f' option (Bugz: 116) +* Work around potential warning (Bugz: 114) + +## Version 5.2.2-rc1 (September 28, 2012) +* Header encoding works with long lines (Bugz: 93) +* Turkish language update (Bugz: 94) +* undefined $pattern in EncodeQ bug squashed (Bugz: 98) +* use of mail() in safe_mode now works (Bugz: 96) +* ValidateAddress() now 'public static' so people can override the + default and use their own validation scheme. +* ValidateAddress() no longer uses broken FILTER_VALIDATE_EMAIL +* Added in AUTH PLAIN SMTP authentication + +## Version 5.2.2-beta2 (August 17, 2012) +* Fixed Postfix VERP support (Bugz: 92) +* Allow action_function callbacks to pass/use + the From address (passed as final param) +* Prevent inf look for get_lines() (Bugz: 77) +* New public var ($UseSendmailOptions). Only pass sendmail() + options iff we really are using sendmail or something sendmail + compatible. (Bugz: 75) +* default setting for LE returned to "\n" due to popular demand. + +## Version 5.2.2-beta1 (July 13, 2012) +* Expose PreSend() and PostSend() as public methods to allow + for more control if serializing message sending. +* GetSentMIMEMessage() only constructs the message copy when + needed. Save memory. +* Only pass params to mail() if the underlying MTA is + "sendmail" (as defined as "having the string sendmail + in its pathname") [#69] +* Attachments now work with Amazon SES and others [Bugz#70] +* Debug output now sent to stdout (via echo) or error_log [Bugz#5] +* New var: Debugoutput (for above) [Bugz#5] +* SMTP reads now Timeout aware (new var: Timeout=15) [Bugz#71] +* SMTP reads now can have a Timelimit associated with them + (new var: Timelimit=30)[Bugz#71] +* Fix quoting issue associated with charsets +* default setting for LE is now RFC compliant: "\r\n" +* Return-Path can now be user defined (new var: ReturnPath) + (the default is "" which implies no change from previous + behavior, which was to use either From or Sender) [Bugz#46] +* X-Mailer header can now be disabled (by setting to a + whitespace string, eg " ") [Bugz#66] +* Bugz closed: #68, #60, #42, #43, #59, #55, #66, #48, #49, + #52, #31, #41, #5. #70, #69 + +## Version 5.2.1 (January 16, 2012) +* Closed several bugs #5 +* Performance improvements +* MsgHTML() now returns the message as required. +* New method: GetSentMIMEMessage() (returns full copy of sent message) + +## Version 5.2 (July 19, 2011) +* protected MIME body and header +* better DKIM DNS Resource Record support +* better aly handling +* htmlfilter class added to extras +* moved to Apache Extras + +## Version 5.1 (October 20, 2009) +* fixed filename issue with AddStringAttachment (thanks to Tony) +* fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in + addition to PHP mail() +* added DKIM digital signing functionality, new properties: + - DKIM_domain (sets the domain name) + - DKIM_private (holds DKIM private key) + - DKIM_passphrase (holds your DKIM passphrase) + - DKIM_selector (holds the DKIM "selector") + - DKIM_identity (holds the identifying email address) +* added callback function support + - callback function parameters include: + result, to, cc, bcc, subject and body + - see the test/test_callback.php file for usage. +* added "auto" identity functionality + - can automatically add: + - Return-path (if Sender not set) + - Reply-To (if ReplyTo not set) + - can be disabled: + - $mail->SetFrom('yourname@yourdomain.com','First Last',false); + - or by adding the $mail->Sender and/or $mail->ReplyTo properties + +Note: "auto" identity added to help with emails ending up in spam or junk boxes because of missing headers + +## Version 5.0.2 (May 24, 2009) +* Fix for missing attachments when inline graphics are present +* Fix for missing Cc in header when using SMTP (mail was sent, + but not displayed in header -- Cc receiver only saw email To: + line and no Cc line, but did get the email (To receiver + saw same) + +## Version 5.0.1 (April 05, 2009) +* Temporary fix for missing attachments + +## Version 5.0.0 (April 02, 2009) +With the release of this version, we are initiating a new version numbering +system to differentiate from the PHP4 version of PHPMailer. +Most notable in this release is fully object oriented code. + +### class.smtp.php: +* Refactored class.smtp.php to support new exception handling +* code size reduced from 29.2 Kb to 25.6 Kb +* Removed unnecessary functions from class.smtp.php: + - public function Expand($name) { + - public function Help($keyword="") { + - public function Noop() { + - public function Send($from) { + - public function SendOrMail($from) { + - public function Verify($name) { + +### class.phpmailer.php: +* Refactored class.phpmailer.php with new exception handling +* Changed processing functionality of Sendmail and Qmail so they cannot be + inadvertently used +* removed getFile() function, just became a simple wrapper for + file_get_contents() +* added check for PHP version (will gracefully exit if not at least PHP 5.0) +* enhanced code to check if an attachment source is the same as an embedded or + inline graphic source to eliminate duplicate attachments + +### New /test_script +We have written a test script you can use to test the script as part of your +installation. Once you press submit, the test script will send a multi-mime +email with either the message you type in or an HTML email with an inline +graphic. Two attachments are included in the email (one of the attachments +is also the inline graphic so you can see that only one copy of the graphic +is sent in the email). The test script will also display the functional +script that you can copy/paste to your editor to duplicate the functionality. + +### New examples +All new examples in both basic and advanced modes. Advanced examples show + Exception handling. + +### PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0 +All new documentation + +## Version 2.3 (November 06, 2008) +* added Arabic language (many thanks to Bahjat Al Mostafa) +* removed English language from language files and made it a default within + class.phpmailer.php - if no language is found, it will default to use + the english language translation +* fixed public/private declarations +* corrected line 1728, $basedir to $directory +* added $sign_cert_file to avoid improper duplicate use of $sign_key_file +* corrected $this->Hello on line 612 to $this->Helo +* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user + if default is not acceptable +* removed trim() from return results in EncodeQP +* /test and three files it contained are removed from version 2.3 +* fixed phpunit.php for compliance with PHP5 +* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg); +* We have removed the /phpdoc from the downloads. All documentation is now on + the http://phpmailer.codeworxtech.com website. + +## Version 2.2.1 (July 19, 2008) +* fixed line 1092 in class.smtp.php (my apologies, error on my part) + +## Version 2.2 (July 15, 2008) +* Fixed redirect issue (display of UTF-8 in thank you redirect) +* fixed error in getResponse function declaration (class.pop3.php) +* PHPMailer now PHP6 compliant +* fixed line 1092 in class.smtp.php (endless loop from missing = sign) + +## Version 2.1 (Wed, June 04 2008) +NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE APPRECIATED. + +* added S/MIME functionality (ability to digitally sign emails) + BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. + The "Signed Emails" functionality adds the Sign method to pass the private key + filename and the password to read it, and then email will be sent with + content-type multipart/signed and with the digital signature attached. +* fully compatible with E_STRICT error level + - Please note: + In about half the test environments this development version was subjected + to, an error was thrown for the date() functions used (line 1565 and 1569). + This is NOT a PHPMailer error, it is the result of an incorrectly configured + PHP5 installation. The fix is to modify your 'php.ini' file and include the + date.timezone = Etc/UTC (or your own zone) + directive, to your own server timezone + - If you do get this error, and are unable to access your php.ini file: + In your PHP script, add + `date_default_timezone_set('Etc/UTC');` + - do not try to use + `$myVar = date_default_timezone_get();` + as a test, it will throw an error. +* added ability to define path (mainly for embedded images) + function `MsgHTML($message,$basedir='')` ... where: + `$basedir` is the fully qualified path +* fixed `MsgHTML()` function: + - Embedded Images where images are specified by `://` will not be altered or embedded +* fixed the return value of SMTP exit code ( pclose ) +* addressed issue of multibyte characters in subject line and truncating +* added ability to have user specified Message ID + (default is still that PHPMailer create a unique Message ID) +* corrected unidentified message type to 'application/octet-stream' +* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al). +* added check for added attachments +* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny") + +## Version 2.1.0beta2 (Sun, Dec 02 2007) +* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon) +* finished all testing, all known bugs corrected, enhancements tested + +Note: will NOT work with PHP4. + +Please note, this is BETA software **DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS; INTENDED STRICTLY FOR TESTING** + +## Version 2.1.0beta1 +Please note, this is BETA software +** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS + INTENDED STRICTLY FOR TESTING + +## Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release +* implements new property to control VERP in class.smtp.php + example (requires instantiating class.smtp.php): + $mail->do_verp = true; +* POP-before-SMTP functionality included, thanks to Richard Davey + (see class.pop3.php & pop3_before_smtp_test.php for examples) +* included example showing how to use PHPMailer with GMAIL +* fixed the missing Cc in SendMail() and Mail() + +## Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release +* dramatically simplified using inline graphics ... it's fully automated and requires no user input +* added automatic document type detection for attachments and pictures +* added MsgHTML() function to replace Body tag for HTML emails +* fixed the SendMail security issues (input validation vulnerability) +* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address +* removed the need to use the AltBody method (set from the HTML, or default text used) +* set the PHP Mail() function as the default (still support SendMail, SMTP Mail) +* removed the need to set the IsHTML property (set automatically) +* added Estonian language file by Indrek Päri +* added header injection patch +* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc. +* fixed warning message in SMTP get_lines method +* added TLS/SSL SMTP support. +* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7) +* Works with PHP installed as a module or as CGI-PHP +NOTE: will NOT work with PHP5 in E_STRICT error mode + +## Version 1.73 (Sun, Jun 10 2005) +* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf +* Now has a total of 20 translations +* Fixed alt attachments bug: http://tinyurl.com/98u9k + +## Version 1.72 (Wed, May 25 2004) +* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations. +* Received: Removed this method because spam filter programs like + SpamAssassin reject this header. +* Fixed error count bug. +* SetLanguage default is now "language/". +* Fixed magic_quotes_runtime bug. + +## Version 1.71 (Tue, Jul 28 2003) +* Made several speed enhancements +* Added German and Italian translation files +* Fixed HELO/AUTH bugs on keep-alive connects +* Now provides an error message if language file does not load +* Fixed attachment EOL bug +* Updated some unclear documentation +* Added additional tests and improved others + +## Version 1.70 (Mon, Jun 20 2003) +* Added SMTP keep-alive support +* Added IsError method for error detection +* Added error message translation support (SetLanguage) +* Refactored many methods to increase library performance +* Hello now sends the newer EHLO message before HELO as per RFC 2821 +* Removed the boundary class and replaced it with GetBoundary +* Removed queue support methods +* New $Hostname variable +* New Message-ID header +* Received header reformat +* Helo variable default changed to $Hostname +* Removed extra spaces in Content-Type definition (#667182) +* Return-Path should be set to Sender when set +* Adds Q or B encoding to headers when necessary +* quoted-encoding should now encode NULs \000 +* Fixed encoding of body/AltBody (#553370) +* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC) +* Multiple bug fixes + +## Version 1.65 (Fri, Aug 09 2002) +* Fixed non-visible attachment bug (#585097) for Outlook +* SMTP connections are now closed after each transaction +* Fixed SMTP::Expand return value +* Converted SMTP class documentation to phpDocumentor format + +## Version 1.62 (Wed, Jun 26 2002) +* Fixed multi-attach bug +* Set proper word wrapping +* Reduced memory use with attachments +* Added more debugging +* Changed documentation to phpDocumentor format + +## Version 1.60 (Sat, Mar 30 2002) +* Sendmail pipe and address patch (Christian Holtje) +* Added embedded image and read confirmation support (A. Ognio) +* Added unit tests +* Added SMTP timeout support (*nix only) +* Added possibly temporary PluginDir variable for SMTP class +* Added LE message line ending variable +* Refactored boundary and attachment code +* Eliminated SMTP class warnings +* Added SendToQueue method for future queuing support + +## Version 1.54 (Wed, Dec 19 2001) +* Add some queuing support code +* Fixed a pesky multi/alt bug +* Messages are no longer forced to have "To" addresses + +## Version 1.50 (Thu, Nov 08 2001) +* Fix extra lines when not using SMTP mailer +* Set WordWrap variable to int with a zero default + +## Version 1.47 (Tue, Oct 16 2001) +* Fixed Received header code format +* Fixed AltBody order error +* Fixed alternate port warning + +## Version 1.45 (Tue, Sep 25 2001) +* Added enhanced SMTP debug support +* Added support for multiple ports on SMTP +* Added Received header for tracing +* Fixed AddStringAttachment encoding +* Fixed possible header name quote bug +* Fixed wordwrap() trim bug +* Couple other small bug fixes + +## Version 1.41 (Wed, Aug 22 2001) +* Fixed AltBody bug w/o attachments +* Fixed rfc_date() for certain mail servers + +## Version 1.40 (Sun, Aug 12 2001) +* Added multipart/alternative support (AltBody) +* Documentation update +* Fixed bug in Mercury MTA + +## Version 1.29 (Fri, Aug 03 2001) +* Added AddStringAttachment() method +* Added SMTP authentication support + +## Version 1.28 (Mon, Jul 30 2001) +* Fixed a typo in SMTP class +* Fixed header issue with Imail (win32) SMTP server +* Made fopen() calls for attachments use "rb" to fix win32 error + +## Version 1.25 (Mon, Jul 02 2001) +* Added RFC 822 date fix (Patrice) +* Added improved error handling by adding a $ErrorInfo variable +* Removed MailerDebug variable (obsolete with new error handler) + +## Version 1.20 (Mon, Jun 25 2001) +* Added quoted-printable encoding (Patrice) +* Set Version as public and removed PrintVersion() +* Changed phpdoc to only display public variables and methods + +## Version 1.19 (Thu, Jun 21 2001) +* Fixed MS Mail header bug +* Added fix for Bcc problem with mail(). *Does not work on Win32* + (See PHP bug report: http://www.php.net/bugs.php?id=11616) +* mail() no longer passes a fifth parameter when not needed + +## Version 1.15 (Fri, Jun 15 2001) +Note: these changes contributed by Patrice Fournier +* Changed all remaining \n to \r\n +* Bcc: header no longer written to message except + when sent directly to sendmail +* Added a small message to non-MIME compliant mail reader +* Added Sender variable to change the Sender email + used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode +* Changed boundary setting to a place it will be set only once +* Removed transfer encoding for whole message when using multipart +* Message body now uses Encoding in multipart messages +* Can set encoding and type to attachments 7bit, 8bit + and binary attachment are sent as is, base64 are encoded +* Can set Encoding to base64 to send 8 bits body + through 7 bits servers + +## Version 1.10 (Tue, Jun 12 2001) +* Fixed win32 mail header bug (printed out headers in message body) + +## Version 1.09 (Fri, Jun 08 2001) +* Changed date header to work with Netscape mail programs +* Altered phpdoc documentation + +## Version 1.08 (Tue, Jun 05 2001) +* Added enhanced error-checking +* Added phpdoc documentation to source + +## Version 1.06 (Fri, Jun 01 2001) +* Added optional name for file attachments + +## Version 1.05 (Tue, May 29 2001) +* Code cleanup +* Eliminated sendmail header warning message +* Fixed possible SMTP error + +## Version 1.03 (Thu, May 24 2001) +* Fixed problem where qmail sends out duplicate messages + +## Version 1.02 (Wed, May 23 2001) +* Added multiple recipient and attachment Clear* methods +* Added Sendmail public variable +* Fixed problem with loading SMTP library multiple times + +## Version 0.98 (Tue, May 22 2001) +* Fixed problem with redundant mail hosts sending out multiple messages +* Added additional error handler code +* Added AddCustomHeader() function +* Added support for Microsoft mail client headers (affects priority) +* Fixed small bug with Mailer variable +* Added PrintVersion() function + +## Version 0.92 (Tue, May 15 2001) +* Changed file names to class.phpmailer.php and class.smtp.php to match + current PHP class trend. +* Fixed problem where body not being printed when a message is attached +* Several small bug fixes + +## Version 0.90 (Tue, April 17 2001) +* Initial public release diff --git a/htdocs/includes/external/phpmailer/composer.json b/htdocs/includes/external/phpmailer/composer.json new file mode 100644 index 00000000..2fd2f4c2 --- /dev/null +++ b/htdocs/includes/external/phpmailer/composer.json @@ -0,0 +1,78 @@ +{ + "name": "phpmailer/phpmailer", + "type": "library", + "description": "PHPMailer is a full-featured email creation and transfer class for PHP", + "authors": [ + { + "name": "Marcus Bointon", + "email": "phpmailer@synchromedia.co.uk" + }, + { + "name": "Jim Jagielski", + "email": "jimjag@gmail.com" + }, + { + "name": "Andy Prevost", + "email": "codeworxtech@users.sourceforge.net" + }, + { + "name": "Brent R. Matzelle" + } + ], + "funding": [ + { + "url": "https://github.com/Synchro", + "type": "github" + } + ], + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "require": { + "php": ">=5.5.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "doctrine/annotations": "^1.2.6 || ^1.13.3", + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcompatibility/php-compatibility": "^9.3.5", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.7.2", + "yoast/phpunit-polyfills": "^1.0.4" + }, + "suggest": { + "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", + "ext-openssl": "Needed for secure SMTP sending and DKIM signing", + "greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication", + "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", + "league/oauth2-google": "Needed for Google XOAUTH2 authentication", + "psr/log": "For optional PSR-3 debug logging", + "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication", + "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" + }, + "autoload": { + "psr-4": { + "PHPMailer\\PHPMailer\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "PHPMailer\\Test\\": "test/" + } + }, + "license": "LGPL-2.1-only", + "scripts": { + "check": "./vendor/bin/phpcs", + "test": "./vendor/bin/phpunit --no-coverage", + "coverage": "./vendor/bin/phpunit", + "lint": [ + "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php,phps --exclude vendor --exclude .git --exclude build" + ] + } +} diff --git a/htdocs/includes/external/phpmailer/docs/README.md b/htdocs/includes/external/phpmailer/docs/README.md new file mode 100644 index 00000000..2cc16dd9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/docs/README.md @@ -0,0 +1,9 @@ +# PHPMailer Documentation + +Generated documentation for PHPMailer is [available online](https://phpmailer.github.io/PHPMailer/), and is regenerated automatically whenever changes are made. + +Pre-built PHPMailer API documentation is not provided in this repo, but you can generate it by running `phpdoc` in the top-level folder of this project, and documentation will be generated in this `docs` folder. You will need to have [phpDocumentor](https://www.phpdoc.org) installed. The configuration for phpdoc is in the [phpdoc.dist.xml file](https://github.com/PHPMailer/PHPMailer/blob/master/phpdoc.dist.xml). + +Further help and information is available in [the PHPMailer README](https://github.com/PHPMailer/PHPMailer/blob/master/README.md), [the examples folder](https://github.com/PHPMailer/PHPMailer/tree/master/examples), and in [the GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). + +Fixes and additions to documentation are welcome - please submit pull requests or improve wiki pages. \ No newline at end of file diff --git a/htdocs/includes/external/phpmailer/examples/DKIM_gen_keys.phps b/htdocs/includes/external/phpmailer/examples/DKIM_gen_keys.phps new file mode 100644 index 00000000..802c7442 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/DKIM_gen_keys.phps @@ -0,0 +1,81 @@ + 'sha256', + 'private_key_bits' => 2048, + 'private_key_type' => OPENSSL_KEYTYPE_RSA, + ] + ); + //Save private key + openssl_pkey_export_to_file($pk, $privatekeyfile); + //Save public key + $pubKey = openssl_pkey_get_details($pk); + $publickey = $pubKey['key']; + file_put_contents($publickeyfile, $publickey); + $privatekey = file_get_contents($privatekeyfile); +} +echo "Private key (keep this private!):\n\n" . $privatekey; +echo "\n\nPublic key:\n\n" . $publickey; + +//Prepare public key for DNS, e.g. +//phpmailer._domainkey.example.com IN TXT "v=DKIM1; h=sha256; t=s; p=" "MIIBIjANBg...oXlwIDAQAB"... +$dnskey = "$selector._domainkey.$domain IN TXT"; +$dnsvalue = '"v=DKIM1; h=sha256; t=s; p=" '; +//Some DNS servers don't like ;(semi colon) chars unless backslash-escaped +$dnsvalue2 = '"v=DKIM1\; h=sha256\; t=s\; p=" '; + +//Strip and split the key into smaller parts and format for DNS +//Many DNS systems don't like long TXT entries +//but are OK if it's split into 255-char chunks +//Remove PEM wrapper +$publickey = preg_replace('/^-+.*?-+$/m', '', $publickey); +//Strip line breaks +$publickey = str_replace(["\r", "\n"], '', $publickey); +//Split into chunks +$keyparts = str_split($publickey, 253); //Becomes 255 when quotes are included +//Quote each chunk +foreach ($keyparts as $keypart) { + $dnsvalue .= '"' . trim($keypart) . '" '; + $dnsvalue2 .= '"' . trim($keypart) . '" '; +} +echo "\n\nDNS key:\n\n" . trim($dnskey); +echo "\n\nDNS value:\n\n" . trim($dnsvalue); +echo "\n\nDNS value (with escaping):\n\n" . trim($dnsvalue2); diff --git a/htdocs/includes/external/phpmailer/examples/DKIM_sign.phps b/htdocs/includes/external/phpmailer/examples/DKIM_sign.phps new file mode 100644 index 00000000..cebdd09f --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/DKIM_sign.phps @@ -0,0 +1,46 @@ +setFrom('from@example.com', 'First Last'); +$mail->addAddress('whoto@example.com', 'John Doe'); +$mail->Subject = 'PHPMailer mail() test'; +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); + +//This should be the same as the domain of your From address +$mail->DKIM_domain = 'example.com'; +//See the DKIM_gen_keys.phps script for making a key pair - +//here we assume you've already done that. +//Path to your private key: +$mail->DKIM_private = 'dkim_private.pem'; +//Set this to your own selector +$mail->DKIM_selector = 'phpmailer'; +//Put your private key's passphrase in here if it has one +$mail->DKIM_passphrase = ''; +//The identity you're signing as - usually your From address +$mail->DKIM_identity = $mail->From; +//Suppress listing signed header fields in signature, defaults to true for debugging purpose +$mail->DKIM_copyHeaderFields = false; +//Optionally you can add extra headers for signing to meet special requirements +$mail->DKIM_extraHeaders = ['List-Unsubscribe', 'List-Help']; + +//When you send, the DKIM settings will be used to sign the message +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/README.md b/htdocs/includes/external/phpmailer/examples/README.md new file mode 100644 index 00000000..93363e7f --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/README.md @@ -0,0 +1,95 @@ +[![PHPMailer logo](images/phpmailer.png)](https://github.com/PHPMailer/PHPMailer) +# PHPMailer code examples + +This folder contains a collection of examples of using [PHPMailer](https://github.com/PHPMailer/PHPMailer). + +## About testing email sending + +When working on email sending code you'll find yourself worrying about what might happen if all these test emails got sent to your mailing list. The solution is to use a fake mail server, one that acts just like the real thing, but just doesn't actually send anything out. Some offer web interfaces, feedback, logging, the ability to return specific error codes, all things that are useful for testing error handling, authentication etc. Here's a selection of mail testing tools you might like to try: + +* [FakeEmail](https://github.com/tomwardill/FakeEmail), a Python-based fake mail server with a web interface. +* [smtp-sink](http://www.postfix.org/smtp-sink.1.html), part of the Postfix mail server, so you may have this installed already. This is used in the Travis-CI configuration to run PHPMailer's unit tests. +* [smtp4dev](https://github.com/rnwood/smtp4dev), a dummy SMTP server for Windows and Linux. +* [fakesendmail.sh](https://github.com/PHPMailer/PHPMailer/blob/master/test/fakesendmail.sh), part of PHPMailer's test setup, this is a shell script that emulates sendmail for testing 'mail' or 'sendmail' methods in PHPMailer. +* [HELO](https://usehelo.com), a very nice (commercial) mail server desktop app from BeyondCode, and [how to set it up for local testing](https://usehelo.com/blog/how-to-use-helo-with-phps-mail-function). +* [msglint](http://tools.ietf.org/tools/msglint/), not a mail server, the IETF's MIME structure analyser checks the formatting of your messages. +* [MailHog](https://github.com/les-enovateurs/mailhog-examples), a Go-based email testing tool for developers with a web interface. You can use it with Docker and GitHub Actions to test your mails. The repository also contains a small part of PHPMailer's setup. + +Most of these examples use the `example.com` and `example.net` domains. These domains are reserved by IANA for illustrative purposes, as documented in [RFC 2606](http://tools.ietf.org/html/rfc2606). Don't use made-up domains like 'mydomain.com' or 'somedomain.com' in examples as someone, somewhere, probably owns them! + +## Security note +Before running these examples in a web server, you'll need to rename them with '.php' extensions. They are supplied as '.phps' files which will usually be displayed with syntax highlighting by PHP instead of running them. This prevents potential security issues with running potential spam-gateway code if you happen to deploy these code examples on a live site - _please don't do that!_ + +Similarly, don't leave your passwords in these files as they will be visible to the world! + +## [mail.phps](mail.phps) + +This is a basic example which creates an email message from an external HTML file, creates a plain text body, sets various addresses, adds an attachment and sends the message. It uses PHP's built-in mail() function which is the simplest to use, but relies on the presence of a local mail server, something which is not usually available on Windows. If you find yourself in that situation, either install a local mail server, or use a remote one and send using SMTP instead. + +## [simple_contact_form.phps](simple_contact_form.phps) + +This is probably the most common reason for using PHPMailer - building a contact form. This example has a basic, unstyled form and also illustrates how to filter input data before using it, how to validate addresses, how to avoid being abused as a spam gateway, and how to address messages correctly so that you don't fail SPF checks. + +## [exceptions.phps](exceptions.phps) + +Like the mail example, but shows how to use PHPMailer's optional exceptions for error handling. + +## [extending.phps](extending.phps) + +This shows how to create a subclass of PHPMailer to customise its behaviour and simplify coding in your app. + +## [smtp.phps](smtp.phps) + +A simple example sending using SMTP with authentication. + +## [smtp_no_auth.phps](smtp_no_auth.phps) + +A simple example sending using SMTP without authentication. + +## [send_file_upload.phps](send_file_upload.phps) + +Lots of people want to do this... This is a simple form which accepts a file upload and emails it. + +## [send_multiple_file_upload.phps](send_multiple_file_upload.phps) + +A slightly more complex form that allows uploading multiple files at once and sends all of them as attachments to an email. + +## [sendmail.phps](sendmail.phps) + +A simple example using sendmail. Sendmail is a program (usually found on Linux/BSD, OS X and other UNIX-alikes) that can be used to submit messages to a local mail server without a lengthy SMTP conversation. It's probably the fastest sending mechanism, but lacks some error reporting features. There are sendmail emulators for most popular mail servers including postfix, qmail, exim etc. + +## [gmail.phps](gmail.phps) + +Submitting email via Google's Gmail service is a popular use of PHPMailer. It's much the same as normal SMTP sending, just with some specific settings, namely using TLS encryption, authentication is enabled, and it connects to the SMTP submission port 587 on the smtp.gmail.com host. This example does all that. + +## [gmail_xoauth.phps](gmail_xoauth.phps) + +Gmail now likes you to use XOAUTH2 for SMTP authentication. This is extremely laborious to set up, but once it's done you can use it repeatedly and will no longer need Gmail's ineptly-named "Allow less secure apps" setting enabled. [Read the guide in the wiki](https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2) for how to set it up. + +## [pop_before_smtp.phps](pop_before_smtp.phps) + +Back in the stone age, before effective SMTP authentication mechanisms were available, it was common for ISPs to use POP-before-SMTP authentication. As it implies, you authenticate using the POP3 protocol (an older protocol now mostly replaced by the far superior IMAP), and then the SMTP server will allow send access from your IP address for a short while, usually 5-15 minutes. PHPMailer includes a basic POP3 protocol client with just enough functionality to carry out this sequence - it's just like a normal SMTP conversation (without authentication), but connects via POP3 first. + +## [mailing_list.phps](mailing_list.phps) + +This is a somewhat naïve, but reasonably efficient example of sending similar emails to a list of different addresses. It sets up a PHPMailer instance using SMTP, then connects to a MySQL database to retrieve a list of recipients. The code loops over this list, sending email to each person using their info and marks them as sent in the database. It makes use of SMTP keepalive which saves reconnecting and re-authenticating between each message. + +## [ssl_options.phps](ssl_options.phps) + +PHP 5.6 introduced SSL certificate verification by default, and this applies to mail servers exactly as it does to web servers. Unfortunately, SSL misconfiguration in mail servers is quite common, so this caused a common problem: those that were previously using servers with bad configs suddenly found they stopped working when they upgraded PHP. PHPMailer provides a mechanism to disable SSL certificate verification as a workaround and this example shows how to do it. Bear in mind that this is **not** a good approach - the right way is to fix your mail server config! + +## [smime_signed_mail.phps](smime_signed_mail.phps) + +An example of how to sign messages using [S/MIME](https://en.wikipedia.org/wiki/S/MIME), ensuring that your data can't be tampered with in transit, and proves to recipients that it was you that sent it. + +* * * + +## [smtp_check.phps](smtp_check.phps) + +This is an example showing how to use the SMTP class by itself (without PHPMailer) to check an SMTP connection. + +## [smtp_low_memory.phps](smtp_low_memory.phps) + +This demonstrates how to extend the SMTP class and make PHPMailer use it. In this case it's an effort to make the SMTP class use less memory when sending large attachments. + +* * * diff --git a/htdocs/includes/external/phpmailer/examples/azure_xoauth2.phps b/htdocs/includes/external/phpmailer/examples/azure_xoauth2.phps new file mode 100644 index 00000000..af26882e --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/azure_xoauth2.phps @@ -0,0 +1,126 @@ +isSMTP(); + +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_SERVER; + +//Set the hostname of the mail server +$mail->Host = 'smtp.office365.com'; + +//Set the SMTP port number: +// - 465 for SMTP with implicit TLS, a.k.a. RFC8314 SMTPS or +// - 587 for SMTP+STARTTLS +$mail->Port = 587; + +//Set the encryption mechanism to use: +// - SMTPS (implicit TLS on port 465) or +// - STARTTLS (explicit TLS on port 587) +$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; + +//Whether to use SMTP authentication +$mail->SMTPAuth = true; + +//Set AuthType to use XOAUTH2 +$mail->AuthType = 'XOAUTH2'; + +//Start Option 1: Use league/oauth2-client as OAuth2 token provider +//Fill in authentication details here +//Either the microsoft account owner, or the user that gave consent +$email = 'someone@somemicrosoftaccount.com'; +$clientId = 'RANDOMCHARS-----duv1n2TS'; +$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP'; +$tenantId = 'RANDOMCHARS-----HSFTAOIlagss'; + +//Obtained by configuring and running get_oauth_token.php +//after setting up an app in Google Developer Console. +$refreshToken = 'RANDOMCHARS-----DWxgOvPT003r-yFUV49TQYag7_Aod7y0'; + +//Create a new OAuth2 provider instance +$provider = new Azure( + [ + 'clientId' => $clientId, + 'clientSecret' => $clientSecret, + 'tenantId' => $tenantId, + ] +); + +//Pass the OAuth provider instance to PHPMailer +$mail->setOAuth( + new OAuth( + [ + 'provider' => $provider, + 'clientId' => $clientId, + 'clientSecret' => $clientSecret, + 'refreshToken' => $refreshToken, + 'userName' => $email, + ] + ) +); +//End Option 1 + +//Option 2: Another OAuth library as OAuth2 token provider +//Set up the other oauth library as per its documentation +//Then create the wrapper class that implementations OAuthTokenProvider +$oauthTokenProvider = new MyOAuthTokenProvider(/* Email, ClientId, ClientSecret, etc. */); + +//Pass the implementation of OAuthTokenProvider to PHPMailer +$mail->setOAuth($oauthTokenProvider); +//End Option 2 + +//Set who the message is to be sent from +//For Outlook, this generally needs to be the same as the user you logged in as +$mail->setFrom($email, 'First Last'); + +//Set who the message is to be sent to +$mail->addAddress('someone@someserver.com', 'John Doe'); + +//Set the subject line +$mail->Subject = 'PHPMailer Outlook XOAUTH2 SMTP test'; + +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->CharSet = PHPMailer::CHARSET_UTF8; +$mail->msgHTML(file_get_contents('contentsutf8.html'), __DIR__); + +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; + +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/callback.phps b/htdocs/includes/external/phpmailer/examples/callback.phps new file mode 100644 index 00000000..8bdd9fbc --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/callback.phps @@ -0,0 +1,76 @@ +\n"; + } + foreach ($cc as $address) { + echo "Message CC to {$address[1]} <{$address[0]}>\n"; + } + foreach ($bcc as $toaddress) { + echo "Message BCC to {$toaddress[1]} <{$toaddress[0]}>\n"; + } + if ($result) { + echo "Message sent successfully\n"; + } else { + echo "Message send failed\n"; + } +} + +require_once '../vendor/autoload.php'; + +$mail = new PHPMailer(); + +try { + $mail->isMail(); + $mail->setFrom('you@example.com', 'Your Name'); + $mail->addAddress('jane@example.com', 'Jane Doe'); + $mail->addCC('john@example.com', 'John Doe'); + $mail->Subject = 'PHPMailer Test Subject'; + $mail->msgHTML(file_get_contents('../examples/contents.html')); + //Optional - msgHTML will create an alternate automatically + $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; + $mail->addAttachment('images/phpmailer_mini.png'); + $mail->action_function = 'callbackAction'; + $mail->send(); +} catch (Exception $e) { + echo $e->errorMessage(); +} + +//Alternative approach using a closure +try { + $mail->action_function = static function ($result, $to, $cc, $bcc, $subject, $body) { + if ($result) { + echo "Message sent successfully\n"; + } else { + echo "Message send failed\n"; + } + }; + $mail->send(); +} catch (Exception $e) { + echo $e->errorMessage(); +} diff --git a/htdocs/includes/external/phpmailer/examples/contactform-ajax.phps b/htdocs/includes/external/phpmailer/examples/contactform-ajax.phps new file mode 100644 index 00000000..373124f9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/contactform-ajax.phps @@ -0,0 +1,146 @@ +isSMTP(); + $mail->Host = 'localhost'; + $mail->Port = 25; + + //Use a fixed address in your own domain as the from address + //**DO NOT** use the submitter's address here as it will be forgery + //and will cause your messages to fail SPF checks + $mail->setFrom('from@example.com', 'First Last'); + //Choose who the message should be sent to + //You don't have to use a
+
+
+ +
+ + + + + + diff --git a/htdocs/includes/external/phpmailer/examples/contactform.phps b/htdocs/includes/external/phpmailer/examples/contactform.phps new file mode 100644 index 00000000..9f367735 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/contactform.phps @@ -0,0 +1,95 @@ +isSMTP(); + $mail->Host = 'localhost'; + $mail->Port = 25; + + //Use a fixed address in your own domain as the from address + //**DO NOT** use the submitter's address here as it will be forgery + //and will cause your messages to fail SPF checks + $mail->setFrom('from@example.com', 'First Last'); + //Choose who the message should be sent to + //You don't have to use a
+
+
+ +
+ + + + diff --git a/htdocs/includes/external/phpmailer/examples/contents.html b/htdocs/includes/external/phpmailer/examples/contents.html new file mode 100644 index 00000000..ccd6e169 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/contents.html @@ -0,0 +1,17 @@ + + + + + PHPMailer Test + + +
+

This is a test of PHPMailer.

+
+ PHPMailer rocks +
+

This example uses HTML.

+

ISO-8859-1 text: éèîüçÅñæß

+
+ + diff --git a/htdocs/includes/external/phpmailer/examples/contentsutf8.html b/htdocs/includes/external/phpmailer/examples/contentsutf8.html new file mode 100644 index 00000000..219fec2d --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/contentsutf8.html @@ -0,0 +1,23 @@ + + + + + PHPMailer Test + + +
+

This is a test of PHPMailer.

+
+ PHPMailer rocks +
+

This example uses HTML with the UTF-8 unicode charset.

+

Chinese text: 郵件內容為空

+

Russian text: ПуÑтое тело ÑообщениÑ

+

Armenian text: Õ€Õ¡Õ²Õ¸Ö€Õ¤Õ¡Õ£Ö€Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨ Õ¤Õ¡Õ¿Õ¡Ö€Õ¯ Õ§

+

Czech text: Prázdné tělo zprávy

+

Emoji: 😂 🦄 💥 📤 📧

+

Image data URL (base64)#

+

Image data URL (URL-encoded)#

+
+ + diff --git a/htdocs/includes/external/phpmailer/examples/exceptions.phps b/htdocs/includes/external/phpmailer/examples/exceptions.phps new file mode 100644 index 00000000..593aa809 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/exceptions.phps @@ -0,0 +1,40 @@ +setFrom('from@example.com', 'First Last'); + //Set an alternative reply-to address + $mail->addReplyTo('replyto@example.com', 'First Last'); + //Set who the message is to be sent to + $mail->addAddress('whoto@example.com', 'John Doe'); + //Set the subject line + $mail->Subject = 'PHPMailer Exceptions test'; + //Read an HTML message body from an external file, convert referenced images to embedded, + //and convert the HTML into a basic plain-text alternative body + $mail->msgHTML(file_get_contents('contents.html'), __DIR__); + //Replace the plain text body with one created manually + $mail->AltBody = 'This is a plain-text message body'; + //Attach an image file + $mail->addAttachment('images/phpmailer_mini.png'); + //send the message + //Note that we don't need check the response from this because it will throw an exception if it has trouble + $mail->send(); + echo 'Message sent!'; +} catch (Exception $e) { + echo $e->errorMessage(); //Pretty error messages from PHPMailer +} catch (\Exception $e) { //The leading slash means the Global PHP Exception class will be caught + echo $e->getMessage(); //Boring error messages from anything else! +} diff --git a/htdocs/includes/external/phpmailer/examples/extending.phps b/htdocs/includes/external/phpmailer/examples/extending.phps new file mode 100644 index 00000000..c79c4bbe --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/extending.phps @@ -0,0 +1,72 @@ +setFrom('joe@example.com', 'Joe User'); + //Send via SMTP + $this->isSMTP(); + //Equivalent to setting `Host`, `Port` and `SMTPSecure` all at once + $this->Host = 'tls://smtp.example.com:587'; + //Set an HTML and plain-text body, import relative image references + $this->msgHTML($body, './images/'); + //Show debug output + $this->SMTPDebug = SMTP::DEBUG_SERVER; + //Inject a new debug output handler + $this->Debugoutput = static function ($str, $level) { + echo "Debug level $level; message: $str\n"; + }; + } + + //Extend the send function + public function send() + { + $this->Subject = '[Yay for me!] ' . $this->Subject; + $r = parent::send(); + echo 'I sent a message with subject ' . $this->Subject; + + return $r; + } +} + +//Now creating and sending a message becomes simpler when you use this class in your app code +try { + //Instantiate your new class, making use of the new `$body` parameter + $mail = new myPHPMailer(true, 'This is the message body'); + //Now you only need to set things that are different from the defaults you defined + $mail->addAddress('jane@example.com', 'Jane User'); + $mail->Subject = 'Here is the subject'; + $mail->addAttachment(__FILE__, 'myPHPMailer.php'); + $mail->send(); //No need to check for errors - the exception handler will do it +} catch (Exception $e) { + //Note that this is catching the PHPMailer Exception class, not the global \Exception type! + echo 'Caught a ' . get_class($e) . ': ' . $e->getMessage(); +} diff --git a/htdocs/includes/external/phpmailer/examples/gmail.phps b/htdocs/includes/external/phpmailer/examples/gmail.phps new file mode 100644 index 00000000..fe6e09a9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/gmail.phps @@ -0,0 +1,108 @@ +isSMTP(); + +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_SERVER; + +//Set the hostname of the mail server +$mail->Host = 'smtp.gmail.com'; +//Use `$mail->Host = gethostbyname('smtp.gmail.com');` +//if your network does not support SMTP over IPv6, +//though this may cause issues with TLS + +//Set the SMTP port number: +// - 465 for SMTP with implicit TLS, a.k.a. RFC8314 SMTPS or +// - 587 for SMTP+STARTTLS +$mail->Port = 465; + +//Set the encryption mechanism to use: +// - SMTPS (implicit TLS on port 465) or +// - STARTTLS (explicit TLS on port 587) +$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; + +//Whether to use SMTP authentication +$mail->SMTPAuth = true; + +//Username to use for SMTP authentication - use full email address for gmail +$mail->Username = 'username@gmail.com'; + +//Password to use for SMTP authentication +$mail->Password = 'yourpassword'; + +//Set who the message is to be sent from +//Note that with gmail you can only use your account address (same as `Username`) +//or predefined aliases that you have configured within your account. +//Do not use user-submitted addresses in here +$mail->setFrom('from@example.com', 'First Last'); + +//Set an alternative reply-to address +//This is a good place to put user-submitted addresses +$mail->addReplyTo('replyto@example.com', 'First Last'); + +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); + +//Set the subject line +$mail->Subject = 'PHPMailer GMail SMTP test'; + +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); + +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; + +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; + //Section 2: IMAP + //Uncomment these to save your message in the 'Sent Mail' folder. + #if (save_mail($mail)) { + # echo "Message saved!"; + #} +} + +//Section 2: IMAP +//IMAP commands requires the PHP IMAP Extension, found at: https://php.net/manual/en/imap.setup.php +//Function to call which uses the PHP imap_*() functions to save messages: https://php.net/manual/en/book.imap.php +//You can use imap_getmailboxes($imapStream, '/imap/ssl', '*' ) to get a list of available folders or labels, this can +//be useful if you are trying to get this working on a non-Gmail IMAP server. +function save_mail($mail) +{ + //You can change 'Sent Mail' to any other folder or tag + $path = '{imap.gmail.com:993/imap/ssl}[Gmail]/Sent Mail'; + + //Tell your server to open an IMAP connection using the same username and password as you used for SMTP + $imapStream = imap_open($path, $mail->Username, $mail->Password); + + $result = imap_append($imapStream, $path, $mail->getSentMIMEMessage()); + imap_close($imapStream); + + return $result; +} diff --git a/htdocs/includes/external/phpmailer/examples/gmail_xoauth.phps b/htdocs/includes/external/phpmailer/examples/gmail_xoauth.phps new file mode 100644 index 00000000..4223275f --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/gmail_xoauth.phps @@ -0,0 +1,124 @@ +isSMTP(); + +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_SERVER; + +//Set the hostname of the mail server +$mail->Host = 'smtp.gmail.com'; + +//Set the SMTP port number: +// - 465 for SMTP with implicit TLS, a.k.a. RFC8314 SMTPS or +// - 587 for SMTP+STARTTLS +$mail->Port = 465; + +//Set the encryption mechanism to use: +// - SMTPS (implicit TLS on port 465) or +// - STARTTLS (explicit TLS on port 587) +$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; + +//Whether to use SMTP authentication +$mail->SMTPAuth = true; + +//Set AuthType to use XOAUTH2 +$mail->AuthType = 'XOAUTH2'; + +//Start Option 1: Use league/oauth2-client as OAuth2 token provider +//Fill in authentication details here +//Either the gmail account owner, or the user that gave consent +$email = 'someone@gmail.com'; +$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com'; +$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP'; + +//Obtained by configuring and running get_oauth_token.php +//after setting up an app in Google Developer Console. +$refreshToken = 'RANDOMCHARS-----DWxgOvPT003r-yFUV49TQYag7_Aod7y0'; + +//Create a new OAuth2 provider instance +$provider = new Google( + [ + 'clientId' => $clientId, + 'clientSecret' => $clientSecret, + ] +); + +//Pass the OAuth provider instance to PHPMailer +$mail->setOAuth( + new OAuth( + [ + 'provider' => $provider, + 'clientId' => $clientId, + 'clientSecret' => $clientSecret, + 'refreshToken' => $refreshToken, + 'userName' => $email, + ] + ) +); +//End Option 1 + +//Option 2: Another OAuth library as OAuth2 token provider +//Set up the other oauth library as per its documentation +//Then create the wrapper class that implementations OAuthTokenProvider +$oauthTokenProvider = new MyOAuthTokenProvider(/* Email, ClientId, ClientSecret, etc. */); + +//Pass the implementation of OAuthTokenProvider to PHPMailer +$mail->setOAuth($oauthTokenProvider); +//End Option 2 + +//Set who the message is to be sent from +//For gmail, this generally needs to be the same as the user you logged in as +$mail->setFrom($email, 'First Last'); + +//Set who the message is to be sent to +$mail->addAddress('someone@gmail.com', 'John Doe'); + +//Set the subject line +$mail->Subject = 'PHPMailer GMail XOAUTH2 SMTP test'; + +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->CharSet = PHPMailer::CHARSET_UTF8; +$mail->msgHTML(file_get_contents('contentsutf8.html'), __DIR__); + +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; + +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.afdesign b/htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.afdesign new file mode 100644 index 0000000000000000000000000000000000000000..ff6f6a02c118cf0bc636af8dec6bfbfd5e1f0663 GIT binary patch literal 29525 zcmeEs^Lt)R)Naz)Zfx7OjmEZZHBQ5(VdJE+?Z&okHf)T>$#Zu5e&2O|I{(3$>)FrV zd-izNthv{{1`H%GiU0-+=IG|CLN4oQDM}9ZFAV?B{hI8*_y7HOO8RQ>_ZbqnWPwY? z)yW+ixRXoS*wZvIzk$g}VuQo~sWMkbHP#x00`ECiZ8LP=m%X$M{9!p&;HX59zpZ3MIKjLxl z`6^$9LZEG-AD}KTAuYpD^&)rkz(2e8U_&hICH{hwTmWnM%4wz;9j>sNYj3Yaf=nk+ z)Whb{COf*4HTE58(mRPRs*5{p5P_-fst=ZF#JU~=n=8$I7w#*hl77#C6bAE^w*V3P z;zwx?+Py+qSp+=k_)&AVbh@wj44MjQG^{5117D(uFsOVL(pctjPh#9PMS5i(y6L_W zNb&s3n*32Q-_ICI3!^=DU{f%Q_D00kRMtqqAy{uQ5GL+AVX-Zjcrla8BwSq|(ATc!z;~y_vSixC(RG?!C$PCW} znN|KaasM=!H3+0(Qu(g|2?RN`!{sp~Y>-$9akp6Sr}6z<#**TLVd;MZZXIWPf+6c* zucm?t`*+fADlhLmZ zVsM{bVp~{HoVkF}{;0oN-Q?~w!QV-U%Clu~46j70;F2Fcb3%U93VH)Ws7X#xX%Uwy2YacG9;s~z zrsK`Rf>x#OXI>4|MshmzOxy$B2i>q^PaZE6YxyMMWF z*lOUwr2s#1KauZLhj?FHkE1dBqA!186m)nSZ|#=0|( zK~F2-D-2g2jp|2<2HTN z3IS&vZ`w~sAGrf>h(iwRcM#-$-vZ=#cRE9fCRg-UTdTEHJ)o6H;HJhzO5>ZYwbrIi z&p?F==is?KULyPnaeK*AI1J5>yc)&(N-r7X#4Pre&U@!~NZbQ`$YCT#bKY221qm)g z@1`n=MOZL}dVDTC4`20e_w_)=yMfQ>DqoV%qzi0o0i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f3v)RWG?*prgg`~4*>863{kv@~5KtlM8XD#U{GEr1fK-SXGBGpH5PWFQp8m)@w!tj&b8aKQqCzLP`RP`!nYoefv+M4wEBt+nOIrj3*O^b^#xLN;8Gs5X7H4! z-D-rY8qDrh88=$=G9G)@m=qKh>40zr_pnZy?2bBDL4sHZcF2$EFVUOZ3m|*+P)|8XFkofpqh>`RQB`Y-0zripL5H3f&ArdU{E)N?V|i!0NOc8x^R- zbY6GL<~I_B>^}My8xlhP%-R}~4yK+?kOb3ncP|I0Y*}iex6Cf~MpCxMZI9+OOW4J; zJ;)OGxo+{GMYkFcxIM_h!s5FjZC-V?fo@`A_ui6Mt!}c>(5$6U!ODuWX|=077K<&& z&+luG=X_?Ev?0v_hY$`0d~Azh^DgF`7rzZrP$m`@U2}6J4a?r%UU$<2c+qiRW@l}n z42Y>@=XSZ+X=wfa{{1^;N&W9X?mO{eKXlcbznJIZR|lc5U!e+3Ct5*MK$xlf#eQvU zl()rX$0Wm6=9J(<$aJYmv!*tL@!C1+z|m-JZT&;U>W3?4k=9pNH*x>q0GgjJ?0wkr zICLdkYyr&x#tZV>bMkfB!GJ9U+bAkJx}d6RFeNQXhBY)K#Mwuh7*uoXB-w60Ncn>> zeTJGeEZ_XKza>h1%YA$oWB5&nhlj_(#bq#4P7ciDKi@brG@P7Jtj6WDNo+WB*Tw2v zA!KBuALZ0z09+J5NfWV$f(OK$>-Ozl@ZU;micgc7P@f<}P!oJiOijU%=sDJGFv!JV z%rWMb$~&X(F%W$c77+N%+pv2-K-M+gk8IZREZmWHia5=73jXjRo(-;9d-;m=PZST} zgT*z{eQKvJ!3TzS@Zq~0d=VM>4fw!!@&AA6|H~_IbPBtid^_gH{atw2WJ(X!9u(iV Hc>TWs4!MT1 literal 0 HcmV?d00001 diff --git a/htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.png b/htdocs/includes/external/phpmailer/examples/images/PHPMailer card logo.png new file mode 100644 index 0000000000000000000000000000000000000000..68370c0bbeb417e58fc508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Yx;*1@@nN_S(6J$)9Dha|86RN>w~PIKO}ruTJIpWQ?pNDAomFf{2>81Il}96s)a zdstV^Z`Sk})NBNzy+b7_f}b&jQdL9s#>U7;Mq{9QF=XUp!Ftj7dXeNp$%D~3?gg|| z>ly^3flCN$mmT%F^1#!bhY)hG;|NXYd+uBcAoecUM-$)=&vKqF+c;~nkcukakWLS6 zue1;cXKaI)%8Gb;juw%Z8y|ndP1<4#)wlDK0piyZn&0!C!ggEQgy;LTG-?7gG@Oul5f0o+6$NjU^{ypyh z7Rmp6sjXlK4P~d=f(Q?^7a-`O^a<<}AKw4?@(H>B&Kmz6()oYO`!C-A?-206 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/htdocs/includes/external/phpmailer/examples/images/phpmailer.png b/htdocs/includes/external/phpmailer/examples/images/phpmailer.png new file mode 100644 index 0000000000000000000000000000000000000000..9bdd83c8ded93d00b1e05abcfe1d6cb5b2ae96ef GIT binary patch literal 5831 zcmZ`-XE*jNYS*8Z~-kbfbkRA=)I& zL=Q&Y40Gq)^YcFU$G4xopS{2Jt@^I@?zd(p26WV1)I>x?bcXlz%!!DIEeQ9vlq7`f z)5P1NL_};!hI-l-A;h~M-afi%#W#Eg3tdJMlOkV7$H((Oj|&iz9I}fxNQi6Fd*67c zM1*OO(Lp4==ud;$&&mP4Xfs>STdPbC4CBRq2v*6efi0)WFI#+}yEx4`H=B<+a*9`5 z(EY2VGlpKdaTIfA;S+0U?EhKb!jOJBDVVSC--h|{tCM+yB%Ytm9+N|f+*vXXi&Im{ zsi}e%@$cSoi6W6mMv3FoQ+lsP=U$RStAo*g#}|K>J4y}U*N1!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#-|=Vk)_=jjklcDj4LW4D6MK!nZ+yN`WW zkPjiUx2tUoXGv0Y5X##E5%A`e*vLTZ8QR5&ky~@;4GEV&3f>A7pb6D(YUORA@--Zo zp1mc+@ld_9nu|DxWjqUg0UWLmcfQ;S?-9~ac6+3I2a$>6B~(^^r9X+HG?3WkIalq3 zfCjWzRrC8DG^_Eh!(Ie0RFYII)h9$9G7 zz$&SGs)K!_$c5IDKi0j^j`$0v;h9ONmi*+ zl(vxI=$R};{)?P~T1&GY0Aq|*ey(DW$#`A@IpynD1gW5S!~5-CpI-pq0l)DGsxb_* z*Tx=i=XvAd6t-UL0ay&JGtG|Ou}QwkT&`Fm`O_AAMm+Qh+2HqjnwT6aR=G~obL^G(_r}PD~sjS%#jXH zhYS$0hzh3vJKDsZ8kCKPe-#_Of^^F4v1xFgVXT=$MoJskKs+<+xMs=Wro4UHK=j{5i#RM((VXR6JB>0)-hYOnl=6jNN??sTG{zN^F>hf8 zBPa?E%%(>H($vI=Ii(1RBB>XFEz7^jjt7g2$u%P(ZikG|N1KW98NZp|R7jQ7O=+k- z?TWD>85?-Kt#f#MnZ+sd-45^8Oht^dCG_KtvpGt zAkEob4fu-R9Zn=)p0yr6IJLsS_7>$?2ec?-wNsYrh|40_ZWUwRNw%8i3j67kqDleO zt$ob3_d0&Ly1L8bk3DHTe&lp@!^)}U$LM(cc@Pi}VubKRwQv#V#D}Dimn!Rl3kx*^ RgdfyIhIdW$>U5l={s-zotz7^B literal 0 HcmV?d00001 diff --git a/htdocs/includes/external/phpmailer/examples/images/phpmailer_mini.png b/htdocs/includes/external/phpmailer/examples/images/phpmailer_mini.png new file mode 100644 index 0000000000000000000000000000000000000000..e6915f4317692a2591ef8c96ef74c50ea42a6fba GIT binary patch literal 1842 zcmV-22hI42P)cS z;&&eArFvNZrNTx8&q9F_J$UfI*49=(Ti!Qre+`?5s;4?sCM5$wU@&NWeB92?PCr{_ zqSMw;@*%0($^*qB(m{j=BkJz%wlJixH1->VNhVX(7ay~-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set an alternative reply-to address +$mail->addReplyTo('replyto@example.com', 'First Last'); +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); +//Set the subject line +$mail->Subject = 'PHPMailer mail() test'; +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/mailing_list.phps b/htdocs/includes/external/phpmailer/examples/mailing_list.phps new file mode 100644 index 00000000..edf27e41 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/mailing_list.phps @@ -0,0 +1,78 @@ +isSMTP(); +$mail->Host = 'smtp.example.com'; +$mail->SMTPAuth = true; +$mail->SMTPKeepAlive = true; //SMTP connection will not close after each email sent, reduces SMTP overhead +$mail->Port = 25; +$mail->Username = 'yourname@example.com'; +$mail->Password = 'yourpassword'; +$mail->setFrom('list@example.com', 'List manager'); +$mail->addReplyTo('list@example.com', 'List manager'); + +$mail->Subject = 'PHPMailer Simple database mailing list test'; + +//Same body for all messages, so set this before the sending loop +//If you generate a different body for each recipient (e.g. you're using a templating system), +//set it inside the loop +$mail->msgHTML($body); +//msgHTML also sets AltBody, but if you want a custom one, set it afterwards +$mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; + +//Connect to the database and select the recipients from your mailing list that have not yet been sent to +//You'll need to alter this to match your database +$mysql = mysqli_connect('localhost', 'username', 'password'); +mysqli_select_db($mysql, 'mydb'); +$result = mysqli_query($mysql, 'SELECT full_name, email, photo FROM mailinglist WHERE sent = FALSE'); + +foreach ($result as $row) { + try { + $mail->addAddress($row['email'], $row['full_name']); + } catch (Exception $e) { + echo 'Invalid address skipped: ' . htmlspecialchars($row['email']) . '
'; + continue; + } + if (!empty($row['photo'])) { + //Assumes the image data is stored in the DB + $mail->addStringAttachment($row['photo'], 'YourPhoto.jpg'); + } + + try { + $mail->send(); + echo 'Message sent to :' . htmlspecialchars($row['full_name']) . ' (' . + htmlspecialchars($row['email']) . ')
'; + //Mark it as sent in the DB + mysqli_query( + $mysql, + "UPDATE mailinglist SET sent = TRUE WHERE email = '" . + mysqli_real_escape_string($mysql, $row['email']) . "'" + ); + } catch (Exception $e) { + echo 'Mailer Error (' . htmlspecialchars($row['email']) . ') ' . $mail->ErrorInfo . '
'; + //Reset the connection to abort sending this message + //The loop will continue trying to send to the rest of the list + $mail->getSMTPInstance()->reset(); + } + //Clear all addresses and attachments for the next iteration + $mail->clearAddresses(); + $mail->clearAttachments(); +} diff --git a/htdocs/includes/external/phpmailer/examples/pop_before_smtp.phps b/htdocs/includes/external/phpmailer/examples/pop_before_smtp.phps new file mode 100644 index 00000000..00a2938f --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/pop_before_smtp.phps @@ -0,0 +1,60 @@ +isSMTP(); + //Enable SMTP debugging + //SMTP::DEBUG_OFF = off (for production use) + //SMTP::DEBUG_CLIENT = client messages + //SMTP::DEBUG_SERVER = client and server messages + $mail->SMTPDebug = SMTP::DEBUG_SERVER; + //Set the hostname of the mail server + $mail->Host = 'mail.example.com'; + //Set the SMTP port number - likely to be 25, 465 or 587 + $mail->Port = 25; + //Whether to use SMTP authentication + $mail->SMTPAuth = false; + //Set who the message is to be sent from + $mail->setFrom('from@example.com', 'First Last'); + //Set an alternative reply-to address + $mail->addReplyTo('replyto@example.com', 'First Last'); + //Set who the message is to be sent to + $mail->addAddress('whoto@example.com', 'John Doe'); + //Set the subject line + $mail->Subject = 'PHPMailer POP-before-SMTP test'; + //Read an HTML message body from an external file, convert referenced images to embedded, + //and convert the HTML into a basic plain-text alternative body + $mail->msgHTML(file_get_contents('contents.html'), __DIR__); + //Replace the plain text body with one created manually + $mail->AltBody = 'This is a plain-text message body'; + //Attach an image file + $mail->addAttachment('images/phpmailer_mini.png'); + //send the message + //Note that we don't need check the response from this because it will throw an exception if it has trouble + $mail->send(); + echo 'Message sent!'; +} catch (Exception $e) { + echo $e->errorMessage(); //Pretty error messages from PHPMailer +} catch (\Exception $e) { + echo $e->getMessage(); //Boring error messages from anything else! +} diff --git a/htdocs/includes/external/phpmailer/examples/send_file_upload.phps b/htdocs/includes/external/phpmailer/examples/send_file_upload.phps new file mode 100644 index 00000000..36c74db0 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/send_file_upload.phps @@ -0,0 +1,60 @@ +setFrom('from@example.com', 'First Last'); + $mail->addAddress('whoto@example.com', 'John Doe'); + $mail->Subject = 'PHPMailer file sender'; + $mail->Body = 'My message body'; + //Attach the uploaded file + if (!$mail->addAttachment($uploadfile, 'My uploaded file')) { + $msg .= 'Failed to attach file ' . $_FILES['userfile']['name']; + } + if (!$mail->send()) { + $msg .= 'Mailer Error: ' . $mail->ErrorInfo; + } else { + $msg .= 'Message sent!'; + } + } else { + $msg .= 'Failed to move file to ' . $uploadfile; + } +} +?> + + + + + PHPMailer Upload + + + +
+ Send this file: + +
+ + + \ No newline at end of file diff --git a/htdocs/includes/external/phpmailer/examples/send_multiple_file_upload.phps b/htdocs/includes/external/phpmailer/examples/send_multiple_file_upload.phps new file mode 100644 index 00000000..aeb65c14 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/send_multiple_file_upload.phps @@ -0,0 +1,60 @@ +setFrom('from@example.com', 'First Last'); + $mail->addAddress('whoto@example.com', 'John Doe'); + $mail->Subject = 'PHPMailer file sender'; + $mail->Body = 'My message body'; + //Attach multiple files one by one + for ($ct = 0, $ctMax = count($_FILES['userfile']['tmp_name']); $ct < $ctMax; $ct++) { + //Extract an extension from the provided filename + $ext = PHPMailer::mb_pathinfo($_FILES['userfile']['name'][$ct], PATHINFO_EXTENSION); + //Define a safe location to move the uploaded file to, preserving the extension + $uploadfile = tempnam(sys_get_temp_dir(), hash('sha256', $_FILES['userfile']['name'][$ct])) . '.' . $ext; + $filename = $_FILES['userfile']['name'][$ct]; + if (move_uploaded_file($_FILES['userfile']['tmp_name'][$ct], $uploadfile)) { + if (!$mail->addAttachment($uploadfile, $filename)) { + $msg .= 'Failed to attach file ' . $filename; + } + } else { + $msg .= 'Failed to move file to ' . $uploadfile; + } + } + if (!$mail->send()) { + $msg .= 'Mailer Error: ' . $mail->ErrorInfo; + } else { + $msg .= 'Message sent!'; + } +} +?> + + + + + PHPMailer Upload + + + +
+ + Select one or more files: + + +
+ + + diff --git a/htdocs/includes/external/phpmailer/examples/sendmail.phps b/htdocs/includes/external/phpmailer/examples/sendmail.phps new file mode 100644 index 00000000..8aabdc23 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/sendmail.phps @@ -0,0 +1,37 @@ +isSendmail(); +//Set who the message is to be sent from +$mail->setFrom('from@example.com', 'First Last'); +//Set an alternative reply-to address +$mail->addReplyTo('replyto@example.com', 'First Last'); +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); +//Set the subject line +$mail->Subject = 'PHPMailer sendmail test'; +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/simple_contact_form.phps b/htdocs/includes/external/phpmailer/examples/simple_contact_form.phps new file mode 100644 index 00000000..2915c9b9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/simple_contact_form.phps @@ -0,0 +1,102 @@ +isSMTP(); + $mail->Host = 'localhost'; + $mail->Port = 25; + $mail->CharSet = PHPMailer::CHARSET_UTF8; + //It's important not to use the submitter's address as the from address as it's forgery, + //which will cause your messages to fail SPF checks. + //Use an address in your own domain as the from address, put the submitter's address in a reply-to + $mail->setFrom('contact@example.com', (empty($name) ? 'Contact form' : $name)); + $mail->addAddress($to); + $mail->addReplyTo($email, $name); + $mail->Subject = 'Contact form: ' . $subject; + $mail->Body = "Contact form submission\n\n" . $query; + if (!$mail->send()) { + $msg .= 'Mailer Error: ' . $mail->ErrorInfo; + } else { + $msg .= 'Message sent!'; + } + } +} ?> + + + + + PHPMailer Contact Form + + +

Contact us

+ +
+ +
+
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/htdocs/includes/external/phpmailer/examples/smime_signed_mail.phps b/htdocs/includes/external/phpmailer/examples/smime_signed_mail.phps new file mode 100644 index 00000000..7ddc2bef --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/smime_signed_mail.phps @@ -0,0 +1,99 @@ +setFrom('from@example.com', 'First Last'); +//Set an alternative reply-to address +$mail->addReplyTo('replyto@example.com', 'First Last'); +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); +//Set the subject line +$mail->Subject = 'PHPMailer mail() test'; +//Read an HTML message body from an external file, convert referenced images to embedded, +//Convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//Configure message signing (the actual signing does not occur until sending) +$mail->sign( + '/path/to/cert.crt', //The location of your certificate file + '/path/to/cert.key', //The location of your private key file + //The password you protected your private key with (not the Import Password! + //May be empty but the parameter must not be omitted! + 'yourSecretPrivateKeyPassword', + '/path/to/certchain.pem' //The location of your chain file +); + +//Send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} +/* + * REMARKS: + * If your email client does not support S/MIME it will most likely just show an attachment smime.p7s, + * which is the signature contained in the email. + * Other clients, such as Thunderbird support S/MIME natively and will validate the signature + * automatically and report the result in some way. + */ diff --git a/htdocs/includes/external/phpmailer/examples/smtp.phps b/htdocs/includes/external/phpmailer/examples/smtp.phps new file mode 100644 index 00000000..f1e07b4f --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/smtp.phps @@ -0,0 +1,57 @@ +isSMTP(); +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_SERVER; +//Set the hostname of the mail server +$mail->Host = 'mail.example.com'; +//Set the SMTP port number - likely to be 25, 465 or 587 +$mail->Port = 25; +//Whether to use SMTP authentication +$mail->SMTPAuth = true; +//Username to use for SMTP authentication +$mail->Username = 'yourname@example.com'; +//Password to use for SMTP authentication +$mail->Password = 'yourpassword'; +//Set who the message is to be sent from +$mail->setFrom('from@example.com', 'First Last'); +//Set an alternative reply-to address +$mail->addReplyTo('replyto@example.com', 'First Last'); +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); +//Set the subject line +$mail->Subject = 'PHPMailer SMTP test'; +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/smtp_check.phps b/htdocs/includes/external/phpmailer/examples/smtp_check.phps new file mode 100644 index 00000000..be9347c1 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/smtp_check.phps @@ -0,0 +1,60 @@ +do_debug = SMTP::DEBUG_CONNECTION; + +try { + //Connect to an SMTP server + if (!$smtp->connect('mail.example.com', 25)) { + throw new Exception('Connect failed'); + } + //Say hello + if (!$smtp->hello(gethostname())) { + throw new Exception('EHLO failed: ' . $smtp->getError()['error']); + } + //Get the list of ESMTP services the server offers + $e = $smtp->getServerExtList(); + //If server can do TLS encryption, use it + if (is_array($e) && array_key_exists('STARTTLS', $e)) { + $tlsok = $smtp->startTLS(); + if (!$tlsok) { + throw new Exception('Failed to start encryption: ' . $smtp->getError()['error']); + } + //Repeat EHLO after STARTTLS + if (!$smtp->hello(gethostname())) { + throw new Exception('EHLO (2) failed: ' . $smtp->getError()['error']); + } + //Get new capabilities list, which will usually now include AUTH if it didn't before + $e = $smtp->getServerExtList(); + } + //If server supports authentication, do it (even if no encryption) + if (is_array($e) && array_key_exists('AUTH', $e)) { + if ($smtp->authenticate('username', 'password')) { + echo 'Connected ok!'; + } else { + throw new Exception('Authentication failed: ' . $smtp->getError()['error']); + } + } +} catch (Exception $e) { + echo 'SMTP error: ' . $e->getMessage(), "\n"; +} +//Whatever happened, close the connection. +$smtp->quit(); diff --git a/htdocs/includes/external/phpmailer/examples/smtp_low_memory.phps b/htdocs/includes/external/phpmailer/examples/smtp_low_memory.phps new file mode 100644 index 00000000..73279bb8 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/smtp_low_memory.phps @@ -0,0 +1,131 @@ +sendCommand('DATA', 'DATA', 354)) { + return false; + } + + /* The server is ready to accept data! + * According to rfc821 we should not send more than 1000 characters on a single line (including the LE) + * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into + * smaller lines to fit within the limit. + * We will also look for lines that start with a '.' and prepend an additional '.'. + * NOTE: this does not count towards line-length limit. + */ + + //Normalize line breaks + $msg_data = str_replace(["\r\n", "\r"], "\n", $msg_data); + + /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field + * of the first line (':' separated) does not contain a space then it _should_ be a header and we will + * process all lines before a blank line as headers. + */ + + $firstline = substr($msg_data, 0, strcspn($msg_data, "\n", 0)); + $field = substr($firstline, 0, strpos($firstline, ':')); + $in_headers = false; + if (!empty($field) && strpos($field, ' ') === false) { + $in_headers = true; + } + + $offset = 0; + $len = strlen($msg_data); + while ($offset < $len) { + //Get position of next line break + $linelen = strcspn($msg_data, "\n", $offset); + //Get the next line + $line = substr($msg_data, $offset, $linelen); + //Remember where we have got to + $offset += ($linelen + 1); + $lines_out = []; + if ($in_headers && $line === '') { + $in_headers = false; + } + //We need to break this line up into several smaller lines + //This is a small micro-optimisation: isset($str[$len]) is equivalent to (strlen($str) > $len) + while (isset($line[self::MAX_LINE_LENGTH])) { + //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on + //so as to avoid breaking in the middle of a word + $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' '); + //Deliberately matches both false and 0 + if (!$pos) { + //No nice break found, add a hard break + $pos = self::MAX_LINE_LENGTH - 1; + $lines_out[] = substr($line, 0, $pos); + $line = substr($line, $pos); + } else { + //Break at the found point + $lines_out[] = substr($line, 0, $pos); + //Move along by the amount we dealt with + $line = substr($line, $pos + 1); + } + //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1 + if ($in_headers) { + $line = "\t" . $line; + } + } + $lines_out[] = $line; + + //Send the lines to the server + foreach ($lines_out as $line_out) { + //RFC2821 section 4.5.2 + if (!empty($line_out) && $line_out[0] === '.') { + $line_out = '.' . $line_out; + } + $this->client_send($line_out . self::LE); + } + } + + //Message data has been sent, complete the command + //Increase timelimit for end of DATA command + $savetimelimit = $this->Timelimit; + $this->Timelimit *= 2; + $result = $this->sendCommand('DATA END', '.', 250); + //Restore timelimit + $this->Timelimit = $savetimelimit; + + return $result; + } +} + +/** + * We need to use a PHPMailer subclass to make it use our SMTP implementation. + * @package PHPMailer\PHPMailer + */ +class PHPMailerLowMemory extends PHPMailer +{ + /** + * Patch in the new SMTP class. + * @return SMTP + */ + public function getSMTPInstance() + { + if (!is_object($this->smtp)) { + $this->smtp = new SMTPLowMemory(); + } + + return $this->smtp; + } +} diff --git a/htdocs/includes/external/phpmailer/examples/smtp_no_auth.phps b/htdocs/includes/external/phpmailer/examples/smtp_no_auth.phps new file mode 100644 index 00000000..ddc64871 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/smtp_no_auth.phps @@ -0,0 +1,53 @@ +isSMTP(); +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_SERVER; +//Set the hostname of the mail server +$mail->Host = 'mail.example.com'; +//Set the SMTP port number - likely to be 25, 465 or 587 +$mail->Port = 25; +//We don't need to set this as it's the default value +//$mail->SMTPAuth = false; +//Set who the message is to be sent from +$mail->setFrom('from@example.com', 'First Last'); +//Set an alternative reply-to address +$mail->addReplyTo('replyto@example.com', 'First Last'); +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); +//Set the subject line +$mail->Subject = 'PHPMailer SMTP without auth test'; +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); +//Replace the plain text body with one created manually +$mail->AltBody = 'This is a plain-text message body'; +//Attach an image file +$mail->addAttachment('images/phpmailer_mini.png'); + +//send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/examples/ssl_options.phps b/htdocs/includes/external/phpmailer/examples/ssl_options.phps new file mode 100644 index 00000000..1923e772 --- /dev/null +++ b/htdocs/includes/external/phpmailer/examples/ssl_options.phps @@ -0,0 +1,81 @@ +isSMTP(); + +//Enable SMTP debugging +//SMTP::DEBUG_OFF = off (for production use) +//SMTP::DEBUG_CLIENT = client messages +//SMTP::DEBUG_SERVER = client and server messages +$mail->SMTPDebug = SMTP::DEBUG_CONNECTION; + +//Set the hostname of the mail server +$mail->Host = 'smtp.example.com'; + +//Set the SMTP port number: +// - 465 for SMTP with implicit TLS, a.k.a. RFC8314 SMTPS or +// - 587 for SMTP+STARTTLS +$mail->Port = 465; + +//Set the encryption mechanism to use: +// - SMTPS (implicit TLS on port 465) or +// - STARTTLS (explicit TLS on port 587) +$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; + +//Custom connection options +//Note that these settings are INSECURE +$mail->SMTPOptions = array( + 'ssl' => [ + 'verify_peer' => true, + 'verify_depth' => 3, + 'allow_self_signed' => true, + 'peer_name' => 'smtp.example.com', + 'cafile' => '/etc/ssl/ca_cert.pem', + ], +); + +//Whether to use SMTP authentication +$mail->SMTPAuth = true; + +//Username to use for SMTP authentication - use full email address for gmail +$mail->Username = 'username@example.com'; + +//Password to use for SMTP authentication +$mail->Password = 'yourpassword'; + +//Set who the message is to be sent from +$mail->setFrom('from@example.com', 'First Last'); + +//Set who the message is to be sent to +$mail->addAddress('whoto@example.com', 'John Doe'); + +//Set the subject line +$mail->Subject = 'PHPMailer SMTP options test'; + +//Read an HTML message body from an external file, convert referenced images to embedded, +//convert HTML into a basic plain-text alternative body +$mail->msgHTML(file_get_contents('contents.html'), __DIR__); + +//Send the message, check for errors +if (!$mail->send()) { + echo 'Mailer Error: ' . $mail->ErrorInfo; +} else { + echo 'Message sent!'; +} diff --git a/htdocs/includes/external/phpmailer/get_oauth_token.php b/htdocs/includes/external/phpmailer/get_oauth_token.php new file mode 100644 index 00000000..cda0445c --- /dev/null +++ b/htdocs/includes/external/phpmailer/get_oauth_token.php @@ -0,0 +1,182 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * Get an OAuth2 token from an OAuth2 provider. + * * Install this script on your server so that it's accessible + * as [https/http]:////get_oauth_token.php + * e.g.: http://localhost/phpmailer/get_oauth_token.php + * * Ensure dependencies are installed with 'composer install' + * * Set up an app in your Google/Yahoo/Microsoft account + * * Set the script address as the app's redirect URL + * If no refresh token is obtained when running this file, + * revoke access to your app and run the script again. + */ + +namespace PHPMailer\PHPMailer; + +/** + * Aliases for League Provider Classes + * Make sure you have added these to your composer.json and run `composer install` + * Plenty to choose from here: + * @see http://oauth2-client.thephpleague.com/providers/thirdparty/ + */ +//@see https://github.com/thephpleague/oauth2-google +use League\OAuth2\Client\Provider\Google; +//@see https://packagist.org/packages/hayageek/oauth2-yahoo +use Hayageek\OAuth2\Client\Provider\Yahoo; +//@see https://github.com/stevenmaguire/oauth2-microsoft +use Stevenmaguire\OAuth2\Client\Provider\Microsoft; +//@see https://github.com/greew/oauth2-azure-provider +use Greew\OAuth2\Client\Provider\Azure; + +if (!isset($_GET['code']) && !isset($_POST['provider'])) { + ?> + + +
+

Select Provider

+ +
+ +
+ +
+ +
+

Enter id and secret

+

These details are obtained by setting up an app in your provider's developer console. +

+

ClientId:

+

ClientSecret:

+

TenantID (only relevant for Azure):

+ +
+ + + $clientId, + 'clientSecret' => $clientSecret, + 'redirectUri' => $redirectUri, + 'accessType' => 'offline' +]; + +$options = []; +$provider = null; + +switch ($providerName) { + case 'Google': + $provider = new Google($params); + $options = [ + 'scope' => [ + 'https://mail.google.com/' + ] + ]; + break; + case 'Yahoo': + $provider = new Yahoo($params); + break; + case 'Microsoft': + $provider = new Microsoft($params); + $options = [ + 'scope' => [ + 'wl.imap', + 'wl.offline_access' + ] + ]; + break; + case 'Azure': + $params['tenantId'] = $tenantId; + + $provider = new Azure($params); + $options = [ + 'scope' => [ + 'https://outlook.office.com/SMTP.Send', + 'offline_access' + ] + ]; + break; +} + +if (null === $provider) { + exit('Provider missing'); +} + +if (!isset($_GET['code'])) { + //If we don't have an authorization code then get one + $authUrl = $provider->getAuthorizationUrl($options); + $_SESSION['oauth2state'] = $provider->getState(); + header('Location: ' . $authUrl); + exit; + //Check given state against previously stored one to mitigate CSRF attack +} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) { + unset($_SESSION['oauth2state']); + unset($_SESSION['provider']); + exit('Invalid state'); +} else { + unset($_SESSION['provider']); + //Try to get an access token (using the authorization code grant) + $token = $provider->getAccessToken( + 'authorization_code', + [ + 'code' => $_GET['code'] + ] + ); + //Use this to interact with an API on the users behalf + //Use this to get a new access token if the old one expires + echo 'Refresh Token: ', $token->getRefreshToken(); +} diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-af.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-af.php new file mode 100644 index 00000000..0b2a72d5 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-af.php @@ -0,0 +1,26 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.'; +$PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .'; +$PHPMAILER_LANG['empty_message'] = 'نص الرسالة ÙØ§Ø±Øº'; +$PHPMAILER_LANG['encoding'] = 'ترميز غير معروÙ: '; +$PHPMAILER_LANG['execute'] = 'لا يمكن تنÙيذ : '; +$PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملÙ: '; +$PHPMAILER_LANG['file_open'] = 'خطأ ÙÙŠ الملÙ: لا يمكن ÙØªØ­Ù‡: '; +$PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : '; +$PHPMAILER_LANG['instantiate'] = 'لا يمكن توÙير خدمة البريد.'; +$PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.'; +$PHPMAILER_LANG['provide_address'] = 'يجب توÙير عنوان البريد الإلكتروني لمستلم واحد على الأقل.'; +$PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية ÙØ´Ù„ ÙÙŠ الارسال لكل من : '; +$PHPMAILER_LANG['signing'] = 'خطأ ÙÙŠ التوقيع: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.'; +$PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: '; +$PHPMAILER_LANG['extension_missing'] = 'Ø§Ù„Ø¥Ø¶Ø§ÙØ© غير موجودة: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-az.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-az.php new file mode 100644 index 00000000..552167ef --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-az.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP GreÅ¡ka: Neuspjela prijava.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP GreÅ¡ka: Nije moguće spojiti se sa SMTP serverom.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP GreÅ¡ka: Podatci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznata kriptografija: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvrÅ¡iti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP GreÅ¡ka: Slanje sa navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP GreÅ¡ka: Slanje na navedene e-mail adrese nije uspjelo: '; +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'DefiniÅ¡ite barem jednu adresu primaoca.'; +$PHPMAILER_LANG['signing'] = 'GreÅ¡ka prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP greÅ¡ka: '; +$PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-be.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-be.php new file mode 100644 index 00000000..9e92ddaa --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-be.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідÑнтыфікацыі.'; +$PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ÑžÑтанавіць ÑувÑзь з SMTP-Ñерверам.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звеÑткі непрынÑтыÑ.'; +$PHPMAILER_LANG['empty_message'] = 'ПуÑтое паведамленне.'; +$PHPMAILER_LANG['encoding'] = 'ÐевÑÐ´Ð¾Ð¼Ð°Ñ ÐºÐ°Ð´Ñ‹Ñ€Ð¾ÑžÐºÐ° Ñ‚ÑкÑту: '; +$PHPMAILER_LANG['execute'] = 'Ðельга выканаць каманду: '; +$PHPMAILER_LANG['file_access'] = 'ÐÑма доÑтупу да файла: '; +$PHPMAILER_LANG['file_open'] = 'Ðельга адкрыць файл: '; +$PHPMAILER_LANG['from_failed'] = 'ÐÑправільны Ð°Ð´Ñ€Ð°Ñ Ð°Ð´Ð¿Ñ€Ð°ÑžÐ½Ñ–ÐºÐ°: '; +$PHPMAILER_LANG['instantiate'] = 'Ðельга прымÑніць функцыю mail().'; +$PHPMAILER_LANG['invalid_address'] = 'Ðельга даÑлаць паведамленне, нÑправільны email атрымальніка: '; +$PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі лаÑка, правільны email атрымальніка.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы Ñервер не падтрымліваецца.'; +$PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: нÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ñ‹Ñ Ð°Ñ‚Ñ€Ñ‹Ð¼Ð°Ð»ÑŒÐ½Ñ–ÐºÑ–: '; +$PHPMAILER_LANG['signing'] = 'Памылка подпіÑу паведамленнÑ: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка ÑувÑзі з SMTP-Ñерверам.'; +$PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Ðельга ÑžÑтанавіць або перамÑніць значÑнне пераменнай: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-bg.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-bg.php new file mode 100644 index 00000000..c41f675d --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-bg.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Ðе може да Ñе удоÑтовери пред Ñървъра.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Ðе може да Ñе Ñвърже Ñ SMTP хоÑта.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не Ñа приети.'; +$PHPMAILER_LANG['empty_message'] = 'Съдържанието на Ñъобщението е празно'; +$PHPMAILER_LANG['encoding'] = 'ÐеизвеÑтно кодиране: '; +$PHPMAILER_LANG['execute'] = 'Ðе може да Ñе изпълни: '; +$PHPMAILER_LANG['file_access'] = 'ÐÑма доÑтъп до файл: '; +$PHPMAILER_LANG['file_open'] = 'Файлова грешка: Ðе може да Ñе отвори файл: '; +$PHPMAILER_LANG['from_failed'] = 'Следните адреÑи за подател Ñа невалидни: '; +$PHPMAILER_LANG['instantiate'] = 'Ðе може да Ñе инÑтанцира функциÑта mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Ðевалиден адреÑ: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' - пощенÑки Ñървър не Ñе поддържа.'; +$PHPMAILER_LANG['provide_address'] = 'ТрÑбва да предоÑтавите поне един email Ð°Ð´Ñ€ÐµÑ Ð·Ð° получател.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреÑи за Получател Ñа невалидни: '; +$PHPMAILER_LANG['signing'] = 'Грешка при подпиÑване: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP Ñървърна грешка: '; +$PHPMAILER_LANG['variable_set'] = 'Ðе може да Ñе уÑтанови или възÑтанови променлива: '; +$PHPMAILER_LANG['extension_missing'] = 'ЛипÑва разширение: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-ca.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ca.php new file mode 100644 index 00000000..34684855 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ca.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.'; +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.'; +$PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.'; +$PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: '; +$PHPMAILER_LANG['execute'] = 'No es pot executar: '; +$PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: '; +$PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: '; +$PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: '; +$PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat'; +$PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.'; +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: '; +$PHPMAILER_LANG['signing'] = 'Error al signar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().'; +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-cs.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-cs.php new file mode 100644 index 00000000..e770a1a2 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-cs.php @@ -0,0 +1,28 @@ + + * Rewrite and extension of the work by Mikael Stokkebro + * + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Forbindelse til SMTP serveren kunne ikke oprettes.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data blev ikke accepteret.'; +$PHPMAILER_LANG['empty_message'] = 'Meddelelsen er uden indhold'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke afvikle: '; +$PHPMAILER_LANG['extension_missing'] = 'Udvidelse mangler: '; +$PHPMAILER_LANG['file_access'] = 'Kunne ikke tilgÃ¥ filen: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke Ã¥bne filen: '; +$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Email funktionen kunne ikke initialiseres.'; +$PHPMAILER_LANG['invalid_address'] = 'Udgyldig adresse: '; +$PHPMAILER_LANG['invalid_header'] = 'Ugyldig header navn eller værdi'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Ugyldig hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'Ugyldig vært: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Indtast mindst en modtagers email adresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere fejlede: '; +$PHPMAILER_LANG['signing'] = 'Signeringsfejl: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP kode: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Yderligere SMTP info: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fejlede.'; +$PHPMAILER_LANG['smtp_detail'] = 'Detalje: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP server fejl: '; +$PHPMAILER_LANG['variable_set'] = 'Kunne ikke definere eller nulstille variablen: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-de.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-de.php new file mode 100644 index 00000000..e7e59d2b --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-de.php @@ -0,0 +1,28 @@ + + * @author Crystopher Glodzienski Cardoso + */ + +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: Imposible autentificar.'; +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: Imposible conectar al servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.'; +$PHPMAILER_LANG['empty_message'] = 'El cuerpo del mensaje está vacío.'; +$PHPMAILER_LANG['encoding'] = 'Codificación desconocida: '; +$PHPMAILER_LANG['execute'] = 'Imposible ejecutar: '; +$PHPMAILER_LANG['file_access'] = 'Imposible acceder al archivo: '; +$PHPMAILER_LANG['file_open'] = 'Error de Archivo: Imposible abrir el archivo: '; +$PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: '; +$PHPMAILER_LANG['instantiate'] = 'Imposible crear una instancia de la función Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Imposible enviar: dirección de email inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.'; +$PHPMAILER_LANG['provide_address'] = 'Debe proporcionar al menos una dirección de email de destino.'; +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinos fallaron: '; +$PHPMAILER_LANG['signing'] = 'Error al firmar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falló.'; +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'No se pudo configurar la variable: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensión faltante: '; +$PHPMAILER_LANG['smtp_code'] = 'Código del servidor SMTP: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Información adicional del servidor SMTP: '; +$PHPMAILER_LANG['invalid_header'] = 'Nombre o valor de encabezado no válido'; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-et.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-et.php new file mode 100644 index 00000000..93addc9e --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-et.php @@ -0,0 +1,28 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.'; +$PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu'; +$PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: '; +$PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: '; +$PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: '; +$PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: '; +$PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: '; +$PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.'; +$PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: '; +$PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: '; +$PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: '; +$PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: '; +$PHPMAILER_LANG['extension_missing'] = 'Nõutud laiendus on puudu: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-fa.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fa.php new file mode 100644 index 00000000..295a47f9 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fa.php @@ -0,0 +1,28 @@ + + * @author Mohammad Hossein Mojtahedi + */ + +$PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.'; +$PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.'; +$PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: داده‌ها نا‌درست هستند.'; +$PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.'; +$PHPMAILER_LANG['encoding'] = 'کد‌گذاری نا‌شناخته: '; +$PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: '; +$PHPMAILER_LANG['file_access'] = 'امکان دسترسی به ÙØ§ÛŒÙ„ وجود ندارد: '; +$PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن ÙØ§ÛŒÙ„ وجود ندارد: '; +$PHPMAILER_LANG['from_failed'] = 'آدرس ÙØ±Ø³ØªÙ†Ø¯Ù‡ اشتباه است: '; +$PHPMAILER_LANG['instantiate'] = 'امکان معرÙÛŒ تابع ایمیل وجود ندارد.'; +$PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمی‌شود.'; +$PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.'; +$PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: '; +$PHPMAILER_LANG['signing'] = 'خطا در امضا: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.'; +$PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: '; +$PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیر‌ها وجود ندارد: '; +$PHPMAILER_LANG['extension_missing'] = 'Ø§ÙØ²ÙˆÙ†Ù‡ موجود نیست: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-fi.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fi.php new file mode 100644 index 00000000..6d1e6373 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fi.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ókend encoding: '; +$PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: '; +$PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: '; +$PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: '; +$PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: '; +$PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.'; +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.'; +$PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-fr.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fr.php new file mode 100644 index 00000000..0d367fcf --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-fr.php @@ -0,0 +1,37 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro SMTP: Non puido ser autentificado.'; +$PHPMAILER_LANG['connect_host'] = 'Erro SMTP: Non puido conectar co servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro SMTP: Datos non aceptados.'; +$PHPMAILER_LANG['empty_message'] = 'Corpo da mensaxe vacía'; +$PHPMAILER_LANG['encoding'] = 'Codificación descoñecida: '; +$PHPMAILER_LANG['execute'] = 'Non puido ser executado: '; +$PHPMAILER_LANG['file_access'] = 'Nob puido acceder ó arquivo: '; +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: No puido abrir o arquivo: '; +$PHPMAILER_LANG['from_failed'] = 'A(s) seguinte(s) dirección(s) de remitente(s) deron erro: '; +$PHPMAILER_LANG['instantiate'] = 'Non puido crear unha instancia da función Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Non puido envia-lo correo: dirección de email inválida: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer non está soportado.'; +$PHPMAILER_LANG['provide_address'] = 'Debe engadir polo menos unha dirección de email coma destino.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro SMTP: Os seguintes destinos fallaron: '; +$PHPMAILER_LANG['signing'] = 'Erro ó firmar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallou.'; +$PHPMAILER_LANG['smtp_error'] = 'Erro do servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Non puidemos axustar ou reaxustar a variábel: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-he.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-he.php new file mode 100644 index 00000000..b123aa5f --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-he.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'שגי×ת SMTP: פעולת ×”×ימות נכשלה.'; +$PHPMAILER_LANG['connect_host'] = 'שגי×ת SMTP: ×œ× ×”×¦×œ×—×ª×™ להתחבר לשרת SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'שגי×ת SMTP: מידע ×œ× ×”×ª×§×‘×œ.'; +$PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק'; +$PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה: '; +$PHPMAILER_LANG['encoding'] = 'קידוד ×œ× ×ž×•×›×¨: '; +$PHPMAILER_LANG['execute'] = '×œ× ×”×¦×œ×—×ª×™ להפעיל ×ת: '; +$PHPMAILER_LANG['file_access'] = '×œ× × ×™×ª×Ÿ לגשת לקובץ: '; +$PHPMAILER_LANG['file_open'] = 'שגי×ת קובץ: ×œ× × ×™×ª×Ÿ לגשת לקובץ: '; +$PHPMAILER_LANG['from_failed'] = 'כתובות ×”× ×ž×¢× ×™× ×”×‘×ות נכשלו: '; +$PHPMAILER_LANG['instantiate'] = '×œ× ×”×¦×œ×—×ª×™ להפעיל ×ת פונקציית המייל.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' ××™× ×” נתמכת.'; +$PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת ×חת של מקבל המייל.'; +$PHPMAILER_LANG['recipients_failed'] = 'שגי×ת SMTP: ×”× ×ž×¢× ×™× ×”×‘××™× × ×›×©×œ×•: '; +$PHPMAILER_LANG['signing'] = 'שגי×ת חתימה: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +$PHPMAILER_LANG['smtp_error'] = 'שגי×ת שרת SMTP: '; +$PHPMAILER_LANG['variable_set'] = '×œ× × ×™×ª×Ÿ לקבוע ×ו לשנות ×ת המשתנה: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-hi.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hi.php new file mode 100644 index 00000000..d2856e05 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hi.php @@ -0,0 +1,35 @@ + + * Rewrite and extension of the work by Jayanti Suthar + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP तà¥à¤°à¥à¤Ÿà¤¿: पà¥à¤°à¤¾à¤®à¤¾à¤£à¤¿à¤•ता की जांच नहीं हो सका। '; +$PHPMAILER_LANG['buggy_php'] = 'PHP का आपका संसà¥à¤•रण à¤à¤• बग से पà¥à¤°à¤­à¤¾à¤µà¤¿à¤¤ है जिसके परिणामसà¥à¤µà¤°à¥‚प संदेश दूषित हो सकते हैं. इसे ठीक करने हेतà¥, भेजने के लिठSMTP का उपयोग करे, अपने php.ini में mail.add_x_header विकलà¥à¤ª को अकà¥à¤·à¤® करें, MacOS या Linux पर जाà¤, या अपने PHP संसà¥à¤•रण को 7.0.17+ या 7.1.3+ बदले.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP तà¥à¤°à¥à¤Ÿà¤¿: SMTP सरà¥à¤µà¤° से कनेकà¥à¤Ÿ नहीं हो सका। '; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP तà¥à¤°à¥à¤Ÿà¤¿: डेटा सà¥à¤µà¥€à¤•ार नहीं किया जाता है। '; +$PHPMAILER_LANG['empty_message'] = 'संदेश खाली है। '; +$PHPMAILER_LANG['encoding'] = 'अजà¥à¤žà¤¾à¤¤ à¤à¤¨à¥à¤•ोडिंग पà¥à¤°à¤•ार। '; +$PHPMAILER_LANG['execute'] = 'आदेश को निषà¥à¤ªà¤¾à¤¦à¤¿à¤¤ करने में विफल। '; +$PHPMAILER_LANG['extension_missing'] = 'à¤à¤•à¥à¤¸à¤Ÿà¥‡à¤¨à¥à¤·à¤¨ गायब है: '; +$PHPMAILER_LANG['file_access'] = 'फ़ाइल उपलबà¥à¤§ नहीं है। '; +$PHPMAILER_LANG['file_open'] = 'फ़ाइल तà¥à¤°à¥à¤Ÿà¤¿: फाइल को खोला नहीं जा सका। '; +$PHPMAILER_LANG['from_failed'] = 'पà¥à¤°à¥‡à¤·à¤• का पता गलत है। '; +$PHPMAILER_LANG['instantiate'] = 'मेल फ़ंकà¥à¤¶à¤¨ कॉल नहीं कर सकता है।'; +$PHPMAILER_LANG['invalid_address'] = 'पता गलत है। '; +$PHPMAILER_LANG['invalid_header'] = 'अमानà¥à¤¯ हेडर नाम या मान'; +$PHPMAILER_LANG['invalid_hostentry'] = 'अमानà¥à¤¯ hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'अमानà¥à¤¯ होसà¥à¤Ÿ: '; +$PHPMAILER_LANG['mailer_not_supported'] = 'मेल सरà¥à¤µà¤° के साथ काम नहीं करता है। '; +$PHPMAILER_LANG['provide_address'] = 'आपको कम से कम à¤à¤• पà¥à¤°à¤¾à¤ªà¥à¤¤à¤•रà¥à¤¤à¤¾ का ई-मेल पता पà¥à¤°à¤¦à¤¾à¤¨ करना होगा।'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP तà¥à¤°à¥à¤Ÿà¤¿: निमà¥à¤¨ पà¥à¤°à¤¾à¤ªà¥à¤¤à¤•रà¥à¤¤à¤¾à¤“ं को पते भेजने में विफल। '; +$PHPMAILER_LANG['signing'] = 'साइनअप तà¥à¤°à¥à¤Ÿà¤¿: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP कोड: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'अतिरिकà¥à¤¤ SMTP जानकारी: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP का connect () फ़ंकà¥à¤¶à¤¨ विफल हà¥à¤†à¥¤ '; +$PHPMAILER_LANG['smtp_detail'] = 'विवरण: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP सरà¥à¤µà¤° तà¥à¤°à¥à¤Ÿà¤¿à¥¤ '; +$PHPMAILER_LANG['variable_set'] = 'चर को बना या संशोधित नहीं किया जा सकता। '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-hr.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hr.php new file mode 100644 index 00000000..cacb6c37 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hr.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP GreÅ¡ka: Neuspjela autentikacija.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP GreÅ¡ka: Ne mogu se spojiti na SMTP poslužitelj.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP GreÅ¡ka: Podatci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvrÅ¡iti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP GreÅ¡ka: Slanje s navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP GreÅ¡ka: Slanje na navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.'; +$PHPMAILER_LANG['signing'] = 'GreÅ¡ka prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.'; +$PHPMAILER_LANG['smtp_error'] = 'GreÅ¡ka SMTP poslužitelja: '; +$PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proÅ¡irenje: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-hu.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hu.php new file mode 100644 index 00000000..e6b58b0d --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-hu.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP -Õ« Õ½Õ­Õ¡Õ¬: Õ¹Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Ö Õ½Õ¿Õ¸Ö‚Õ£Õ¥Õ¬ Õ«Õ½Õ¯Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP -Õ« Õ½Õ­Õ¡Õ¬: Õ¹Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Ö Õ¯Õ¡Õº Õ°Õ¡Õ½Õ¿Õ¡Õ¿Õ¥Õ¬ SMTP Õ½Õ¥Ö€Õ¾Õ¥Ö€Õ« Õ°Õ¥Õ¿.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP -Õ« Õ½Õ­Õ¡Õ¬: Õ¿Õ¾ÕµÕ¡Õ¬Õ¶Õ¥Ö€Õ¨ Õ¨Õ¶Õ¤Õ¸Ö‚Õ¶Õ¾Õ¡Õ® Õ¹Õ¥Õ¶.'; +$PHPMAILER_LANG['empty_message'] = 'Õ€Õ¡Õ²Õ¸Ö€Õ¤Õ¡Õ£Ö€Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨ Õ¤Õ¡Õ¿Õ¡Ö€Õ¯ Õ§'; +$PHPMAILER_LANG['encoding'] = 'Ô¿Õ¸Õ¤Õ¡Õ¾Õ¸Ö€Õ´Õ¡Õ¶ Õ¡Õ¶Õ°Õ¡ÕµÕ¿ Õ¿Õ¥Õ½Õ¡Õ¯: '; +$PHPMAILER_LANG['execute'] = 'Õ‰Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Ö Õ«Ö€Õ¡Õ¯Õ¡Õ¶Õ¡ÖÕ¶Õ¥Õ¬ Õ°Ö€Õ¡Õ´Õ¡Õ¶Õ¨: '; +$PHPMAILER_LANG['file_access'] = 'Õ–Õ¡ÕµÕ¬Õ¨ Õ°Õ¡Õ½Õ¡Õ¶Õ¥Õ¬Õ« Õ¹Õ§: '; +$PHPMAILER_LANG['file_open'] = 'Õ–Õ¡ÕµÕ¬Õ« Õ½Õ­Õ¡Õ¬: Ö†Õ¡ÕµÕ¬Õ¨ Õ¹Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Ö Õ¢Õ¡ÖÕ¥Õ¬: '; +$PHPMAILER_LANG['from_failed'] = 'ÕˆÖ‚Õ²Õ¡Ö€Õ¯Õ¸Õ²Õ« Õ°Õ¥Õ¿Ö‡ÕµÕ¡Õ¬ Õ°Õ¡Õ½ÖÕ¥Õ¶ Õ½Õ­Õ¡Õ¬ Õ§: '; +$PHPMAILER_LANG['instantiate'] = 'Õ€Õ¶Õ¡Ö€Õ¡Õ¾Õ¸Ö€ Õ¹Õ§ Õ¯Õ¡Õ¶Õ¹Õ¥Õ¬ mail Ö†Õ¸Ö‚Õ¶Õ¯ÖÕ«Õ¡Õ¶.'; +$PHPMAILER_LANG['invalid_address'] = 'Õ€Õ¡Õ½ÖÕ¥Õ¶ Õ½Õ­Õ¡Õ¬ Õ§: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' ÖƒÕ¸Õ½Õ¿Õ¡ÕµÕ«Õ¶ Õ½Õ¥Ö€Õ¾Õ¥Ö€Õ« Õ°Õ¥Õ¿ Õ¹Õ« Õ¡Õ·Õ­Õ¡Õ¿Õ¸Ö‚Õ´.'; +$PHPMAILER_LANG['provide_address'] = 'Ô±Õ¶Õ°Ö€Õ¡ÕªÕ¥Õ·Õ¿ Õ§ Õ¿Ö€Õ¡Õ´Õ¡Õ¤Ö€Õ¥Õ¬ Õ£Õ¸Õ¶Õ¥ Õ´Õ¥Õ¯ Õ½Õ¿Õ¡ÖÕ¸Õ²Õ« e-mail Õ°Õ¡Õ½ÖÕ¥.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP -Õ« Õ½Õ­Õ¡Õ¬: Õ¹Õ« Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Õ¬ Õ¸Ö‚Õ²Õ¡Ö€Õ¯Õ¥Õ¬ Õ°Õ¥Õ¿Ö‡ÕµÕ¡Õ¬ Õ½Õ¿Õ¡ÖÕ¸Õ²Õ¶Õ¥Ö€Õ« Õ°Õ¡Õ½ÖÕ¥Õ¶Õ¥Ö€Õ«Õ¶: '; +$PHPMAILER_LANG['signing'] = 'ÕÕ¿Õ¸Ö€Õ¡Õ£Ö€Õ´Õ¡Õ¶ Õ½Õ­Õ¡Õ¬: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP -Õ« connect() Ö†Õ¸Ö‚Õ¶Õ¯ÖÕ«Õ¡Õ¶ Õ¹Õ« Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¥Õ¬'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP Õ½Õ¥Ö€Õ¾Õ¥Ö€Õ« Õ½Õ­Õ¡Õ¬: '; +$PHPMAILER_LANG['variable_set'] = 'Õ‰Õ« Õ°Õ¡Õ»Õ¸Õ²Õ¾Õ¸Ö‚Õ´ Õ½Õ¿Õ¥Õ²Õ®Õ¥Õ¬ Õ¯Õ¡Õ´ Õ¾Õ¥Ö€Õ¡ÖƒÕ¸Õ­Õ¥Õ¬ ÖƒÕ¸ÖƒÕ¸Õ­Õ¡Õ¯Õ¡Õ¶Õ¨: '; +$PHPMAILER_LANG['extension_missing'] = 'Õ€Õ¡Õ¾Õ¥Õ¬Õ¾Õ¡Õ®Õ¨ Õ¢Õ¡ÖÕ¡Õ¯Õ¡ÕµÕ¸Ö‚Õ´ Õ§: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-id.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-id.php new file mode 100644 index 00000000..212a11f1 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-id.php @@ -0,0 +1,31 @@ + + * @author @januridp + * @author Ian Mustafa + */ + +$PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengotentikasi.'; +$PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung ke host SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima.'; +$PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong'; +$PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: '; +$PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses: '; +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas: '; +$PHPMAILER_LANG['file_open'] = 'Kesalahan Berkas: Berkas tidak dapat dibuka: '; +$PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan kesalahan: '; +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi surel.'; +$PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat surel tidak sesuai: '; +$PHPMAILER_LANG['invalid_hostentry'] = 'Gagal terkirim, entri host tidak sesuai: '; +$PHPMAILER_LANG['invalid_host'] = 'Gagal terkirim, host tidak sesuai: '; +$PHPMAILER_LANG['provide_address'] = 'Harus tersedia minimal satu alamat tujuan'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tidak didukung'; +$PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menyebabkan kesalahan: '; +$PHPMAILER_LANG['signing'] = 'Kesalahan dalam penandatangan SSL: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.'; +$PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variabel: '; +$PHPMAILER_LANG['extension_missing'] = 'Ekstensi PHP tidak tersedia: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-it.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-it.php new file mode 100644 index 00000000..08a6b733 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-it.php @@ -0,0 +1,28 @@ + + * @author Stefano Sabatini + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.'; +$PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto'; +$PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: '; +$PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: '; +$PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: '; +$PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: '; +$PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail'; +$PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: '; +$PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente'; +$PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: '; +$PHPMAILER_LANG['signing'] = 'Errore nella firma: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.'; +$PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: '; +$PHPMAILER_LANG['extension_missing'] = 'Estensione mancante: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-ja.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ja.php new file mode 100644 index 00000000..c76f5264 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ja.php @@ -0,0 +1,29 @@ + + * @author Yoshi Sakai + * @author Arisophy + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTPエラー: èªè¨¼ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚'; +$PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPãƒ›ã‚¹ãƒˆã«æŽ¥ç¶šã§ãã¾ã›ã‚“ã§ã—ãŸã€‚'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データãŒå—ã‘付ã‘られã¾ã›ã‚“ã§ã—ãŸã€‚'; +$PHPMAILER_LANG['empty_message'] = 'メール本文ãŒç©ºã§ã™ã€‚'; +$PHPMAILER_LANG['encoding'] = '䏿˜Žãªã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°: '; +$PHPMAILER_LANG['execute'] = '実行ã§ãã¾ã›ã‚“ã§ã—ãŸ: '; +$PHPMAILER_LANG['file_access'] = 'ファイルã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã›ã‚“: '; +$PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開ã‘ã¾ã›ã‚“: '; +$PHPMAILER_LANG['from_failed'] = 'Fromアドレスを登録ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ: '; +$PHPMAILER_LANG['instantiate'] = 'ãƒ¡ãƒ¼ãƒ«é–¢æ•°ãŒæ­£å¸¸ã«å‹•作ã—ã¾ã›ã‚“ã§ã—ãŸã€‚'; +$PHPMAILER_LANG['invalid_address'] = '䏿­£ãªãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹: '; +$PHPMAILER_LANG['provide_address'] = 'å°‘ãªãã¨ã‚‚1ã¤ãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’ 指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚'; +$PHPMAILER_LANG['mailer_not_supported'] = ' メーラーãŒã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次ã®å—信者アドレス㫠間é•ã„ãŒã‚りã¾ã™: '; +$PHPMAILER_LANG['signing'] = 'ç½²åエラー: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP接続ã«å¤±æ•—ã—ã¾ã—ãŸã€‚'; +$PHPMAILER_LANG['smtp_error'] = 'SMTPサーãƒãƒ¼ã‚¨ãƒ©ãƒ¼: '; +$PHPMAILER_LANG['variable_set'] = '変数ãŒå­˜åœ¨ã—ã¾ã›ã‚“: '; +$PHPMAILER_LANG['extension_missing'] = '拡張機能ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-ka.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ka.php new file mode 100644 index 00000000..51fe403b --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ka.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP შეცდáƒáƒ›áƒ: áƒáƒ•ტáƒáƒ áƒ˜áƒ–áƒáƒªáƒ˜áƒ შეუძლებელიáƒ.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP შეცდáƒáƒ›áƒ: SMTP სერვერთáƒáƒœ დáƒáƒ™áƒáƒ•შირებრშეუძლებელიáƒ.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდáƒáƒ›áƒ: მáƒáƒœáƒáƒªáƒ”მები áƒáƒ  იქნრმიღებული.'; +$PHPMAILER_LANG['encoding'] = 'კáƒáƒ“ირების უცნáƒáƒ‘ი ტიპი: '; +$PHPMAILER_LANG['execute'] = 'შეუძლებელირშემდეგი ბრძáƒáƒœáƒ”ბის შესრულებáƒ: '; +$PHPMAILER_LANG['file_access'] = 'შეუძლებელირწვდáƒáƒ›áƒ ფáƒáƒ˜áƒšáƒ—áƒáƒœ: '; +$PHPMAILER_LANG['file_open'] = 'ფáƒáƒ˜áƒšáƒ£áƒ áƒ˜ სისტემის შეცდáƒáƒ›áƒ: áƒáƒ  იხსნებრფáƒáƒ˜áƒšáƒ˜: '; +$PHPMAILER_LANG['from_failed'] = 'გáƒáƒ›áƒ’ზáƒáƒ•ნის áƒáƒ áƒáƒ¡áƒ¬áƒáƒ áƒ˜ მისáƒáƒ›áƒáƒ áƒ—ი: '; +$PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გáƒáƒ¨áƒ•ებრვერ ხერხდებáƒ.'; +$PHPMAILER_LANG['provide_address'] = 'გთხáƒáƒ•თ მიუთითáƒáƒ— ერთი áƒáƒ“რესáƒáƒ¢áƒ˜áƒ¡ e-mail მისáƒáƒ›áƒáƒ áƒ—ი მáƒáƒ˜áƒœáƒª.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - სáƒáƒ¤áƒáƒ¡áƒ¢áƒ სერვერის მხáƒáƒ áƒ“áƒáƒ­áƒ”რრáƒáƒ  áƒáƒ áƒ˜áƒ¡.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდáƒáƒ›áƒ: შემდეგ მისáƒáƒ›áƒáƒ áƒ—ებზე გáƒáƒ’ზáƒáƒ•ნრვერ მáƒáƒ®áƒ”რხდáƒ: '; +$PHPMAILER_LANG['empty_message'] = 'შეტყáƒáƒ‘ინებრცáƒáƒ áƒ˜áƒ”ლიáƒ'; +$PHPMAILER_LANG['invalid_address'] = 'áƒáƒ  გáƒáƒ˜áƒ’ზáƒáƒ•ნáƒ, e-mail მისáƒáƒ›áƒáƒ áƒ—ის áƒáƒ áƒáƒ¡áƒ¬áƒáƒ áƒ˜ ფáƒáƒ áƒ›áƒáƒ¢áƒ˜: '; +$PHPMAILER_LANG['signing'] = 'ხელმáƒáƒ¬áƒ”რის შეცდáƒáƒ›áƒ: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდáƒáƒ›áƒ SMTP სერვერთáƒáƒœ დáƒáƒ™áƒáƒ•შირებისáƒáƒ¡'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდáƒáƒ›áƒ: '; +$PHPMAILER_LANG['variable_set'] = 'შეუძლებელირშემდეგი ცვლáƒáƒ“ის შექმნრáƒáƒœ შეცვლáƒ: '; +$PHPMAILER_LANG['extension_missing'] = 'ბიბლიáƒáƒ—ეკრáƒáƒ  áƒáƒ áƒ¡áƒ”ბáƒáƒ‘ს: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-ko.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ko.php new file mode 100644 index 00000000..8c97dd94 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ko.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 오류: ì¸ì¦í•  수 없습니다.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 오류: SMTP í˜¸ìŠ¤íŠ¸ì— ì ‘ì†í•  수 없습니다.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 오류: ë°ì´í„°ê°€ 받아들여지지 않았습니다.'; +$PHPMAILER_LANG['empty_message'] = '메세지 ë‚´ìš©ì´ ì—†ìŠµë‹ˆë‹¤'; +$PHPMAILER_LANG['encoding'] = '알 수 없는 ì¸ì½”딩: '; +$PHPMAILER_LANG['execute'] = '실행 불가: '; +$PHPMAILER_LANG['file_access'] = 'íŒŒì¼ ì ‘ê·¼ 불가: '; +$PHPMAILER_LANG['file_open'] = 'íŒŒì¼ ì˜¤ë¥˜: 파ì¼ì„ ì—´ 수 없습니다: '; +$PHPMAILER_LANG['from_failed'] = 'ë‹¤ìŒ From 주소ì—서 오류가 ë°œìƒí–ˆìŠµë‹ˆë‹¤: '; +$PHPMAILER_LANG['instantiate'] = 'mail 함수를 ì¸ìŠ¤í„´ìŠ¤í™”í•  수 없습니다'; +$PHPMAILER_LANG['invalid_address'] = 'ìž˜ëª»ëœ ì£¼ì†Œ: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' ë©”ì¼ëŸ¬ëŠ” ì§€ì›ë˜ì§€ 않습니다.'; +$PHPMAILER_LANG['provide_address'] = 'ì ì–´ë„ 한 ê°œ ì´ìƒì˜ ìˆ˜ì‹ ìž ë©”ì¼ ì£¼ì†Œë¥¼ 제공해야 합니다.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 오류: ë‹¤ìŒ ìˆ˜ì‹ ìžì—서 오류가 ë°œìƒí–ˆìŠµë‹ˆë‹¤: '; +$PHPMAILER_LANG['signing'] = '서명 오류: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP ì—°ê²°ì„ ì‹¤íŒ¨í•˜ì˜€ìŠµë‹ˆë‹¤.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP 서버 오류: '; +$PHPMAILER_LANG['variable_set'] = '변수 설정 ë° ì´ˆê¸°í™” 불가: '; +$PHPMAILER_LANG['extension_missing'] = 'í™•ìž¥ìž ì—†ìŒ: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-lt.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-lt.php new file mode 100644 index 00000000..4f115b1c --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-lt.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.'; +$PHPMAILER_LANG['empty_message'] = 'LaiÅ¡ko turinys tuÅ¡Äias'; +$PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotÄ—: '; +$PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: '; +$PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: '; +$PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: '; +$PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntÄ—jo adresas: '; +$PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.'; +$PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' paÅ¡to stotis nepalaikoma.'; +$PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vienÄ… gavÄ—jo adresÄ….'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko iÅ¡siųsti Å¡iems gavÄ—jams: '; +$PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: '; +$PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikÅ¡mÄ—s kintamajam: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-lv.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-lv.php new file mode 100644 index 00000000..679b18cf --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-lv.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: AutorizÄcija neizdevÄs.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informÄciju.'; +$PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukÅ¡s'; +$PHPMAILER_LANG['encoding'] = 'NeatpazÄ«ts kodÄ“jums: '; +$PHPMAILER_LANG['execute'] = 'NeizdevÄs izpildÄ«t komandu: '; +$PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: '; +$PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvÄ“rt failu: '; +$PHPMAILER_LANG['from_failed'] = 'Nepareiza sÅ«tÄ«tÄja adrese: '; +$PHPMAILER_LANG['instantiate'] = 'Nevar palaist sÅ«tīšanas funkciju.'; +$PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' sÅ«tÄ«tÄjs netiek atbalstÄ«ts.'; +$PHPMAILER_LANG['provide_address'] = 'LÅ«dzu, norÄdiet vismaz vienu adresÄtu.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevÄs nosÅ«tÄ«t Å¡Ädiem saņēmÄ“jiem: '; +$PHPMAILER_LANG['signing'] = 'AutorizÄcijas kļūda: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: '; +$PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainÄ«gÄ vÄ“rtÄ«bu: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-mg.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-mg.php new file mode 100644 index 00000000..8a94f6a0 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-mg.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Hadisoana SMTP: Tsy nahomby ny fanamarinana.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Tsy afaka mampifandray amin\'ny mpampiantrano SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP diso: tsy voarakitra ny angona.'; +$PHPMAILER_LANG['empty_message'] = 'Tsy misy ny votoaty mailaka.'; +$PHPMAILER_LANG['encoding'] = 'Tsy fantatra encoding: '; +$PHPMAILER_LANG['execute'] = 'Tsy afaka manatanteraka ity baiko manaraka ity: '; +$PHPMAILER_LANG['file_access'] = 'Tsy nahomby ny fidirana amin\'ity rakitra ity: '; +$PHPMAILER_LANG['file_open'] = 'Hadisoana diso: Tsy afaka nanokatra ity file manaraka ity: '; +$PHPMAILER_LANG['from_failed'] = 'Ny adiresy iraka manaraka dia diso: '; +$PHPMAILER_LANG['instantiate'] = 'Tsy afaka nanomboka ny hetsika mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Tsy mety ny adiresy: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tsy manohana.'; +$PHPMAILER_LANG['provide_address'] = 'Alefaso azafady iray adiresy iray farafahakeliny.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Tsy mety ireo mpanaraka ireto: '; +$PHPMAILER_LANG['signing'] = 'Error nandritra ny sonia:'; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Tsy nahomby ny fifandraisana tamin\'ny server SMTP.'; +$PHPMAILER_LANG['smtp_error'] = 'Fahadisoana tamin\'ny server SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tsy azo atao ny mametraka na mamerina ny variable: '; +$PHPMAILER_LANG['extension_missing'] = 'Tsy hita ny ampahany: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-mn.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-mn.php new file mode 100644 index 00000000..04d262c7 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-mn.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Ralat SMTP: Tidak dapat pengesahan.'; +$PHPMAILER_LANG['connect_host'] = 'Ralat SMTP: Tidak dapat menghubungi hos pelayan SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Ralat SMTP: Data tidak diterima oleh pelayan.'; +$PHPMAILER_LANG['empty_message'] = 'Tiada isi untuk mesej'; +$PHPMAILER_LANG['encoding'] = 'Pengekodan tidak diketahui: '; +$PHPMAILER_LANG['execute'] = 'Tidak dapat melaksanakan: '; +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses fail: '; +$PHPMAILER_LANG['file_open'] = 'Ralat Fail: Tidak dapat membuka fail: '; +$PHPMAILER_LANG['from_failed'] = 'Berikut merupakan ralat dari alamat e-mel: '; +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat memberi contoh fungsi e-mel.'; +$PHPMAILER_LANG['invalid_address'] = 'Alamat emel tidak sah: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' jenis penghantar emel tidak disokong.'; +$PHPMAILER_LANG['provide_address'] = 'Anda perlu menyediakan sekurang-kurangnya satu alamat e-mel penerima.'; +$PHPMAILER_LANG['recipients_failed'] = 'Ralat SMTP: Penerima e-mel berikut telah gagal: '; +$PHPMAILER_LANG['signing'] = 'Ralat pada tanda tangan: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() telah gagal.'; +$PHPMAILER_LANG['smtp_error'] = 'Ralat pada pelayan SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tidak boleh menetapkan atau menetapkan semula pembolehubah: '; +$PHPMAILER_LANG['extension_missing'] = 'Sambungan hilang: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-nb.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-nb.php new file mode 100644 index 00000000..c9621a16 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-nb.php @@ -0,0 +1,33 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.'; +$PHPMAILER_LANG['buggy_php'] = 'PHP versie gededecteerd die onderhavig is aan een bug die kan resulteren in gecorrumpeerde berichten. Om dit te voorkomen, gebruik SMTP voor het verzenden van berichten, zet de mail.add_x_header optie in uw php.ini file uit, gebruik MacOS of Linux, of pas de gebruikte PHP versie aan naar versie 7.0.17+ or 7.1.3+.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.'; +$PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg'; +$PHPMAILER_LANG['encoding'] = 'Onbekende codering: '; +$PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensie afwezig: '; +$PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: '; +$PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: '; +$PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: '; +$PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.'; +$PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres: '; +$PHPMAILER_LANG['invalid_header'] = 'Ongeldige header naam of waarde'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Ongeldige hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'Ongeldige host: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.'; +$PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: '; +$PHPMAILER_LANG['signing'] = 'Signeerfout: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP code: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Aanvullende SMTP informatie: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.'; +$PHPMAILER_LANG['smtp_detail'] = 'Detail: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: '; +$PHPMAILER_LANG['variable_set'] = 'Kan de volgende variabele niet instellen of resetten: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-pl.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-pl.php new file mode 100644 index 00000000..b0469fdb --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-pl.php @@ -0,0 +1,26 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro do SMTP: Não foi possível realizar a autenticação.'; +$PHPMAILER_LANG['connect_host'] = 'Erro do SMTP: Não foi possível realizar ligação com o servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro do SMTP: Os dados foram rejeitados.'; +$PHPMAILER_LANG['empty_message'] = 'A mensagem no e-mail está vazia.'; +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; +$PHPMAILER_LANG['file_access'] = 'Não foi possível aceder o ficheiro: '; +$PHPMAILER_LANG['file_open'] = 'Abertura do ficheiro: Não foi possível abrir o ficheiro: '; +$PHPMAILER_LANG['from_failed'] = 'Ocorreram falhas nos endereços dos seguintes remententes: '; +$PHPMAILER_LANG['instantiate'] = 'Não foi possível iniciar uma instância da função mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Não foi enviado nenhum e-mail para o endereço de e-mail inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Tem de fornecer pelo menos um endereço como destinatário do e-mail.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro do SMTP: O endereço do seguinte destinatário falhou: '; +$PHPMAILER_LANG['signing'] = 'Erro ao assinar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensão em falta: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-pt_br.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-pt_br.php new file mode 100644 index 00000000..5239865a --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-pt_br.php @@ -0,0 +1,38 @@ + + * @author Lucas Guimarães + * @author Phelipe Alves + * @author Fabio Beneditto + * @author Geidson Benício Coelho + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.'; +$PHPMAILER_LANG['buggy_php'] = 'Sua versão do PHP é afetada por um bug que por resultar em messagens corrompidas. Para corrigir, mude para enviar usando SMTP, desative a opção mail.add_x_header em seu php.ini, mude para MacOS ou Linux, ou atualize seu PHP para versão 7.0.17+ ou 7.1.3+ '; +$PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar ao servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados rejeitados.'; +$PHPMAILER_LANG['empty_message'] = 'Mensagem vazia'; +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensão não existe: '; +$PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: '; +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: '; +$PHPMAILER_LANG['from_failed'] = 'Os seguintes remetentes falharam: '; +$PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Endereço de e-mail inválido: '; +$PHPMAILER_LANG['invalid_header'] = 'Nome ou valor de cabeçalho inválido'; +$PHPMAILER_LANG['invalid_hostentry'] = 'hostentry inválido: '; +$PHPMAILER_LANG['invalid_host'] = 'host inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Você deve informar pelo menos um destinatário.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os seguintes destinatários falharam: '; +$PHPMAILER_LANG['signing'] = 'Erro de Assinatura: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; +$PHPMAILER_LANG['smtp_code'] = 'Código do servidor SMTP: '; +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Informações adicionais do servidor SMTP: '; +$PHPMAILER_LANG['smtp_detail'] = 'Detalhes do servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-ro.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ro.php new file mode 100644 index 00000000..45bef915 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-ro.php @@ -0,0 +1,33 @@ + + * @author Foster Snowhill + */ + +$PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.'; +$PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удаетÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡Ð¸Ñ‚ÑŒÑÑ Ðº SMTP-Ñерверу.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не принÑты.'; +$PHPMAILER_LANG['encoding'] = 'ÐеизвеÑÑ‚Ð½Ð°Ñ ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²ÐºÐ°: '; +$PHPMAILER_LANG['execute'] = 'Ðевозможно выполнить команду: '; +$PHPMAILER_LANG['file_access'] = 'Ðет доÑтупа к файлу: '; +$PHPMAILER_LANG['file_open'] = 'Ð¤Ð°Ð¹Ð»Ð¾Ð²Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°: не удаётÑÑ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚ÑŒ файл: '; +$PHPMAILER_LANG['from_failed'] = 'Ðеверный Ð°Ð´Ñ€ÐµÑ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²Ð¸Ñ‚ÐµÐ»Ñ: '; +$PHPMAILER_LANG['instantiate'] = 'Ðевозможно запуÑтить функцию mail().'; +$PHPMAILER_LANG['provide_address'] = 'ПожалуйÑта, введите Ñ…Ð¾Ñ‚Ñ Ð±Ñ‹ один email-Ð°Ð´Ñ€ÐµÑ Ð¿Ð¾Ð»ÑƒÑ‡Ð°Ñ‚ÐµÐ»Ñ.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' — почтовый Ñервер не поддерживаетÑÑ.'; +$PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: не удалаÑÑŒ отправка таким адреÑатам: '; +$PHPMAILER_LANG['empty_message'] = 'ПуÑтое Ñообщение'; +$PHPMAILER_LANG['invalid_address'] = 'Ðе отправлено из-за неправильного формата email-адреÑа: '; +$PHPMAILER_LANG['signing'] = 'Ошибка подпиÑи: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ошибка ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ñ SMTP-Ñервером'; +$PHPMAILER_LANG['smtp_error'] = 'Ошибка SMTP-Ñервера: '; +$PHPMAILER_LANG['variable_set'] = 'Ðевозможно уÑтановить или ÑброÑить переменную: '; +$PHPMAILER_LANG['extension_missing'] = 'РаÑширение отÑутÑтвует: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-si.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-si.php new file mode 100644 index 00000000..dce502aa --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-si.php @@ -0,0 +1,34 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP දà·à·‚ය: සත්â€à¶ºà·à¶´à¶±à¶º à¶…à·ƒà·à¶»à·Šà¶®à¶š විය.'; +$PHPMAILER_LANG['buggy_php'] = 'ඔබගේ PHP version එකෙහි පවතින දà·à·‚යක් නිස෠email පණිවිඩ දà·à·‚ සහගත වීමේ à·„à·à¶šà·’යà·à·€à¶šà·Š ඇත. මෙය විසදීම සදහ෠SMTP à¶·à·à·€à·’ත෠කිරීම, mail.add_x_header INI setting à¶‘à¶š à¶…à¶šà·Šâ€à¶»à·“ය කිරීම, MacOS à·„à· Linux වලට මà·à¶»à·” වීම, හ෠ඔබගේ PHP version à¶‘à¶š 7.0.17+ à·„à· 7.1.3+ වලට අලුත් කිරීම කරගන්න.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP දà·à·‚ය: සම්බන්ධ වීමට නොහà·à¶šà·’ විය.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP දà·à·‚ය: දත්ත පිළිගනු නොලà·à¶¶à·š.'; +$PHPMAILER_LANG['empty_message'] = 'පණිවිඩ අන්තර්ගතය හිස්'; +$PHPMAILER_LANG['encoding'] = 'නොදන්න෠කේතනය: '; +$PHPMAILER_LANG['execute'] = 'à¶šà·Šâ€à¶»à·’යà·à¶­à·Šà¶¸à¶š à¶šà·… නොහà·à¶šà·’ විය: '; +$PHPMAILER_LANG['extension_missing'] = 'Extension à¶‘à¶š නොමà·à¶­: '; +$PHPMAILER_LANG['file_access'] = 'File à¶‘à¶šà¶§ à¶´à·Šâ€à¶»à·€à·šà· විය නොහà·à¶šà·’ විය: '; +$PHPMAILER_LANG['file_open'] = 'File දà·à·‚ය: File à¶‘à¶š විවෘත à¶šà·… නොහà·à¶š: '; +$PHPMAILER_LANG['from_failed'] = 'à¶´à·„à¶­ From ලිපිනයන් à¶…à·ƒà·à¶»à·Šà¶®à¶š විය: '; +$PHPMAILER_LANG['instantiate'] = 'mail function à¶‘à¶š à¶šà·Šâ€à¶»à·’යà·à¶­à·Šà¶¸à¶š à¶šà·… නොහà·à¶š.'; +$PHPMAILER_LANG['invalid_address'] = 'වලංගු නොවන ලිපිනය: '; +$PHPMAILER_LANG['invalid_header'] = 'වලංගු නොවන header à¶±à·à¶¸à¶ºà¶šà·Š හ෠අගයක්'; +$PHPMAILER_LANG['invalid_hostentry'] = 'වලංගු නොවන hostentry à¶‘à¶šà¶šà·Š: '; +$PHPMAILER_LANG['invalid_host'] = 'වලංගු නොවන host à¶‘à¶šà¶šà·Š: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer සහà·à¶º නොදක්වයි.'; +$PHPMAILER_LANG['provide_address'] = 'ඔබ අවම à·€à·à¶ºà·™à¶±à·Š à¶‘à¶šà·Š ලබන්නෙකුගේ ඊමේල් ලිපිනයක් à·ƒà·à¶´à¶ºà·’ය යුතුය.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP දà·à·‚ය: à¶´à·„à¶­ ලබන්නන් අසමත් විය: '; +$PHPMAILER_LANG['signing'] = 'Sign කිරීමේ දà·à·‚ය: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP කේතය: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'අමතර SMTP තොරතුරු: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP සම්බන්ධය à¶…à·ƒà·à¶»à·Šà¶®à¶š විය.'; +$PHPMAILER_LANG['smtp_detail'] = 'තොරතුරු: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP දà·à·‚ය: '; +$PHPMAILER_LANG['variable_set'] = 'Variable à¶‘à¶š à·ƒà·à¶šà·ƒà·“මට à·„à· à¶±à·à·€à¶­ à·ƒà·à¶šà·ƒà·“මට නොහà·à¶š: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-sk.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sk.php new file mode 100644 index 00000000..028f5bc4 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sk.php @@ -0,0 +1,30 @@ + + * @author Peter Orlický + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentifikácie.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nebolo možné nadviazaÅ¥ spojenie so SMTP serverom.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dáta neboli prijaté'; +$PHPMAILER_LANG['empty_message'] = 'Prázdne telo správy.'; +$PHPMAILER_LANG['encoding'] = 'Neznáme kódovanie: '; +$PHPMAILER_LANG['execute'] = 'Nedá sa vykonaÅ¥: '; +$PHPMAILER_LANG['file_access'] = 'Súbor nebol nájdený: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Súbor sa otvoriÅ¥ pre Äítanie: '; +$PHPMAILER_LANG['from_failed'] = 'Následujúca adresa From je nesprávna: '; +$PHPMAILER_LANG['instantiate'] = 'Nedá sa vytvoriÅ¥ inÅ¡tancia emailovej funkcie.'; +$PHPMAILER_LANG['invalid_address'] = 'Neodoslané, emailová adresa je nesprávna: '; +$PHPMAILER_LANG['invalid_hostentry'] = 'Záznam hostiteľa je nesprávny: '; +$PHPMAILER_LANG['invalid_host'] = 'Hostiteľ je nesprávny: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' emailový klient nieje podporovaný.'; +$PHPMAILER_LANG['provide_address'] = 'Musíte zadaÅ¥ aspoň jednu emailovú adresu príjemcu.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy príjemcov niesu správne '; +$PHPMAILER_LANG['signing'] = 'Chyba prihlasovania: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zlyhalo.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP chyba serveru: '; +$PHPMAILER_LANG['variable_set'] = 'Nemožno nastaviÅ¥ alebo resetovaÅ¥ premennú: '; +$PHPMAILER_LANG['extension_missing'] = 'Chýba rozšírenie: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-sl.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sl.php new file mode 100644 index 00000000..3e00c259 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sl.php @@ -0,0 +1,36 @@ + + * @author Filip Å  + * @author Blaž Oražem + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP napaka: Avtentikacija ni uspela.'; +$PHPMAILER_LANG['buggy_php'] = 'Na vaÅ¡o PHP razliÄico vpliva napaka, ki lahko povzroÄi poÅ¡kodovana sporoÄila. ÄŒe želite težavo odpraviti, preklopite na poÅ¡iljanje prek SMTP, onemogoÄite možnost mail.add_x_header v vaÅ¡i php.ini datoteki, preklopite na MacOS ali Linux, ali nadgradite vaÅ¡o PHP zaliÄico na 7.0.17+ ali 7.1.3+.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP napaka: Vzpostavljanje povezave s SMTP gostiteljem ni uspelo.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP napaka: Strežnik zavraÄa podatke.'; +$PHPMAILER_LANG['empty_message'] = 'E-poÅ¡tno sporoÄilo nima vsebine.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznan tip kodiranja: '; +$PHPMAILER_LANG['execute'] = 'Operacija ni uspela: '; +$PHPMAILER_LANG['extension_missing'] = 'ManjkajoÄa razÅ¡iritev: '; +$PHPMAILER_LANG['file_access'] = 'Nimam dostopa do datoteke: '; +$PHPMAILER_LANG['file_open'] = 'Ne morem odpreti datoteke: '; +$PHPMAILER_LANG['from_failed'] = 'Neveljaven e-naslov poÅ¡iljatelja: '; +$PHPMAILER_LANG['instantiate'] = 'Ne morem inicializirati mail funkcije.'; +$PHPMAILER_LANG['invalid_address'] = 'E-poÅ¡tno sporoÄilo ni bilo poslano. E-naslov je neveljaven: '; +$PHPMAILER_LANG['invalid_header'] = 'Neveljavno ime ali vrednost glave'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Neveljaven vnos gostitelja: '; +$PHPMAILER_LANG['invalid_host'] = 'Neveljaven gostitelj: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.'; +$PHPMAILER_LANG['provide_address'] = 'Prosimo, vnesite vsaj enega naslovnika.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP napaka: SledeÄi naslovniki so neveljavni: '; +$PHPMAILER_LANG['signing'] = 'Napaka pri podpisovanju: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP koda: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Dodatne informacije o SMTP: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ne morem vzpostaviti povezave s SMTP strežnikom.'; +$PHPMAILER_LANG['smtp_detail'] = 'Podrobnosti: '; +$PHPMAILER_LANG['smtp_error'] = 'Napaka SMTP strežnika: '; +$PHPMAILER_LANG['variable_set'] = 'Ne morem nastaviti oz. ponastaviti spremenljivke: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr.php new file mode 100644 index 00000000..0b5280f7 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr.php @@ -0,0 +1,28 @@ + + * @author MiloÅ¡ Milanović + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: аутентификација није уÑпела.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: повезивање Ñа SMTP Ñервером није уÑпело.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: подаци ниÑу прихваћени.'; +$PHPMAILER_LANG['empty_message'] = 'Садржај поруке је празан.'; +$PHPMAILER_LANG['encoding'] = 'Ðепознато кодирање: '; +$PHPMAILER_LANG['execute'] = 'Ðије могуће извршити наредбу: '; +$PHPMAILER_LANG['file_access'] = 'Ðије могуће приÑтупити датотеци: '; +$PHPMAILER_LANG['file_open'] = 'Ðије могуће отворити датотеку: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP грешка: Ñлање Ñа Ñледећих адреÑа није уÑпело: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Ñлање на Ñледеће адреÑе није уÑпело: '; +$PHPMAILER_LANG['instantiate'] = 'Ðије могуће покренути mail функцију.'; +$PHPMAILER_LANG['invalid_address'] = 'Порука није поÑлата. ÐеиÑправна адреÑа: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' мејлер није подржан.'; +$PHPMAILER_LANG['provide_address'] = 'Дефинишите бар једну адреÑу примаоца.'; +$PHPMAILER_LANG['signing'] = 'Грешка приликом пријаве: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Повезивање Ñа SMTP Ñервером није уÑпело.'; +$PHPMAILER_LANG['smtp_error'] = 'Грешка SMTP Ñервера: '; +$PHPMAILER_LANG['variable_set'] = 'Ðије могуће задати нити реÑетовати променљиву: '; +$PHPMAILER_LANG['extension_missing'] = 'ÐедоÑтаје проширење: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr_latn.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr_latn.php new file mode 100644 index 00000000..62138329 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sr_latn.php @@ -0,0 +1,28 @@ + + * @author MiloÅ¡ Milanović + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP greÅ¡ka: autentifikacija nije uspela.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP greÅ¡ka: povezivanje sa SMTP serverom nije uspelo.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP greÅ¡ka: podaci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznato kodiranje: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvrÅ¡iti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP greÅ¡ka: slanje sa sledećih adresa nije uspelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP greÅ¡ka: slanje na sledeće adrese nije uspelo: '; +$PHPMAILER_LANG['instantiate'] = 'Nije moguće pokrenuti mail funkciju.'; +$PHPMAILER_LANG['invalid_address'] = 'Poruka nije poslata. Neispravna adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' majler nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'DefiniÅ¡ite bar jednu adresu primaoca.'; +$PHPMAILER_LANG['signing'] = 'GreÅ¡ka prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Povezivanje sa SMTP serverom nije uspelo.'; +$PHPMAILER_LANG['smtp_error'] = 'GreÅ¡ka SMTP servera: '; +$PHPMAILER_LANG['variable_set'] = 'Nije moguće zadati niti resetovati promenljivu: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proÅ¡irenje: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-sv.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sv.php new file mode 100644 index 00000000..9872c192 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-sv.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Okänt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunde inte köra: '; +$PHPMAILER_LANG['file_access'] = 'Ingen Ã¥tkomst till fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: '; +$PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: '; +$PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.'; +$PHPMAILER_LANG['invalid_address'] = 'Felaktig adress: '; +$PHPMAILER_LANG['provide_address'] = 'Du mÃ¥ste ange minst en mottagares e-postadress.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: '; +$PHPMAILER_LANG['signing'] = 'Signeringsfel: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() misslyckades.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP serverfel: '; +$PHPMAILER_LANG['variable_set'] = 'Kunde inte definiera eller Ã¥terställa variabel: '; +$PHPMAILER_LANG['extension_missing'] = 'Tillägg ej tillgängligt: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-tl.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-tl.php new file mode 100644 index 00000000..d15bed1c --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-tl.php @@ -0,0 +1,28 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi naitanggap.'; +$PHPMAILER_LANG['empty_message'] = 'Walang laman ang mensahe'; +$PHPMAILER_LANG['encoding'] = 'Hindi alam ang encoding: '; +$PHPMAILER_LANG['execute'] = 'Hindi maisasagawa: '; +$PHPMAILER_LANG['file_access'] = 'Hindi ma-access ang file: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Hindi mabuksan ang file: '; +$PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: '; +$PHPMAILER_LANG['instantiate'] = 'Hindi maisimulan ang instance ng mail function.'; +$PHPMAILER_LANG['invalid_address'] = 'Hindi wasto ang address na naibigay: '; +$PHPMAILER_LANG['mailer_not_supported'] = 'Ang mailer ay hindi suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Kailangan mong magbigay ng kahit isang email address na tatanggap.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Ang mga sumusunod na tatanggap ay nabigo: '; +$PHPMAILER_LANG['signing'] = 'Hindi ma-sign: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo.'; +$PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo: '; +$PHPMAILER_LANG['variable_set'] = 'Hindi matatakda o ma-reset ang mga variables: '; +$PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-tr.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-tr.php new file mode 100644 index 00000000..f938f802 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-tr.php @@ -0,0 +1,31 @@ + + * @fixed by Boris Yurchenko + */ + +$PHPMAILER_LANG['authenticate'] = 'Помилка SMTP: помилка авторизації.'; +$PHPMAILER_LANG['connect_host'] = 'Помилка SMTP: не вдаєтьÑÑ Ð¿Ñ–Ð´\'єднатиÑÑ Ð´Ð¾ SMTP-Ñерверу.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Помилка SMTP: дані не прийнÑто.'; +$PHPMAILER_LANG['encoding'] = 'Ðевідоме кодуваннÑ: '; +$PHPMAILER_LANG['execute'] = 'Ðеможливо виконати команду: '; +$PHPMAILER_LANG['file_access'] = 'Ðемає доÑтупу до файлу: '; +$PHPMAILER_LANG['file_open'] = 'Помилка файлової ÑиÑтеми: не вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл: '; +$PHPMAILER_LANG['from_failed'] = 'Ðевірна адреÑа відправника: '; +$PHPMAILER_LANG['instantiate'] = 'Ðеможливо запуÑтити функцію mail().'; +$PHPMAILER_LANG['provide_address'] = 'Будь лаÑка, введіть хоча б одну email-адреÑу отримувача.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - поштовий Ñервер не підтримуєтьÑÑ.'; +$PHPMAILER_LANG['recipients_failed'] = 'Помилка SMTP: не вдалоÑÑ Ð²Ñ–Ð´Ð¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð½Ñ Ð´Ð»Ñ Ñ‚Ð°ÐºÐ¸Ñ… отримувачів: '; +$PHPMAILER_LANG['empty_message'] = 'ПуÑте повідомленнÑ'; +$PHPMAILER_LANG['invalid_address'] = 'Ðе відправлено через неправильний формат email-адреÑи: '; +$PHPMAILER_LANG['signing'] = 'Помилка підпиÑу: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Помилка з\'Ñ”Ð´Ð½Ð°Ð½Ð½Ñ Ð· SMTP-Ñервером'; +$PHPMAILER_LANG['smtp_error'] = 'Помилка SMTP-Ñервера: '; +$PHPMAILER_LANG['variable_set'] = 'Ðеможливо вÑтановити або Ñкинути змінну: '; +$PHPMAILER_LANG['extension_missing'] = 'Ð Ð¾Ð·ÑˆÐ¸Ñ€ÐµÐ½Ð½Ñ Ð²Ñ–Ð´Ñутнє: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-vi.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-vi.php new file mode 100644 index 00000000..d65576e2 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-vi.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Lá»—i SMTP: Không thể xác thá»±c.'; +$PHPMAILER_LANG['connect_host'] = 'Lá»—i SMTP: Không thể kết nối máy chá»§ SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Lá»—i SMTP: Dữ liệu không được chấp nhận.'; +$PHPMAILER_LANG['empty_message'] = 'Không có ná»™i dung'; +$PHPMAILER_LANG['encoding'] = 'Mã hóa không xác định: '; +$PHPMAILER_LANG['execute'] = 'Không thá»±c hiện được: '; +$PHPMAILER_LANG['file_access'] = 'Không thể truy cập tệp tin '; +$PHPMAILER_LANG['file_open'] = 'Lá»—i Tập tin: Không thể mở tệp tin: '; +$PHPMAILER_LANG['from_failed'] = 'Lá»—i địa chỉ gá»­i Ä‘i: '; +$PHPMAILER_LANG['instantiate'] = 'Không dùng được các hàm gá»­i thư.'; +$PHPMAILER_LANG['invalid_address'] = 'Äại chỉ emai không đúng: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' trình gá»­i thư không được há»— trợ.'; +$PHPMAILER_LANG['provide_address'] = 'Bạn phải cung cấp ít nhất má»™t địa chỉ ngưá»i nhận.'; +$PHPMAILER_LANG['recipients_failed'] = 'Lá»—i SMTP: lá»—i địa chỉ ngưá»i nhận: '; +$PHPMAILER_LANG['signing'] = 'Lá»—i đăng nhập: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Lá»—i kết nối vá»›i SMTP'; +$PHPMAILER_LANG['smtp_error'] = 'Lá»—i máy chá»§ smtp '; +$PHPMAILER_LANG['variable_set'] = 'Không thể thiết lập hoặc thiết lập lại biến: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh.php new file mode 100644 index 00000000..35e4e700 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh.php @@ -0,0 +1,29 @@ + + * @author Peter Dave Hello <@PeterDaveHello/> + * @author Jason Chiang + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登入失敗。'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連線到 SMTP 主機。'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:無法接å—的資料。'; +$PHPMAILER_LANG['empty_message'] = '郵件內容為空'; +$PHPMAILER_LANG['encoding'] = '未知編碼: '; +$PHPMAILER_LANG['execute'] = '無法執行:'; +$PHPMAILER_LANG['file_access'] = 'ç„¡æ³•å­˜å–æª”案:'; +$PHPMAILER_LANG['file_open'] = '檔案錯誤:無法開啟檔案:'; +$PHPMAILER_LANG['from_failed'] = '發é€åœ°å€éŒ¯èª¤ï¼š'; +$PHPMAILER_LANG['instantiate'] = '未知函數呼å«ã€‚'; +$PHPMAILER_LANG['invalid_address'] = '因為電å­éƒµä»¶åœ°å€ç„¡æ•ˆï¼Œç„¡æ³•傳é€: '; +$PHPMAILER_LANG['mailer_not_supported'] = '䏿”¯æ´çš„發信客戶端。'; +$PHPMAILER_LANG['provide_address'] = 'å¿…é ˆæä¾›è‡³å°‘一個收件人地å€ã€‚'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:以下收件人地å€éŒ¯èª¤ï¼š'; +$PHPMAILER_LANG['signing'] = 'é›»å­ç°½ç« éŒ¯èª¤: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 連線失敗'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP 伺æœå™¨éŒ¯èª¤: '; +$PHPMAILER_LANG['variable_set'] = '無法設定或é‡è¨­è®Šæ•¸: '; +$PHPMAILER_LANG['extension_missing'] = 'éºå¤±æ¨¡çµ„ Extension: '; diff --git a/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh_cn.php b/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh_cn.php new file mode 100644 index 00000000..03d49116 --- /dev/null +++ b/htdocs/includes/external/phpmailer/language/phpmailer.lang-zh_cn.php @@ -0,0 +1,36 @@ + + * @author young + * @author Teddysun + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。'; +$PHPMAILER_LANG['buggy_php'] = '您的 PHP ç‰ˆæœ¬å­˜åœ¨æ¼æ´žï¼Œå¯èƒ½ä¼šå¯¼è‡´æ¶ˆæ¯æŸåã€‚ä¸ºä¿®å¤æ­¤é—®é¢˜ï¼Œè¯·åˆ‡æ¢åˆ°ä½¿ç”¨ SMTP å‘é€ï¼Œåœ¨æ‚¨çš„ php.ini 中ç¦ç”¨ mail.add_x_header 选项。切æ¢åˆ° MacOS 或 Linux,或将您的 PHP å‡çº§åˆ° 7.0.17+ 或 7.1.3+ 版本。'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数æ®ä¸è¢«æŽ¥å—。'; +$PHPMAILER_LANG['empty_message'] = '邮件正文为空。'; +$PHPMAILER_LANG['encoding'] = '未知编ç ï¼š'; +$PHPMAILER_LANG['execute'] = '无法执行:'; +$PHPMAILER_LANG['extension_missing'] = '缺少扩展å:'; +$PHPMAILER_LANG['file_access'] = '无法访问文件:'; +$PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:'; +$PHPMAILER_LANG['from_failed'] = 'å‘é€åœ°å€é”™è¯¯ï¼š'; +$PHPMAILER_LANG['instantiate'] = '未知函数调用。'; +$PHPMAILER_LANG['invalid_address'] = 'å‘é€å¤±è´¥ï¼Œç”µå­é‚®ç®±åœ°å€æ˜¯æ— æ•ˆçš„:'; +$PHPMAILER_LANG['mailer_not_supported'] = 'å‘信客户端ä¸è¢«æ”¯æŒã€‚'; +$PHPMAILER_LANG['provide_address'] = 'å¿…é¡»æä¾›è‡³å°‘一个收件人地å€ã€‚'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地å€é”™è¯¯ï¼š'; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTPæœåŠ¡å™¨è¿žæŽ¥å¤±è´¥ã€‚'; +$PHPMAILER_LANG['smtp_error'] = 'SMTPæœåŠ¡å™¨å‡ºé”™ï¼š'; +$PHPMAILER_LANG['variable_set'] = '无法设置或é‡ç½®å˜é‡ï¼š'; +$PHPMAILER_LANG['invalid_header'] = '无效的标题å称或值'; +$PHPMAILER_LANG['invalid_hostentry'] = '无效的hostentry: '; +$PHPMAILER_LANG['invalid_host'] = '无效的主机:'; +$PHPMAILER_LANG['signing'] = 'ç­¾å错误:'; +$PHPMAILER_LANG['smtp_code'] = 'SMTP代ç ï¼š '; +$PHPMAILER_LANG['smtp_code_ex'] = '附加SMTPä¿¡æ¯ï¼š '; +$PHPMAILER_LANG['smtp_detail'] = '详情:'; diff --git a/htdocs/includes/external/phpmailer/phpcs.xml.dist b/htdocs/includes/external/phpmailer/phpcs.xml.dist new file mode 100644 index 00000000..426618c7 --- /dev/null +++ b/htdocs/includes/external/phpmailer/phpcs.xml.dist @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + get_oauth_token.php + src + test + examples + language + + + + + + + + + + + + + + + + + + + + + */language/phpmailer\.lang*\.php$ + + diff --git a/htdocs/includes/external/phpmailer/phpdoc.dist.xml b/htdocs/includes/external/phpmailer/phpdoc.dist.xml new file mode 100644 index 00000000..a9d582a3 --- /dev/null +++ b/htdocs/includes/external/phpmailer/phpdoc.dist.xml @@ -0,0 +1,20 @@ + + + PHPMailer + + docs + utf8 + + TODO + + + + docs + + +