Molkobain
dfd5a5bebc
N°7136 - Portal: Add JS API to enable attachments IDs retrieval in an object form
2024-01-11 14:14:58 +01:00
Pierre Goiffon
6724658181
Merge remote-tracking branch 'origin/support/3.1' into develop
...
# Conflicts:
# README.md
# datamodels/2.x/itop-core-update/dictionaries/hu.dict.itop-core-update.php
2024-01-04 09:03:14 +01:00
Pierre Goiffon
379062f1f7
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
Most of the conflicts are caused by HU translations (N°7077 / #584 )
# Conflicts:
# css/setup.css
# datamodels/2.x/authent-cas/dictionaries/hu.dict.authent-cas.php
# datamodels/2.x/authent-ldap/dictionaries/hu.dict.authent-ldap.php
# datamodels/2.x/authent-local/dictionaries/hu.dict.authent-local.php
# datamodels/2.x/combodo-backoffice-darkmoon-theme/dictionaries/hu.dict.combodo-backoffice-darkmoon-theme.php
# datamodels/2.x/combodo-db-tools/dictionaries/hu.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/hu.dict.itop-attachments.php
# datamodels/2.x/itop-backup/dictionaries/hu.dict.itop-backup.php
# datamodels/2.x/itop-bridge-cmdb-ticket/dictionaries/hu.dict.itop-bridge-cmdb-ticket.php
# datamodels/2.x/itop-change-mgmt-itil/dictionaries/hu.dict.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/dictionaries/hu.dict.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/dictionaries/hu.dict.itop-config-mgmt.php
# datamodels/2.x/itop-config/dictionaries/hu.dict.itop-config.php
# datamodels/2.x/itop-core-update/dictionaries/hu.dict.itop-core-update.php
# datamodels/2.x/itop-faq-light/dictionaries/hu.dict.itop-faq-light.php
# datamodels/2.x/itop-hub-connector/dictionaries/hu.dict.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/dictionaries/hu.dict.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/hu.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-oauth-client/hu.dict.itop-oauth-client.php
# datamodels/2.x/itop-portal-base/dictionaries/hu.dict.itop-portal-base.php
# datamodels/2.x/itop-portal/dictionaries/hu.dict.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/dictionaries/hu.dict.itop-problem-mgmt.php
# datamodels/2.x/itop-request-mgmt-itil/dictionaries/hu.dict.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/dictionaries/hu.dict.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/dictionaries/hu.dict.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/dictionaries/hu.dict.itop-service-mgmt.php
# datamodels/2.x/itop-structure/dictionaries/hu.dict.itop-structure.php
# datamodels/2.x/itop-tickets/dictionaries/hu.dict.itop-tickets.php
# dictionaries/hu.dictionary.itop.core.php
# dictionaries/hu.dictionary.itop.ui.php
# dictionaries/ui/components/breadcrumbs/hu.dictionary.itop.breadcrumbs.php
# dictionaries/ui/components/datatable/hu.dictionary.itop.datatable.php
# dictionaries/ui/components/field/hu.dictionary.itop.field.php
# dictionaries/ui/components/global-search/hu.dictionary.itop.global-search.php
# dictionaries/ui/components/input/hu.dictionary.itop.input.php
# dictionaries/ui/components/quick-create/hu.dictionary.itop.quick-create.php
# dictionaries/ui/layouts/activity-panel/hu.dictionary.itop.activity-panel.php
# dictionaries/ui/layouts/navigation-menu/hu.dictionary.itop.navigation-menu.php
# dictionaries/ui/layouts/object-details/hu.dictionary.itop.object-details.php
# dictionaries/ui/layouts/page-content/hu.dictionary.itop.page-content.php
# dictionaries/ui/layouts/tab-container/hu.dictionary.itop.tab-container.php
# dictionaries/ui/pages/errorpage/hu.dictionary.itop.errorpage.php
# dictionaries/ui/pages/preferences/hu.dictionary.itop.preferences.php
# tests/php-unit-tests/unitary-tests/setup/DBBackupTest.php
2024-01-03 17:30:57 +01:00
Stephen Abello
05db99aa69
N°2039 - Add iTop notifications to newsroom ( #590 )
...
* 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 >
2023-12-22 12:02:19 +01:00
Benjamin Dalsass
34f0053db7
N°7059 - Symfony 6.4 - Add missing namespaces to match PSR-4 convention ( #589 )
2023-12-21 10:18:11 +01:00
Pierre Goiffon
f84e2060be
N°7077 Hungarian translations based on iTop 3.0.2-1 ( #584 )
...
Many thanks to Csaba TARJÁNYI (@tacsaby) !
2023-12-20 15:52:41 +01:00
Pierre Goiffon
afbdff928d
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-19 18:42:11 +01:00
Pierre Goiffon
e007e09155
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# pages/ajax.render.php
2023-12-19 18:41:57 +01:00
Pierre Goiffon
4ee70cb95a
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/itopwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-hub-connector/hubconnectorpage.class.inc.php
# pages/ajax.document.php
# pages/ajax.render.php
# sources/application/TwigBase/Controller/Controller.php
# webservices/export-v2.php
2023-12-19 18:38:45 +01:00
Pierre Goiffon
9865bf0779
N°4368 add sending X-Content-Type-Options HTTP header
...
Replace in consumers the \WebPage::add_xframe_options call by \WebPage::add_http_headers
2023-12-19 18:25:26 +01:00
Eric Espie
4a164f9c01
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-12 17:16:58 +01:00
Eric Espie
e748d72c03
N°7054 - Rework the UpdateImpactedItems calls on Tickets
2023-12-12 10:40:48 +01:00
Thomas Casteleyn
62d7e10257
N°7055 - Apply better default value for portal copy object link ( #582 )
2023-12-11 11:40:59 +01:00
Benjamin Dalsass
1c09a7c38e
N°7034 - Symfony 6.4 - FILTER_REQUIRE_ARRAY or FILTER_FORCE_ARRAY flags with InputBag::filter()
2023-12-08 15:13:07 +01:00
Molkobain
45a806ac77
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-08 08:50:37 +01:00
Molkobain
4846532368
N°7047 - Fix regression from 7b59df21, portal themes others than "bootstrap" and "portal" not loaded due to change in expected path (now relative)
2023-12-08 08:28:43 +01:00
Molkobain
427646a0c3
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-07 12:40:00 +01:00
Molkobain
90d28c1f90
N°7039 - Fix incorrect retrieval of SecurityHelper due to previous merge
2023-12-07 12:38:16 +01:00
Molkobain
34e6e921ec
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-06 16:32:07 +01:00
Molkobain
66d1ffa00f
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-12-06 16:31:03 +01:00
Molkobain
181c180824
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-12-06 16:28:27 +01:00
Molkobain
5d38d22c50
N°7023 - Fix regression from the initial fix that throw exceptions even for ext. keys set programatically (eg. ComputeValues), which we still want to allow
2023-12-06 16:27:37 +01:00
bdalsass
a41c58ebb4
N°7034 - Symfony 6.4 - Not passing FILTER_REQUIRE_ARRAY or FILTER_FOR… ( #581 )
...
* change RequestManipulatorHelper read param function signature (add filter flag)
* add FILTER_REQUIRE_ARRAY flag when expecting an array with read param function
* add test for the read param function
2023-12-06 14:04:55 +01:00
Benjamin Dalsass
beb015b082
Revert "N°6981 - Symfony 6.4 - Remove deprecated calls - Approval-base"
...
This reverts commit 4dfd9b062e .
2023-12-06 08:37:29 +01:00
Benjamin Dalsass
4dfd9b062e
N°6981 - Symfony 6.4 - Remove deprecated calls - Approval-base
2023-12-05 17:03:49 +01:00
bdalsass
27ce51ab07
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 ( #580 )
...
* 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
2023-12-05 13:56:56 +01:00
Molkobain
75f8c428b3
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-04 23:21:58 +01:00
Molkobain
c8d2cff0ff
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-12-04 23:19:22 +01:00
Molkobain
974c155855
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-12-04 23:16:35 +01:00
Molkobain
c9bb628c30
N°7023 - Improve debug message on portal \DBObject::CheckChangedExtKeysValues() call
2023-12-04 22:36:09 +01:00
Molkobain
be699b4358
🔖 Increase version number to 3.1.1
2023-11-28 19:56:14 +01:00
Molkobain
8c4c2b2ee4
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-11-24 17:27:23 +01:00
Molkobain
2d96cf34d4
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/css/portal.css
2023-11-24 17:25:11 +01:00
Molkobain
bed1db9c51
N°938 - Update compiled portal stylesheet in minified version
2023-11-24 17:07:02 +01:00
Molkobain
7e3e8e43a8
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/css/portal.css
# datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig
2023-11-24 16:45:04 +01:00
Molkobain
7b59df216b
N°7005 - Fix portal stylesheets not being re-compiled when outdated
...
Stylesheets should remain as a relative path in the portal configuration, only when consumed by the TWIG should they become URLs
Note that if not absolute, URLs will be append to ITOP/pages/
2023-11-24 16:40:58 +01:00
Molkobain
cb5eab812e
N°938 - Update compiled portal stylesheet
2023-11-24 16:22:36 +01:00
Anne-Cath
8dff590fe2
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-11-24 15:23:45 +01:00
Anne-Cath
675affb7f2
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/css/portal.scss
2023-11-24 15:21:39 +01:00
Anne-Cath
484a0bb6b6
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-11-24 15:19:05 +01:00
Anne-Catherine
c9b73a7fe2
N°938 - Improve print of portal object page and portal dashboard page ( #537 )
...
N°938 - Improve print of portal object page and portal dashboard page
2023-11-24 15:17:42 +01:00
bdalsass
f0ce091809
N°6933 - Symfony 6.4 - Remove deprecated calls ( #577 )
...
* N°6933 - SF 6.4 - Remove deprecated calls
- BrowseBrickController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- AggregatePageBrickController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- CreateBrickController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- ManageBrickController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- ObjectController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- SessionMessageController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- UserProfileBrickController (services access)
* N°6933 - SF 6.4 - Remove deprecated calls
- AbstractController (remove getSubscribedServices override, add setter for router service injection)
* Fix SessionMessageController Call to a member function AddMessage() on null
* Fix depreciation on Request::HEADER_X_FORWARDED_ALL constant in index.php
Chose to move the protection to the yaml config instead as it is possible since Symfony 5.2
Also removed default support for the $_SERVER['TRUSTED_PROXIES'], seems too untrusty. Use TRUSTED_PROXIES env var instead !
See https://jolicode.com/blog/symfony-reverse-proxies-and-ip-protection
* ✏️ N°6933 - SF 6.4 - Remove deprecated calls
- AbstractController (typo)
* N°6933 - SF 6.4 - Remove deprecated calls
- CreateBrickController (remove return type)
* Revert "Fix depreciation on Request::HEADER_X_FORWARDED_ALL constant in index.php"
This reverts commit be4daef79a .
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/AbstractController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/BrowseBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/BrowseBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/ObjectController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/AggregatePageBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/UserProfileBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/UserProfileBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/UserProfileBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/SessionMessageController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Controller/BrowseBrickController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* N°6933 - SF 6.4 - Remove deprecated calls
- ALl controllers (php doc and parameters names)
---------
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-11-24 08:55:21 +01:00
Anne-Cath
fbd69f6d3a
Merge remote-tracking branch 'origin/support/3.1' into develop
...
# Conflicts:
# datamodels/2.x/itop-config-mgmt/dictionaries/zh_cn.dict.itop-config-mgmt.php
2023-11-23 14:30:27 +01:00
Anne-Catherine
5283df5ae9
N°3767 - Impact analysis: Display filtering box on CIs list and groups ( #473 )
...
N°3767 - Impact analysis: Display filtering box on CIs list and groups
2023-11-23 14:06:10 +01:00
Eric Espie
f736634c3e
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-11-23 11:27:04 +01:00
Pierre Goiffon
ea845dc6eb
N°6228 - CheckToWrite() propagation to target objects based on with_php_constraint property
2023-11-23 11:14:37 +01:00
Stephen Abello
982b3aa5f3
Merge branch 'support/3.1' into develop
...
# Conflicts:
# dictionaries/ui/application/bulk/zh_cn.dictionary.itop.bulk.php
# dictionaries/zh_cn.dictionary.itop.core.php
2023-11-21 10:26:15 +01:00
Stephen Abello
47e7c35c2b
Merge branch 'support/3.0' into support/3.1
...
# Conflicts:
# dictionaries/cs.dictionary.itop.core.php
# dictionaries/da.dictionary.itop.core.php
# dictionaries/de.dictionary.itop.core.php
# dictionaries/es_cr.dictionary.itop.core.php
# dictionaries/hu.dictionary.itop.core.php
# dictionaries/it.dictionary.itop.core.php
# dictionaries/ja.dictionary.itop.core.php
# dictionaries/nl.dictionary.itop.core.php
# dictionaries/pl.dictionary.itop.core.php
# dictionaries/pt_br.dictionary.itop.core.php
# dictionaries/ru.dictionary.itop.core.php
# dictionaries/sk.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.core.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# sources/Application/Helper/ExportHelper.php
2023-11-21 10:24:29 +01:00
Stephen Abello
e22220b4fe
Merge branch 'support/2.7' into support/3.0
...
# Conflicts:
# core/csvbulkexport.class.inc.php
# core/excelbulkexport.class.inc.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-11-21 09:47:14 +01:00
Stephen Abello
b10bcb976d
N°6951 - Security hardening
2023-11-21 09:42:11 +01:00