Pierre Goiffon
de32b96a83
💡 N°6172 PHPDoc typo
2023-04-18 08:48:53 +02:00
Pierre Goiffon
ebc5631d4e
N°6172 \utils::DoPostRequest : crash if curl php ext not available
...
First commit was made in 3fc663a but I forgot to throw an exception
2023-04-17 17:09:33 +02:00
Stephen Abello
cf74431543
N°3191 - Introduce summary cards for objects hyperlinks ( #476 )
2023-04-17 12:20:49 +02:00
Pierre Goiffon
3fc663a2c6
N°6172 \utils::DoPostRequest : remove fallback when curl not present
...
The CURL php extension is mandatory now (see a547358be4 )
Note a fix was proposed in the fallback in #459
2023-04-11 18:22:38 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Pierre Goiffon
53fbbcb536
💡 \utils::GetClassesForInterface Add comment about return array ordering
2023-03-17 12:08:48 +01:00
Thomas Casteleyn
fc97491708
N°6105 - Cleanup unnecessary use of dirname(__FILE__) ( #453 )
2023-03-14 18:51:01 +01:00
Molkobain
70cbaeac7a
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-24 22:42:06 +01:00
Molkobain
b174e4cab3
N°4517 - PHP 8.1: Fix deprecated notice for null value passed to string parameter of native PHP functions
2023-02-24 22:40:17 +01:00
Molkobain
029c01b13e
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-24 21:41:05 +01:00
Molkobain
61bd8b6bb4
N°4517 - PHP 8.1: Fix deprecated notice for null value passed to string parameter of native PHP functions
2023-02-24 21:40:10 +01:00
Pierre Goiffon
f6a4cdbd8f
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-23 15:18:06 +01:00
Pierre Goiffon
93aee5883b
N°6020 New \utils::EscapedHtmlDecode method
2023-02-23 15:17:46 +01:00
Eric Espie
8b18fd7cc0
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-14 09:35:59 +01:00
Molkobain
f7ee21f1d7
N°5279 - PHP 8.1: Migrate usages of deprecated strftime() function
...
In the end we made an adapter to keep using the strftime() format (https://www.php.net/manual/fr/function.strftime.php ); not to ease migration but because we couldn't use \DateTime::format().
We can't use \DateTime::format() directly on the whole filename as it would also format characters that are not supposed to be. eg. "__DB__-Y-m-d-production" would become "itopdb-2023-02-09-+01:00Thu, 09 Feb 2023 11:34:01 +0100202309", mind the "production" part being converted.
2023-02-10 22:15:18 +01:00
Eric Espie
99b7d66cf2
N°5944 - Wrong filter for utils::GetClassesForInterface()
2023-02-03 11:10:37 +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
Eric Espie
08d83478da
N°4756 - Ease extensibility for CRUD operations : Event Service - Revert default value for utils::GetClassesForInterface()
2022-12-15 13:54:51 +01:00
Molkobain
32297d93dd
N°5655 - Add utils::ToSnakeCase() method
2022-12-13 11:47:32 +01:00
Molkobain
8cced3a79e
N°5655 - Refactor of menu actions generation to reduce duplicated code
2022-12-12 17:25:48 +01:00
Eric Espie
c02f84969a
N°4756 - Ease extensibility for CRUD operations : Event Service
2022-12-08 08:21:13 +01:00
Molkobain
e5d67d2219
N°5655 - Small refactor for better reading
2022-12-06 14:07:15 +01:00
Molkobain
4ac0de5fff
N°5655 - Code format
2022-12-06 14:07:15 +01:00
Pierre Goiffon
c5e00194b7
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# pages/ajax.render.php
2022-11-29 18:22:35 +01:00
Pierre Goiffon
5efd45eafc
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# pages/ajax.render.php
2022-11-29 18:18:24 +01:00
Pierre Goiffon
d412a52fcc
N°4449 Fix FPD in dashboard export/import
2022-11-29 18:10:17 +01:00
Molkobain
a0a5037554
Merge remote-tracking branch 'origin/feature/5655-edit-object-in-modal' into develop
...
# Conflicts:
# pages/ajax.render.php
2022-11-23 15:59:23 +01:00
Eric Espie
4ff82f5c12
Fix CI
2022-11-21 09:54:36 +01:00
Eric Espie
e2e08351b0
Fix CI
2022-11-21 09:51:11 +01:00
Eric Espie
6585f717c5
N°4756 - Event service initialization
2022-11-16 21:03:01 +01:00
Molkobain
dcdce52608
N°5655 - Add new sanitization filters for routing
...
* utils::ENUM_SANITIZATION_FILTER_OPERATION filter to enable operation "namespaces" in current operations for better reading
* utils::ENUM_SANITIZATION_FILTER_ROUTE filter for upcoming auto routing
2022-11-15 08:42:26 +01:00
bdalsass
5157f511fc
N°5073 - Implements line actions in a datatable ( #337 )
...
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'add an element',
'icon_css_class' => 'fa-plus',
'css_class' => 'ibo-is-success',
'level' => 'secondary',
'on_action_js' => 'console.log(aData);',
],
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'css_class' => 'ibo-is-danger',
'level' => 'secondary',
'on_action_js' => 'console.log("You clicked the remove button");',
],
[
'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);',
],
];
* datatable row actions (update)
* datatable row actions (update)
* datatable row actions (add template role)
* datatable row actions (align actions)
* datatable row actions (change template factory make to make standard)
* datatable row actions (use trait to handle row actions)
* datatable row actions (row actions templates)
* datatable row actions (row actions templates)
* datatable row actions (row actions templates)
* datatable row actions (extends to static and form)
* datatable row actions (extends to static and form)
* datatable row actions (code review S)
* datatable row actions (code review S)
* datatable row actions (code review S)
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update templates/base/components/datatable/row-actions/handler.js.twig
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* datatable row actions (code review M)
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update application/utils.inc.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* datatable row actions (code review M2)
* datatable row actions (code review M3)
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-09-26 08:20:28 +02:00
Eric Espie
71464f6d0e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/cmdbobject.class.inc.php
# core/dbobject.class.php
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-09-19 09:45:08 +02:00
Pierre Goiffon
d5917299fc
N°5410 Fix PHP notice after removing autoloader
2022-08-16 16:58:58 +02:00
Molkobain
78a29ab3ca
N°5108 - Rename variable
2022-08-04 10:11:35 +02:00
Molkobain
86e1f165cd
Merge remote-tracking branch 'origin/develop' into feature/4517-from-dev
...
# Conflicts:
# CONTRIBUTING.md
# composer.lock
# core/designdocument.class.inc.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-07-28 10:30:25 +02:00
Molkobain
76062ca8b2
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-07-26 22:32:22 +02:00
Molkobain
a80cfb6b05
N°5302 - Code cleanup
2022-07-26 22:18:21 +02:00
Molkobain
6ee67a2a36
N°5108 - Fix variable name
2022-07-26 22:11:38 +02:00
Eric Espie
e91e53c0ec
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.lock
# datamodels/2.x/itop-oauth-client/datamodel.itop-oauth-client.xml
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-07-11 17:24:06 +02:00
Eric Espie
01ee91d003
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
...
* migration to iTop 3.0
2022-07-11 15:20:47 +02:00
bdalsass
33054d306d
N°5302 - Replace deprecated php strlen usages ( #308 )
2022-07-08 10:27:52 +02:00
Stephen Abello
65c6e99a3f
Fix typo/useless comment
2022-07-07 09:16:11 +02:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
Eric Espie
682ab44dea
Merge branch 'develop' into feature/faf_event_service
2022-06-30 14:22:52 +02:00
acognet
0b2510f6cc
N°4517 - PHP 8.1: Fix htmlentities
2022-06-29 09:17:25 +02:00
Molkobain
7dc4a2776b
N°4517 - PHP 8.1: Fix deprecated notice for null value passed to string parameter of native PHP functions
2022-06-28 16:34:35 +02:00
Pierre Goiffon
130b4b176f
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.lock
# lib/composer/autoload_classmap.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-06-28 16:00:54 +02:00
acognet
682f20bbba
N°5108 - Update embedded libs for PHP 8.0 (3.0 branch)
2022-06-28 11:24:47 +02:00