Stephen Abello
b10bcb976d
N°6951 - Security hardening
2023-11-21 09:42:11 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Pierre Goiffon
77409eed99
🎨 DBObject small phpdoc fixes
2023-11-13 16:25:37 +01:00
Anne-Catherine
a2cdf214f0
N°3715 - Export above 1000 entries ignore obsolete data from user preference ( #468 )
...
* N°3715 - Export above 10000 entries ignore obsolete data from user preference
2023-10-20 17:02:16 +02:00
Pierre Goiffon
e5dd51f637
N°6600 Portal download attachment : don't display anymore SQL query on attachment not found error ( #525 )
2023-09-19 09:54:43 +02:00
odain-cbd
e76728b2bf
N°5491 - Inconsistent dictionnary entries regarding arguments to pass to Dict::Format-test first ( #545 )
2023-09-13 12:02:49 +02:00
Molkobain
1990ccb5d8
N°6436 - Move interfaces enumeration from 1 line to 1 line / interface (and re-ordered them) for easier merges in newer branches
2023-08-18 09:52:55 +02:00
Molkobain
aef3c2e609
N°6097 - Fix \CMDBSource::DropDB() not resetting cache like \CMDBSource::DropTable() which can lead to errors when trying to re-create it afterwards
2023-08-10 15:45:39 +02:00
Pierre Goiffon
c0c8a13864
💡 \MetaModel::GetObject : remove documented throw Exception
2023-08-04 14:55:38 +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
2c4cad4dac
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (avoid unnecessary calls)
2023-07-19 10:37:41 +02:00
Eric Espie
d388ce9a06
Merge branch 'feature/6548_Hide_DBHost_and_DBUser_in_log' into support/2.7
2023-07-18 09:17:40 +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
Eric Espie
78396d8e4a
6548 - [ER] Hide DBHost and DBUser in log
2023-07-10 17:37:27 +02:00
Pierre Goiffon
1114ed9562
N°6099 DeadLockLog : improve documentation and use existing constants ( #441 )
2023-04-12 10:21:34 +02:00
Pierre Goiffon
34368fe795
N°6173 \HTMLSanitizer::Sanitize : Fix handling only svg_sanitizer ( #450 )
2023-04-11 17:52:41 +02:00
Pierre Goiffon
4cea418517
N°5893 - Log triggers exception in CRUD stack ( #390 )
...
* Log TriggerOnObjectCreate crash
* Log TriggerOnObjectUpdate crash
* Log TriggerOnObjectDelete crash
* Factorize TriggerOnObject log
* \TriggerOnObject::LogException : do not replace not persisted yet object keys
2023-02-28 15:13:28 +01:00
Pierre Goiffon
822922df5c
N°5588 - Improve PDF export robustness when AttributeImage dimensions cannot be determined ( #350 )
...
Can happen for example on SVG images
Now the export won't crash anymore, and we'll get a log (export channel, warning level) with the object and attribute causing a problem as context
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-02-23 11:45:29 +01:00
Eric Espie
b37e74b407
📝 Change packages for auto-documentation
2022-12-28 09:51:46 +01:00
Pierre Goiffon
0d49c605e2
💡 Fix \DBSearch::FromOQL phpdoc + modifiers order
2022-12-15 15:36:14 +01:00
Eric Espie
957ff40f30
N°5155 - Email by SMTP with self-signed certificate (changed default values to the previous behaviour)
2022-12-02 09:25:53 +01:00
Eric Espie
aff9c7748b
N°5155 - Email by SMTP with self-signed certificate
2022-11-30 14:18:11 +01:00
Molkobain
3e18ad590f
Fix image attributes not being visible in PDF exports
2022-11-25 19:30:35 +01:00
Molkobain
583ab98210
Fix typo
2022-09-21 16:11:24 +02:00
Pierre Goiffon
88d743b1cc
✅ N°5538 Make PHPUnit test fail if transaction opened but not closed
2022-09-21 14:05:27 +02:00
Pierre Goiffon
d431811725
N°4947 Fix Email always picking "production" env config file ( #331 )
...
Note that the code was duplicated in both Email* impl, this is refactored : LoadConfig and m_oConfig are pulled up in Email, and SetRecipientFrom() calls are also refactored in Email
2022-09-14 15:33:48 +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
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
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
Molkobain
df347b90e5
N°5383 - Declare DBObject::EnumTransitions() as "overwritable hook"
2022-08-08 11:53:46 +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
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
Eric Espie
104beff158
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Fix log
2022-06-29 15:09:17 +02:00
Eric Espie
aa90d5b6ab
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 13:51:08 +02:00
Pierre Goiffon
3ea82e37d5
N°4635 Report \LogChannels::NOTIFICATIONS
2022-06-03 18:00:29 +02:00
acognet
fe1790793e
N°4898 - security hardening
2022-05-30 15:10:49 +02:00
Eric Espie
622f40c06c
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
* Fix legacy mailboxes compatibility
2022-05-25 08:21:16 +02:00
Eric Espie
754946bf62
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
* Fix legacy mailboxes compatibility
2022-05-23 12:09:40 +02:00
Eric Espie
a6580e3cd8
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-23 10:56:32 +02:00
Pierre Goiffon
f57d1f1de3
✅ Fix PHPunit errors with InlineImageMock.php and UtilsTest
...
HTMLDOMSanitizerTest : fix "Fatal error: Cannot declare class InlineImage, because the name is already in use in /var/www/html/iTop/test/core/sanitizer/InlineImageMock.php"
We are now injecting the class to mock, instead of declaring another class with the same name (was working before but why ?!???)
\UtilsTest::testSanitizer : no more testing the "class" filter, because it is a simple indirection, and we need to load datamodel which is causing multiple problems (see the comment in the test method dataprovider)
2022-05-20 10:48:05 +02:00
Eric Espie
160c52fe81
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-19 14:49:48 +02:00
Eric Espie
e1645f6903
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* Config messages
* Fix unit tests
2022-05-18 08:41:58 +02:00
Molkobain
eac6f07823
N°4985 - PHP 8.0: Fix optional parameter before mandatory parameter
...
* Method is always (once) called with the value defined in iTop
* No Combodo extension call the method
* No customization in the ITSM Designer (snippets / extensions) call the method
* Calling method with only the first parameter would crash anyway
2022-05-17 16:51:50 +02:00
Pierre Goiffon
424e2a5745
💡 Fix PHPDoc for \DBObject::CheckConsistency
2022-05-17 15:52:43 +02:00
Molkobain
cf745554fb
N°4985 - PHP 8.0: Fix strlen() test condition that needs to be more strict
2022-05-16 18:04:29 +02:00
Eric Espie
eb1d56f439
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration
2022-05-16 14:51:12 +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