Pierre Goiffon
8ef04bedf2
N°7143 Move datamodels/2.x dict files to dictionaries subdir
...
New phpunit method to ensure it won't happen again
2024-01-15 15:35:15 +01:00
Pierre Goiffon
9eeb4b8751
N°7143 itop-hub-connector dic files: fix buggy br tags
2024-01-15 15:35:15 +01:00
Pierre Goiffon
ae3d0f9444
N°7143 Fix bytes unit in attachments EN dict
2024-01-15 15:35:15 +01:00
Molkobain
2ed0666c3b
N°7085 - Remove comment about annotation as on support/3.0 branch not using runTestsInSeparateProcesses is the standard
2024-01-12 10:53:24 +01:00
odain
a61b117f71
Merge branch 'support/2.7' into support/3.0
2024-01-12 08:56:25 +01:00
odain
9830178a47
N°7085 - ci restore runTestsInSeparateProcesses
2024-01-12 08:36:15 +01:00
odain
83ac219ec9
Merge branch 'support/2.7' into support/3.0
2024-01-12 08:19:05 +01:00
odain-cbd
c140ebcb6b
N°7085 - Fix infinite loop in login page until fatal error occurs ( #592 )
...
* N°7085 - login page infinite loop until fatal error- add Config->AddAllowedLoginTypes
* N°7085 - reproduce issue via a test
* N°7085-fix infinite loop
* N°7085 - ci: fix config file rights in tearDown
* N°7085 - ci: fix config file rights in tearDown (again)
* N°7085 - ci: fix config file content
* N°7085 - ci : add runTestsInSeparateProcesses
* Update core/config.class.inc.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* N°7085 - exit -1 + enhance log message
* PR feedbacks from Romain regarding LoginTest annotations
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-01-12 08:13:40 +01:00
Molkobain
b181914d25
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-01-11 22:04:48 +01:00
Molkobain
7a0a4e377b
N°7137 - Fix regression from 7fffbb60, missing "default_value" parameter
2024-01-11 16:40:40 +01:00
Thomas Casteleyn
7fffbb60e9
N°7137 - DataSynchro: Remove "Organization" as default value for SynchroReplica->dest_class ( #551 )
2024-01-11 15:38:02 +01:00
Pierre Goiffon
b8892e9651
🔖 Prepare 3.0.4 version
3.0.4
2024-01-05 17:34:39 +01:00
Pierre Goiffon
8cde0ce5c5
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# approot.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-oauth-client/module.itop-oauth-client.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
2024-01-05 17:26:28 +01:00
Pierre Goiffon
2fd9523c16
🔖 Prepare 2.7.10 version
2.7.10
2024-01-05 15:50:41 +01:00
Pierre Goiffon
48c4e2d13d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# core/config.class.inc.php
2024-01-05 10:58:51 +01:00
Pierre Goiffon
a4f6f6e877
N°4368 Fix CORB blocking regression ( #598 )
...
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 !
2024-01-05 10:41:18 +01:00
Pierre Goiffon
6042e7f74d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/post-build-integration-tests/SetupCssIntegrityChecklistTest.php
# tests/php-unit-tests/unitary-tests/core/CMDBSource/CMDBSourceTest.php
2024-01-03 10:43:41 +01:00
Molkobain
94c604a6af
N°3062 - Fix setup.css compilation test to ensure that it is versioned correctly.
2023-12-21 12:00:26 +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
6995a3c641
N°6889 backup mysqldump call : restore possibility to connect using socket protocol ( #591 )
...
With previous fix (N°6123) we forced to use the tcp protocol each time. This was blocking for users wanting to connect using the socket protocol on localhost.
Now for localhost we will :
- send both port and protocol arguments if the `db_host` config parameter does contain a port
- don't send any of the port or protocol arguments if `db_host` doesn't contain a port
2023-12-20 15:19:50 +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
Pierre Goiffon
f63f3bb547
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-12-08 17:20:48 +01:00
Pierre Goiffon
d5449cca42
💡 iTopMutex: add link to mysql doc
2023-12-08 17:20:37 +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
Molkobain
974c155855
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-12-04 23:16:35 +01:00
Pierre Goiffon
99d69493d1
N°7023 - Update tests so that we are now checking negative ext. keys
2023-12-04 22:36:26 +01:00
Molkobain
c9bb628c30
N°7023 - Improve debug message on portal \DBObject::CheckChangedExtKeysValues() call
2023-12-04 22:36:09 +01:00
Molkobain
08e8d15d78
N°7023 - Fix check to write error when adding a contact on a new user request on the end-users portal
2023-12-04 22:35:07 +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
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
Pierre Goiffon
6f1de11c59
N°6976 Fix DeprecatedCallsLog error handler never set ( #576 )
...
Caused by N°6274 (disabling error handler when running phpunit)
There is now a test testing the handler is really fixed when not in the phpunit context
Also a TRACE log is made on setting the handler
2023-11-23 15:54:10 +01:00
Molkobain
e02b6ee14a
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-11-23 14:25:16 +01:00
Molkobain
3b2da39469
N°6989 - Security hardening
2023-11-22 18:02:50 +01:00
odain
c5b43f3157
Merge branch 'support/2.7' into support/3.0
2023-11-22 11:10:06 +01:00
odain
fc22d91232
N°6949 - Run subset of itop core unit tests after the setup when validating a module github code
2023-11-22 10:14:58 +01:00
Pierre Goiffon
3068a6a360
N°6951 Fix autoloader
2023-11-21 11:01:16 +01:00
Stephen Abello
083a0b79bf
N°6951 - Security hardening
2023-11-21 10:08:46 +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
Pierre Goiffon
154a20b757
💡 Fix ItopCustomDatamodelTestCase since phpdoc
...
See https://docs.phpdoc.org/guide/references/phpdoc/tags/since.html#since
2023-11-21 09:21:30 +01:00
Pierre Goiffon
79c24dfc96
N°6975 Fix ItopCustomDatamodelTestCase removing symlinks flag ( #574 )
2023-11-21 09:20:11 +01:00
Pierre Goiffon
b9d960e89e
✅ N°6458 Fix ItopDataTestCase::$bIsUsingSilo visibility
2023-11-16 15:35:04 +01:00
Pierre Goiffon
8540ec644a
✅ N°6458 Improve ItopDataTestCase tests speed
...
What was measured :
- 1'54 with previous code (always doing a reset in tearDown)
- 1'44 without any ResetMetaModelQueyCacheGetObject call (but 3 tests are failing)
- 1'44 with new optin mechanism + don't call Logoff if no current user logged
2023-11-16 15:23:18 +01:00
Pierre Goiffon
5b19593ede
📝 README tests : add prerequisites
2023-11-16 14:38:15 +01:00