* N°4789 - Parse datamodel module.xxx.php files instead of interpreting them - refactoring all in a dedicated service first
* N°4789 - fix broken setup + tests
* N°4789 - replace legacy eval by module file parsing
* N°4789 - handle constants and if conditional structures
* N°4789 - compute boolean expressions
* N°4789 - make autoselect and dependencies work as well
* cleanup
* N°4789 - fix BeforeWritingConfig calls during setup
* N°4789 - refactor and split in ModuleDiscoveryEvaluationService + handle ModuleInstallerAPI methods calls during setup
* N°4789 - PR review changes with Romain
* PR review + code cleanup + added usecases and test cover
* temp evaluation work
* replace eval by iTop custom evaluation classes
* move PhpParser/Evaluation classes in a specific namespave + composer dumpautoload
* fix broken setup
* fix broken setup
* complete Evaluators list + autoload
* cleanup useless testing resources
* cleanup + replace last eval call in VariableEvaluator
* fix few Evaluators code
* enhance nikic evaluators + test with/without nikic lib
* Evaluator fixes/enhancements + tests
* bump to nikic fork temporarly
* bump nikic-parser fork + use only nikic fork evaluation + cleanup itop redondant evaluators
* review with Romain: use distinct whitelists in setup time/runtime + move ModuleFileParser internal logic into ModuleFileReader
* PhpExpressionEvaluator used via constructor and not as a service
* dumpautoload again after rebase
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