Guillaume Lajarige
2fcf50bb88
N°653 Lifecycle flags can be defined on both states and transitions (Note: This is a beta version and need to be tested!)
...
SVN:trunk[4688]
2017-04-21 14:59:04 +00:00
Guillaume Lajarige
2e8c629195
N°829 Portal: AttributeUrl was not clickable in the new portal
...
SVN:trunk[4686]
2017-04-19 15:36:00 +00:00
Romain Quetiez
bb9236deae
N.816 New parameter in the working time computer GetDeadline API: the 4th parameter is the threshold for which the deadline is being computed.
...
SVN:trunk[4675]
2017-04-06 19:07:08 +00:00
Romain Quetiez
1a66a6491a
N.755 Case log preset by object copier is not correcly displayed in the object creation form (if combined with the copy of the previous log AND if that log has at least one entry). Has never worked.
...
SVN:trunk[4672]
2017-04-06 18:44:34 +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
751b7c8560
N.755 Case log latest entry preset with a copy of a case log coming from another ticket. The log gets corrupted after adding a new entry.
...
SVN:trunk[4666]
2017-04-04 12:58:02 +00:00
Guillaume Lajarige
ab6cd49fcb
Portal: Fixed friendlyname fields rendered as mandatory when they should have been readonly.
...
SVN:trunk[4658]
2017-04-04 08:01:47 +00:00
Romain Quetiez
5411e60c81
N.755 (reduces the impact) Core API: Fixed the merging of several entries into a case log (calling several times DBObject::Set for a case log). The previous implementation did not work at all, leaving the data structure inconsistent. Moreover, the last text given is now inserted AFTER the text it is merged with (not on top of it) like in a normal text stream.
...
SVN:trunk[4657]
2017-04-03 20:56:47 +00:00
Romain Quetiez
5adb0fd556
N.447 Impact analysis: messing up redundancy settings (could either lead to wrong results or a fatal error if a relation is configured downstream)
...
SVN:trunk[4653]
2017-04-03 13:59:06 +00:00
Romain Quetiez
59c3f565a3
Fixes a regression introduced in [r4642]. N.450 Impact analysis. The previous fix aimed at generating more redundancy nodes, but in fact it generated too many in some circumstances.
...
SVN:trunk[4649]
2017-04-01 20:05:14 +00:00
Guillaume Lajarige
86191b36d8
DBObject::ExecActions : add_to_list action now accepts the source object id as first parameter
...
SVN:trunk[4647]
2017-03-31 15:18:50 +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
76fd5c0b5f
N.450 Impact analysis : missing edges (and redundancy) when two classes impact a given class and both relations use the same neighbour id (and if redundancy is enabled over both relations)
...
SVN:trunk[4642]
2017-03-31 14:34:43 +00:00
Romain Quetiez
772954711a
N.799 Setup failing (during database creation) with MetaEnum attribute having no mapping for the class they are declared in.
...
SVN:trunk[4636]
2017-03-30 19:23:43 +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
38c12104b3
N.740 Error when attempting to disable the logs. Took the opportunity to refactor, relying on late static bindings (requires PHP 5.3). The refactoring avoided the fix to be duplicated in three places.
...
SVN:trunk[4628]
2017-03-29 08:28:24 +00:00
Romain Quetiez
2f8b5e5eeb
N.519 REST/JSON Add a comment in pure text into the case log (only for add_item/items syntaxes, use format="text")
...
SVN:trunk[4619]
2017-03-23 15:16:30 +00:00
Romain Quetiez
af093ba86a
N.692 Config setting log_queries does not work? This setting has been deprecated (use log_kpi_duration instead) - Still the implementation of query logging remains (and is buggy) as it may be usefull in order to record and rebuild a complete set of queries.
...
SVN:trunk[4615]
2017-03-23 09:09:45 +00:00
Romain Quetiez
8f0095f751
N.718 (continuation) Audit failing with message "Attempting to merge a filter of class A with a filter of class B" (regression introduced in branch 2.3)....
...
SVN:trunk[4612]
2017-03-22 20:59:33 +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
435a177283
Suppressed warnings due to the error reporting. When one of the arguments in the call stack is an array, a warning (Conversion of an array into a string) is issued at the time the EventIssue is being recorded. When a posted parameter is an array, the same warning is issued at the time and EventIssue is being displayed.
...
SVN:trunk[4608]
2017-03-22 12:43:12 +00:00
Romain Quetiez
e41a8833e2
N.701 Data Synchro: dates can be reset by the mean of an empty string (still, integers and enums cannot be reset)
...
SVN:trunk[4596]
2017-03-17 09:14:11 +00:00
Romain Quetiez
20e0ab3d6e
N.453 Emails coming from outlook. Many line breaks added when editing the ticket
...
SVN:trunk[4580]
2017-03-14 13:16:42 +00:00
Romain Quetiez
342ac0444c
N.757 Server log filled with warnings (ContextTag::Check)
...
SVN:trunk[4573]
2017-03-10 14:32:32 +00:00
Guillaume Lajarige
76ca7dc9e8
N°602: InlineImage "randomly" not available for display.
...
Adding an InlineImage while adding an object in a IndirectLinkedSet at the same time would attach the InlineImage to the linked object instead of the host one. If their organizations were different, it could result in a security issue, denying the display of the InlineImage.
SVN:trunk[4561]
2017-02-28 09:47:24 +00:00
Denis Flaven
fcc5342775
Bug fix: protect against a non existing Contact class (a rather drastic iTop customization!)
...
SVN:trunk[4559]
2017-02-24 14:09:44 +00:00
Denis Flaven
fc375da128
N° 615: spreadsheet export enhancement to remove unneeded line breaks.
...
SVN:trunk[4549]
2017-01-31 13:26:12 +00:00
Denis Flaven
172ceba464
N° 615: fixing the spreadsheet export (for integration into Excel) for HTML formatted text fields (e.g. ticket's description).
...
SVN:trunk[4547]
2017-01-18 15:17:07 +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
Denis Flaven
c0949421ad
Support of the "target" attribute for links.
...
SVN:trunk[4524]
2016-12-14 11:16:12 +00:00
Guillaume Lajarige
68c180f7eb
N.474: Support for "file" attribute (AttributeBlob) in the portal. READONLY only for now.
...
SVN:trunk[4512]
2016-12-13 10:15:43 +00:00
Denis Flaven
c903fc2246
Support of text-align in the styles.
...
SVN:trunk[4511]
2016-12-08 13:58:01 +00:00
Guillaume Lajarige
ffbd666aca
N.481: Portal: Impossible to submit a form with a duration attribute. Also fixed the displayed value in tables (ManageBrick and BrowseBrick)
...
SVN:trunk[4504]
2016-12-08 11:36:54 +00:00
Romain Quetiez
4ec3aeec92
N.490 Losing carrier returns and rich text formatting when the latest comments are copied to child tickets
...
SVN:trunk[4501]
2016-12-08 10:24:06 +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
ad8c3db6b4
Continuing [r4488] N.536 Regression introduced in [r4469] (N.505), itself fixing a regression introduced in [r4404]. REQUIRES TESTING
...
SVN:trunk[4490]
2016-12-05 09:59:19 +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
b793cded34
N.527 Enable the template placeholders for AttributeCustomFields
...
SVN:trunk[4481]
2016-11-25 16:37:31 +00:00
Romain Quetiez
47ec6d4917
N.523 UserRights::ListProfiles must return an empty array if nobody is currently logged in (instead of a FATAL ERROR).
...
SVN:trunk[4478]
2016-11-18 15:47:20 +00:00
Romain Quetiez
d3f5d05063
N.505 Regression introduced in [r4404]. Security issue - Object visibility totally screwed the APC cache (user data) is enabled. This is a change in the way SQL queries are built and therefore requires testing.
...
SVN:trunk[4469]
2016-10-28 09:08:30 +00:00
Romain Quetiez
b30a35ceb5
N.504 Could not jump into the designer (APC, random)
...
SVN:trunk[4467]
2016-10-27 14:57:01 +00:00
Romain Quetiez
4eb0b3086d
N.466 HTML links with href="ftp://..." or "file://...". The filtering implemented by default (DOM Sanitization) now takes the configuration parameter url_validation_pattern into account. Thus aligning the behavior between HTML attributes and AttributeURL, and the automatic wiki formatting. By default, iTop allows the protocols http/https/ftp. To allow the 'file' protocol, edit the config file and change url_validation_pattern accordingly.
...
SVN:trunk[4455]
2016-10-10 16:01:46 +00:00
Romain Quetiez
59e3367da8
N.434 ... Continuation... Fixed regression introduced in [r4448]. OQL (parsed) queries are optimized too but the SQL query cannot be executed. See example herebelow:
...
SELECT
UserRequest AS u
JOIN Person AS p1 ON u.caller_id=p1.id
JOIN Organization AS o1 ON p1.org_id=o1.id
JOIN Person ON u.caller_id=Person.id
JOIN Location AS l ON Person.location_id = l.id
WHERE Person.status='active' AND p1.status='inactive' AND l.country='France'
SVN:trunk[4451]
2016-10-07 13:15:30 +00:00
Romain Quetiez
fe6ae6f2eb
N.434 Optimized the DB queries. As an example, the query that shows the service catalog in the enhanced customer portal is now made of 5 nodes (at the class level) whereas it used to be made of 11 nodes... for the exact same results. This optimization impacts almost each queries built by iTop. The expected benefit can insignificant or not, depending on the cardinality of the data, the datamodel and the original OQL queries. We found one case where the query execution would apparently never end and it takes now less than a second. The risk with such a change is that is affects most of the queries built by iTop -requires testing!
...
SVN:trunk[4448]
2016-10-07 08:45:24 +00:00
Romain Quetiez
9dbbb8e012
Fixed regression introduced in [r4415]: data model remains unchanged though the customizations have been successfully compiled (and taken into account in the DB). The fix consists in completing the implementation: the verb apc_cache_info was missing, preventing the cache from being reset by the setup. I took the opportunity to add other verbs of apc so as to make sure that the emulation be consistent with the emulation provided by older versions of apcu.
...
SVN:trunk[4440]
2016-10-03 12:47:13 +00:00
Romain Quetiez
5336d9e965
Internal: improved the API robustness by throwing an exception as soon as DBObject::Set is called with a date badly formatted. This is in line with the assumption that internal DBObject values are always safe.
...
SVN:trunk[4435]
2016-09-30 14:22:13 +00:00
Romain Quetiez
c755b66d8c
Optimization: make it less cumbersome to have the APC user cache enabled for PHP 5.5+. Prior to this enhancement, it used to require a compilation flag (for apcu) until PHP7... then it became mandatory to install a dedicated backward compatibility module named after apcu_bc. Now, having apcu installed and enabled is ENOUGH.
...
SVN:trunk[4415]
2016-09-26 15:54:41 +00:00
Romain Quetiez
2f8dc0fa0f
Prerequisite for #1334 . New API: DBObjectSet::SetOrderByClasses. Helper to sort on multicolumn queries (SELECT a, b FROM)
...
SVN:trunk[4413]
2016-09-23 15:05:06 +00:00
Romain Quetiez
23193153c6
N°436 Core API: Correctly (mathematically!) handle the "allow all data" flag, with UNIONS and INTERSECTIONS. Requires testing
...
SVN:trunk[4404]
2016-09-19 13:08:32 +00:00
Romain Quetiez
a908dcd752
#1178 Internals: Object Update/Reload should never fail: as soon as a given object has been read in the current execution context, updating/reloading it is not an issue.
...
SVN:trunk[4402]
2016-09-15 10:01:32 +00:00