* N°7397 - Update welcome popup content for iTop 3.2
* N°7397 - Display illustrations as restylable SVG, add extension to twig to support absolute url in source function
* N°7397 - Update 3.2 welcome messages dictionaries, add French translations and set up other languages files
---------
Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
* 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>
* Add missing translations
* add missing translation
* minor update on translation "see setting
* add missing translations
* add missing translation for file dictionaries\zh_cn.dictionary.itop.core.php
* add missing translation for file dictionaries\zh_cn.dictionary.itop.ui.php
* add missing translation for file dictionaries\zh_cn.dictionary.itop.ui.php
* added missing translation for core and ui
* added missing translation for the rest files
* 🌐 minor Chinese translation updates following comments from chileeb on PR #563
* 🌐 update most of the 'class' translation from '类' to '类型'
* 🌐 add kitty message translation
* 🌐 update '表格中暂无数据' in dictionaries\ui\components\datatable\zh_cn.dictionary.itop.datatable.php to '当前列表没有数据'
N°6154 - n:n Read - tooltip, confirmation title and message on Add-Edit-Remove
N°6219 - 1:n Read: tooltip, modal title and message on Add-Edit-Remove-Delete
- Add generic set block ui component
- Add model link set (direct and indirect) attribute (display style)
- Add model link set direct allowed values
- Create link set viewer block UI (BlockLinksSetDisplayAsProperty)
- Add set block ui factory for linkset
- Add object factory and create new endpoint in object controller (with data binder)
- Add link set model, link set repository and link set data transformer services
* Rebase onto develop
* Use exit condition instead of englobing condition
* Add informative modals that can be called from modal toolbox
* Refactor "apply_modify" and "apply_new" into own controller, handle ajax requests with a json response and handle these responses in linkset creation/edition
* Fix merge issues
* Remove inverted condition
* Move linkset create button to a better place, still needs to fix duplicate "New" button caused by a refactor
* Handle "Cancel" button in modals
* Do not display relations when editing an object in a modal
* More elegant way to add "New" button to relations lists
* Factorize vertical highlights in alerts and modal in a single mixin
* Replace button name with dict entry code
* Change route name to snake case
* More elegant way to add "Create in modal" button to relations lists
* Replace triple if with in_array
* Move listener to body
* Rename variable to match boolean rules
* Rename event
* Rename extra param
* Add phpdoc
* Revert changes
* Check indirect linkset rights before allowing creation in modal
Linkset updates, feedbacks 09/12:
- Distinguish action label and tool tip message
- Change default action button label Ok => Confirm
- Use action label in place of default confirm button label
- Attach do not show again preference key to table instance
- Obsolescence flag for link selection (select all) issue correction
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'js_row_action' => 'console.log("You clicked the remove button");',
'confirmation' => [
'message' => 'UI:ConfirmationMessage',
'message_row_data' => "name",
'remember_choice_pref_key' => 'remove_do_not_show_again',
],
],
[
'tooltip' => 'open in new tab',
'icon_css_class' => 'fa-external-link-square-alt',
'on_action_js' => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id=" + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
],
[
'tooltip' => 'other actions',
'icon_css_class' => 'fa-ellipsis-v',
'on_action_js' => 'console.log(event);',
],
];
* Contrôleur pour la suppression et le détachement de liens
* Block UI pour l'édition des relations
* Block UI pour la visualisation des relations
* Boutons d'actions pour la suppression et le détachement de liens
* Gestion dialogue de confirmation pour les row actions