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
86024107af
deprecated includes
2022-06-08 15:55:20 +02:00
Eric Espie
754f87fd0c
debug log
2022-06-08 15:54:27 +02:00
Eric Espie
972e894bc5
debug log
2022-06-02 17:32:15 +02:00
Eric Espie
86a2db7e7f
Remove AFTER_DISPLAY_PAGE Event
2022-06-02 17:23:07 +02:00
Eric Espie
4c31081de2
Remove AFTER_DISPLAY_PAGE Event
2022-06-02 17:19:43 +02:00
Eric Espie
23c95ebbf3
Block if event is not registered
2022-06-02 13:48:59 +02:00
Eric Espie
e77f21a0b5
refactor Event Listeners
2022-06-01 14:29:43 +02:00
Eric Espie
35e1f080b8
Attachments events
2022-06-01 11:46:00 +02:00
Eric Espie
812c1f6bb4
Migrate datamodel
2022-06-01 11:19:46 +02:00
Eric Espie
9adb7f20ce
Event "Compute Values"
2022-06-01 09:11:03 +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
93cc29f4d9
refactor
2022-05-31 15:42:09 +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
Eric Espie
af4a5e1b8d
New CRUD behaviour (removed Reload in DBInsert and DBUpdate) and protection against reentrance
2022-05-27 17:46:10 +02:00
acognet
1fd792fed9
N°3950 - Deprecate old unreferenced methods that are @deprecated - remove application/itopwebpage.class.inc.php
2022-05-25 11:35:54 +02:00
Eric Espie
e7c09c83f0
internal doc
2022-05-25 10:59:38 +02:00
Eric Espie
56103d1952
Refactor
2022-05-25 10:38:07 +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
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
72f498a63b
N°5168 - Fix error message "Call to a member function GetKey() on null"
2022-05-24 10:50:56 +02:00
Pierre Goiffon
f9a1f68295
✅ N°4655 Remove OQL tests
...
Were only here to check legacy OQL engine, but since 2.7.0 we fixed couple of bugs in the current OQL engine : we can't keep same functionalities in both engines :/.
Plus now we are working on 2.7.7 and we're not aware of any use of this legacy engine...
Note that it will be deprecated (N°3141) and removed (N°4715) very soon.
2022-05-24 10:38:59 +02:00
Pierre Goiffon
9b67b0b9d5
Same options in phpunit config files
2022-05-23 14:53:13 +02:00
acognet
44ca8acf37
remove useless comment
2022-05-23 14:27:51 +02:00
acognet
f798ef1d76
N°4538 - Dashlet Groupby on ExternalKey with special character, bad display - remove useless test
2022-05-23 14:21:03 +02:00
Pierre Goiffon
da6621f2ff
Fix include warning in unittestautoload.php on Windows
2022-05-23 09:53:30 +02:00
Molkobain
f2d42a7e56
N°5002 - Simplify code
2022-05-20 18:41:39 +02:00
Benjamin Dalsass
d01e4b4a85
N°5168 - Security hardening
2022-05-20 16:08:25 +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
acognet
16fcddc249
N°4867 - "Twig content not allowed" error when use the extkey widget search icon in the user portal (regression of N°4384 )
2022-05-20 09:52:25 +02:00
Molkobain
6086131d3c
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-20 09:36:03 +02:00
Molkobain
227814e6c3
N°4517 - PHP 8.1: Fix missing use statement
2022-05-20 09:35:23 +02:00
bdalsass
4dd384e418
N°4872 - Create a ticket in resolved statut Inlineimage disappear ( #294 )
2022-05-20 09:26:06 +02:00
Molkobain
80e7313b24
PHPDoc
2022-05-19 17:40:14 +02:00
Benjamin Dalsass
5f0a820b4a
N°4899 - add sanitizer url since annotation and tests for sanitizer function
2022-05-19 08:36:42 +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
Benjamin Dalsass
03ef4246bf
N°4899 - add sanitizer url since annotation and tests for sanitizer function
2022-05-18 12:03:07 +02:00