# CHANGELOG # cjw_newsletter # - YYYYMMDD Description #
4.3.3
=====
- Updated: Automatic replies are recognised with the kernel's shared rule (expMailReceive, Exponential 6.0.15) where
the kernel has it, the same rule as the bounce reader and the help desk; it also takes Precedence auto_reply and the
X-Autoreply / X-Autorespond headers. The newsletter's own copy of the rule stays for older kernels.
4.3.2
=====
Release note: delay notices are no longer soft bounces. A delivery status notification whose action is `delayed`
(the sending server keeps trying) has the new bounce kind `delay`; it changes nothing (no soft bounce count, no
resend). Automatic replies (`Auto-Submitted` other than `no`, or `Precedence` bulk/junk/list) have the kind
`autoreply` and change nothing either. With Exponential's bounce reader (6.0.15, `delay` kind) a site needs this
version: older versions count the kernel's `delay` as a bounce.
- Fixed: One mail account that fails to connect or fetch no longer stops the other accounts; the error is recorded per
account.
- Fixed: A message is deleted from the server only after it is stored (or known); a message that cannot be stored stays.
- Fixed: Delay notices and automatic replies (out of office) are no longer counted as bounces; the bounce kinds `delay`
and `autoreply` are new.
- Fixed: The bounce mailbox finds the messages it already knows on PostgreSQL (the query mixed a number into a list of
strings and failed, so every message counted as new).
4.3.1
=====
- Fixed: The mailbox connection no longer writes the mailbox password to the newsletter log. A failed login (error)
and a successful connect (debug) logged the whole connection settings, password included; the password is now
masked as *** (an empty password stays empty, so a missing one still shows). Check older newsletter logs
(var/log, cjw_newsletter) for passwords of bounce mailboxes and change those passwords if a log was shared.
4.3.0
=====
- Added: Saved segments of a list: a named selection of the approved subscribers by subscription, profile, interests
and behavior (opened or clicked in the last N sends or days, clicked a link to an object or a tag, did not open the
last N sends), combined with all or any. Behavior conditions count only tracked per-person sends within the
statistics retention and never match a subscriber without statistics consent. Pages segment_list and segment_edit
(size check, sample of members); the send form can send to a segment, whose members are fixed when the send is
queued (doc/segments.md; pull request #7 by Ekkehard Dörre).
- Added: A welcome series per list: ordered steps (an edition and a delay each) sent to a subscriber once the
subscription is approved, at most once per step, paused while the subscription is not approved, with an optional
segment as audience. Page series_edit with pause, resume and "Send to me"; the due steps go out at the start of the
queue-create cron part (doc/series.md; pull request #7).
- Added: The extension points subscriptionStatusChanged and sendRecipients, and a bulk marker around the CSV and
mapped imports, so imports never enter anyone into a series.
- Added: Per-person tracking marks on send items (cjwnl_edition_send_item.person_tracking), so behavior conditions
treat sends from before this update as unknown.
- Fixed: Segments find the eZ Tags table from the database's own table list. The earlier probe ran queries for the
other database types first, which logged a database error on every check and, on PostgreSQL, could abort an open
transaction.
- Fixed: The welcome series page in design standard hides its step labels with a stylesheet class (nl-sr-only)
instead of inline styles.
Upgrading: run the database update for your engine from update/database/<engine>/4.3/ once (it starts from the
4.2.20 schema; doc/upgrade-4.3.md), then composer update and deploy with the packer (or clear the ini, template,
template-override, ezjscore-packer and template-block caches). The dashboard reports the four new tables as missing
until the update has run.
4.2.22
======
- Updated: In admin4 every newsletter administration page is drawn with admin4's shared components (page heads,
cards, tables, buttons, notices, badges, facts and figures, filter bars, meters) and the kernel's Bootstrap icons
instead of box frames, list tables and Crystal images, with one icon per function and per state; admin, admin2 and
standard keep their look (pull request #6 by Ekkehard Dörre).
- Added: admin4 copies of the edit forms of the list, virtual list, edition and subscription attributes, of the list
parts of the feature areas (approval and article pool, skins and languages, tracking, SMS), of the subscription
view, of the newsletter card on the notification settings (which showed design admin's fieldset inside admin4's
card) and of an edition's line view.
- Added: doc/admin4.md, the guide to the administration in admin4.
- Added: tests/cjwNewsletterAdmin4Test.php: no inline CSS, an admin4 copy of every administration template, no classic
markup, a stylesheet with only token colours and radii and no unused rule, and only icons the kernel defines.
- Renamed: cjw_newsletter_admin4.css moved from design/admin4 to design/standard, so design admin and admin2 no longer
log "Could not find: stylesheets/cjw_newsletter_admin4.css" on every page.
- Updated: The state badge of a background job keeps the classes of its design and drops the muted tone once the
state is known.
- Updated: The mail safety test no longer needs a mail component that accepts a line break in an address.
Upgrading: composer update, then deploy with the packer (or clear the ini, template, template-override, ezjscore-packer
and template-block caches). No database change.
4.2.21
======
- Updated: The default skin's HTML newsletter names Exponential in the title of its header and footer links.
4.2.20
======
- Updated: One copyright notice, Exponential Foundation and 7x.
4.2.19
======
- Updated: The admin stylesheets (newsletter_ui.css, newsletter_editorial.css, newsletter_importexport.css and
newsletter_statistics.css) use the shared admin tokens for weights, durations, radii, table headers, muted text and
the state colours, with the current light values as fallbacks; the local --nl-* custom properties are gone.
4.2.18
======
- Added: Translations into 110 more languages: afr-ZA, aka-GH, amh-ET, ara-SA, arc-IQ, asm-IN, aze-AZ, bel-BY, ben-BD,
bho-IN, bod-CN, bos-BA, bul-BG, cat-ES, ceb-PH, che-RU, chi-CN, chi-TW, ckb-IQ, cym-GB, dsb-DE, ell-GR, eng-AU,
est-EE, eus-ES, fas-IR, fil-PH, fin-FI, ful-SN, gla-GB, gle-IE, glg-ES, guj-IN, hau-NG, haw-US, hin-IN, hun-HU,
huy-IL, hye-AM, ibo-NG, ind-ID, isl-IS, jav-ID, jpn-JP, kal-GL, kan-IN, kat-GE, kaz-KZ, khm-KH, kik-KE, kin-RW,
kir-KG, kor-KR, kur-TR, lao-LA, lav-LV, lin-CD, lit-LT, ltz-LU, lug-UG, mai-IN, mal-IN, mar-IN, mkd-MK, mlg-MG,
mlt-MT, mon-MN, mri-NZ, msa-MY, mya-MM, nep-NP, ori-IN, orm-ET, pan-IN, pcm-NG, pnb-PK, por-PT, pus-AF, ron-RO,
run-BI, rus-RU, ser-SR, sin-LK, slk-SK, slv-SI, sna-ZW, snd-PK, som-SO, sqi-AL, srp-RS, sun-ID, swa-KE, syr-IQ,
tam-IN, tat-RU, tel-IN, tgk-TJ, tha-TH, tir-ET, tuk-TM, uig-CN, ukr-UA, urd-PK, uzb-UZ, vie-VN, wol-SN, xho-ZA,
yid-US, yor-NG and zul-ZA.
- Updated: The eng-US, fre-FR and ger-DE translations are complete.
- Updated: The subscription mails and the unsubscribe links are sent as text and as HTML in the site's mail layout.
4.2.17
======
- Fixed: Newsletter mails refuse a line break, quote or backslash in the file names, content ids, content types and
disposition parameters of their parts, addresses with a quoted local part are refused, bounce parsing reports a
temporary directory it cannot write instead of failing silently, and an oversized bounce message is reported once,
from ekked's pull request #5.
- Fixed: Newsletter mails carry no line break from addresses, names, subjects or headers into the mail or the SMTP
dialogue, SMTP escapes lines starting with a dot, and bounce parsing keeps its files private and skips oversized
messages, from ekked's pull request #5.
- Fixed: Translations that contradicted their language guide: wrong meanings, glossary breaches, forms of address,
typos and English left in the text, from ekked's pull request #4.
- Fixed: The newsletter log no longer ends the request when its directory is not writable.
- Fixed: French catalogue fills its empty administration entries and keeps %count.
- Fixed: Each message appears once per context in the English catalogue.
- Fixed: ezinfo.php states the release version again (SOFTWARE_VERSION had stayed at 4.2.15 in 4.2.16, which the about
page, the mail header and the file headers show).
4.2.15
======
Updated
- The Newsletter tab of the administration shows an icon: Icon=envelope in the tab's block [Topmenu_newsletter] of
menu.ini. admin4 draws it before the tab's name; other designs ignore it.
- README.md is a complete guide: what the extension does, the requirements (Exponential 6.0.15 or later, PHP 8.0 or
later), the installation with Composer and by hand (tables, content classes with the class installer, settings,
cron), the main settings and a map of every settings block to its guide, the first send, the public pages,
template operators and fetch functions with examples, own skins, the cron jobs, the console commands, the policy
functions, upgrading and troubleshooting. INSTALL and FAQ, which described a 4.x installation, point to it.
- composer.json requires PHP 8.0, names the issue tracker and the source, lists 7x as maintainer and sets
installer-name. ezinfo.php and extension.xml name 7x next to the original copyright; ezinfo.php no longer states a
kernel version of the past.
- share/filelist.md5 lists the changed checksums.
4.2.14
======
Updated
- The Norwegian (Bokmål) translation, with the contributor's wording where both had translated a message.
share/filelist.md5 lists the changed checksums.
4.2.13
======
Added
- Translations in Croatian, Czech, Danish, Dutch, Italian, Norwegian, Polish, Brazilian Portuguese, Swedish and Turkish: every message of the current templates and classes, 2066 per language. The Norwegian
catalogue, which had 6 of its messages translated, is completed and keeps them. share/filelist.md5 lists the new
files.
4.2.12
======
Updated
- The templates carry no inline JavaScript any more: no <script> with code, no onclick/onchange handler and no
javascript: URL, so the administration works under a Content-Security-Policy without 'unsafe-inline' for
scripts. The code is in design/standard/javascript/cjw_newsletter.js, printed with ezscript() where the inline
code stood; it may be printed more than once and sets itself up once. The templates pass their values in data
attributes (data-cjwnl-*, data-nl-*, data-cb-confirm); the header of the file lists them. It works in every
administration design and needs no library.
- The class menu of the list, system and edition views and the context menu of an edition line open through
ezpopmenu_showTopLevel() from that file. The confirmation dialogs (send, remove subscriptions by admin, approval)
stay window.confirm() with the same translated texts.
- The newsletter tree and the static tree of the newsletter_admin_ez4.0.0 page layout load their indentation from
stylesheets/cjw_newsletter_tree.css instead of writing a <style> block with document.write().
- The filter form builder no longer loads jQuery 1.4.2 from ajax.googleapis.com; its [+] link switches the select
between single and multiple choice without it.
Fixed
- The class menu of the list, system and edition views opens again: the language list was printed as JSON with
double quotes into a double-quoted onclick attribute and ended it early ("Unexpected end of input").
- The A/B test view loads the confirmation script its forms rely on.
Removed
- The PNG fix of Internet Explorer 5.5 and 6 in the newsletter_admin_ez4.0.0 page layout.
Added
- tests/cjwNewsletterTemplateAccessibilityTest.php NA-04: no inline <script> with code, no on...= handler and no
javascript: URL in any template.
4.2.11
======
Fixed
- The check-all boxes of the blacklist and of the editorial article pool have an aria-label ("Select all"), not
only a title (axe: label-title-only).
- The status icons of the edition filter in the admin2 newsletter list have an empty alt; their text follows them
(axe: image-alt).
- The current page of the pager uses the strong accent (--a4-accent-strong) behind its white number: 5.2:1 instead
of 3.1:1.
Updated
- The language flags and the inline forms of the admin2 templates use the classes cjwnl-flag and
cjwnl-inline-form of cjw_newsletter.css instead of style="" attributes, which a Content-Security-Policy without
'unsafe-inline' for style-src-attr drops.
Added
- tests/cjwNewsletterTemplateAccessibilityTest.php (no database): the check-all boxes have an aria-label, every
image has an alt or a title, and the admin2 templates carry no inline CSS.
4.2.10
======
Fixed
- The newsletter/mailbox_item_view and newsletter/subscription_list_csvexport views define their global
functions as expModuleViewNewsletterMailboxItemViewDownloadFile and
expModuleViewNewsletterSubscriptionListCsvexportDataForCsv instead of the generic downloadFile and getDataForCsv,
which a server with persistent workers would have mixed up with other code of the same name.
4.2.9
=====
Updated
- In admin4 and admin4l the newsletter pages' left menu draws admin4's own width switch (the kernel's shared
parts/left_width_control.tpl), the same as every kernel module; before, the newsletter column had none there.
- The width links of the standard menu (classic admin designs) set admin_left_menu_size, the preference the page
layouts read, instead of the unused admin_left_menu_width.
4.2.8
=====
Added
- Spanish (Spain and Mexico), Hebrew, Latin and Klingon administration translations (esl-ES, esl-MX, heb-IL,
lat-VA, tlh-QO). They are complete and machine-assisted, and would benefit from review by native speakers.
4.2.7
=====
Updated
- The edition list of a newsletter no longer logs "Variable 'status' is already defined" when it is filtered by
(status)/draft, process, archive or abort: the node view sets every custom view parameter as a template
variable, so the children list (admin2, ezwebin and standard designs) and the subscription datatype's collect
and edit templates now use $cjwnl_status.
- The report and the A/B test page no longer log "Variable 'i18n' is already defined": the included variants
table (newsletter/statistics/ab_table.tpl) uses $cjwnl_ab_i18n.
- The newsletter entry of the content structure menu undefines $subcription_user_statistic under its own name.
4.2.6
=====
Updated
- The "HTML / Text" and "Text" tabs of a newsletter edition show the newsletter again on hosts whose PATH "php" is
another PHP version than the web server's: [NewsletterSettings] PhpCli=auto (the new default; also an empty
value or a bare "php") renders the preview, the test mail and the siteaccess settings with the command line of
the running PHP, found by the kernel. Any other value is used as it is.
- The preview frames are sandboxed (no scripts, no access to the admin page), have a title and take their size
from the class cjwnl-preview-frame in cjw_newsletter.css; their canvas stays light in the dark admin theme, and
the preview tab panels grow with the frame instead of the fixed 20em scrolling box of the admin tab panels.
- The edition's tab row follows the kernel: an unset tabs preference means tabs on, and (tab)/preview_<id> in the
URL opens that preview. The frames are no longer hidden by the tabs preference when their tab is shown.
- When a preview cannot be created, the frame says so in one sentence and points to the newsletter error log.
4.2.5
=====
Updated
- Names, addresses and values in the newsletter templates are escaped for where they stand: a value escaped for
JavaScript inside an onclick attribute (the context menu of an edition, a list or a virtual list) is escaped for
HTML as well, and the subscriber names and addresses in the subscription lists and the import view, the sender
and test addresses of a list and the node names of the newsletter tree are escaped for HTML.
4.2.4
=====
Updated
- The newsletter card of the notification settings and the newsletter approval view in the admin4 design draw
with the shared administration components of Exponential (components.css): no inline CSS, light and dark
mode. The old nf-* classes stay beside the new ones for the site themes that style them.
4.2.3
=====
Updated
- The newsletter log files and the SMS outbox of the file transport keep to the limits EZP_FILE_MODE_MAX and
EZP_DIR_MODE_MAX of Exponential 6.0.15 (config.php): the log files get LogFilePermissions, the outbox folder 0770
and each SMS file 0660 through the kernel helpers, which only narrow them. Without the limits, or on a kernel
without the helpers, the modes are exactly those of before.
4.2.2
=====
Updated
- The subscribe and configure views and the class installer ask eZUser::isRegistered() instead of the deprecated
isLoggedIn(), so they leave no deprecation entry in strict.log.
- The newsletter error handler names the strict level by its value; the E_STRICT constant is deprecated since
PHP 8.4.
- The SMS HTTP transport calls curl_close() only on PHP versions before 8.0, where it still had an effect; PHP 8.5
deprecates it.
4.2.1
=====
Updated
- Installed classes and data use eng-US: the class packages named the six newsletter classes and their attributes in
eng-GB, and the kernel creates every language a class package names, so importing the classes added eng-GB as a
content language to a site whose language is eng-US and gave the newsletter classes eng-GB as their initial
language. The packages use eng-US now, also as the always-available language; the German names stay.
Added
- The upgrade step `ext:cjw_newsletter:class-languages` (also `bin/php/class-languages.php`) moves the newsletter
classes of an existing installation from eng-GB to eng-US: class and attribute names and descriptions, language
mask, initial language and the class name rows, with a JSON backup of the rows, `--dry-run`, and nothing to do on
a second run. Content objects and the eng-GB language are left alone. The class installer runs the same step.
Upgrade from 4.2.0: doc/upgrade-4.2.md, section 11.
4.2.0
=====
Requires Exponential 6.0.15 or later (the e-mail preferences with the mail gate, the consent log, the suppression
list, the bounce reader's MessageListeners, the category handlers' erased() and the category part hook). Upgrade from
4.1.20: doc/upgrade-4.2.md. The guides of every area are listed in doc/README.md.
Added
- Deliverability (doc/deliverability.md)
- Hard bounces and complaints go on the suppression list of the e-mail preferences (reason bounce or complaint,
written to the consent log), which blocks every optional mail of the site; the kind of a returned message comes
from the kernel's bounce classifier, else from the SMTP code.
- Soft bounces and temporary refusals are sent again after a delay that doubles with each try, at most
SoftBounceMaxRetries times; a finished send is opened again for the retry.
- Rate limits per transport (per minute and per hour), batches and pauses between them, resumable sending, and a
pause per transport; the page "Rate limits and batches" (newsletter/throttle) and the dashboard show the state.
- Test groups for the test sends of an edition; test mails are marked (subject prefix, X-Cjwnl-Test) and each
address gets a mail of its own.
- Subscribe and unsubscribe by e-mail at the mail-in addresses of the lists (plus addressing too), read from the
kernel's bounce mailbox or a newsletter mail account: a subscribe mail starts the double opt-in; an unsubscribe mail
is honoured at once only when it proves the address.
- CSV import into the kernel's suppression list, with a check run.
- The command ext:cjw_newsletter:deliverability (status, suppression-import, pause, resume, read).
- Editorial (doc/editorial.md)
- Recurring sends of a list on chosen weekdays, weekly or monthly in a time zone, sending a copy of a template
edition (filled from the article pool with what is new, skipped when nothing is) or the latest unsent edition;
optional conditions; a log of every run; the command ext:cjw_newsletter:schedule.
- Article pools per list with a global default (nodes, classes, sections, tags, states, age, order) and the article
picker of an edition.
- The optional approval of editions per list through the collaboration inbox: the send waits until the version is
approved; approvers from users and user groups (ApproverGroupIds default 12).
- Rendering (doc/rendering.md)
- More placeholders ([[email]], [[organisation]], [[custom_1]]..[[custom_4]], [[list_name]], [[manage_url]] and
placeholders from the settings), all escaped in the HTML part.
- The newsletter condition: a custom tag of ezxmltext and an eztemplate of ezrichtext for parts only some subscribers
get (field, list, language, interest), decided the same way in the HTML and the text part.
- Interests (topics of a list or eztags) chosen on the e-mail preference page and the notification card, and the
block "articles for your interests" filled per subscriber from the article pool.
- One edition with translations: each subscriber gets his language, with the list's main language as the fallback;
the command ext:cjw_newsletter:translatable-fields makes the text fields of the newsletter classes translatable.
- The skins company, news and shop; the allowed skins per list and the skin per send; the skin preview.
- Plain text views of every field type and every ezxmltext tag, and ezrichtext as text and HTML.
- The preview of an edition as a chosen subscriber.
- The language and the interests of a subscriber on the admin user pages.
- Statistics (doc/statistics.md)
- Open pixel and click redirect (signed, no open redirect, no session), counted per person only with the consent of
the new e-mail preference category "Newsletter statistics" (optional, off by default), as anonymous totals for
everybody else; tracking is off for the site and per list by default.
- The report of a send, the statistics on the dashboard with the trend, the article box on the admin preview of a
newsletter article, and the statistics CSV export (totals only).
- A/B subject tests: samples per variant, the winner by open rate (by clicks with anonymous totals only) after a
wait, the rest gets the winner's subject.
- Retention of the per-person rows (12 months by default), removed at once on withdrawal and erasure; the command
ext:cjw_newsletter:statistics.
- SMS (doc/sms.md)
- Newsletters by SMS to confirmed mobile numbers, through a provider-neutral transport: a file transport, a generic
HTTP/JSON transport mapped in the settings, and a Twilio-style preset.
- The e-mail preference category "Newsletters by SMS" with the code double opt-in (hashed codes, limited in time,
attempts and requests), the STOP keyword through the inbound endpoint, the rate limit of the deliverability area,
and the SMS state on the dashboard and the notification card.
- Import, export and migration (doc/importexport.md)
- The CSV import with a column mapping (guessed from the column names), a preview, a dry run and a consent source
written to the consent log; suppressed, blacklisted, opted-out and unsubscribed addresses are never imported again.
- The subscriber export of a list with filters and a choice of columns; formula cells are defused.
- The command ext:cjw_newsletter:import-eznewsletter: the lists, subscribers and subscriptions of the old eznewsletter
extension, with a dry run, a migration log and the old consent dates; the old tables are only read.
- Extension points for the feature areas (cjw_newsletter.ini [ExtensionPointSettings]): the queue runner, the send and
test forms, the list attribute, the admin user pages, the subscribe form and the dashboard call the handlers and
include the template parts the areas register; userRemoved is called when a subscriber is removed.
- A dashboard block per area on newsletter/index, and the newsletter card of the notification settings pages.
- The schema of 4.2.0: 24 new tables and new columns of five 4.1 tables in one change for MySQL, PostgreSQL and SQLite
(doc/schema-4.2.md), with update/database/<engine>/4.2/dbupdate-4.1.20-to-4.2.0.sql.
- doc/README.md, the index of the guides, and doc/upgrade-4.2.md.
Updated
- PostgreSQL: the sequences of the 4.1 tables are renamed from <table>_s to <table>_id_seq, the name the database
driver reads; inserts into those tables could not return their ids before.
- The erasure of a person in the e-mail preferences removes the newsletter user with his subscriptions, interests,
language, mobile number, SMS codes and SMS, and his per-person statistics; the totals, the suppression entry and the
blacklist entry (without the user) stay.
- Removing a subscriber removes his interests, SMS codes and SMS and per-person statistics with him;
ext:cjw_newsletter:repair also removes the interests that older removals left behind.
- The approval items of the collaboration inbox show as waiting, approved or denied (inboxState() of the handler, read
by the inbox of Exponential 6.0.15).
- A 450 reply of the mail server is no longer taken for a hard bounce.
- The export previews show the newest subscriptions first.
- English and German texts for every new page; French and Norwegian are marked unfinished.
- A list or edition whose content object is gone (a stale cjwnl_list row) is skipped without a debug error; the
dashboard logged "Object not found" on every load for such a row.
- The deprecated templateInit() and ezi18n() are replaced with eZTemplate::factory() and ezpI18n::tr() (191 calls).
- The language choice on the e-mail preference page names each language in its own name ("Deutsch (Deutschland)").
- The interests on the preference page and the newsletter card are a labelled group; long list names no longer squeeze
the dashboard's values; the statistics templates show their texts translated; the old admin design has its own
newsletter card on the notification settings.
4.1.20
======
Fixed
- The PostgreSQL schema (`sql/postgresql/schema.sql`) lacked thirteen columns that the MySQL schema and `share/db_schema.dba` have: `cjwnl_edition_send.list_contentobject_version`, `list_is_virtual`, `mailqueue_process_scheduled`, `email_reply_to`, `email_return_path`; `cjwnl_list.email_reply_to`, `email_return_path`, `is_virtual`, `virtual_filter`; `cjwnl_user.custom_data_text_1` to `_4`. A PostgreSQL installation made from that file failed on the first send. The file also started with a byte order mark, which psql reads as part of the first statement. `update/database/postgresql/4.1/dbupdate-4.1.19-to-4.1.20.sql` adds the missing columns where they are absent (safe to run on an installation that added some by hand).
- The personalisation values (`[[name]]`, `[[salutation_name]]`, `[[first_name]]`, `[[last_name]]`) went into the HTML part of an edition unescaped: a subscriber's name could inject markup into the mail. They are HTML-escaped in the HTML part now; the text part and the subject get them as they are (`CjwNewsletterPlaceholders`).
Added
- `sql/sqlite/schema.sql`: the SQLite schema, generated from `share/db_schema.dba` by the kernel's SQLite schema handler (index names `<table>__<name>`, as an installation from the `.dba` has them).
4.1.19
======
Added
- A bridge to the e-mail preferences of Exponential 6.0.15 and later (nothing of it is loaded on older versions): the lists are the category "newsletter" of the central preference page and are listed there; the editions go through the mail gate, so the master switch "all optional e-mail off", the category and the suppression list decide who gets them, and the gate adds its footer and the List-Unsubscribe headers; subscribing, confirming, approving and unsubscribing are recorded in the consent log; the blacklist and the suppression list follow each other both ways.
- The subscribe and configure pages link to the e-mail preference page of the account.
Changed
- An edition mail the e-mail preferences refuse closes its send item without bouncing the user; the queue run counts it as refused. Test mails are never gated.
4.1.17
======
Fixed
- Subscriptions of newsletter users that no longer exist were put in the mail queue and then failed ("newsletter_user_object not available"), and the subscription list showed them with an empty Edit link. Lists, counts and the queue skip them; `ext:cjw_newsletter:repair` removes them.
- The user list showed the first 10 users only (fixed limit, no offset, the count was the size of the page). It pages, sorts and filters by text, status and list now.
- The public subscribe forms used the posted back link unchecked in a link (reflected XSS, `javascript:`); it is a path of this site now. Custom data fields, the data text and xml of a user, the redirect fields of the user forms and the file path of a mailbox item are escaped.
- The mail account form wrote the stored password back into the page in clear text. It stays empty now and an empty password keeps the stored one. Mail accounts and blacklist entries are validated (address, server, port, user, password, length of the note).
- "Collect all mails" and "Parse mails" were GET forms that changed data and held the request while a mail server answered. They are POST buttons that start a background run.
- An upload that could not be stored (folder not writable) ended in "Import done" with no rows; it says what is wrong now. "Import done" showed the creation date.
- The user view logged five errors per view for the optional custom field groups of the ini.
- The newsletter log raised a dynamic property deprecation on every request that wrote a line (PHP 8.2 and later).
- The SQLite driver lists only tables whose names start with "ez": a check for `cjwnl_*` tables found none.
- Imports and bounces were listed oldest first.
- The CSV parser set `auto_detect_line_endings` when its file was loaded, which PHP 8.1 and later report as a deprecation on every request that loads the class; a file with old Mac line endings (a carriage return alone) is converted by the parser itself.
Added
- A dashboard as the start page: lists and subscribers, editions, the last sends, the transport and the outbox, the last runs of the cronjob parts, and the problems found (tables, folder, sender address, orphans, stuck sends, unparsed bounces).
- Lists with sorting, filter and paging for users, the blacklist, imports and bounces; removal of blacklist entries and mail accounts asks first; notices after each action; admin4 components and tokens (`newsletter_ui.css`); English and German strings; "Dashboard" in the left menu.
- Console commands `ext:cjw_newsletter:queue`, `mailbox`, `import`, `repair` and `status` (with `--help`, `--dry-run`, aliases `nl-*`), a cronjob part `cjw_newsletter_mailbox`, and `CjwNewsletterRunner`, which the cronjob parts and the commands share: one run at a time (a lock), the time and result of the last run, and an audit event `system.cjw_newsletter.*` per run.
- "Send now", "Count only", "Process the mail accounts", "Parse mails", "Collect all mails", "Import all" (setting `[NewsletterCsvImportSettings] ImportInBackground`) and "Remove them" (orphans) start the command in the background and show its progress.
- Tests for the runner, the commands, the rebuilt views and the fixes (suite `cjw_newsletter`).
- 20101001 (felix) cjw_newsletter '1.0.0beta2' moving to public github
1.0.0
=====
- fixed bug #017924: CJW Newsletter - textmail creation is sometimes broken
- fixed bug #017926: CJW Newsletter - textmail some unwanted newlines in headlines
- fixed bug #017624: CJW Newsletter - The subscription form's Cancel button does not work
- fixed bug #017927: CJW Newsletter - create new Mailbox - Username is not stored
- fixed bug #017955: CJW Newsletter - systemupgrade check db output produces wrong sqlCHANGELOG # cjw_newsletter # - YYYYMMDD Description
Updated: Automatic replies are recognised with the kernel's shared rule (expMailReceive, Exponential 6.0.15) where the kernel has it, the same rule as the bounce reader and the help desk; it also takes Precedence…
Address: https://doc.exponential.earth/exphelp/viewer/ext/cjw_newsletter/CHANGELOG
Documentation license
This page is part of the documentation of the extension cjw_newsletter and is distributed under the license of that extension.