Pierre Goiffon
2fd9523c16
🔖 Prepare 2.7.10 version
2.7.10
2024-01-05 15:50:41 +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
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
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
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
d5449cca42
💡 iTopMutex: add link to mysql doc
2023-12-08 17:20:37 +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
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
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-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
Molkobain
3b2da39469
N°6989 - Security hardening
2023-11-22 18:02:50 +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
Stephen Abello
b10bcb976d
N°6951 - Security hardening
2023-11-21 09:42:11 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Pierre Goiffon
77409eed99
🎨 DBObject small phpdoc fixes
2023-11-13 16:25:37 +01:00
Anne-Catherine
83a70daf68
N°6887 - Fix excessive OQL requests to display user's grant matrix ( #564 )
...
* N°6887 - Fix excessive OQL requests to display user's grant matrix
* N°6887 - Rename variable and add PHPDoc
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-11-08 14:57:28 +01:00
Molkobain
a49a4e6c2b
N°6886 - Add OAuth tests folder to removable directories list
2023-10-30 16:54:28 +01:00
Romain Quetiez
7419749ba6
✅ Prerequisites for boosting tests
2023-10-26 20:51:28 +02:00
Romain Quetiez
037dfe1df6
✅ Optimize tests execution time
2023-10-25 17:51:12 +02:00
Romain Quetiez
0b26d45014
✅ Prerequisites for boosting tests
2023-10-25 17:50:41 +02:00
Molkobain
4fd8177165
N°3715 - Fix unit tests
2023-10-23 14:55:06 +02:00
Anne-Catherine
a2cdf214f0
N°3715 - Export above 1000 entries ignore obsolete data from user preference ( #468 )
...
* N°3715 - Export above 10000 entries ignore obsolete data from user preference
2023-10-20 17:02:16 +02:00
Anne-Catherine
013173019f
N°2909 - Search on Enum, Date, TagSet,... with index fails ( #496 )
2023-10-20 16:45:35 +02:00
Stephen Abello
9469681a0c
N°6777 - Security hardening
2023-10-17 09:12:40 +02:00
Pierre Goiffon
c72cb7e70e
N°6606 security hardening
2023-10-13 17:15:37 +02:00
Pierre Goiffon
9df92665e0
N°6606 Backport of utils::ENUM_SANITIZATION_FILTER_* constants
...
Were introduced in 3.0.0, but not added to the support/2.7 branch
2023-10-13 17:10:35 +02:00
Molkobain
8ecebee511
✅ PHP unit tests: Fix typo for "final private" methods as they can't be both
2023-09-20 16:11:39 +02:00
Pierre Goiffon
35cd965360
N°6629 Update ci_description php_version
2023-09-19 12:25:40 +02:00
Pierre Goiffon
e5dd51f637
N°6600 Portal download attachment : don't display anymore SQL query on attachment not found error ( #525 )
2023-09-19 09:54:43 +02:00
Molkobain
0a6c82dfe1
N°6752 - PHP unit tests: Fix typo in postbuild_integration.xml.dist
2023-09-19 08:37:46 +02:00
Molkobain
24c0f4950f
Add missing .htaccess / web.config files in .gitignore for /extensions folder
2023-09-18 15:26:06 +02:00
Molkobain
d4dbbc59d4
N°6754 - PHP unit tests: Add local PHPUnit XML files to .gitignore
2023-09-18 15:23:52 +02:00
Molkobain
dc0cd44c79
N°6752 - PHP unit tests: Migrate usages of unitestautoload.php to composer autoloader
2023-09-18 15:14:44 +02:00
odain
6c6131ce03
N°5491 - test enhancement to reduce false positive
2023-09-15 10:07:42 +02:00
odain-cbd
e76728b2bf
N°5491 - Inconsistent dictionnary entries regarding arguments to pass to Dict::Format-test first ( #545 )
2023-09-13 12:02:49 +02:00
Pierre Goiffon
e946fc65fc
✅ N°6709 New ItopTestCase::RequireOnceCurrentModuleFile
2023-09-07 14:38:19 +02:00
Pierre Goiffon
0d8ff7bbac
✅ N°6629 Set commit tests back to Mysql
...
For now we have perf issues on Jenkins with MariaDB (see N°6694)
2023-09-04 10:25:41 +02:00
Anne-Catherine
bf768311c2
N°5136 - "Select All objects" add obsolete objects even if the parameter show obsolete data is not activated ( #467 )
2023-08-31 15:13:20 +02:00
Molkobain
a8c689c6c0
N°6436 - Add unit test to ensure that we don't lose an API during merge between branches
2023-08-18 09:55:45 +02:00
Molkobain
1990ccb5d8
N°6436 - Move interfaces enumeration from 1 line to 1 line / interface (and re-ordered them) for easier merges in newer branches
2023-08-18 09:52:55 +02:00
Molkobain
e107be56e4
N°6097 - Tests: Fix missing hook entry in PHPUnit XML file that led to compiled environment being re-build for each test case
2023-08-18 09:51:15 +02:00
Molkobain
ed6df77cbb
N°6097 - Tests: Optimize performances by creating custom env. only once and re-using it across test classes
2023-08-10 15:45:39 +02:00
Molkobain
1ad28312ec
N°6097 - Tests: Introduce autoloader for "utility" classes and move them to a sub-folder for better organization as folder was still messy
...
Note that unittestautoload.php is now useless. We just keep for now until everything is migrated (projects / branches / modules)
2023-08-10 15:45:39 +02:00
Molkobain
f002aa04cd
N°6097 - Tests: Enable PHP unit tests on a custom DataModel
2023-08-10 15:45:39 +02:00
Molkobain
b86d70623e
N°6097 - Tests: Temporarily add test case for the new ItopCustomDatamodelTestCase class
2023-08-10 15:45:39 +02:00
Molkobain
fe3467309d
N°6097 - Tests: Refactor base test classes for better extensibility
2023-08-10 15:45:39 +02:00
Molkobain
851ab9c356
N°6097 - Add \utils::GetDataPath() method to avoid duplicating manual path build
2023-08-10 15:45:39 +02:00