Molkobain
bdfd956825
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# css/setup.css
# setup/setuppage.class.inc.php
2024-03-21 15:37:33 +01:00
Molkobain
da99a250bf
N°7075 - Add check for Content Security Policies (CSP) in the setup
2024-03-21 14:20:22 +01:00
Pierre Goiffon
dbd5ba0377
N°7302 Fix SetupUtilsTest::testHumanReadableSize
2024-03-13 09:56:31 +01:00
Pierre Goiffon
a337ef3d88
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
2024-03-13 09:27:06 +01:00
Pierre Goiffon
986c24d777
N°7302 Fix unit name in \SetupUtils::HumanReadableSize ( #626 )
2024-03-12 18:09:29 +01:00
Pierre Goiffon
a5efd981d8
N°7343 Catch ParseError when loading dict files in setup ( #615 )
2024-03-12 18:05:38 +01:00
Pierre Goiffon
aa53de467d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-02-14 11:39:42 +01:00
Pierre Goiffon
5d6c4939f6
N°7245 Bettor logs on RunTimeEnvironment::CallInstallerHandlers exceptions ( #606 )
2024-02-14 11:01:12 +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
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
880a824f2f
N°6562 Replace new DOMText() by \DOMDocument::createTextNode
...
Because init using constructor outputs a read only node, see https://www.php.net/manual/en/domelement.construct.php
Thanks @Hipska
See conversation in 734a788
2023-08-03 09:40:39 +02:00
Pierre Goiffon
7aa478d6ff
N°6562 💡 Fix comment
...
Thanks @Molkobain !
2023-08-02 10:35:30 +02:00
Pierre Goiffon
734a788340
N°6562 Fix DOMNode->textContent write
...
This attribute is read only
Causes layout issues on PHP 8.1.21 and 8.2.8
2023-08-01 14:22:56 +02:00
Eric Espie
6432678de9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# bootstrap.inc.php
# composer.json
# core/MyHelpers.class.inc.php
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-07-18 14:36:58 +02:00
Eric Espie
78396d8e4a
6548 - [ER] Hide DBHost and DBUser in log
2023-07-10 17:37:27 +02:00
Stephen Abello
9afc22bd8f
N°6123 - Add tests and comments
2023-07-07 09:29:15 +02:00
Pierre Goiffon
a010239efb
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-07-06 15:48:42 +02:00
Stephen Abello
246e4a9f50
N°6123 - Fix warnings when launching a backup on MariaDB > v10.6.1 with localhost dbhost
2023-07-06 09:28:01 +02:00
Pierre Goiffon
1824111de8
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-06-14 10:28:30 +02:00
Pierre Goiffon
5a0b5364d6
N°4698 setup/phpinfo.php : if no iTop installation then display a proper message instead of an exception ( #265 )
2023-06-14 10:18:38 +02:00
Molkobain
b1fd7716f6
Fix community-licenses.xml
2023-03-14 12:08:54 +01:00
Molkobain
ac7abb3049
Prepare iTop 3.0.3 release
...
* Increase constants version to 3.0.3
* Increase modules version to 3.0.3
* Update licenses file
2023-03-14 09:55:18 +01:00
Pierre Goiffon
03fb78c38c
N°6068 Setup : fix no formatting on error messages
2023-03-06 14:23:21 +01:00
Pierre Goiffon
976566ec71
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/setuppage.class.inc.php
2023-03-06 11:26:33 +01:00
Pierre Goiffon
d908827787
N°6016 Setup Wizard : fix MissingDependencyException message logged as html in setup.log
...
Was the case since e831d66b (commit for parent bug N°5090)
Now we are getting the text version in the log (and still the html one on screen)
The unattended install isn't concerned : it just prints back CheckResult returned by \SetupUtils::CheckSelectedModules, with the exception text message ($e->getMessage())
2023-03-06 11:24:46 +01:00
Molkobain
18ed5ed526
N°6019 - Increase PHP min version to 7.1.3 to enable dependencies update
2023-02-23 14:53:48 +01:00
Pierre Goiffon
bbf6476570
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-02-23 12:05:38 +01:00
Pierre Goiffon
94c4f8c929
N°6016 MissingDependencyException : better log message ( #355 )
...
The error displayed on screen was already improved (see #280 )
This commit improves the log message we can have for example by running unattended install.
2023-02-23 12:04:56 +01:00
Eric Espie
e1c28a5c22
Merge branch 'support/2.7' into support/3.0
2022-12-14 15:45:27 +01:00
Molkobain
7c2f8f4d93
N°5765 - Setup: Never cache folder permissions test response ( #374 )
2022-12-14 09:33:54 +01:00
Eric Espie
f66692d5cf
Merge branch 'support/2.7' into support/3.0
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
2022-12-07 13:44:54 +01:00
Pierre Goiffon
dad22f6f83
📄 Update Licenses
2022-12-07 11:04:33 +01:00
Pierre Goiffon
92a802947d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/wizardsteps.class.inc.php
2022-11-29 19:02:51 +01:00
xtophe38
ce5096a896
N°5758 Change setup test for GDPR consent ( #336 )
...
We were using SetupUtils::IsProductVersion, but this was blocking for certain packages like TeemIP standalone.
After this change we are now relying on a new method : \SetupUtils::IsConnectableToITopHub. It will check the iTop Hub Connector module presence instead.
2022-11-29 19:00:17 +01:00
Molkobain
5839d0e8e3
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/ItopTestCase.php
2022-11-08 21:14:50 +01:00
Romain Quetiez
cd010afb48
N°5704 - Unit tests on XML assembly ( #329 )
...
* Add a complete test suite for XML assembly
* Add a complete test suite for XML assembly
* Dispatched the test of GetDelta into real unit tests
* Add test for GetDelta on a rename operation
* Add comments on a weird case and a case on rename
* Update XML version after rebase from develop to support/2.7
* Fix phpdoc about coverage
* Remove ModelFactory::GetRootDirs and ItopTestCase::RecurseRmDir+CreateTmpDir+RecurseMkDir+RecurseCopy, that were meant to be introduced in iTop 3.0 and have been copied here by mistake, when rebasing the branch from develop to 2.7.0
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update test/setup/ModelFactoryTest.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-11-08 19:43:07 +01:00
Molkobain
e9c6549847
N°5535 - Fix PHP not validated version to 8.1 in iTop 3.0.2+
2022-09-20 13:17:59 +02:00
Pierre Goiffon
203cf17c67
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/setuputils.class.inc.php
# setup/wizardsteps.class.inc.php
2022-09-14 12:16:35 +02:00
xtophe38
7512f721e9
Setup wizard : use the ITOP_APPLICATION constant instead of hardcoded "iTop" string ( #335 )
...
* Update wizardsteps.class.inc.php
* Done as requested
* Fix typo for better readability/genericity
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-09-13 20:11:38 +02:00
Pierre Goiffon
bdfe3a3b35
N°5235 Tmp dir setup check is now non blocking (woops previous commit was incomplete) ( #301 )
2022-09-13 18:22:29 +02:00
Pierre Goiffon
5cf391c3bb
N°5235 - Add non blocking setup check : is tmp dir is writable ( #301 )
2022-09-13 18:20:35 +02:00
Stephen Abello
14facb4d6c
N°5462 Add a setup check to verify if directory-level configuration files (.htaccess and web.config) are used by the server
2022-08-24 16:44:11 +02:00
Stephen Abello
d78a25ee4e
N°5462 Add a setup check to verify if directory-level configuration files (.htaccess and web.config) are used by the server
2022-08-24 16:33:54 +02:00
Eric Espié
69749a5cbe
N°5375 - XML custo on Semantic field with hierarchy, breaks at compilation ( #323 )
2022-08-09 17:37:01 +02:00
Molkobain
28df2dad60
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# js/wizardhelper.js
2022-07-13 17:11:04 +02:00
Molkobain
d9dabf25da
PHPDoc
2022-07-13 17:03:01 +02:00
Benjamin Dalsass
f70f95c119
Update community licence 2.7.7 (script from git bash, not php execution)
2022-07-11 15:20:36 +02:00
Eric Espie
e105cc6d44
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.lock
# core/log.class.inc.php
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# lib/composer/autoload_real.php
# setup/licenses/community-licenses.xml
# setup/setuputils.class.inc.php
2022-07-11 09:23:18 +02:00