Pierre Goiffon
0ee77d8c88
N°2163 DB*Tracked methods : modifications after review with Romain
...
Previous commit : 24eb82d1
Use \CMDBObject::SetTrackInfo
Move \CMDBObject::SetCurrentChange calls at the top most level of the stacks
Restore old behaviors that were removed in previous commit
2019-11-25 14:58:59 +01:00
Pierre Goiffon
ef5b4e212c
N°2371 deprecate \MetaModel::EnumLinksClasses and \MetaModel::EnumLinkingClasses
2019-11-18 10:20:18 +01:00
Pierre Goiffon
24eb82d140
N°2361 Deprecate DB*Tracked methods
...
* update methods PHPDoc
* DBInsertTracked update callers
* DBInsertTrackedNoReload update callers
* DBUpdateTracked update callers
* DBDeleteTracked update callers
2019-11-15 17:56:04 +01:00
Eric
5642552f9a
N°1888 - Filter search with another search
2019-10-23 12:56:02 +02:00
Eric
bf000e6a89
N°1408 - DBSearch Serialize refactor (json format)
2018-10-15 16:37:17 +02:00
Eric
7d502fae23
N°931: TagSet : OQL Parse/Normalize unit tests
2018-09-03 15:18:19 +02:00
Romain Quetiez
a0ad331023
Automatic tests: improved the automatic benchmark of all queries
...
SVN:trunk[5029]
2017-10-17 10:26:02 +00:00
Romain Quetiez
43b8522b85
Rework of the edition of 1-N and N-N links: managed as a delta from the GUI down to the the lowest APIs.
...
- Fixes the management of obsolete linked data.
- N.744 Fixes concurrent modifications (example: a user modifies a team, another user modifies a person related to that same team). Still NOT fixed with the customer portal.
- N.849 Fixes links edition in the case some data are not allowed to the current user (organization silos) -TO BE TESTED
- #1145 Fixes the creation of duplicate links in one step (Server to NW Device)
- #1147 Fixes the update of duplicate links
SVN:trunk[4766]
2017-06-21 15:47:28 +00:00
Romain Quetiez
ba0a9709f4
Test: fixed automated tests that were abusively failing due to a few new magic attributes
...
SVN:trunk[4746]
2017-05-22 14:04:50 +00:00
Romain Quetiez
856a73fb87
N.689 61 tables limit. INVESTIGATING the issue. Added a test to reproduce the issue on the standard data model, and a test to build statistics on the number of tables used by classes.
...
SVN:trunk[4669]
2017-04-05 12:58:33 +00:00
Romain Quetiez
d0bc9a0bb8
Automatic test suite: fixed warnings (benchmarked queries processed instantaneously);
...
SVN:trunk[4668]
2017-04-05 10:26:43 +00:00
Romain Quetiez
e688d04511
N.788 Impact analysis: graph not refreshed when trying to filter out some classes. The node removal algorithm has been improved in two places. 1) Do not create loops (i.e. an edge having both ends on the same node) when removing a node. 2) Correctly cleanup nodes having a loop (in case there is a loop in the original graph (defensive programming)
...
SVN:trunk[4644]
2017-03-31 14:48:30 +00:00
Romain Quetiez
3644553886
N.609 Some multi-column UNION queries failing with various symptoms such as "Class 'IT Department' not found" or "An object id must be an integer value"
...
SVN:trunk[4634]
2017-03-29 19:58:02 +00:00
Romain Quetiez
b7fc2e4012
N.718 Audit failing with message "Attempting to merge a filter of class A with a filter of class B" (regression introduced in branch 2.3). There are circumstances for which the queries cannot (yet) be optimized (fallback to the original algorithm)
...
SVN:trunk[4611]
2017-03-22 20:53:40 +00:00
Romain Quetiez
6e327e245b
N.497 Continuation of the fix done in [r4461], to correctly handle validation patterns containing a slash (AttributeURL in the enhanced customer portal). The initial fix has broken the validation of date (+time) fields because the slash was escaped twice, leading to an invalid regular expression. Requires testing of synchro, CSV import, console, customer portal...
...
SVN:trunk[4538]
2016-12-19 16:04:21 +00:00
Romain Quetiez
f7e77e9fa6
N.539 Regression introduced in [r4451] on oct 7th. Some OQL were issuing a notice and some were generating a SQL query that would fail with error "Column 'functionalci_id' in where clause is ambiguous" (See CI details)
...
SVN:trunk[4492]
2016-12-05 12:52:08 +00:00
Romain Quetiez
d5c3b8d8e2
N.536 Regression introduced in [r4469] (N.505), itself fixing a regression introduced in [r4404]. REQUIRES TESTING
...
SVN:trunk[4488]
2016-12-02 20:37:13 +00:00
Romain Quetiez
8169e81e9a
Automated tests: added tests following the latest optimizations of the query engine
...
SVN:trunk[4459]
2016-10-14 14:08:52 +00:00
Romain Quetiez
3c9072bb65
OQL: fixed an old limitation, hierarchies can now be expressed both ways. Example of a query that now works fine: SELECT Organization AS root JOIN Organization AS child ON child.parent_id BELOW root.id WHERE child.name LIKE 'Combodo'. In the previous implementation, the operator was interpreted as '='.
...
SVN:trunk[4233]
2016-06-21 14:38:08 +00:00
Denis Flaven
9fd07125e2
Helper class for date & time format conversions between the various conventions for expressing date & time formats.
...
SVN:trunk[4017]
2016-04-29 07:53:45 +00:00
Denis Flaven
8eba9ae714
Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!)
...
SVN:trunk[4011]
2016-04-22 09:26:27 +00:00
Romain Quetiez
725c7d45d1
Internal: Implemented DBObject::ExecActions, enables scripting object preset/modifications
...
SVN:trunk[3991]
2016-04-08 07:34:38 +00:00
Denis Flaven
c8fa3870db
Integration of the Czech translation provided by Lukáš Dvořák. Thanks a lot Lukáš !
...
SVN:trunk[3776]
2015-09-18 15:05:23 +00:00
Denis Flaven
3cbb0e974e
Completed unit tests to cover 1-N links and to emulate the behavior of the user interface for N-N links.
...
SVN:trunk[3758]
2015-09-14 12:21:34 +00:00
Denis Flaven
d2e78d0292
Unit tests fixes...
...
SVN:trunk[3755]
2015-09-12 14:34:35 +00:00
Romain Quetiez
a35488b540
Added unit tests for the recording of linksets from one end (->Set('xxxxx_list')
...
SVN:trunk[3748]
2015-09-11 15:00:57 +00:00
Romain Quetiez
baf54a7c02
#942 OQL now supporting unions. Unions support polymorphism and can be used anywhere in the application.
...
SVN:trunk[3631]
2015-07-08 17:10:40 +00:00
Romain Quetiez
444d9e36c6
OQL enhancement: allow JOIN on a objclass/objkey pair of attributes (requires benchmarking)
...
SVN:trunk[3506]
2015-03-19 12:50:15 +00:00
Denis Flaven
4dabb566a8
- Memory optimization: no longer store all DBObjects in memory while browsng through a Set, but pull them one by one from the MySQL client buffer as needed.
...
- Also renamed Merge to Append since it's really what it does (seems to be used only in the tests)
SVN:trunk[3142]
2014-05-06 13:46:45 +00:00
Romain Quetiez
26db86beb2
OQL normalization and dashlets have been made independent from the class MetaModel
...
Added OQL normalization unit tests (to be run on a standard installation)
SVN:trunk[2767]
2013-06-03 13:26:14 +00:00
Romain Quetiez
7fcf922ee0
Updated the unit test for the OQL parser
...
SVN:trunk[2711]
2013-04-29 09:01:06 +00:00
Denis Flaven
6feb62d728
#383 : support negative numbers in OQL
...
Enhancements: support MySQL bitwise operators (&, |, ^, <<, >>) and hexadecimal numbers (up to 64-bit).
SVN:trunk[2709]
2013-04-29 08:51:01 +00:00
Romain Quetiez
b38dea4bba
#634 Detection of HTTPS not working with nginx (iTop always considering the current connection as being secure)
...
SVN:trunk[2617]
2013-03-13 13:57:51 +00:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Romain Quetiez
7b790cc84f
Fixed two bugs revealed with specific constraints (query expression like 'SELECT b FROM a JOIN b', AND the organization context is set)
...
SVN:trunk[2325]
2012-10-22 13:02:15 +00:00
Romain Quetiez
e33523ddc8
CSV import/export reworked:
...
Trac #174 and #283 : import.php localized by default, option no_localize to disable
Trac #554 : export.php localized by default, option no_localize to disable
Trac #555 : friendlyname abusively used as a reconciliation key
+ Default charset is ISO-8859-1 to be compatible with Excel (See config parameter csv_file_default_charset)
+ CSV export in UTF-8 with BOM to help Excel in getting it right (not all versions)
+ Fixed reporting issues (wrong class, exceptions, changed external key)
+ Fixed settings lost when navigating in the import wizard
+ Fixed issues when some html entities were found in the data (reporting + export)
+ Added a link to download the CSV export.php
SVN:trunk[2253]
2012-10-12 15:48:54 +00:00
Denis Flaven
0ffe040546
Updated the test list to take into account Trac #558 (hexadecimal numbers inside strings)
...
SVN:trunk[2107]
2012-06-14 09:31:33 +00:00
Romain Quetiez
9ac4f84e22
#489 Run the synchro with parameter max_chunk_size to split the execution into several processes, each loading at most the given count of replica (note: the master process will continue to run while child processes are being forked one by one)
...
SVN:trunk[1732]
2011-12-20 15:55:07 +00:00
Romain Quetiez
6cb052043a
Added a test for searching on SOAP
...
SVN:trunk[1706]
2011-12-06 14:29:56 +00:00
Romain Quetiez
169bf4948b
Data sync: fixed issue when a replica left in state 'new' becomes obsolete
...
SVN:trunk[1668]
2011-11-15 09:29:07 +00:00
Romain Quetiez
e00c32b867
Fixed SOAP test
...
SVN:trunk[1648]
2011-10-25 13:03:36 +00:00
Denis Flaven
51bd6cdf97
#446 continuing: sanitizing parameters...
...
SVN:trunk[1451]
2011-08-15 13:55:59 +00:00
Denis Flaven
308d2626a9
Added test cases for the new BELOW operator
...
SVN:trunk[1389]
2011-07-30 17:23:39 +00:00
Romain Quetiez
0d710d0464
#355 (continuation of the fix) import.php to support localized names in the specification of reconciliation keys, and allowing to specify an external key though it is given as an external field in the input columns
...
SVN:trunk[1248]
2011-04-28 14:02:01 +00:00
Romain Quetiez
d4321ec1ce
#366 Global search case sensitive or not working at all (issue with COLLATION)
...
SVN:trunk[1158]
2011-03-31 08:29:02 +00:00
Romain Quetiez
a222b33566
CRON - admin only + queues with timer (field 'planned')
...
SVN:trunk[1139]
2011-03-21 15:17:08 +00:00
Romain Quetiez
b8b20f82d7
Email sent in asynchronous mode (established the base for an application internal CRON, task queue, etc.) with adjustable configuration (disable by default). Also improved the OQL: IS_NULL() and REGEXP have been added.
...
SVN:trunk[1132]
2011-03-18 11:15:09 +00:00
Romain Quetiez
7989cf622f
CSV import: fixed a few issues (restricted to N-N links) + added arguments to the export page, to allow for exporting N-N links
...
SVN:trunk[1130]
2011-03-15 12:19:04 +00:00
Romain Quetiez
f3cc490295
#328 Added the capability to import/export link sets in CSV format
...
SVN:trunk[1129]
2011-03-14 14:11:08 +00:00
Romain Quetiez
692f7060ea
#355 CSV Import (non interactive) now supporting localized column headers, making it possible to import directly data generated by the interactive export. NOTE: to achieve this, the default separator is now the coma (whereas the default separator in XCel sheets is the semicolumn)
...
SVN:trunk[1122]
2011-03-09 09:19:03 +00:00