Skip to content

Releases: CuyZ/NotiZ

2.1.3

14 Jun 15:46
31da57f
Compare
Choose a tag to compare

ℹ️ 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

Fix links to the official extension documentation

by Romain Canon on 14 Jun 2021 / e685438 / #233

Others

Fix Caches cleared event configuration label

by Romain Canon on 14 Jun 2021 / 876f6f8 / #231

Update link to documentation

by Romain Canon on 18 Nov 2020 / f70e0e3 / #227

Update code style

by Romain Canon on 02 Aug 2020 / 5d32722 / #228

2.1.2

01 Aug 19:47
60cc807
Compare
Choose a tag to compare

ℹ️ Click on a changelog entry to see more details.

Bugs fixed

Fix editor access to notifications on root page

by Romain Canon on 27 Jul 2020 / aed0d0f / #223

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.

Fix event filter button

by Romain Canon on 30 Apr 2020 / 59ec8f8 / #218

Others

Fix button label

by Romain Canon on 27 Jul 2020 / 4cf5032 / #224

Increase required TYPO3 core version

by Romain Canon on 12 Jun 2020 / 49b2c6a / #221

See advisory:

GHSA-pqg8-crx9-g8m4

2.1.1

10 Apr 09:40
eb51664
Compare
Choose a tag to compare

ℹ️ 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

Remove year from copyright header

by Romain Canon on 08 avr 2020 / fba2218 / #216

Fix Composer schema validation

by Romain Canon on 04 avr 2020 / 5111006 / #212

composer validate

2.1.0

01 Jul 14:42
0bcb1be
Compare
Choose a tag to compare

ℹ️ 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.

Apply TCA migrations

by Romain Canon on 09 May 2019 / d669d4b / #200

Fixes #198

2.0.1

22 Mar 16:13
3afc343
Compare
Choose a tag to compare

ℹ️ 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

29 Jan 16:58
c45922b
Compare
Choose a tag to compare

ℹ️ Click on a changelog entry to see more details.

New features

Introduce support for TYPO3 v9 LTS

by Romain Canon on 25 Jan 2019 / 383ad51

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

Change line feed character in locallang files

by Romain Canon on 22 Jan 2019 / 273c01a / #188

Fix wrong locallang reference for notifications listing

by Romain Canon on 22 Jan 2019 / 9ea07ef / #187

1.1.0

20 Jan 15:10
9b857ad
Compare
Choose a tag to compare

ℹ️ 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

Make email property handle multiple email addresses

by ogrosko on 18 Dec 2018 / 82a78b9 / #171

closes #170

Others

Add documentation on how to add custom config to events

by Nathan Boiron on 20 Jan 2019 / 9296c10 / #185

Fix wrong locallang references for scheduler events

by Romain Canon on 20 Jan 2019 / 9fba3d5 / #183

Hide columns of notification entity when no event is selected

by Romain Canon on 20 Jan 2019 / cf28edd / #178

Closes #31

Change line feeds in localization files

by Romain Canon on 20 Jan 2019 / a35699e / #177

Fix a typo in the admin module language file

by Nathan Boiron on 21 Dec 2018 / 6282982 / #175

Add .idea to .gitignore

by ogrosko on 18 Dec 2018 / 9ca335d / #172

1.0.1

11 Dec 22:17
e69d22b
Compare
Choose a tag to compare

ℹ️ Click on a changelog entry to see more details.

Others

Fix documentation settings and build warnings

by Romain Canon on 11 Dec 2018 / 947af7e / #167

1.0.0

10 Dec 20:10
4ea9c56
Compare
Choose a tag to compare

ℹ️ Click on a changelog entry to see more details.

New features

Handle disabled notifications in the manager

by Nathan Boiron on 26 nov 2018 / eb40888 / #159

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

Correctly check if notification entity is editable

by Romain Canon on 06 déc 2018 / 3e832c4 / #163

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.

Fix the activation link generation

by Nathan Boiron on 26 nov 2018 / 77a8bce / #160

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}

Use correct display-condition syntax for TYPO3 v8

by Romain Canon on 12 nov 2018 / e49cebf / #152

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.

Handle empty form finisher list

by Romain Canon on 24 oct 2018 / 662d569 / #147

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 to false. 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

Use new marker syntax

by Romain Canon on 25 oct 2018 / d163c65 / #149

Move exception details panel into partial

by Romain Canon on 18 oct 2018 / 74e2834 / #145

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

01 Oct 11:54
7736657
Compare
Choose a tag to compare

ℹ️ 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.

Introduce new view-helper to chunk an array

by Romain Canon on 19 Sep 2018 / ae87c82 / #115

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

Import namespace in Fluid layout

by Romain Canon on 29 Sep 2018 / affb6c4 / #128

Make nl2br view-helper compatible with TYPO3 v7

by Nathan Boiron on 26 Sep 2018 / 7bc4999 / #126

Move the ViewHelper class to the correct folder

by Nathan Boiron on 25 Sep 2018 / 48f7481 / #123

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...

Read more