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
Eric
dbada2f72a
N°3238 - Fix multi-words search in FilterBrick and ManageBrick
2020-09-04 17:34:59 +02:00
Eric
9694e9848d
N°3285 - Fix Standard Global Search: multiple words search
2020-09-04 09:27:39 +02:00
Eric
ace676dc24
N°2585 - Fix alias problem in portal scopes
...
The re-aliasing map structure now allows multiple mapping for the same alias (used for the translations of UNIONS)
2020-07-23 16:41:57 +02:00
Eric
8122270476
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fix regression in Unit tests
2020-07-22 17:30:38 +02:00
Eric
1f66d53ab4
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fixed AddCondition_ReferencedBy() for unions (regression introduced by N°2970)
2020-07-22 16:09:08 +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
Pierre Goiffon
6885d64124
📝 N°1418 DBObject PHPDoc
2020-06-17 19:03:29 +02:00
Eric
8064a20718
N°2970 - Reset conditions of joined filter because they can be used later by the Filter() method
2020-06-03 11:47:12 +02:00
acognet
873d109b98
N°1910 - iTop - Search on Text contains "_" not working - move correction in other place
2020-05-12 14:48:16 +02:00
Eric
bcd9679957
N°3006 - Fix filtering an UNION with parent class
2020-05-12 12:08:18 +02:00
Pierre Goiffon
9b065ffb0a
Merge remote-tracking branch 'origin/support/2.7.0' into support/2.7
...
# Conflicts:
# datamodels/2.x/itop-attachments/renderers.itop-attachments.php
2020-04-29 09:00:10 +02:00
acognet
0b95dbee7f
N°1588 - Count on Managed Brick sometimes wrong
2020-04-20 16:31:56 +02:00
Eric Espié
1f750bb12d
N°2902 Fix alias renaming when already exists in one OQL of an UNION
...
The legacy impl is not modified
2020-04-20 14:59:56 +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
bruno DA SILVA
6a6a0ffa24
1627 - Ticket ref sometimes duplicate
...
🐛 fix ref. generation when inside a transaction (by opening a new connection).
note: the portal make uses of such a transaction.
2020-01-27 17:58:30 +01:00
Eric
8911a9a3ed
N°2381 - Not possible to create a ticket in "resolved" with lnk objects
2019-12-05 13:06:23 +01:00
Eric
a74cff6902
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix unit tests
2019-12-04 15:39:44 +01:00
Eric
58da108e85
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-04 14:27:02 +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
c0ae983faa
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
Eric
9c8c306df3
🐛 Fix DBSearch::Intersect (de-duplicate aliases)
2019-11-27 15:39:33 +01:00
Denis Flaven
36584092e5
(Experimental) Export a DBSearch as an array/JSON structure.
2019-11-13 18:03:58 +01:00
Eric
5642552f9a
N°1888 - Filter search with another search
2019-10-23 12:56:02 +02:00
Eric
6f6b654dba
N°1113 - Global search only searchable attributes
2019-10-23 10:24:37 +02:00
Eric
611bf3035f
N°1113 - AttributePassword content searchable in Global Search
...
The global search now avoid AttributePassword type of attributes
2019-10-22 09:56:09 +02:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
Eric
1e911b5094
N°2272 - OQL performance (SQL Generation)
2019-09-24 11:40:08 +02:00
Eric
aac6ab0fc6
N°2272 - OQL performance (testability)
2019-09-06 14:30:42 +02:00
Molkobain
38640b01a8
Merge branch 'feature/b2060-migrate-silex-to-symfony' into develop
...
# Conflicts:
# core/dbsearch.class.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/userprofilebrickcontroller.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/helpers/applicationhelper.class.inc.php
# datamodels/2.x/itop-portal/module.itop-portal.php
2019-07-12 09:57:16 +02:00
Molkobain
030d912820
Code cleanup
...
- Format code accordingly to coding conventions
- Add / update PHPDoc all over the place
- Suppress most of the warnings that did not have a big impact on code's logic
2019-07-09 19:10:16 +02:00
Eric
e68340273b
Merge branch 'master' into develop
...
# Conflicts:
# core/config.class.inc.php
# core/htmlsanitizer.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/version.xml
# dictionaries/zh_cn.dictionary.itop.ui.php
# synchro/synchrodatasource.class.inc.php
2019-06-20 16:11:38 +02:00
Eric
dac77e0606
Revert id in select
2019-06-13 10:24:01 +02:00
Eric
85653c9ffc
Sanityzation:
...
- no use of cache to build queries when the flag is set
- Use class key instead of 'id' for default select column
2019-06-11 17:18:35 +02:00
Pierre Goiffon
d24870e0ae
Merge remote-tracking branch 'origin/master' into develop
2019-06-04 16:23:58 +02:00
bruno DA SILVA
22416cc0be
:note: PhpDoc generation for the public API
...
- typo (tunning => tuning)
- rework of the README.md
2019-05-24 14:05:22 +02:00
Pierre Goiffon
991bc359cb
Merge remote-tracking branch 'origin/master' into develop
2019-05-23 10:52:34 +02:00
OИUЯd da silva
9c75cb4537
:note: PhpDoc generation for the public API ( #63 )
...
- generate phpdoc to a dokuwiki compatible format
- add/update the phpdoc of a selection of class methods
2019-05-21 12:05:52 +02:00
Eric
6ad27b43ab
PR#39 Fix support of expressions (friendlyname) in different language contexts
2019-01-14 11:30:01 +01:00
Eric
a327b5fb5e
Allow an alternative SQL generation from OQL (same as 2.3.0)
2018-11-08 08:55:48 +01:00
Eric
518d94f5f3
Fix audit bug (DBUnionSearch::AddConditionForInOperatorUsingParam() does not exist) when category is a UNION and rule flag 'Valid objects?' is 'true' and there are invalid entries in the result of the audit.
2018-11-06 08:49:35 +01:00
Eric
1debf77ab4
N°931: DBSearch AddCondition updated for tags
2018-09-17 12:46:46 +02:00
Pierre Goiffon
f871581997
Merge branch 'develop' into feature/b931
...
# Conflicts:
# application/applicationextension.inc.php
# core/attributedef.class.inc.php
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# core/dbobjectsearch.class.php
# core/oql/expression.class.inc.php
# core/oql/oql-lexer.plex
# core/oql/oql-parser.y
# core/oql/oqlquery.class.inc.php
# css/light-grey.scss
# datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml
# datamodels/2.x/itop-portal/datamodel.itop-portal.xml
# datamodels/2.x/itop-tickets/en.dict.itop-tickets.php
# dictionaries/en.dictionary.itop.core.php
# dictionaries/fr.dictionary.itop.core.php
# setup/xmldataloader.class.inc.php
# test/ItopDataTestCase.php
2018-09-04 18:02:51 +02:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02:00
Eric
e58bc738d0
N°931: TagSet : Parsing OQL
2018-08-31 15:58:55 +02:00
Pierre Goiffon
201c93e20a
N°1582 Fix audit when a current organization is set and there is an audit rule with valid=true
...
Was generating an OQL missing query argument error
SVN:trunk[5991]
2018-08-01 09:12:00 +00:00
Stephen Abello
0a44f34c2c
N°1444 : fixed regression introduced in [r5724] & [r5773]
...
SVN:trunk[5809]
2018-05-23 10:11:23 +00:00
Eric Espié
137067ea43
cleanup and fix Group by queries
...
SVN:trunk[5790]
2018-05-15 15:12:57 +00:00
Pierre Goiffon
7b54f51d75
N°1418 Audits Perf optimization for AuditRule with valid_flag=true and lots of negative records
...
Use a new helper method that don't parse values anymore on SELECT IN / NOT IN queries
SVN:trunk[5724]
2018-04-23 14:48:40 +00:00
Eric Espié
c485286114
Advanced Search: External keys to hierarchical class selects sub-classes as in previous version
...
SVN:trunk[5675]
2018-04-16 16:35:20 +00:00