Eric Espie
6aef59e42d
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/dbobject.class.php
# datamodels/2.x/itop-config/config.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
2022-06-08 16:51:44 +02:00
bdalsass
2b885beb82
Feature/merge 3 0 develop ( #298 )
...
* merging 3.0 into develop
* N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* migration to iTop 3.1
Co-authored-by: Eric Espie <eric.espie@combodo.com >
2022-06-08 16:27:20 +02:00
Eric Espie
6e4fb5888c
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
...
* migration to iTop 3.0
2022-06-08 15:47:52 +02:00
Benjamin Dalsass
f014ebfeb1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/log.class.inc.php
# setup/modelfactory.class.inc.php
2022-06-08 13:04:50 +02:00
Pierre Goiffon
3ea82e37d5
N°4635 Report \LogChannels::NOTIFICATIONS
2022-06-03 18:00:29 +02:00
Benjamin Dalsass
0819b9baba
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# composer.lock
# core/config.class.inc.php
# core/dbobject.class.php
# core/email.class.inc.php
# datamodels/2.x/itop-core-update/dictionaries/hu.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/it.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/ja.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/nl.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/ru.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/sk.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/tr.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/pt_br.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/view/ConfirmUpdate.html.twig
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# datamodels/2.x/itop-welcome-itil/datamodel.itop-welcome-itil.xml
# dictionaries/cs.dictionary.itop.core.php
# dictionaries/cs.dictionary.itop.ui.php
# dictionaries/da.dictionary.itop.core.php
# dictionaries/da.dictionary.itop.ui.php
# dictionaries/de.dictionary.itop.core.php
# dictionaries/de.dictionary.itop.ui.php
# dictionaries/en.dictionary.itop.ui.php
# dictionaries/es_cr.dictionary.itop.core.php
# dictionaries/es_cr.dictionary.itop.ui.php
# dictionaries/fr.dictionary.itop.core.php
# dictionaries/fr.dictionary.itop.ui.php
# dictionaries/hu.dictionary.itop.core.php
# dictionaries/hu.dictionary.itop.ui.php
# dictionaries/it.dictionary.itop.core.php
# dictionaries/it.dictionary.itop.ui.php
# dictionaries/ja.dictionary.itop.core.php
# dictionaries/ja.dictionary.itop.ui.php
# dictionaries/nl.dictionary.itop.core.php
# dictionaries/nl.dictionary.itop.ui.php
# dictionaries/pt_br.dictionary.itop.core.php
# dictionaries/pt_br.dictionary.itop.ui.php
# dictionaries/ru.dictionary.itop.core.php
# dictionaries/ru.dictionary.itop.ui.php
# dictionaries/sk.dictionary.itop.core.php
# dictionaries/sk.dictionary.itop.ui.php
# dictionaries/tr.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.ui.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
# sources/application/TwigBase/Controller/Controller.php
# sources/application/TwigBase/Twig/TwigHelper.php
2022-06-02 16:30:48 +02:00
Eric Espie
23c95ebbf3
Block if event is not registered
2022-06-02 13:48:59 +02:00
Eric Espie
c7e54c66c8
Event "Compute Values"
2022-06-01 09:09:16 +02:00
Eric Espie
f6855b0d2b
Display events in the datamodel page
2022-06-01 08:44:12 +02:00
Eric Espie
1ceef602f0
Remove debug
2022-05-31 15:44:56 +02:00
Eric Espie
c9317542c8
refactor
2022-05-31 15:37:29 +02:00
Eric Espie
aed8337c51
Protection against reentrance for DBUpdate
2022-05-30 17:03:47 +02:00
acognet
fe1790793e
N°4898 - security hardening
2022-05-30 15:10:49 +02:00
Eric Espie
af4a5e1b8d
New CRUD behaviour (removed Reload in DBInsert and DBUpdate) and protection against reentrance
2022-05-27 17:46:10 +02:00
Eric Espie
301c308fec
Refactor
2022-05-25 10:32:41 +02:00
Eric Espie
b827c68187
Merge branch 'develop' into feature/faf_event_service
2022-05-25 10:04:54 +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
Pierre Goiffon
3d541b2a2d
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
2022-05-24 11:29:12 +02:00
Pierre Goiffon
f0d1c3ac60
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/utils.inc.php
# core/htmlsanitizer.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
# pages/UI.php
# test/OQL/DataLocalizerTest.php
# test/OQL/OQLToSQLAllClassesTest.php
# test/OQL/OQLToSQLGroupByTest.php
# test/OQL/OQLToSQLNestedSelectTest.php
# test/OQL/OQLToSQLTest.php
# test/application/UtilsTest.php
2022-05-24 11:13:28 +02:00
acognet
44ca8acf37
remove useless comment
2022-05-23 14:27:51 +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
acognet
b371072a61
N°3141 - Deprecate legacy SQL build
2022-05-20 11:34:52 +02:00
acognet
d874b749d0
Revert N°3141 - Deprecate legacy SQL build
2022-05-20 11:22:20 +02:00
acognet
cff26563cc
N°3950 - Deprecate old unreferenced methods that are @deprecated - Expression:: Render
2022-05-20 11:09:03 +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
acognet
fd1064b044
N°3950 - Deprecate old unreferenced methods that are @deprecated - BulkUpdate
2022-05-20 10:40:29 +02:00
Eric Espie
160c52fe81
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-19 14:49:48 +02:00
Molkobain
2b0cc4d0e7
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 20:01: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
Molkobain
4eb43cd02d
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 19:29:57 +02:00
Molkobain
d3fb08ba81
PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
2022-05-18 18:32:48 +02:00
Molkobain
6a332ca60b
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 10:43:22 +02:00
Benjamin Dalsass
87f606f768
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/dashlet.class.inc.php
# pages/ajax.render.php
# pages/csvimport.php
# test/phpunit.xml.dist
2022-05-18 10:38:50 +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
Thomas Casteleyn
3d04cf1cd6
🌐 Improve DBObject::CheckValue and CheckConsistency error messages ( #288 )
...
Now contains attribute code and value
2022-05-17 17:01:41 +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
Molkobain
020937d4f6
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-16 16:22:53 +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
acognet
438b84d4ee
N°3141 - Deprecate legacy SQL build
2022-05-16 09:24:42 +02:00
Molkobain
afc8354523
Code cleanup
2022-05-14 20:42:48 +02:00
acognet
8b26b34f96
N°4690 - Deprecate "FilterCodes"
2022-05-13 10:28:53 +02:00
acognet
c20cedf266
Deprecate unused and broken method
2022-05-12 17:09:16 +02:00
acognet
2165bfe8c2
Fix "undefined offset" error during "Anonymize" action
2022-05-12 14:45:18 +02:00
Molkobain
865aaf0191
Merge branch 'support/3.0' into develop
2022-05-11 18:12:46 +02:00
acognet
6946bb54ed
Revert "Fix "undefined offset" error during "Anonymize" action"
...
This reverts commit b4e623d1
2022-05-11 12:38:23 +02:00
acognet
b4e623d175
Fix "undefined offset" error during "Anonymize" action
2022-05-11 10:18:58 +02:00
acognet
f4e04477db
Fix "undefined offset" error during "Anonymize" action
2022-05-09 16:08:33 +02:00