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
Pierre Goiffon
0915081f50
✅ ItopDataTestCase fix cached SQL queries with silo
2023-11-16 11:57:29 +01:00
Pierre Goiffon
a23d629e31
✅ ItopDataTestCase fix using non existing EventService (added in 3.1.0)
2023-11-16 11:23:07 +01:00
Pierre Goiffon
47ccd7589f
✅ Fix TriggerTest relying on hardcoded admin user id
2023-11-16 11:16:59 +01:00
Pierre Goiffon
7521fc3006
✅ N°6458 Tests : remove processIsolation
...
Was caused by cached User instances in UserRights + same login for each created User objects instances
2023-11-16 10:56:47 +01:00
Pierre Goiffon
c955fe00b7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# core/coreexception.class.inc.php
# core/userrights.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# tests/php-unit-tests/README.md
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:03:04 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Pierre Goiffon
a2b9583379
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-11-13 16:25:53 +01:00
Pierre Goiffon
77409eed99
🎨 DBObject small phpdoc fixes
2023-11-13 16:25:37 +01:00
Stephen Abello
09be84f69d
N°6908 - Security hardening
2023-11-13 11:19:02 +01:00
Romain Quetiez
d9bdcfeae3
✅ N°6658 - Fix regression: do not reset current user's profile cache
2023-11-10 15:57:08 +01:00
Pierre Goiffon
d725ba3d84
N°6765 Avoid behat scenario loading issues on portal modal ( #569 )
...
- New CombodoJsActivity API
- Replace existing calls in NiceWebPage (ready scripts)
- Add calls in ready block in portal object create template (used in both create and edit)
2023-11-10 15:10:37 +01:00
Molkobain
8a3d81c430
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-11-08 14:59:06 +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
cbb37f27d7
N°6866 - Fix issue when creating new fields in Request Template in French
2023-10-31 11:10:54 +01:00
Molkobain
e21dc4d21c
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-10-30 16:55:45 +01:00
Molkobain
a49a4e6c2b
N°6886 - Add OAuth tests folder to removable directories list
2023-10-30 16:54:28 +01:00
Romain Quetiez
8fa9336568
✅ Fix regression introduced with the optimization done in 15148f7, and seen only in the context of the CI
2023-10-27 11:21:56 +02:00
Romain Quetiez
15148f7d1d
✅ Fix regression introduced with the optimization done in 798cd10, and seen only if APC is enabled
2023-10-27 10:43:13 +02:00
Romain Quetiez
7e8589ba95
✅ Fix regression introduced with the optimization done in d641504. Cope with the fact that sometimes the admin account already exists, sometimes not.
2023-10-27 09:21:36 +02:00
Romain Quetiez
fba668207f
✅ Optimize tests execution time (test rework and defensive cleanup)
2023-10-26 21:35:52 +02:00
Romain Quetiez
798cd10d6b
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:23:47 +02:00
Romain Quetiez
442721bcb5
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:22:54 +02:00