Pierre Goiffon
a31451d5af
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-17 14:29:49 +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
6b32be0899
N°5216 Fix invalid message-id when sending notification using cron on system with a specific locale set ( #297 )
...
The timestamp used was indeed locale dependent.
This commit fixes this behavior by removing the locale dependency using a better printf format (see https://www.php.net/manual/fr/function.sprintf.php )
2022-08-17 14:11:32 +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
Molkobain
99f75111ce
N°4517 - PHP 8.1: Fix str_replace() called with null value
2022-08-16 19:03:30 +02:00
Molkobain
8f0a62c1c9
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-16 12:17:23 +02:00
Molkobain
fc9ac1b441
N°4739 - Add semantic on state for user classes
...
* Add new section in the backoffice SCSS structure for PHP classes of the DM that are in the core (not a module) and can't be styled via XML.
2022-08-14 21:35:56 +02:00
acognet
c94e24c0ff
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/cmdbabstract.class.inc.php
2022-08-12 18:17:00 +02:00
acognet
7320005c08
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# core/coreexception.class.inc.php
# core/dbobject.class.php
2022-08-12 18:13:42 +02:00
Anne-Catherine
d7e5705520
N°5318 - Fix DBObject::CheckValue() messages being HTML encoded when not necessary ( #326 )
...
* Rollback N°4898 - Security fix
* N°5318 - security fix
2022-08-12 17:50:14 +02:00
Eric Espie
6a384b0405
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-12 10:51:46 +02:00
Eric Espie
cc6cf79835
N°5389 - Email Notification templates with AttributeLinkedSetIndirect failed
2022-08-12 10:37:43 +02:00
Eric Espie
37cb882507
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-11 17:18:10 +02:00
Eric Espie
7a7498537f
N°5135 - Impersonate: history of changes versus log entries - Fix typo
2022-08-11 17:17:29 +02:00
acognet
ebab664c1a
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-11 16:54:43 +02:00
acognet
b6e22e47ca
N°4910 - Adding a regexp on an existing field with value not complient, block the object modification
2022-08-11 16:43:36 +02:00
Eric Espie
a577799fee
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-11 11:33:59 +02:00
odain-cbd
ec01ab73aa
N°5135 - Impersonate: history of changes versus log entries ( #290 )
...
* N°5135 - Impersonate: history of changes versus log entries
* N°5135 - enrich impersonated changelog userinfo with its previous value when overrided by an extension (ie approvalbase)
* N°5135 - indicate impersonation inside changelogs in both caselogs and activity
* N°5135 - Impersonate: history of changes versus log entries add specific username for caselogs
Co-authored-by: Eric Espie <eric.espie@combodo.com >
2022-08-11 11:12:07 +02:00
Eric Espie
952bceb3c3
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.json
# core/config.class.inc.php
# core/legacy/dbobjectsearchlegacy.class.php
# core/legacy/querybuildercontextlegacy.class.inc.php
# core/legacy/querybuilderexpressionslegacy.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-08-09 10:49:40 +02:00
Eric Espie
029e6114ad
N°4715 - Remove deprecated legacy SQL build
2022-08-09 10:41:46 +02:00
Eric Espie
4b0c94d609
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-09 09:27:49 +02:00
Eric Espié
de5fee8876
N°4792 - memory limit is reached when an AttributeExternalKey is pointing to a class with an AttributeBlob ( #322 )
...
N°4792 - memory limit is reached when an AttributeExternalKey is poin…
2022-08-09 09:17:15 +02:00
Molkobain
95c43adc4e
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-08 12:00:16 +02:00
Molkobain
c6b88c4db0
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/dbobject.class.php
2022-08-08 11:57:12 +02:00
Molkobain
df347b90e5
N°5383 - Declare DBObject::EnumTransitions() as "overwritable hook"
2022-08-08 11:53:46 +02:00
acognet
aad4a5e20c
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-04 16:43:20 +02:00
acognet
b704e0d131
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-08-04 16:38:47 +02:00
acognet
bb861aa262
N°3024 - Archiving Service Families (or any class with no child) with combodo-archive-manual
2022-08-04 16:26:21 +02:00
Molkobain
86e1f165cd
Merge remote-tracking branch 'origin/develop' into feature/4517-from-dev
...
# Conflicts:
# CONTRIBUTING.md
# composer.lock
# core/designdocument.class.inc.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-07-28 10:30:25 +02:00
Eric Espie
e91e53c0ec
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.lock
# datamodels/2.x/itop-oauth-client/datamodel.itop-oauth-client.xml
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-07-11 17:24:06 +02:00
Eric Espie
e105cc6d44
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.lock
# core/log.class.inc.php
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# lib/composer/autoload_real.php
# setup/licenses/community-licenses.xml
# setup/setuputils.class.inc.php
2022-07-11 09:23:18 +02:00
Eric Espie
aa8de912fd
Merge branch 'support/3.0.1' into support/3.0
2022-07-08 11:01:02 +02:00
Eric Espie
f8648e2929
N°5267 - Error on class view when datamodel encoding is not UTF-8 - add logs to ease finding the model load errors
2022-07-08 10:59:21 +02:00
bdalsass
33054d306d
N°5302 - Replace deprecated php strlen usages ( #308 )
2022-07-08 10:27:52 +02:00
Eric Espie
d388c3fd3d
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Limit error size
2022-07-04 16:48:56 +02:00
Eric Espie
1b8e48539d
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Add comment in configuration
2022-07-01 14:32:44 +02:00
acognet
616381a16c
N°5232 - Deprecate \CMDBObject::DBCloneTracked
2022-07-01 11:35:42 +02:00
acognet
d1eef0853b
N°5232 - Deprecate \CMDBObject::DBCloneTracked
2022-07-01 10:49:07 +02:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
Benjamin Dalsass
acd5547618
N°4517 - PHP 8.1 compatibility: Replace strlen with Utils::StrLen to avoid null value issue
2022-06-30 15:10:28 +02:00
Benjamin Dalsass
ab40b1b556
N°4517 - PHP 8.1 compatibility: Fix deprecated call str_replace with null value
2022-06-30 15:03:12 +02:00
Eric Espie
104beff158
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Fix log
2022-06-29 15:09:17 +02:00
Molkobain
6facaec353
N°4517 - PHP 8.1: Replace mixed return types with #[\ReturnTypeWillChange] PHP attributes to restore PHP 7.4 compatibility
...
Also add comment on previous #[\ReturnTypeWillChange]
2022-06-28 16:34:41 +02:00
Molkobain
7dc4a2776b
N°4517 - PHP 8.1: Fix deprecated notice for null value passed to string parameter of native PHP functions
2022-06-28 16:34:35 +02:00
Molkobain
09b0ac38ef
N°4517 - PHP 8.1: Hide (for now) deprecate notices of mismatching return types when union types as it would not be supported by PHP 7.2 => 7.4
2022-06-28 16:34:27 +02:00
Molkobain
04dbaef257
N°4517 - PHP 8.1: Fix deprecated usages of MySQLi
...
* init() method should not be called in OOP
* real_connect() "flags" param should not be null to match its type (int)
2022-06-28 16:34:12 +02:00
Molkobain
ff12dd99b5
N°4517 - PHP 8.1: Fix return types to match ArrayAccess interface
2022-06-28 16:34:07 +02:00
Molkobain
7ee5184afc
N°4517 - PHP 8.1: Fix return types to match Iterator interface
2022-06-28 16:34:01 +02:00
Molkobain
212565b01e
N°4517 - PHP 8.1: Fix return types to match parent Countable class
...
* DBObjectSet::Seek() now returns void instead of the current object, this was mandatory in to order to match parent class. Returned object is never used in iTop core and extensions so we consider it ok and will document it in the migration notes.
2022-06-28 16:32:26 +02:00
acognet
b47d3cda12
N°5232 - Deprecate \CMDBObject::DBCloneTracked - fix phpdoc
2022-06-28 11:29:15 +02:00