Releases: CuyZ/NotiZ
2.1.3
ℹ️ Click on a changelog entry to see more details.
Bugs fixed
Trigger event definition registration in more contexts
by Romain Canon on 14 Jun 2021 / 5e4f479 / #235
In some context — for instance in a CLI request — middlewares do not
run, meaning the event definition registration is not done. Because the
initialization will be run only once in any case, old hooks are used to
ensure a proper registration.Fixes #234
Others
2.1.2
ℹ️ Click on a changelog entry to see more details.
Bugs fixed
Send notification to all email recipients
by Romain Canon on 30 Apr 2020 / abb23d2 / #220
When multiple event email recipients are selected, only one of them was
mapped. Fixes wrong array assignment and merges recipients.
Others
2.1.1
ℹ️ Click on a changelog entry to see more details.
Bugs fixed
Use middleware for event definition registration
by Romain Canon on 10 avr 2020 / abccf91 / #213
With TYPO3 v9.5+ hooks have been deprecated in favor of middleware
usage. Some hooks would event not run as they used to in former
versions.This commit introduces a new middleware (which is used both in frontend
and backend) to register the event definitions.
Add default values to TCA entries
by Romain Canon on 04 avr 2020 / 85d28ea / #211
This solves an issue which would display an error message when trying to
create a notification with MySQL strict mode enabled.The "solution" that was written in the documentation was a work around
and not adapted at all, as explained in this post:
https://stackoverflow.com/a/50138799
Others
2.1.0
ℹ️ Click on a changelog entry to see more details.
New features
Introduce event for new comment submission with EXT:blog
by Romain Canon on 09 May 2019 / 9b2dc98 / #203
A new event is added, it is triggered whenever a user submits a new
comment on a blog post.Both the comment and the post data can be used within a notification.
Bugs fixed
Repair notification entities translation
by Romain Canon on 09 May 2019 / 48b2bdd / #201
Some love has been given to the notification translation inside TYPO3
backend.Unfortunately, since 2ee9d93 the translation is broken on TYPO3 8.7
instances. Because this issue is already fixed with TYPO3 9.5, no fix
has been done yet. Instead, a new section inside the "Known issues"
documentation chapter has been added to explain it.
Others
Make Slack additional channel not required
by Romain Canon on 01 Jul 2019 / 8c4f544 / #206
Because another field (
slack_channel
) can be used to select a channel
where to send the Slack message, the additional channel has no reason to
be required.Fixes #204
Remove useless TYPO3 constraint
by Romain Canon on 09 May 2019 / 909f95a / #202
Since v2.0 of this extension, the TYPO3 requirement is higher than the
one written in documentation.
2.0.1
ℹ️ Click on a changelog entry to see more details.
Bugs fixed
Always return slot label as string
by Romain Canon on 22 Mar 2019 / 35fd39a / #196
Allow any value for a property entry
by Romain Canon on 22 Mar 2019 / 85a3af0 / #195
2.0.0
ℹ️ Click on a changelog entry to see more details.
New features
Important
⚠ Please pay attention to the changes below as they might break your TYPO3 installation:
Use strict types for PHP classes
by Romain Canon on 29 Jan 2019 / f143481 / #191
The extension now uses PHP 7.0 strict types in its API.
Third-party extensions which extend classes of the core may have to
adapt their code to follow the new methods signatures.
Drop support for TYPO3 7.6
by Romain Canon on 23 Jan 2019 / e6253af / #190
Further versions of this extension will not support TYPO3 7.6 anymore.
Others
Fix wrong locallang reference for notifications listing
by Romain Canon on 22 Jan 2019 / e31cd20 / #189
Fix wrong locallang reference for notifications listing
by Romain Canon on 22 Jan 2019 / 9ea07ef / #187
1.1.0
ℹ️ Click on a changelog entry to see more details.
New features
Assign notification and event instances to email view
by Romain Canon on 21 Dec 2018 / af8cb88 / #176
Two new variables become accessible in the template of an email:
{notification}
– contains the notification instance{event}
– contains the event instance
Handle priority for file definition sources
by Romain Canon on 21 Dec 2018 / 911c135 / #173
The file definition sources are now sorted by the priority they are
given.Default definition files have a high priority, to easily allow other
files to override definition values.
Bugs fixed
Distinct TCA processors and data providers
by Romain Canon on 20 Jan 2019 / a339bf1 / #184
Some data providers were actually not acting on an actual notification
record, but modifying global TCA configuration instead.Because of this, TYPO3 core would misunderstand things, like FlexForm
configuration done dynamically. This would result in strange behaviour
like empty paragraph added on text columns with RTE inside FlexForm
fields.This commit separates these processors in a distinct namespace, with a
brand new role and interface.Fixes #181
Show message when CKEditor preset is missing in slot
by Romain Canon on 20 Jan 2019 / fb61c9b / #182
Others
Add documentation on how to add custom config to events
by Nathan Boiron on 20 Jan 2019 / 9296c10 / #185
Hide columns of notification entity when no event is selected
by Romain Canon on 20 Jan 2019 / cf28edd / #178
Closes #31
1.0.1
1.0.0
ℹ️ Click on a changelog entry to see more details.
New features
Filter notifications by event and show a clear button
by Nathan Boiron on 20 nov 2018 / c2c83c6 / #158
Introduce simple definition file registration
by Romain Canon on 12 nov 2018 / 444a2bb / #151
Files containing definition values can now be added in a dramatically
more simple way: registering a definition component service is not
absolutely needed anymore.One can just add the following piece of code to the
ext_localconf.php
file of his/her extension:$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['NotiZ']['Definition']['Source'][\CuyZ\Notiz\Domain\Definition\Builder\Component\Source\TypoScriptDefinitionSource::class][] = 'EXT:my_extension/Configuration/TypoScript/MyCustomDefinition.typoscript';
Please note that the following method has been renamed. Calls to this
method must be changed as well.\CuyZ\Notiz\Domain\Definition\Builder\Component\Source\TypoScriptDefinitionSource::addTypoScriptFilePath($path)
now becomes:
\CuyZ\Notiz\Domain\Definition\Builder\Component\Source\TypoScriptDefinitionSource::addFilePath($path)
Bugs fixed
Forward to correct controller when an event is not found
by Romain Canon on 06 déc 2018 / ef0032a / #165
Prevent toolbar Ajax request to run again when it failed
by Romain Canon on 28 nov 2018 / 30a51b0 / #161
In order to prevent potential error log spamming, when the toolbar Ajax
request fails, it won't automatically run again.
Allow access to array values from a scalar index
by Nathan Boiron on 12 nov 2018 / 801c531 / #156
For an array like this:
$data = [ ['foo' => 'value 0'], ['foo' => 'value 1'], ];
It is now possible to use this marker:
{data.0.foo}
Move body slots TCA to graceful data provider
by Romain Canon on 25 oct 2018 / 47dc15e / #148
Prevents a crash of the whole TYPO3 backend under certain circumstances.
Move event configuration TCA to graceful data provider
by Romain Canon on 24 oct 2018 / 4d07418 / #146
Prevents a crash of the whole TYPO3 backend under certain circumstances.
Set the default value of custom_bot
column to 1
by Nathan Boiron on 06 oct 2018 / 3c13e9f / #140
When there are no configured Slack bot, the
custom_bot
checkbox does
not appear and is set tofalse
. The custom bot could not be detected.
Important
⚠ Please pay attention to the changes below as they might break your TYPO3 installation:
Merge languages files
by Nathan Boiron on 06 déc 2018 / 6c50b84 / #164
The project started to have too many language files and it became hard
to understand where to put translations.Other languages were removed to instead use the TYPO3 translation
server: https://translation.typo3.org/
Remove definition components identifier
by Romain Canon on 25 oct 2018 / a9c836b / #150
Adding new definition components (source or processor) doesn't require
an identifier anymore.Because these components are actually classes that must implement their
own interfaces, the class name itself is a unique identifier.Current code that uses the following methods should remove the first
parameter and leave the second one:\CuyZ\Notiz\Core\Definition\Builder\Component\DefinitionComponents::addSource($className) \CuyZ\Notiz\Core\Definition\Builder\Component\DefinitionComponents::addProcessor($className)
Others
Rewrite documentation to RST format
by Romain Canon on 10 déc 2018 / 9f514b5 / #162
Co-authored-by: Nathan Boiron nathan.boiron@gmail.com
Separate definition error handling in TCA
by Romain Canon on 18 oct 2018 / 68f11e3 / #144
Changes the way the definition error is handled within entity
notifications.The old way consisted in adding display conditions to every field to
check if the definition contains error.Now, a data provider does the same job, and replaces the whole TCA if an
error is found.
Make exception return type consistent
by Romain Canon on 06 oct 2018 / 5896793 / #142
Using
static
was not correct and would make IDE not understand the
type of the exception in all situations.
0.6.0
ℹ️ Click on a changelog entry to see more details.
New features
Add report in TYPO3 module for NotiZ
by Romain Canon on 01 Oct 2018 / a1f6baf / #105
Adds an entry to the status report handled by TYPO3.
If an error is found in the definition, an error report is added to the
queue, making it easier for administrators to see that something is
wrong with the extension.
Introduce notification manager backend module
by Romain Canon on 30 Sep 2018 / e5f73be / #135
This module gives access to different views, where notifications and
events can be managed easily. The usefulness is to centralise every
notification-related operation in a single place.Editors can now create and edit notifications in a very simple and
intuitive way. They can also see a detailed view of each existing
record, including a preview area.It is advised to configure editors right access to the new module, as
well as their abilities to create/see every type of notification.
Add asynchronous refresh to the notification toolbar
by Romain Canon on 18 Sep 2018 / 1afd071 / #108
A periodic asynchronous refresh has been added to the notification
toolbar. These Ajax request will reload notification information every
5 minutes in normal time, and every 30 seconds if an error occurred.Buttons have been added in the toolbar, allowing a manual refresh.
One thing to note is that the first rendering of the toolbar (done
during the TYPO3 backend rendering) does not contain information about
existing notifications anymore (they will be fetched asynchronously).
This can slightly improve performance when a lot of notifications were
to be listed.Co-authored-by: Nathan Boiron nathan.boiron@gmail.com
Add legacy backend icon view-helper
by Nathan Boiron on 12 Sep 2018 / 5a20a0b / #107
This view-helper is needed to stay compatible with TYPO3 v7 and v8
without having to check the version every time.In TYPO3 v7:
<f:be.buttons.icon icon="foo" />
In TYPO3 v8:<core:icon identifier="foo" />
This ViewHelper:<nz:core.icon identifier="foo" />
Add description column to notification entities
by Romain Canon on 05 Sep 2018 / 6d9231b / #100
See: https://docs.typo3.org/typo3cms/TCAReference/Ctrl/Index.html#descriptioncolumn
Allow events to give example properties
by Romain Canon on 28 Aug 2018 / e22f2c9 / #97
These example properties will be used to show a preview of notifications
using the events giving these examples.
Introduce view-helper to generate link to backend module
by Romain Canon on 28 Aug 2018 / 390f5e6 / #92
The old
BackendUriBuilder
has been removed for a module manager to
take its place.This will help new incoming backend modules to have their own handlers.
Allow event definition to count notifications bound to it
by Romain Canon on 18 May 2018 / 5256b85 / #90
Introduce signals to globally manipulate properties
by Romain Canon on 18 May 2018 / af3c379 / #89
Can be used for instance to add markers to every notification.
See documentation for more information.
Introduce preset argument for the event of a notification
by Romain Canon on 08 May 2018 / 6f0c561 / #83
An argument
selectedEvent
can be added to a request for the creation
of a new notification. This will give a default value to the event of
the notification.
Introduce nl2brTrim
view-helper
by Romain Canon on 08 May 2018 / 1089a65 / #82
Will apply a trim on the value, then convert all new lines by an HTML
tag<br />
.
Add description to notification definition
by Romain Canon on 08 May 2018 / 1e4b2d1 / #80
Allows getting more information about a notification.
A description text has been added for existing notifications.
Add description to event definition
by Romain Canon on 08 May 2018 / ffa1cbf / #79
Allows getting more information about an event.
A description text has been added for existing events.
Allow getting event from full identifier in definition
by Romain Canon on 02 May 2018 / 265123e / #81
The full identifier of an event is composed of the identifier of the
event group and the identifier of the event itself. Both are separated
by a dot.
Bugs fixed
Properly fetch Slack notification message properties
by Romain Canon on 05 Sep 2018 / 97805e5 / #103
Always return string when converting property to string
by Romain Canon on 05 Sep 2018 / 02e23f4 / #102
Make notification entity title static
by Romain Canon on 05 Sep 2018 / 72f38d9 / #101
When an error was found in definition, the current implementation would
not show the title of the notification; this was leading to
misunderstanding in certain modules, for instance in a backend usergroup
record access list.
Important
⚠ Please pay attention to the changes below as they might break your TYPO3 installation:
Add way to check if notification has event definition
*by [Na...