Molkobain
3ce810ee99
N°5655 - Router: Improve robustness
...
* Change visibility from public to protected of methods for which it was not necessary
* Change visibility from static to non-static of methods that could be used as such for easier testability
* Cache available routes for better performances
* Finish Router::GetRoutes() so we can use the available routes data to display them to the developers somewhere (ideally in the toolkit)
* Improve unit tests
2023-05-02 23:56:25 +02:00
Pierre Goiffon
dd5486eaa9
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-26 17:13:14 +02:00
Pierre Goiffon
3c15186685
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-04-26 17:12:08 +02:00
Pierre Goiffon
fa038ded3d
N°6254 ItopDataTestCase::CreateUserRequest : fix new argument default value
...
Was creating error Too few arguments passed
2023-04-26 16:42:27 +02:00
Pierre Goiffon
e7ea1b831c
N°6254 ItopDataTestCase::CreateUserRequest : now pass fields values as array
...
More versatile way of doing things !
2023-04-26 16:22:26 +02:00
Eric Espie
d8b21e11ed
N°6182 - Fix crash with UNION OQL queries when classes / aliases are different
2023-04-26 15:09:12 +02:00
Molkobain
f026e6f4b8
N°6208 - Router: Move to Service folder
2023-04-20 09:41:12 +02:00
Molkobain
e3252da5a9
N°6208 - Router: Add mechanism to generate complete route URL from its code
2023-04-20 09:41:12 +02:00
Molkobain
6fbe66d2ec
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/webservices/RestTest.php
2023-04-18 22:50:31 +02:00
Molkobain
778118cfb4
N°6204 - REST API: Add unit test for callback parameter
2023-04-18 22:34:11 +02:00
Molkobain
096ed9a63a
N°6204 - Improve REST API unit test readability
2023-04-18 22:14:39 +02:00
Pierre Goiffon
45f792d5ae
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-12 10:22:52 +02:00
Pierre Goiffon
4c626d0782
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/log.class.inc.php
2023-04-12 10:22:34 +02:00
Pierre Goiffon
1114ed9562
N°6099 DeadLockLog : improve documentation and use existing constants ( #441 )
2023-04-12 10:21:34 +02:00
Eric Espie
aafd05afd1
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-05 18:00:46 +02:00
Eric Espie
8ffddeff01
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 17:42:26 +02:00
Eric Espie
21d37fb237
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 17:07:23 +02:00
Molkobain
fca4006811
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 15:58:31 +02:00
Eric Espie
f91259695a
Move Event service from sources/Application/Service to sources/Service
2023-04-05 10:48:20 +02:00
Eric Espie
1c2cf116da
N°6085 - ✅ UNION is not supported in UserRightsProfile::GetSelectFilter - Add unit tests
2023-04-05 10:37:03 +02:00
Pierre Goiffon
cd8dd59641
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-21 09:24:32 +01:00
Pierre Goiffon
307edd3f7a
✅ Fix AttributeDefinitionTest parse error in PHP 7.2
2023-03-21 09:03:54 +01:00
Molkobain
fa17a7db2d
💚 Revert year bump change on test reference files
2023-03-18 19:10:21 +01:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
59586ad001
N°2889 - Improve PHPDoc and unit test cases
2023-03-14 19:16:19 +01:00
Molkobain
0701f92143
N°2889 - MetaModel::ApplyParams now support placeholders with an arrow for non-object value (eg. $foo->bar$)
2023-03-14 19:16:19 +01:00
Pierre Goiffon
c3816c9d0b
run_query : replace JQuery.hotkeys by standard keys detection ( #359 )
...
Use same technique as the one in #345
2023-03-14 17:54:09 +01:00
Pierre Goiffon
5d20b76476
✅ N°5893 Fix \TriggerOnObject::LogException for PHPUnit 9
...
Replaced assertContains by assertStringContainsString
2023-03-10 16:50:57 +01:00
Pierre Goiffon
4548bba96a
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-10 16:25:58 +01:00
Pierre Goiffon
3689f3d026
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/core/TriggerTest.php
2023-03-10 16:24:17 +01:00
Pierre Goiffon
5ee6223434
✅ N°5893 Add test for \TriggerOnObject::LogException
2023-03-10 16:04:55 +01:00
Molkobain
559f5b4bdb
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-08 11:04:24 +01:00
Molkobain
0ba386c0bc
N°5784 - Rename unit test file to match convention
2023-03-08 09:47:42 +01:00
Molkobain
03ac3d4e7c
N°5784 - Fix unit test for PHP 8.2
2023-03-08 09:34:35 +01:00
Molkobain
01faf39372
Tests: Force Synchro unit tests not to verify SSL certificate as most dev / test envs are self-signed
2023-03-07 22:50:29 +01:00
Molkobain
19db527bf7
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-07 10:25:15 +01:00
Molkobain
a34274b883
N°5784 - PHP 8.0: Fix mandatory attribute not visible in transition form due to bad emptiness test ( #379 )
...
* N°5784 - PHP 8.0: Fix mandatory attribute not visible in transition form due to bad emptiness test
* N°5784 - Rework AttributeDefinition::HasAValue() implementation after code review
* N°5784 - Add unit test
2023-03-07 10:16:14 +01:00
acognet
948cbb1446
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-27 16:44:16 +01:00
Anne-Catherine
af8f06c8c3
N°5603 - Autocomplete fails with error for an external key pointing to an abstract class with no friendlyname ( #375 )
2023-02-27 16:18:36 +01:00
Eric Espie
cf5fd3e2a8
N°5906 - CRUD Event - 🎨 rename event_listeners/listener XML nodes by event_listeners/event_listener
2023-02-27 11:23:55 +01:00
Eric Espie
bb62723114
N°5906 - CRUD Event - Fix listener launched twice and refactor calls to Tickets::UpdateImpactedItems()
2023-02-27 11:17:05 +01:00
Molkobain
b1bd1e1677
PHPUnit: Migrate deprecated usages of assertFileNotExists() and assertRegExp()
2023-02-24 21:41:53 +01:00
Pierre Goiffon
3a77423b38
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/application/utilsTest.php
2023-02-23 18:57:50 +01:00
Pierre Goiffon
5c9eb7fa38
N°6020 PHPUnit for \utils::EscapeHtml and EscapedHtmlDecode methods
...
This will ensure conversion back and forth is working as expected (in other words, parameters to the php functions stays the same in both methods)
2023-02-23 18:56:28 +01:00
Pierre Goiffon
4e8a1563f8
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-23 18:38:39 +01:00
Pierre Goiffon
e960a4ad53
N°6023 Fix cannot load SVG files in AttributeImage since 3.0.0 ( #449 )
...
Caused by merge error in ddd6bf2
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-02-23 18:38:03 +01:00
Pierre Goiffon
d39ecb7406
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-02-23 11:23:31 +01:00
Pierre Goiffon
cb2be0eccd
N°5121 New AttributeURL validation use case
...
In comment as it isn't handled yet
2023-02-23 11:16:50 +01:00
Molkobain
26169111ed
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# css/backoffice/utils/helpers/_misc.scss
2023-02-23 11:05:54 +01:00
Pierre Goiffon
f55fc8d264
N°6014 Validation pattern for URL : now handles commas in params ( #356 )
...
Seen on PRTG URLs
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-02-23 10:59:38 +01:00