Molkobain
aca46fb1d6
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/ui.linkswidget.class.inc.php
2023-04-20 17:41:40 +02:00
Molkobain
4560f751d1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/itopwebpage.class.inc.php
# dictionaries/en.dictionary.itop.ui.php
# dictionaries/fr.dictionary.itop.ui.php
2023-04-20 12:53:12 +02:00
Molkobain
f026e6f4b8
N°6208 - Router: Move to Service folder
2023-04-20 09:41:12 +02:00
Molkobain
e3252da5a9
N°6208 - Router: Add mechanism to generate complete route URL from its code
2023-04-20 09:41:12 +02:00
Anne-Catherine
4e95ca3c7b
N°541 - Dashlets: Improve readability when to much labels (pie chart) or too long labels (bar chart) ( #452 )
...
* N°541 - Dashlets: Improve readability when to much labels (pie chart) or too long labels (bar chart)
2023-04-13 11:23:20 +02:00
Benjamin Dalsass
288641646c
N°6147 - Filter list : tooltip and new action
2023-04-12 07:53:12 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Pierre Goiffon
758933ae74
N°5849 use the new \utils::EscapedHtmlDecode method
2023-02-23 15:19:36 +01:00
bdalsass
86a208a86d
N°5904 - Use attribute linked set edit mode to enable actions in view (improvement)
2023-02-08 14:34:46 +01:00
Stephen Abello
0b1352fe37
N°5904 Move dict entries
2023-01-31 09:57:06 +01:00
acognet
e0cc00e772
N°5849 - Fix wrong encoding of external keys in "Header with statstics" dashlet - fix for 3.1
2023-01-30 17:29:51 +01:00
Molkobain
bddfa4cd7a
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-01-30 17:09:36 +01:00
Anne-Catherine
12ef74ec42
N°5849 - Fix wrong encoding of external keys in "Header with statstics" dashlet ( #384 )
...
N°5849 - Fix wrong encoding of external keys in "Header with statstics" dashlet #384
2023-01-30 16:06:10 +01:00
Molkobain
af2421a2cb
N°5905 - Move tab description to a tooltip on the panel's title instead of a big blue alert
2023-01-27 17:25:03 +01:00
Molkobain
f7e8bd31f5
N°5905 - Fix "+" button displayed twice on linksets with 1 item
2023-01-26 17:49:17 +01:00
Molkobain
2a825c6ba0
N°5905 - Fix "+" button displayed twice on linksets with no item
2023-01-26 11:03:01 +01:00
Molkobain
a10ac7fdcb
N°5905 - Harmonize how linksets are displayed part I
...
* Always display a table and its actions to ease link creation
* Display linkset description in an alert block
2023-01-24 21:12:49 +01:00
Stephen Abello
e1ffa65d8b
N°3136 - Add creation and modification of n-n objects in object details ( #378 )
...
* 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
2023-01-18 13:35:48 +01:00
Pierre Goiffon
7305a30b50
N°3200 Remove "Filter list" icon
...
The link is still here but on objects total (see c693d03a )
2023-01-16 15:29:18 +01:00
Pierre Goiffon
25048ba0cc
N°3200 🎨 Replace !empty() by \utils::IsNotNullOrEmptyString
...
Thanks Molkobain !
2023-01-05 09:07:13 +01:00
Pierre Goiffon
4f7a1ea9da
N°3200 Datatable "filter list" icon : specific query for 1,n and n,n objects relations
...
This specific query passes attcodes list to display to UI.php, but this endpoint doesn't handle it yet. Adding this enhancements would require too much time for now (datatables legacy code), hopefully a refactoring work will be done soon and we'll get back to it !
Note that dedicated ContextTag is renamed from Search to ObjectSearch
2023-01-04 16:23:52 +01:00
Pierre Goiffon
6b23171d65
N°3200 New "Filter list" icon in datatables
...
Every datatables will open its query in a new UI.php?operation=search page
2023-01-04 16:23:52 +01:00
Molkobain
64146b6e1b
N°5655 - Add dedicated dict entries for bulk modify/delete actions on linksets
2022-12-20 09:43:25 +01:00
Molkobain
f09bd5fdff
N°5655 - Add icon to linkset bulk actions in case they are set as shortcut actions
2022-12-13 11:47:32 +01:00
Molkobain
af804a9dc1
N°5655 - Enable bulk modify/delete on linksets
2022-12-12 23:44:31 +01:00
Molkobain
8cced3a79e
N°5655 - Refactor of menu actions generation to reduce duplicated code
2022-12-12 17:25:48 +01:00
Molkobain
e5d67d2219
N°5655 - Small refactor for better reading
2022-12-06 14:07:15 +01:00
bdalsass
bdb29fd99a
Issue/5074 - Routage, Block UI relations, Links row actions ( #369 )
...
* 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
2022-11-23 16:10:34 +01:00
Molkobain
f5b216fd9a
N°5655 - Refactor object modification logic to a dedicated controller for both page / modal modes
2022-11-15 08:42:26 +01:00
Stephen Abello
1f3e91efae
Merge branch 'support/3.0' into develop
2022-08-10 14:09:50 +02:00
Stephen Abello
b43b2e9741
Remove padding between Dashlet/Preferences datatables and their parent panel
2022-08-10 14:07:38 +02:00
acognet
8b26b34f96
N°4690 - Deprecate "FilterCodes"
2022-05-13 10:28:53 +02:00
Eric Espie
81d285a143
CEX SDK V2:
...
* Pre and post actions
2022-03-28 09:43:46 +02:00
Molkobain
f4ecdf116a
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-03-09 19:55:35 +01:00
acognet
bceb570d84
N°4874 - Auto Refresh of attribute Dasboard
2022-03-08 15:31:41 +01:00
Pierre Goiffon
d437e2d662
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/displayblock.class.inc.php
# core/config.class.inc.php
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-backoffice-darkmoon-theme/module.combodo-backoffice-darkmoon-theme.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-cmdb-ticket/module.itop-bridge-cmdb-ticket.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-faq-light/module.itop-faq-light.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-structure/module.itop-structure.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2022-02-08 15:43:20 +01:00
Pierre Goiffon
b360514646
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/ui.extkeywidget.class.inc.php
# application/utils.inc.php
# approot.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 13:18:50 +01:00
Pierre Goiffon
45b5c39af7
N°3129 PHP 8.0 compat : code review modifications
...
Many thanks @Molkobain & @Hipska !
2022-01-31 16:41:35 +01:00
Pierre Goiffon
75dbad7406
N°3129 PHP 8.0 compat: Fix "Deprecated: Required parameter ... follows optional parameter ..."
...
* \SQLObjectQuery::PrepareSingleTable
* \HistoryBlock::GetRenderContent
* \MenuBlock::GetRenderContent
* \UILinksWidgetDirect::DisplayAsBlock
* \UILinksWidgetDirect::Display
* \UILinksWidgetDirect::DisplayEditInPlace
* \UIExtKeyWidget::AutoComplete
* \UIExtKeyWidget::DisplayFromAttCode
2022-01-28 17:01:07 +01:00
Molkobain
3bec96abe1
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# core/config.class.inc.php
# setup/itopdesignformat.class.inc.php
2022-01-27 16:09:22 +01:00
Molkobain
d89dc1aa4d
N°3824 - History: Remove deprecated APIs from 2.7 and older
2022-01-21 18:10:12 +01:00
acognet
4fdf8803a5
Remove deprecied function $oField->Render replaced by $oField->RenderExpression()
2022-01-21 11:51:56 +01:00
acognet
427ec288ef
N°4544 - Fix PopupMenuItem API not including item's JS / CSS files
2021-12-14 13:23:26 +01:00
Molkobain
0ed2388cf8
Rename "refresh action" param of datatables to match conventions
2021-12-10 14:55:51 +01:00
acognet
d7d430e2a3
N°3695 - Migrate module to new UIBlock system : Alarm Console
2021-12-07 09:48:52 +01:00
Stephen Abello
05301d4191
N°3835 Dashlets' Pill label security hardening
2021-12-02 09:57:26 +01:00
Stephen Abello
b6b17733bf
N°4491 Security hardening
2021-12-01 10:29:29 +01:00
Molkobain
bd52f4fefb
N°4468 - Add data-resource-id meta-data on all buttons
2021-11-22 15:44:27 +01:00
Stephen Abello
4b888a3805
N°4378 Restore keyboard shortcuts behavior for object details
2021-11-09 09:49:37 +01:00
acognet
89ea4adbce
N°4366 - RCSS in /pages/ajax.searchform.php on develop
2021-10-21 17:15:27 +02:00