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
Anne-Cath
775ac3df77
N°3815 - Remove "DisplayTemplate" PHP classes - TemplateMenuNode::GetHyperlink() must return ''
2025-10-27 17:26:37 +01:00
Stephen Abello
83927af8ed
Merge branch 'support/3.2' into develop
...
# Conflicts:
# addons/userrights/userrightsprofile.db.class.inc.php
# addons/userrights/userrightsprojection.class.inc.php
# datamodels/2.x/combodo-backoffice-darkmoon-theme/scss/scss-variables.scss
2025-10-27 16:00:08 +01:00
Stephen Abello
4f845c63cf
N°8715 - Missing name for SetUIBlock when initialized in twig
2025-10-27 15:57:11 +01:00
odain-cbd
318b792b31
N°4058 - Setup failed when added an encrypted field due to default value NULL non SODIUM compatible ( #754 )
...
* N°4058 - Setup failed when added an encrypted field due to default value NULL non SODIUM compatible
* N°4058 - Setup failed when added an encrypted field due to default value NULL non SODIUM compatible
* change log level to warning
2025-10-10 14:25:39 +02:00
jf-cbd
01c9e73020
Improve OQLTest.php so data produced by test (added ub N°8522) is removed at the end of its execution
2025-09-30 16:46:58 +02:00
Håkon Harnes
03e1d46586
🐛 N°8522 - check if org id is null when filtering ( #727 )
2025-09-22 16:51:32 +02:00
Timmy38
6be9255ca0
N°7071 - Remove CMDBSource::MYSQL_DEFAULT_PORT
2025-09-19 10:53:58 +02:00
Stephen Abello
7e515e7216
Merge branch 'support/3.2' into develop
2025-09-18 10:13:09 +02:00
Stephen Abello
428d2c6356
N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer ( #742 )
...
* N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer
* Fix composer following merge
2025-09-17 16:04:20 +02:00
odain
d589d9d05a
N°4789 - fix broken tests in ci
2025-09-16 16:37:31 +02:00
odain
c0c9ea9287
N°4789 - Parse datamodel module.xxx.php files instead of interpreting them ( #746 ) - namespacing ModuleFileReader classes
2025-09-16 15:38:30 +02:00
Anne-Cath
dacb54285c
N°4820 - Remove pre-3.0 console files - date.js, hovertip.js jquery.layout.min.js
2025-09-12 16:01:55 +02:00
Anne-Cath
7851109794
N°3749 - Remove old JS tooltip libs (qTip, jQuery tooltip, Bootstrap tooltip) calls - remove qtip
2025-09-12 10:02:12 +02:00
odain-cbd
15103dc49f
N°4789 - Parse datamodel module.xxx.php files instead of interpreting them ( #746 )
...
* N°4789 - Parse datamodel module.xxx.php files instead of interpreting them - refactoring all in a dedicated service first
* N°4789 - fix broken setup + tests
* N°4789 - replace legacy eval by module file parsing
* N°4789 - handle constants and if conditional structures
* N°4789 - compute boolean expressions
* N°4789 - make autoselect and dependencies work as well
* cleanup
* N°4789 - fix BeforeWritingConfig calls during setup
* N°4789 - refactor and split in ModuleDiscoveryEvaluationService + handle ModuleInstallerAPI methods calls during setup
* N°4789 - PR review changes with Romain
* PR review + code cleanup + added usecases and test cover
* temp evaluation work
* replace eval by iTop custom evaluation classes
* move PhpParser/Evaluation classes in a specific namespave + composer dumpautoload
* fix broken setup
* fix broken setup
* complete Evaluators list + autoload
* cleanup useless testing resources
* cleanup + replace last eval call in VariableEvaluator
* fix few Evaluators code
* enhance nikic evaluators + test with/without nikic lib
* Evaluator fixes/enhancements + tests
* bump to nikic fork temporarly
* bump nikic-parser fork + use only nikic fork evaluation + cleanup itop redondant evaluators
* review with Romain: use distinct whitelists in setup time/runtime + move ModuleFileParser internal logic into ModuleFileReader
* PhpExpressionEvaluator used via constructor and not as a service
* dumpautoload again after rebase
2025-09-09 17:54:18 +02:00
jf-cbd
2ee68ff819
Merge remote-tracking branch 'origin/support/3.2' into develop
...
# Conflicts:
# sources/SessionTracker/iSessionHandlerExtension.php
2025-09-05 15:19:38 +02:00
Benjamin Dalsass
44972f34e5
N°8210 - Remove iApplicationObjectExtension ( #737 )
2025-09-05 09:27:55 +02:00
jf-cbd
65c9145b10
N°8570 - Allow @ as part of url - add test
2025-09-04 17:04:21 +02:00
Anne-Cath
20393b55b9
N°8190 - Userrights management should not be overridable anymore
2025-08-26 09:17:51 +02:00
odain
d80e26791d
N°8511 - Enhance DBObjectSet to be able to order by id
2025-08-18 14:42:06 +02:00
Benjamin Dalsass
1458ba877b
N°7659 - Remove utils::GetClassesForInterface ( #732 )
2025-08-12 14:06:26 +02:00
Timmy38
71386198cf
N°3124 - Refactorize ResizeImageToFit methods ( #734 )
2025-08-08 10:43:35 +02:00
Anne-Cath
5b9e0a1d4f
N°3817 - Audit and fix calls to deprecated jQuery method
2025-08-06 19:47:57 +02:00
Anne-Cath
820087e4d1
N°4500 - Remove iPageUIExtension & AbstractPageUIExtension API
2025-08-04 10:30:38 +02:00
Anne-Cath
2bd7c7a01a
N°3815 - Remove "DisplayTemplate" PHP classes
2025-07-31 14:23:35 +02:00
Anne-Cath
3eb8437c32
N°4693 - Restore API to add sass entries in the backoffice pages - rename Interface
2025-07-31 10:07:15 +02:00
Anne-Cath
9acc6a8bd4
N°4693 - Restore API to add saas entries in the backoffice pages
2025-07-30 16:41:31 +02:00
Stephen Abello
95f84a98cc
N°4455 - Remove old PNG icons for datamodel classes
2025-07-30 09:35:13 +02:00
Anne-Cath
6cb10ab13a
N°4718 - Remove "FilterCodes"
2025-07-29 17:26:15 +02:00
Anne-Cath
56616ab08e
N°8397 - Suppress export V1 from iTop packages - fix tests
2025-07-29 12:03:46 +02:00
Eric Espie
d0f816109b
N°7938 - Cant' create OnInsert/OnUpdate/Afterxxx methods from Designer with iTop 3.2
2025-07-16 13:22:50 +02:00
Romain Quetiez
599e08f150
✅ N°8440 XML assembly failing when a file name contains a quote
2025-07-08 17:31:42 +02:00
bdalsass
d2d422afcf
Merge remote-tracking branch 'origin/support/3.2' into develop
2025-07-01 16:11:20 +02:00
bdalsass
14791bf6b4
N°8148 - CAS problem when sending a link ending in &
...
- ApplicationContextTest mocking service
2025-07-01 15:57:45 +02:00
Benjamin Dalsass
062d543b26
N°8148 - CAS problem when sending a link ending in & ( #722 )
...
N°8148 - CAS problem when sending a link ending in &
2025-06-30 14:19:33 +02:00
odain
87db141c3c
Merge branch 'support/3.2' into develop
2025-06-19 11:32:58 +02:00