Romain Quetiez
65bb76b9e3
N°6658 - Boost PHPUnit tests execution
2023-08-17 17:27:55 +02:00
Pierre Goiffon
d64a91d4ce
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/metamodel.class.php
2023-08-04 14:58:22 +02:00
Pierre Goiffon
c0c8a13864
💡 \MetaModel::GetObject : remove documented throw Exception
2023-08-04 14:55:38 +02:00
Eric Espie
046e857768
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
2023-07-19 15:19:06 +02:00
Eric Espie
4d8246c4d8
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (changed config variable name)
2023-07-19 15:13:43 +02:00
Eric Espie
5c61d725e1
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (changed config variable name)
2023-07-19 15:06:00 +02:00
Eric Espie
6432678de9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# bootstrap.inc.php
# composer.json
# core/MyHelpers.class.inc.php
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-07-18 14:36:58 +02:00
Stephen Abello
2b5973ec67
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9
2023-07-18 09:15:37 +02:00
Pierre Goiffon
9c57b0b1b7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-08-29 12:33:06 +02:00
Pierre Goiffon
02a0969b53
N°5414 Fix undefined constant error in notification with wrong placeholder
...
Fix regression introduced in 33c2168 (#282 )
2022-08-29 12:31:45 +02:00
Pierre Goiffon
a8f1b1d9d8
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/action.class.inc.php
2022-08-17 14:29:27 +02:00
Pierre Goiffon
33c2168af2
🔊 Adds a debug log for invalid placeholders ( #282 )
...
This adds a debug log when a placeholder cannot be replaced.
Before the placeholder was just not replaced.
Now we can enable a debug log on the LogChannels::NOTIFICATION channel.
2022-08-17 14:09:59 +02:00
bdalsass
33054d306d
N°5302 - Replace deprecated php strlen usages ( #308 )
2022-07-08 10:27:52 +02:00
Molkobain
60aaa01e2e
N°4517 - PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
2022-05-18 19:59:20 +02:00
Pierre Goiffon
b360514646
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/ui.extkeywidget.class.inc.php
# application/utils.inc.php
# approot.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 13:18:50 +01:00
Pierre Goiffon
ebc9fa684a
N°3129 PHP 8.0 compat: Fix "Private methods cannot be final as they are never overridden by other classes"
...
Was breaking setup ajax compilation
Fixed in:
* \SetupUtils::Log
* \MetaModel::SetUniquenessRuleRootClass
2022-01-28 17:01:07 +01:00
acognet
cde2f333b4
N°4543 - Restore API to add dictionary entries in the backoffice pages
2021-12-14 13:24:30 +01:00
Molkobain
cd5286d03b
N°4522 - Remove DB views still present after migration from iTop 2.7 Pro to iTop 3.0 Pro
2021-12-08 18:07:14 +01:00
Molkobain
f77b3bedaf
N°2370 - Change PHPDoc to reflect reality, method will not be removed
2021-11-23 10:15:28 +01:00
Pierre Goiffon
67fa156c0e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/dashboard.class.inc.php
# core/action.class.inc.php
# datamodels/2.x/combodo-db-tools/dictionaries/es_cr.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/es_cr.dict.itop-attachments.php
# datamodels/2.x/itop-config-mgmt/dictionaries/es_cr.dict.itop-config-mgmt.php
# datamodels/2.x/itop-core-update/dictionaries/es_cr.dict.itop-core-update.php
# datamodels/2.x/itop-hub-connector/dictionaries/es_cr.dict.itop-hub-connector.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/es_cr.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/dictionaries/es_cr.dict.itop-portal-base.php
# datamodels/2.x/itop-request-mgmt-itil/dictionaries/es_cr.dict.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/dictionaries/es_cr.dict.itop-request-mgmt.php
# datamodels/2.x/itop-sla-computation/dictionaries/es_cr.dict.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/dictionaries/es_cr.dict.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/dictionaries/es_cr.dict.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/dictionaries/es_cr.dict.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/es_cr.dict.itop-welcome-itil.php
# dictionaries/es_cr.dictionary.itop.core.php
# dictionaries/es_cr.dictionary.itop.ui.php
# pages/ajax.render.php
# setup/wizardsteps.class.inc.php
# synchro/synchro_import.php
2021-11-19 10:28:46 +01:00
Pierre Goiffon
d0fade9ce1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# pages/ajax.render.php
# setup/wizardsteps.class.inc.php
2021-11-17 17:39:36 +01:00
Pierre Goiffon
51a49dfce8
Remove warnings, use finally block, formatting
2021-11-17 16:10:50 +01:00
Molkobain
cdf5789d62
N°2875 - Add $bRootFirst param. to MetaModel::EnumChildClasses() to be iso with MetaModel::EnumParentClasses()
2021-10-19 15:16:43 +02:00
Molkobain
9ea25188ba
N°3925 - Fix state flags not taken into account correctly by a child class (regression from f2ff5a4e)
2021-09-30 19:41:56 +02:00
Eric Espie
4b8ef4f919
N°3572 - Fix Data Integrity tab results display
...
- fix synchrodatasource SQL definitions
- fix Hierarchical keys warnings due to bad parameters
2021-09-30 14:53:00 +02:00
Molkobain
4c6a7ca30b
N°3791 - Fix crash when displaying object with a null state value
2021-09-28 12:51:21 +02:00
Eric Espie
f67f3eaf74
N°4326 - Fix unknown attribute when no state attcode is given
2021-09-27 14:43:12 +02:00
Molkobain
ca7f6362bf
ormStyle: Fix icon URL including the app. root in the MetaModel to ease usage with load balancers
2021-09-25 17:00:50 +02:00
acognet
03a19ab3f4
N°2573 - Remove MetaModel::GetNextKey
2021-09-23 11:36:10 +02:00
bruno-ds
5d23a250ae
N°4261 - New log handler dedicated to Exceptions & use of it in the portal's Exception listener
...
Such Exceptions are triggered with a Warning level and default the minimum default level in order to write in DB is above, so the behavior is not modified:
- logs are written in errors.log (with a warning elvel instead of an error)
- logs are not written in DB unless `log_level_min.write_in_db` is changed
2021-09-14 17:40:11 +02:00
Eric
2c2155a8e0
N°3985 - Performance checks on the back end
2021-08-23 13:57:03 +02:00
Molkobain
242f499101
Remove require as the class is handled by the autoloader
2021-08-20 16:50:16 +02:00
Molkobain
6b0106ff73
PHPDoc
2021-08-20 16:50:16 +02:00
vdumas
495b39a7ab
N°4246 - Add missing class parameter
2021-08-18 17:05:16 +02:00
acognet
abe103eade
N°580 - Jean Dupont - Jean Dupont, auto-complete avec homonyme
2021-08-18 09:32:26 +02:00
acognet
97ee6570d2
N°3572 - Migrate backoffice pages to new UIBlock system : Toolkit
2021-08-16 15:17:05 +02:00
Molkobain
7577fbb8bf
N°4236 - Fix user with no admin right can't connect in iTop when log_usage set to true
2021-08-12 11:13:59 +02:00
Molkobain
0fc912b357
Rename MetaModel::IsObjectExistsInDb() to MetaModel::IsObjectInDB()
2021-08-12 09:37:24 +02:00
Molkobain
c475e66176
Add documentation
2021-08-12 09:35:14 +02:00
Pierre Goiffon
a66830de17
N°4173 Fix memory_limit error when saving an object pointing to a big AttributeBlob
...
Check of pointed object was loading the whole object instead of just doing a count
2021-08-10 19:08:00 +02:00
Pierre Goiffon
ad936d7a2f
🔇 N°3731 Remove DeprecatedCallLog in \MetaModel::BulkUpdate
...
Method is still called in \ObsolescenceDateUpdater !
2021-08-04 17:37:10 +02:00
Pierre Goiffon
090eb9a560
🔇 N°3731 Remove DeprecatedCallLog in \MetaModel::GetFilterCodeOrigin
...
Method is still called !
2021-08-04 17:34:13 +02:00
Pierre Goiffon
c450f1d02f
💡 aModifierProperties documentation
2021-07-27 15:54:47 +02:00
Eric
de71d490c1
N°4099 - Fix object lists being very slow for classes with a overloaded GetName() function
2021-06-25 17:13:14 +02:00
Pierre Goiffon
d8e2a1cc7c
Merge branch 'support/2.7' into develop
...
# Conflicts:
# README.md
# composer.json
# composer.lock
# core/cmdbsource.class.inc.php
# core/dbobject.class.php
# datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# datamodels/2.x/combodo-db-tools/dictionaries/zh_cn.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php
# datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# lib/composer/InstalledVersions.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# lib/composer/platform_check.php
# pages/ajax.render.php
# pages/csvimport.php
# setup/ajax.dataloader.php
# setup/index.php
# setup/setuputils.class.inc.php
# test/application/UtilsTest.php
2021-06-14 16:19:56 +02:00
acognet
2d2a6857de
N°3797 - [MariaDB] crash while converting utf8mb4 + add index
2021-06-04 09:10:28 +02:00
Pierre Goiffon
d545123ca7
🔇 N°3731 Remove some depreciation notice for methods still used in iTop core
2021-04-13 17:56:21 +02:00
Pierre Goiffon
59678ef8c6
🔊 N°3731 Log calls to deprecated files / PHP methods
...
POC for the log API was added in #193
2021-04-13 17:56:21 +02:00
Pierre Goiffon
2a90557782
💚 Move DeprecatedCallsLog activation from bootstrap to \MetaModel::LoadConfig, same as existing LogAPI impl
...
As this is called from \MetaModel::Startup, our log will be available everywhere !
\DeprecatedCallsLog::Enable call in bootstrap was causing some tests to fail
Modification from what was done in #193
2021-04-13 14:58:48 +02:00
Eric
94b52f8d9f
N°580 - Check parent class config
2021-03-30 14:40:42 +02:00