Eric
382135fde8
N°4106 - Deprecate usage of DBObject::GetName()
2021-06-28 14:00:44 +02:00
Eric
4d80235d89
🎨 add phpDoc
2021-06-28 13:58:12 +02:00
Molkobain
0997189969
N°4106 - Deprecate usage of DBObject::GetName()
2021-06-28 12:06:25 +02:00
Pierre Goiffon
b1aebc6c7a
DBObject : fix lines altered wrongly in merge commit
2021-06-28 09:12:18 +02:00
Pierre Goiffon
2a1e0b7429
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/dbobject.class.php
# core/log.class.inc.php
# setup/compiler.class.inc.php
2021-06-28 08:58:34 +02:00
Eric
d7ba0aac82
N°4099 - remove unused DBObject::GetLoadedAttributes() method
2021-06-25 17:17:36 +02:00
Pierre Goiffon
8259a79cd2
🎨 Factorize LogAPI channels value in LogChannels class
2021-06-25 17:13:35 +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
Eric
949b213f9d
N°3513 - revert crud sequence
2021-06-24 13:32:43 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
acognet
bce1bd8192
N°3912 - Polishing: Export
2021-06-22 12:24:32 +02:00
Pierre Goiffon
5db8bd06ba
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/coreexception.class.inc.php
# core/log.class.inc.php
2021-06-21 16:24:27 +02:00
Eric
0f5130611d
✅ Fix log API tests
2021-06-21 16:07:36 +02:00
Eric
a1271da74a
N°3513 - ObjectFormManager : remove transaction
2021-06-21 15:03:17 +02:00
Denis
0d40235791
🗃️ N°3968 Fix mutex being silently released after connection timeout ( #209 )
...
Mutex are using their own DB connection
Because the `wait_timeout` isn't specified when opening the connection, it could be closed before we released the lock : if so the lock is silently released !
We are now setting this variable directly when opening the connection to avoid such case (setting 86400s, so 1 day : this should be enough !)
2021-06-21 12:33:15 +02:00
acognet
ee5847ec82
N°3912 - Polishing: Export - export of impact analysis
2021-06-21 09:22:07 +02:00
acognet
224031e0d6
N°3905 - Polishing: CSV Import
2021-06-18 17:00:39 +02:00
Pierre Goiffon
8f84c3b84b
🎨 LogAPI code formatting
2021-06-18 10:58:04 +02:00
acognet
77cf879f4f
N°3912 - Polishing: Export
2021-06-17 10:43:06 +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
Pierre Goiffon
147916062b
🎨 Fix local variable names
...
Was copy/paste and wasn't consistent with the functionnality :/
2021-06-10 16:28:17 +02:00
Eric
609d9c7a60
♻️ rework of Select UIBlock with labels
2021-06-04 11:52:24 +02:00
acognet
2d2a6857de
N°3797 - [MariaDB] crash while converting utf8mb4 + add index
2021-06-04 09:10:28 +02:00
Eric
3965806fa0
N°4052 - OQL parser limit for huge request - add better feedback
2021-06-03 16:49:21 +02:00
Eric
02d32a556d
N°4052 - OQL parser limit for huge request
2021-06-02 15:15:00 +02:00
Eric
71fcc6f026
N°4031 - OQL Error when AttributeObjectKey is used in JOIN condition
2021-06-02 14:45:03 +02:00
Pierre Goiffon
fc39d8aca9
💡 PHPDoc type hinting
2021-05-26 14:24:29 +02:00
Eric
cf12578289
N°3452 - DB tools : better formatting
2021-05-26 12:14:14 +02:00
Pierre Goiffon
81822efa0f
💡 PHPDoc for \DBObject::ApplyStimulus
2021-05-25 10:52:12 +02:00
Molkobain
1c6ffab0e3
Remove index variable from foreach as it was misleading ($sClass does not contain classes but a numeric index)
2021-05-20 18:18:29 +02:00
Molkobain
095d61b6f9
N°3171 - Rollback on the AttributeExternalKey::GetPrerequisites() as it was introducing more regressions than fixes ( acf0548c)
2021-05-20 18:18:29 +02:00
acognet
b740cb2afd
N°2540 - prevent the mysql password to appear on misconfigured servers
2021-05-12 08:17:35 +02:00
Molkobain
1c2dcc7b9a
Merge remote-tracking branch 'origin/support/2.7' into develop
2021-05-11 12:22:47 +02:00
Molkobain
2a9e16bd2c
Fix PluginManager not returning plugin classes as keys of the array (broke iQueryModifier)
2021-05-05 14:27:19 +02:00
acognet
3a06f2eaa9
N°3988 - Investigate small list taking a very long time to load
2021-05-03 12:54:50 +02:00
acognet
227c90b47f
N°3988 - Investigate small list taking a very long time to load
2021-04-29 15:00:05 +02:00
Molkobain
cfab20519e
N°2922 - Revert 93a1f027 and add support for LabelField in the ConsoleFormRenderer (was already done in PortalFormRenderer)
2021-04-29 12:02:13 +02:00
Molkobain
cbc5bb70d0
Performance: Change theme signature check to be done only when necessary at runtime in a production environment
2021-04-28 19:35:03 +02:00
acognet
93a1f027cb
N°2922 - Dependent fields in Request template - Error management
2021-04-26 09:03:11 +02:00
Molkobain
7aecdd0dc7
N°2875 - Extract method to find mentioned objects into utils so it can used by extensions, not only the trigger
2021-04-23 17:01:17 +02:00
odain
3d9540e895
Merge branch 'feature/2982-finalize' into develop
2021-04-16 14:04:17 +02:00
odain
135b5e8adb
N°2982 - PR reviews
2021-04-16 11:46:14 +02:00
Pierre Goiffon
87ba67225a
💡 Add since phpdoc tags for \DeadLockLog::Log
2021-04-16 08:36:21 +02:00
Pierre Goiffon
2ad3b3c27e
🎨 Fix \DeadLockLog::Log parameter name + PHPDoc
...
Thanks @Hipska !
2021-04-15 15:03:13 +02:00
Pierre Goiffon
fac97324a3
🔇 N°3731 Remove some more depreciation notice for methods still used in iTop core
2021-04-13 18:28:39 +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
a6d20ab648
N°3731 \DeprecatedCallsLog : always catch errors so that we won't crash the caller
2021-04-13 17:56:20 +02:00
Pierre Goiffon
7f4ef12c04
🐛 Fix \DeprecatedCallsLog::NotifyDeprecatedPhpMethod log message
...
This was bringed by #193
The stack trace wasn't used correctly :/ This is now fixed !
Sample message for deprecated PHP method call :
`2021-04-13 15:31:47 | Warning | Call to WebPage:outputCollapsibleSectionInit in C:\...\itop-dev\sources\application\WebPage\AjaxPage.php#L170 (AjaxPage::output) | deprecated-php-method`
Log message for deprecated PHP file remains the same :
`2021-04-13 10:31:12 | Warning | C:\...\itop-dev\sources\application\WebPage\WebPage.php L32 including/requiring C:\...\itop-dev\core\coreexception.class.inc.php : Classes were moved to /application/exceptions | deprecated-file`
2021-04-13 15:38:38 +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