acognet
2165bfe8c2
Fix "undefined offset" error during "Anonymize" action
2022-05-12 14:45:18 +02:00
Molkobain
66953be67d
N°5060 - Activity panel: Increase "max_history_length" conf. parameter from 50 to 200
2022-05-09 13:14:09 +02:00
Pierre Goiffon
b3ef9333af
💡 Added since annotation to \LogAPI::IsLogLevelEnabled
2022-05-03 17:18:07 +02:00
Pierre Goiffon
867cc6ce7e
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-05-03 10:52:01 +02:00
Pierre Goiffon
4646a05c7a
N°4824 Update consumers after swiftmailer/swiftmailer
...
Multiple things to do as there were some changes in 6.0
Reference : https://github.com/swiftmailer/swiftmailer/blob/master/CHANGES#L107
* Fix "Call to undefined method Swift_Message::newInstance()" exception in notifications
* Fix removed Swift_MailTransport
2022-05-03 09:35:48 +02:00
Pierre Goiffon
84e35e27b8
✅ N°5143 Fix FunctionExpression for DATE_FORMAT and formats %j, %k and %l
2022-05-02 18:59:10 +02:00
Pierre Goiffon
ddd41d2ba7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# composer.lock
# core/email.class.inc.php
# css/ui-lightness/jqueryui.scss
# lib/bin/php-parse
# lib/bin/php-parse.bat
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
# lib/composer/platform_check.php
# lib/nikic/php-parser/grammar/php7.y
# lib/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php
# lib/nikic/php-parser/lib/PhpParser/Builder/Param.php
# lib/nikic/php-parser/lib/PhpParser/Builder/Property.php
# lib/nikic/php-parser/lib/PhpParser/BuilderFactory.php
# lib/nikic/php-parser/lib/PhpParser/BuilderHelpers.php
# lib/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php
# lib/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php
# lib/nikic/php-parser/lib/PhpParser/Node/Param.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php
# lib/nikic/php-parser/lib/PhpParser/Node/UnionType.php
# lib/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php
# lib/nikic/php-parser/lib/PhpParser/Parser/Php7.php
# lib/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
# lib/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
# test/core/ConfigValidator/iTopConfigAstValidatorTest.php
2022-04-29 16:18:08 +02:00
Pierre Goiffon
6f0e1a7f47
N°4824 Update consumers after swiftmailer/swiftmailer update
...
Also remove new Doctrine test dir (iTopComposerTest feedback)
2022-04-29 15:24:56 +02:00
Pierre Goiffon
88a10dba28
N°4824 Update consumers after pelago/emogrifier update
2022-04-29 15:24:56 +02:00
Pierre Goiffon
f4c7afc148
N°4824 Update consumers & tests after nikic/php-parser update
...
Was done in 3.0.0 with N°3867
(cherry picked from commit cd1ba097cb )
(cherry picked from commit 5b42f67a99 )
(cherry picked from commit 2d98ca2318 )
(cherry picked from commit ddc5bbd1bb )
2022-04-29 15:24:56 +02:00
Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +02:00
Pierre Goiffon
11e811cc4b
N°3717 Improve iTop object history API ( #192 )
...
This fixes a major flaw in the history API that was causing "phantom" CMDBChange records (without any CMDBChangeOp attached). That was happening especially in iProcess impl.
For example this lead to the creation of the combodo-cmdbchange-cleaner module in the Mail To Ticket extension.
The modifications in detail :
- We can now pass a non persisted CMDBChange instance to \CMDBObject::SetCurrentChange
- No persistence done in \CMDBObject::CreateChange anymore
- Persistence of the attached CMDChange will be done if necessary in CMDBChangeOp::OnInsert
- New CMDBObject::SetCurrentChangeFromParams helper method to ease resetting the current change
2022-04-19 17:13:18 +02:00
Pierre Goiffon
7b3d859522
N°5027 AttributeUrl handle anchors starting with digits
2022-04-19 10:57:47 +02:00
Timothee
dbe02a42c2
N°4888 New url() placeholder
2022-04-14 12:05:41 +02:00
Molkobain
2716f9d24c
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
2022-04-08 13:30:42 +02:00
Pierre Goiffon
631b38a160
N°5003 Change cron_max_execution_time config param help text
2022-03-25 15:56:11 +01:00
acognet
f93218a80f
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical - fix var name
2022-03-21 11:11:47 +01:00
acognet
90b41e0b81
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/displayablegraph.class.inc.php
# pages/UI.php
2022-03-18 15:51:45 +01:00
acognet
61137a6f65
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical - Fix dictionnary
2022-03-18 11:02:04 +01:00
Stephen Abello
d1e2be97d2
Typo in cron_task_max_execution_time description
2022-03-14 11:46:27 +01:00
Stephen Abello
93c6cfffda
N°4931 Fix background tasks max duration being set to 3 times its periodicity
2022-03-14 09:35:46 +01:00
Molkobain
0f2cbaf186
N°4849 - Enable notification emails grouping in threads in email clients ( #275 )
...
N°4849 - Enable notification emails grouping in threads in email clients (#275 )
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2022-03-10 09:31:29 +01:00
Molkobain
2299983db3
N°4741 - Factorize activation of on mention triggers
2022-03-06 11:54:39 +01:00
Molkobain
84169a864c
N°4856 - Update PHPDoc
2022-03-03 15:50:28 +01:00
Stephen Abello
a5d8425fe7
N°4741 Fix On mention trigger not working on object creation
2022-03-02 16:13:00 +01:00
Molkobain
4694e8152e
N°4809 - Remove iTopOwnershipToken class from CSV import list
2022-02-22 11:42:28 +01:00
Pierre Goiffon
815870fe6b
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# dictionaries/cs.dictionary.itop.model.php
# dictionaries/da.dictionary.itop.model.php
# dictionaries/de.dictionary.itop.model.php
# dictionaries/es_cr.dictionary.itop.model.php
# dictionaries/fr.dictionary.itop.model.php
# dictionaries/hu.dictionary.itop.model.php
# dictionaries/it.dictionary.itop.model.php
# dictionaries/ja.dictionary.itop.model.php
# dictionaries/pl.dictionary.itop.model.php
# dictionaries/pt_br.dictionary.itop.model.php
# dictionaries/tr.dictionary.itop.model.php
# dictionaries/zh_cn.dictionary.itop.model.php
2022-02-22 09:36:06 +01:00
acognet
3727223db3
Fix comment
2022-02-18 18:05:36 +01:00
acognet
83e98ef2b8
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-17 17:06:06 +01:00
acognet
788caf9c50
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-14 12:26:16 +01: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
acognet
84280a3b5f
N°4530 - Bug with OQL and profiles.
2022-02-04 16:21:53 +01:00
Molkobain
6a4ce3c3b1
Fix regression from c3a2713bb
2022-02-02 10:54:01 +01:00
Pierre Goiffon
f0715baf7d
N°4714 move constant from core/config.class.inc.php to approot.inc.php
...
see N°4406
2022-02-01 11:39:35 +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
Pierre Goiffon
75dbad7406
N°3129 PHP 8.0 compat: Fix "Deprecated: Required parameter ... follows optional parameter ..."
...
* \SQLObjectQuery::PrepareSingleTable
* \HistoryBlock::GetRenderContent
* \MenuBlock::GetRenderContent
* \UILinksWidgetDirect::DisplayAsBlock
* \UILinksWidgetDirect::Display
* \UILinksWidgetDirect::DisplayEditInPlace
* \UIExtKeyWidget::AutoComplete
* \UIExtKeyWidget::DisplayFromAttCode
2022-01-28 17:01:07 +01:00
Pierre Goiffon
3381c085f4
💡 N°4714 fix phpdoc
2022-01-27 16:15:57 +01:00
Pierre Goiffon
c3a2713bba
N°4725 Fix \DeprecatedCallsLog::NotifyDeprecatedFile doesn't catch ConfigException
2022-01-27 09:25:28 +01:00
Pierre Goiffon
99b73fe1ee
🐛 N°4714 Restore ITOP_VERSION_NAME constant
...
Was removed by mistake on merge (627c0070 )
2022-01-27 08:57:19 +01:00
Pierre Goiffon
627c0070c1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
# setup/itopdesignformat.class.inc.php
2022-01-26 16:07:34 +01:00
Pierre Goiffon
64e8aa5fee
N°4714 New ITOP_CORE_VERSION constant
...
See following constants PHPDoc for information :
* core/config.class.inc.php ITOP_VERSION
* core/config.class.inc.php ITOP_CORE_VERSION
* setup/itopdesignformat.class.inc.php ITOP_DESIGN_LATEST_VERSION
2022-01-26 15:19:29 +01:00
Pierre Goiffon
477128ad53
💡 N°4023 More phpdoc on \DBObjectSearch::AddCondition
2022-01-26 13:58:49 +01:00
Pierre Goiffon
aa66bec783
💡 Add comment for the timezone config parameter
2022-01-24 15:54:42 +01:00
acognet
d005ff0099
Remove deprecated functions : replace ormLinkSet::AddObject by ormLinkSet::AddItem
2022-01-21 11:51:57 +01:00
acognet
4fdf8803a5
Remove deprecied function $oField->Render replaced by $oField->RenderExpression()
2022-01-21 11:51:56 +01:00
Molkobain
7aa1719514
N°4701 - Fix meta-enums labels being double encoded when displayed
2022-01-21 11:12:53 +01:00
Pierre Goiffon
c6211cde09
Revert REST API init objects array ( #231 )
...
We didn't anticipated this was causing the REST API response to be changed for all consumers :
- before PR `"objects":null`
- after `"objects":[]`
We don't want that :/
We will instead fix collector-base (object of another PR, see #231 )
This reverts commit 7243da3576 .
This reverts commit 0940741568 .
2022-01-17 18:38:33 +01:00
Thomas Casteleyn
0940741568
RestResultWithObjects : properly init objects array ( #231 )
2022-01-14 11:01:00 +01:00
acognet
ec0c98bb0f
N°4482 - Polishing : Export page
2022-01-13 10:52:18 +01:00
Pierre Goiffon
b55ba2ac7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/log.class.inc.php
# test/setup/iTopDesignFormat/iTopDesignFormatTest.php
2022-01-12 09:56:16 +01:00