This tab is an ajax tab (deferred on demand loading)
The tab will display the last EventNotification for this action. Number of objects displayed is based on the new `notifications.last_executions_days` config parameter (default to 61 days, can be set to 0 for no limit)
Don't send X-Content-Type-Options HTTP header for certain WebPage impl to workaround CORB blocking
To disable globally this new behavior introduced in 9865bf07, set the `security.enable_header_xcontent_type_options` config parameter to false
Thanks @Molkobain for the review !
* N°2039 - Add iTop notifications to newsroom
* Update sources/Controller/Newsroom/iTopNewsroomController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Update sources/Controller/Newsroom/iTopNewsroomController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Update sources/Service/Notification/Event/EventiTopNotificationGC.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Add a default value to Action url attribute, check if there's an object in the context before adding it to the event
* Phpdoc
* Fix default config values
* Replace MetaModel::EnumPlugins calls for iNewsroomProvider
* Replace hardcoded url with generated routes
* Add dict entries
* Correclty throw error when trying to display a non existing event
* Fix unit test
* Migrate old action email language values to its parent table
* Migrate Action and Event class to XML, generate their dictionary entries, add meta data for ActionNotification and EventNotification
* Fix issue in dictionary definition
* Allows Action to create Events for users that the current user can't see
* Dump autoloader
* Remove classes from homemade "autoloader" as they are now loaded through XML
* Apply suggestions from code review
* Remove class from homemade "autoloader" as they are now loaded through GetClassesForInterfaces
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Update Symfony lib to version ~6.4.0
* Update code missing return type
* Add an iTop general configuration entry to store application secret (Symfony mandatory parameter)
* Use dependency injection in ExceptionListener & UserProvider classes
Same as 15d3201a, but this error happened before compilation, when setting read only mode.
As before this is another fix for #351.
This fix introduces the new method \WizardController::GetParamForConfigArray
I replaced existing duplicate code with a call to this new generic method.
Use case :
- having in the iTop config file wrong DB parameters (unreachable server for example)
- launch the setup in update mode
- fix the DB config in the wizard
The PR #351 solved the errors that were happening in the following steps.
But we still had an error during compilation, caused by the maintenance mode activation.