Eric Espie
59cd489e72
N°6252 - Make designer itop 3.1 compatible - Fix deprecated calls of opendir() with null value
2023-05-16 14:06:01 +02:00
Pierre Goiffon
4b9b0a91a9
N°6307 Fix alert when caselog filled and submitting form
...
Regression was introduced in 8dc7d68b
Temporary fix, as the alert is caused by activity-panel.js which is disabled only if another handler is registered before 🤯 As a temporary fix I add an empty handler at the same place as the one that was there before, but we need a better way to disable activity-panel.js handler !
2023-05-16 12:14:26 +02:00
vdumas
a21def5329
N°4010 - Configuration file overwritten - fine tune messages
2023-05-16 12:06:26 +02:00
vdumas
55f8efe0db
N°4010 - Configuration file overwritten - fine tune messages
2023-05-16 12:06:26 +02:00
Eric Espie
0cc28b42b2
✅ Move EventService init to Metamodel::Startup() for unit tests
2023-05-16 10:23:01 +02:00
Anne-Catherine
a98fab8f66
N°6240 - Improve display of picture in read or edit mode ( #484 )
2023-05-15 16:12:26 +02:00
vdumas
bf21481bf6
N°6212 - Replace 'case logs' by 'logs' in naming of ActionEmail for TriggerOnObjectMention
2023-05-15 12:32:31 +02:00
Eric Espie
cda51c67c5
Fix warning
2023-05-15 11:46:25 +02:00
Eric Espie
64264eb7ed
Move event declaration where the object is defined (Fix undefined constant)
2023-05-15 10:42:58 +02:00
Eric Espie
940118967c
Move event declaration where the object is defined
2023-05-15 09:33:53 +02:00
vdumas
a647c235c3
N°1350 - Audit domains: add description as complementary name
2023-05-15 09:27:02 +02:00
vdumas
752ac5a469
N°5971 - Allow changing the Org of a Person having Portal User without allowed orgs
2023-05-15 08:54:19 +02:00
vdumas
c61faf453c
N°5971 - Prevent changing the Org of a Person having Portal User without the new Org allowed
2023-05-12 18:24:46 +02:00
Pierre Goiffon
b71cd2182f
N°1150 Add value checks in MultipleChoicesField and SelectObjectField
...
Now current value is checked against list of possible values
2023-05-12 10:59:33 +02:00
Pierre Goiffon
7c594db4b9
N°1150 AtributeCustomFields : FromJSONToValue is now delegated to the handler
...
Method was always returning null before
2023-05-12 10:58:43 +02:00
Pierre Goiffon
cca27674d0
✅ ItopDataTestCase : extract UR params to a method to allow overrides
2023-05-12 10:58:43 +02:00
Eric Espie
f426626b9a
N°6299 - ✅ DBUpdate regression in 3.1 - Fix unit tests
2023-05-12 09:09:39 +02:00
Eric Espie
5dc80f31f5
N°6299 - DBUpdate regression in 3.1 when setting a field with same value in the concerned object
2023-05-11 16:16:49 +02:00
denis.flaven@combodo.com
7fe565c4fb
Merge branch 'feature/6133-add-extra-files-to-backup-and-restore' into develop
2023-05-11 14:41:02 +02:00
denis.flaven@combodo.com
08ebac1b5c
Fix PR remarks
2023-05-10 17:42:50 +02:00
vdumas
380723056a
N°5559 - Obsolete replica locks object edition - fix default param value
2023-05-10 10:24:12 +02:00
Stephen Abello
2f20cf52f3
N°6219 Fix issues in dictionary entries
2023-05-10 10:08:18 +02:00
Stephen Abello
5219541b74
N°6154 Fix some classes names hardcoded in dict entries and calls MetaModel GetName instead of hardcoded dict entry
2023-05-10 10:03:02 +02:00
Pierre Goiffon
4695511b46
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-05-09 15:37:05 +02:00
odain
0b5bf7bf6f
N°6299 - DBUpdate regression in 3.1 when setting a field with same value in the concerned object - fix temporarly ci until fix comes
2023-05-09 14:51:26 +02:00
Pierre Goiffon
cdcc069099
Fix typo in exception message
...
Regression introduced in fe179079 in support/3.0 branch and upwards
2023-05-09 14:02:02 +02:00
Vincent Dumas
5c252849fa
N°5559 - Prevent obsolete replica to lock iTop object ( #376 )
...
* N°5559 prevent obsolete replica to lock iTop object
* N°5559 - new config param for ignoring obsolete replica
* N°5559 - new config param for ignoring obsolete replica (2)
2023-05-09 11:28:44 +02:00
Eric Espie
9c50f0d072
Fixed regression due to typo
2023-05-05 17:09:10 +02:00
odain
b4f517b03b
Merge branch 'support/3.0' into develop
2023-05-05 15:57:04 +02:00
odain
8c639fc23a
N°5753 - add config parameter allow_rest_services_via_tokens to bypass rest secure profile option
2023-05-05 15:53:32 +02:00
Anne-Catherine
f29e748baa
N°6265 - Too many call to current person in database ( #488 )
2023-05-05 15:08:48 +02:00
Eric Espie
f1d1aa8833
Fixed regression due to forcing camel case names in operation methods, now allow both camel case and snake case
2023-05-05 14:55:45 +02:00
bdalsass
b9cfb62d1a
N°6251 - 1:n - Actions must not be proposed to user not allowed ( #491 )
2023-05-05 14:28:37 +02:00
odain
da5a825c7e
N°6171 - Password Expiration: can expire mode has no effect on user who have never changed their password
2023-05-05 11:37:44 +02:00
Pierre Goiffon
d10e2ac25a
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-05-05 10:17:10 +02:00
Pierre Goiffon
b9230ad402
N°6274 DeprecatedCallsLogTest : replace expectException deprecated calls
...
Message was : Support for using expectException() with PHPUnit\Framework\Error\Warning is deprecated and will be removed in PHPUnit 10. Use expectWarning() instead.
2023-05-05 10:16:56 +02:00
Pierre Goiffon
436e6b80db
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# tests/php-unit-tests/ItopTestCase.php
2023-05-05 09:45:02 +02:00
Pierre Goiffon
959ac7e3be
N°6274 DeprecatedCallsLogTest : fix expected exception mismatch in PHP 8.0+
...
Undefined offset notice was changed to a warning in PHP 8.0... Also message was changed :(
2023-05-05 09:13:03 +02:00
Molkobain
53e2d1103a
Improve PHPDoc and type hints
2023-05-04 23:16:14 +02:00
Molkobain
8dc7d68b8c
N°5890 - Use leave handler in backoffice forms to better handle leave confirmation message with multiple forms in a single page
2023-05-04 22:15:10 +02:00
Molkobain
bb46875679
N°5890 - Refactor leave handler to a global helper (not portal only)
2023-05-04 22:15:10 +02:00
Molkobain
1271bb31cb
Fix "Syntax error, unrecognized expression" during object editing due to object class being already JSON encoded
2023-05-04 22:15:09 +02:00
Pierre Goiffon
1884596ecd
N°6274 Fix log.class.inc.php crashing cause cannot load ItopTestCase class
...
Now the constant name is defined in approot
2023-05-04 17:34:14 +02:00
Pierre Goiffon
584cfa8cbf
N°6274 Fix PHP Notices not caught in ItopDataTestCase PHPUnit
...
This was caused by the set_error_handler() done in DeprecatedCallsLog during startup
Now we are :
* not registering the handler if a PHPUnit test is running (based on a constant set in ItopTestCase::setUp)
* on registration only do it for the required notices
2023-05-04 17:08:47 +02:00
BenGrenoble
ae8012c75f
N°4577 - Move service dependencies from "itop-bridge-cmdb-ticket" to another module
...
Add two more bridge for flexibilty and teemip needs
2023-05-04 15:42:51 +02:00
Benjamin Dalsass
34f3b92e2e
N°5916 - Generic message on Link Uniqueness rules
...
Add unit test
2023-05-04 15:24:14 +02:00
Pierre Goiffon
881aa87ad2
N°6270 Remove empty model.*.php files
...
Not necessary anymore in 3.1.0 since :
* N°4875 - Compiler : do not force the model.*.php file to be present in the module.*.php file ('datamodel' key)
* N°4280 - Module loading : do not crash if 'datamodel' file doesn't exists (model.*.php)
2023-05-04 12:14:52 +02:00
Benjamin Dalsass
03e22ce42d
N°5916 - Generic message on Link Uniqueness rules
2023-05-04 11:21:06 +02:00
Eric Espie
4f6e74a3ee
N°2250 - DisplayObject with ormLinkSet ignore Removed
2023-05-04 11:01:51 +02:00
Benjamin Dalsass
5a856f96eb
N°6124 - Workaround performance problem on the modification of an object with an n:n relation having a large volume
...
Add new bForceTableRefresh flag description
2023-05-04 10:54:04 +02:00