Eric Espie
db6e4137b1
N°6271 - Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-26 18:00:04 +02:00
Eric Espie
2907efde4b
N°6151 - Portal rules: source_oql containing UNION not allowed
2023-04-06 11:07:05 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
45df1002ec
N°5388 - PHP 8.2: Fix dynamic properties to standard declared properties
2023-02-15 23:02:40 +01:00
Molkobain
737388053f
PHP 8.1: Fix FunctionExpression::Evaluate() "TO_DAYS" misalignment due to PHP 8.1 bug fix
2023-02-15 21:31:11 +01: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
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
ff12dd99b5
N°4517 - PHP 8.1: Fix return types to match ArrayAccess interface
2022-06-28 16:34:07 +02:00
acognet
44ca8acf37
remove useless comment
2022-05-23 14:27:51 +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
84e35e27b8
✅ N°5143 Fix FunctionExpression for DATE_FORMAT and formats %j, %k and %l
2022-05-02 18:59:10 +02:00
Pierre Goiffon
d8e2a1cc7c
Merge branch 'support/2.7' into develop
...
# Conflicts:
# README.md
# composer.json
# composer.lock
# core/cmdbsource.class.inc.php
# core/dbobject.class.php
# datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# datamodels/2.x/combodo-db-tools/dictionaries/zh_cn.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php
# datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# lib/composer/InstalledVersions.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# lib/composer/platform_check.php
# pages/ajax.render.php
# pages/csvimport.php
# setup/ajax.dataloader.php
# setup/index.php
# setup/setuputils.class.inc.php
# test/application/UtilsTest.php
2021-06-14 16:19:56 +02:00
Eric
3965806fa0
N°4052 - OQL parser limit for huge request - add better feedback
2021-06-03 16:49:21 +02:00
Eric
02d32a556d
N°4052 - OQL parser limit for huge request
2021-06-02 15:15:00 +02:00
Pierre Goiffon
d545123ca7
🔇 N°3731 Remove some depreciation notice for methods still used in iTop core
2021-04-13 17:56:21 +02:00
Pierre Goiffon
59678ef8c6
🔊 N°3731 Log calls to deprecated files / PHP methods
...
POC for the log API was added in #193
2021-04-13 17:56:21 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
Eric
69189ab41a
Merge branch 'support/2.7' into develop
2021-02-08 10:42:19 +01:00
Eric
6b76e5a853
N°3618 - Count on union with different conditions fails (php doc)
2021-02-08 09:39:24 +01:00
Eric
f07f0ba1c7
N°3618 - Count on union with different conditions fails (Fix multi-column attributes sql generation)
2021-02-05 10:15:14 +01:00
Eric
640b6a7288
N°2677 - Add style definition for enums (fix CI)
2020-12-31 13:22:01 +01:00
Pierre Goiffon
be9a428529
Merge remote-tracking branch 'origin/support/2.7' into develop
2020-10-19 15:38:11 +02:00
Pierre Goiffon
1cfb52d220
🐛 Fix CoreException constructor generating a warning on PHP >= 7.2
...
In the CoreException constructor, we're using the $aContextData parameter to do a count(), a foreach(), and uses values as string.
Only a null check was done.
Now we are also checking that the value is_array().
As others checks (Countable, Iterable, __toString() impl) are quite difficult depending on the PHP version we're running, we didn't add any other checks.
The call in \MatchExpression::__construct (added in 05a0d612 ) was passing directly an Expression object. We could embed it in an array, but the object hierarchy isn't implementing __toString so we would have another bug.
In consequence we removed this parameter.
2020-10-19 11:57:53 +02:00
Molkobain
8e6351d346
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:04:10 +02:00
Pierre Goiffon
7d26b6092e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# .idea/codeStyles/codeStyleConfig.xml
# .idea/inspectionProfiles/Combodo.xml
2020-10-06 10:42:55 +02:00
Pierre Goiffon
db8c26da17
📝 update PHPDoc for \Expression::IsTrue
2020-10-01 17:02:22 +02:00
Pierre Goiffon
e4b3871947
📝 PHPDoc for \Expression::IsTrue
2020-10-01 14:51:28 +02:00
Pierre Goiffon
b2474d3368
N°3324 Portal fix ignore_silo when using nested query in scopes
...
The AllowAllData attribute wasn't updated in the nested queries.
It is now set both when calling DBObjectSearch::AllowAllData and when creating a new nested query (\DBObjectSearch::AddConditionExpression)
2020-10-01 12:15:34 +02:00
acognet
05a0d61244
N°3335 - Notifications on threshold don't work when trigger is created on iTop 2.7.1 - nicer fix
2020-09-29 10:27:05 +02:00
Pierre Goiffon
71848cb56b
Merge branch 'support/2.7' into develop
...
# Conflicts:
# .jenkins/bin/tests/phpunit.sh
# Jenkinsfile
# core/config.class.inc.php
# core/dbobjectsearch.class.php
# core/ormlinkset.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# dictionaries/nl.dictionary.itop.ui.php
2020-08-17 09:36:43 +02:00
Eric
dfaeca43e4
N°3148 - OQL request malformed
...
Fix variables in ListExpression
2020-07-22 10:06:11 +02:00
Romain Quetiez
acf0548c4c
N°3171 - Friendly name and obsolescence flag not refreshed ( #151 )
...
- Compute any type of expression on server side
- Recompute friendly name and obsolescence flag on server side (DBOBject)
- Bonus : compute dependency for external keys
2020-07-10 17:26:37 +02:00
Eric
94f9b16c03
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
...
Add ListParameters to DBSearch for nested queries
2020-06-24 15:18:11 +02:00
acognet
311aeb0b07
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
2020-06-24 12:09:55 +02:00
acognet
f7ea6c09cd
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
2020-05-05 19:00:24 +02:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
Molkobain
0b5ee1e05c
Internal: Fix typo in PHPDoc
2020-02-17 11:24:20 +01:00
Eric
ef3bdd63a4
N°2746 - Fix search from shortcut
2020-02-13 11:56:19 +01:00
acognet
b84859b07e
optimizing the display of the label in FieldsExpression
2019-12-17 13:07:21 +01:00
Eric
1010274c48
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix search init & code cleanup
2019-12-04 14:50:36 +01:00
Eric
c39ff13217
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix search init
2019-12-04 14:40:53 +01:00
Eric
3ae4ca89f4
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION queries and "nested nested" queries
2019-12-03 17:14:53 +01:00
Eric
b415b1eeae
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION requests
2019-12-03 12:11:00 +01:00
Eric
c0ae983faa
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
acognet
a33977251e
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
Eric
4798bf2f79
N°2408 - Fix FromOQL() with NULL
2019-11-28 11:54:42 +01:00
Eric
c665bb4761
💚 Fix unit tests
2019-11-14 09:37:39 +01:00
Denis Flaven
36584092e5
(Experimental) Export a DBSearch as an array/JSON structure.
2019-11-13 18:03:58 +01:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00