Eric Espie
8373a03d82
N°6408 - ✅ CRUD fix tests
2023-06-27 12:11:36 +02:00
Eric Espie
befbe2dfa9
N°6408 - ✅ CRUD fix tests
2023-06-27 11:52:23 +02:00
Eric Espie
86ca7fcb7a
N°6408 - CRUD : rework on DBUpdate reentrancy
2023-06-27 11:37:10 +02:00
Eric Espie
aa75456e6e
N°6271 - ✅ Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-27 08:41:20 +02:00
Eric Espie
db6e4137b1
N°6271 - Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-26 18:00:04 +02:00
Eric Espie
c3469e43bc
N°6408 - Add logs, changed modification test of current object and prevent calling OnDBUpdate() when object is not modified
2023-06-23 17:02:31 +02:00
Eric Espie
6fe41796d9
N°5909 - ✅ Fix iApplicationExtension not called when attachment is added
2023-06-21 15:15:59 +02:00
Eric Espie
99a4e5e861
N°5909 - Fix iApplicationExtension not called when attachment is added
2023-06-21 14:39:04 +02:00
Molkobain
216a1b95b1
N°6405 - Fix XML displayed corrupted when using \DesignerLongTextField due to usage of \utils::EscapeHtml() without double encoding
2023-06-21 11:33:18 +02:00
Eric Espie
bfd078c2a3
N°6281 - ✅ Rest API core/create key value is no more between quote
2023-06-20 17:25:13 +02:00
Eric Espie
9b9ba3c440
N°6281 - Rest API core/create key value is no more between quote
2023-06-20 16:58:16 +02:00
odain
d91eda1343
ci: enhance AddProfileToUser to work with any User
2023-06-15 15:07:09 +02:00
Eric Espie
5578147002
N°5906 - ✅ CRUD Event - fire event EVENT_DB_LINKS_CHANGED when an n-n link is created/updated/deleted
2023-06-14 09:32:19 +02:00
Eric Espie
e574fe3dc5
N°5906 - ✅ CRUD Event - fire event EVENT_DB_LINKS_CHANGED when an n-n link is created/updated/deleted
2023-06-13 17:12:35 +02:00
Denis
fed149dc66
N°918 - Translate placeholders in notifications ( #506 )
...
- Localization of date & time formats
- Use of DataLocalizer (if present)
- All placeholders can be used in the uploaded HTML template as well as in the notification "message"
2023-06-13 09:51:32 +02:00
Molkobain
4d6236cbea
N°1345 - Restrict unit test iTop community only as it is based on the standard DM (thanks @piRGoif)
2023-06-09 17:55:54 +02:00
Pierre Goiffon
2d866b8f47
N°6320 Fix GetSelectFilterTest::testGetSelectFilter crashing when authent-token module installed
2023-06-09 15:47:19 +02:00
Molkobain
74fec312d8
N°1345 - Add unit test
2023-06-09 13:01:59 +02:00
Eric Espie
1b7529fcb9
N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)
2023-06-09 10:21:47 +02:00
Eric Espie
191742c2a9
N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)
2023-06-09 10:17:22 +02:00
Molkobain
ae65856797
N°1646 - Fix unit tests to reflect new enum sort
2023-06-09 08:34:09 +02:00
Eric Espie
99e84e86cd
N°6384 - fix typo
2023-06-08 17:19:45 +02:00
Eric Espie
7ebf5a6dd4
N°6384 - Flag LinkedSet (Indirect) when CheckToWrite must be requested to Hosted Object
2023-06-08 17:07:01 +02:00
Molkobain
4d5d149079
N°1646 - Add unit tests
2023-06-07 19:53:12 +02:00
Eric Espie
f886c78f24
✅ Merge remote-tracking branch 'origin/support/3.0' into develop -> fix unit tests
2023-06-07 17:49:52 +02:00
Eric Espie
62ed5adbc5
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/loginwebpage.class.inc.php
# composer.json
# lib/composer/installed.json
# lib/guzzlehttp/psr7/.github/workflows/ci.yml
# lib/guzzlehttp/psr7/.github/workflows/integration.yml
# lib/guzzlehttp/psr7/.github/workflows/static.yml
# lib/guzzlehttp/psr7/CHANGELOG.md
# lib/guzzlehttp/psr7/composer.json
# lib/guzzlehttp/psr7/src/MessageTrait.php
# tests/php-unit-tests/ItopDataTestCase.php
2023-06-07 17:45:50 +02:00
Eric Espie
e76ada641f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/loginbasic.class.inc.php
# application/loginexternal.class.inc.php
# application/loginform.class.inc.php
# application/loginurl.class.inc.php
# application/loginwebpage.class.inc.php
# composer.lock
# datamodels/2.x/authent-cas/src/CASLoginExtension.php
# lib/composer/autoload_real.php
# lib/composer/installed.php
# synchro/synchro_exec.php
# synchro/synchro_import.php
# tests/php-unit-tests/unitary-tests/application/utilsTest.php
2023-06-07 17:21:09 +02:00
Eric Espie
fff46d99fc
N°6358 - Login REST API - renamed test
2023-06-07 15:31:51 +02:00
odain
3a891f707c
ci: enhance AddProfile test method to work with any User (not only UserLocal)
2023-06-07 15:06:28 +02:00
odain
8b6ea43ebe
N°6358 - Login REST API - fix cas + add tests
2023-06-07 15:05:32 +02:00
Timothee
a45177410e
N°6350 - Fixing phpunit test
2023-06-06 16:47:06 +02:00
Eric Espie
519751faa1
N°6348 - ✅ Add unit test
2023-06-05 14:50:37 +02:00
Eric Espie
cb7cbe9297
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# pages/UI.php
# tests/php-unit-tests/unitary-tests/application/utilsTest.php
2023-06-01 16:59:59 +02:00
Eric Espie
17d22219d2
N°6350 - ✅ Fix unit tests
2023-06-01 16:30:09 +02:00
Eric Espie
5f359b2b61
N°6151 - Allow to select classes on union outside the already selected classes
2023-05-31 14:40:13 +02:00
Eric Espie
c3bb995407
N°6324 - CRUD Event for one time treatment before creation and before update
2023-05-30 11:29:24 +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
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
odain
b4f517b03b
Merge branch 'support/3.0' into develop
2023-05-05 15:57:04 +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
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