Molkobain
a5296e11e1
Merge remote-tracking branch 'origin/support/3.2' into develop
...
# Conflicts:
# core/attributedef.class.inc.php
2026-02-17 20:54:47 +01:00
Molkobain
3b62597092
✅ Update PHP version to 8.3 and DB version to MariaDB latest for CI jobs on commit
2026-02-17 20:39:58 +01:00
Molkobain
c0a2771d4e
N°8681 - Fix PHP code styles
2026-02-16 16:46:00 +01:00
Molkobain
6bd5a7b634
N°8681 - PHP 8.1: Fix deprecated notice for null value passed to preg_match_all() ( #803 )
...
* N°8681 - PHP 8.1: Fix deprecated notice for null value passed to preg_match_all()
* N°8681 - Add unit tests
* N°8681 - Add unit tests
2026-02-16 16:18:04 +01:00
lenaick.moreira
82b7ef86c7
N°8796 - Refactor PHP CS Fixer configuration for improved readability
...
* `'indentation_type'` already included in @PSR12 rule set
2026-02-16 15:35:46 +01:00
Eric Espie
a5dededfb4
Merge remote-tracking branch 'origin/support/3.2' into develop
2026-02-05 17:06:26 +01:00
Eric Espie
4f878536a8
✅ Fix CI
2026-02-05 16:53:02 +01:00
Eric Espie
d937ec0350
✅ Fix CI
2026-02-05 16:24:27 +01:00
Eric Espie
154fb5c737
N°9066 - Serialization/Unserialization from XML to Forms
2026-01-07 17:09:47 +01:00
Eric Espie
efb1bd765b
N°9065 - XML Definition for Dashlet properties
2026-01-07 17:09:20 +01:00
Eric Espie
904cd0b518
N°8772 - Move DIService into PSR-11 Service Locator
2025-12-30 14:27:28 +01:00
Benjamin Dalsass
4c1ad0f4f2
N°8772 - Form dependencies manager implementation
...
- Form SDK implementation
- Basic Forms
- Dynamics Forms
- Basic Blocks + Data Model Block
- Form Compilation
- Turbo integration
2025-12-30 11:42:55 +01:00
odain
3d46fe6ef1
Merge branch 'support/3.2' into develop
2025-12-19 18:44:55 +01:00
odain
4dba47798c
ci: fix broken test due to POST CURL file not sent
2025-12-19 18:35:42 +01:00
odain
9ea197148c
Merge branch 'support/3.2' into develop
2025-12-19 16:17:00 +01:00
odain
49a7f3118d
ci: fix Array to String Conversion in CallUrl with POST array of array
2025-12-19 16:12:53 +01:00
odain
bf80b5dca2
Merge branch 'support/3.2' into develop
2025-12-19 15:46:00 +01:00
odain
09afcb229c
ci: fix callUrl with posted params
2025-12-19 11:11:03 +01:00
odain
3df4ddc696
ci: fix code style
2025-12-19 10:39:15 +01:00
odain
d552727c55
ci: fix code style
2025-12-19 10:38:48 +01:00
odain
1fe401c102
ci: rename CallItopUrl by CallUrl + cleanup
2025-12-19 10:01:37 +01:00
odain
a4b0b6e855
ci: rename CallItopUrl by CallUrl + cleanup
2025-12-19 09:54:43 +01:00
odain
545028d68a
Merge branch 'support/3.2' into develop
2025-12-18 13:51:54 +01:00
odain-cbd
6cb08ba361
Add few APIs to ease tests ( #788 )
...
* add few APIs to ease tests
* code style
* log testname via IssueLog only through ItopDataTestCase
* code style
* ci: phpunit fix fatal error
2025-12-18 13:31:48 +01:00
Molkobain
b3cd79605d
Merge remote-tracking branch 'refs/remotes/origin/support/3.2' into develop
2025-12-17 22:22:36 +01:00
Molkobain
f9db405343
N°6644 - PHP Static Analysis: Update PHPStan to v2.1
2025-12-17 22:21:43 +01:00
Molkobain
4f1f144c51
N°6644 - PHP Static Analysis: Update configuration to:
...
- Ignore compiled folders other than "env-production"
- Ignore Lempar.php as its content isn't valid PHP and it won't be included in the baseline
2025-12-17 22:04:49 +01:00
Molkobain
ef8ade5d20
📝 Update unit tests documentation
2025-12-17 18:36:18 +01:00
Molkobain
cda6c1dfa8
Merge remote-tracking branch 'refs/remotes/origin/support/3.2' into develop
2025-12-17 11:09:22 +01:00
Molkobain
0b242d872a
N°6644 - Tests: Restore proper CI branch, unit tests run and fix a typo
2025-12-17 11:06:36 +01:00
Molkobain
c144c80663
Merge remote-tracking branch 'refs/remotes/origin/support/3.2' into develop
2025-12-17 10:56:31 +01:00
Molkobain
d9261b8342
N°6644 - Tests: Add static analysis for PHP ( #536 )
2025-12-17 10:45:53 +01:00
Timmy38
73f868ac83
N°8763 Halt setup if non-uninstallable extension is missing ( #781 )
...
* N°8763 Halt setup if an installed & non-uninstallable extension is missing from disk
2025-12-04 11:01:31 +01:00
odain
5a2157ba21
N°8724 - refactoring for maintenability
2025-11-27 15:47:25 +01:00
odain
24048d2b9c
N°8724 - Enhance setup feedback in case of module dependency issue ( #700 )
...
code style
last test cleanup
review + enhance UI output and display only failed module dependencies
real life test cleanup
review: add more tests + refacto
code review: enhance algo and APIs
review: renaming
enhance test coverage
refactoring
renaming + reorder functions/tests
compute GetDependencyResolutionFeedback in Module class
review2 : renaming things
fix rebase + code formatting
fix code formatting
review changes
refactoring: code cleanup/standardization/remove all prototype stuffs
refactoring: code cleanup/standardization/remove all prototype stuffs
add deps validation to extension ci job
fix ci
fix ci: test broken when dir to scan did not exist like production-modules
fix tests
module dependency validation moved in a core folder + cleanup dedicated unit/integration tests
forget dependency computation optimization seen as too risky + keep only user friendly sort in case of setup error
rebase on develop + split new sort computation apart from modulediscovery
revert to previous legacy order + gather new module computation classes in a dedicated folder
make validation work (dirty way) + cleanup
make setup deterministic: complete dependency order with alphabetical one when 2 module elements are at same position
final deps validation bases on DM and PHP classes
init in beforeclass + read defined classes/interfaces by module
module discovery classes renaming to avoid collision with customer DM definitions
read module file data apart from ModuleDiscovery
cleanup
cleanup
fix inconsistent module dependencies
fix integration check
save tmp work before trying to fetch other wml deps
fix module dependencies
fix DM filename typo
rename ModuleXXX classes by iTopCoreModuleXXX to reduce collisions with extensions
add phpdoc + add more tests
module dependency optimization - refacto + dependency new sort order
module dependency optimization - stop computation when no new dependency is resolved
enhance module dependency computation for optimization and admin feedback
2025-11-26 19:23:26 +01:00
v-dumas
ed360edb83
Fix PHP CS
2025-11-17 15:04:19 +01:00
Vincent Dumas
53de040934
N°8534 - Prevent Admin, SuperUser from loose of rights ( #774 )
...
* N°8534 - Prevent Admin & SuperUser from suicide
Prevent creation/modification of Administrator, SuperUser, REST User, combined with a Profile denying access to the backoffice
2025-11-17 14:17:18 +01:00
odain
7bbcc388ea
Merge branch 'support/3.2' into develop
2025-11-14 10:52:27 +01:00
odain
5b7a5e14a3
code style fix
2025-11-14 10:41:47 +01:00
odain
2b1ecf15b4
Merge branch 'support/3.2.1' into support/3.2
2025-11-14 10:39:04 +01:00
v-dumas
283de1ef7c
N°8768 - Fix code style & duplicated dico entries
2025-11-13 16:27:10 +01:00
odain
b5c79e1d75
N°8912 - Cannot work on a licence with legacy extensions including modules without explicit version
2025-11-13 11:13:33 +01:00
odain
b0a792afab
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 20:39:38 +01:00
odain
7681c157ec
Merge branch 'support/3.2' into develop
2025-11-07 20:33:14 +01:00
odain
4a9a85458d
N°8796 - fix ci jo regression due to code style formatting
2025-11-07 16:04:23 +01:00
odain
890a2568c8
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 15:39:53 +01:00
odain-cbd
12f23113f5
N°8796 - Add PHP code style validation in iTop and extensions ( #757 )
...
* poc php-cs-fixer
* PSR2 for now
* PSR12 + array short
* move php-cs-fixer stuff in tests/php-code-style
* add README
* fix php-cs-fixer move into php-code-style
* illustrate code reformatting on webservices folder
* phpstan: change composer php requirements
* indent with tabs + inception style applied everywhere even php-cs-fixer itself
* use tabs for code style indentation
* format concat with spaces
* finalize included/excluded folders to formatting tool
* add trailing_comma_in_multiline option
* adapt composer.json requirements
* Revert changes on webservices folder
2025-11-07 15:12:03 +01:00
Stephen Abello
6cf6e7dd8d
Merge branch 'support/3.2' into develop
...
# Conflicts:
# core/simplecrypt.class.inc.php
# tests/php-unit-tests/unitary-tests/core/SympleCryptTest.php
2025-11-06 10:27:03 +01:00
Anne-Cath
26f21ee6eb
N°4250 - Problem with unencryption when the attribute is empty
...
N°4058 - Setup failed when added an encrypted field due to default value NULL non SODIUM compatible
2025-11-04 15:25:53 +01:00
odain
bdc8fdd02f
N°4720 - fix Deprecation warnings with ormLinkSet->UpdateFromCompleteList API
2025-11-03 08:37:35 +01:00