Romain Quetiez
c2c0221535
N.542 Refactored the code so that query placeholders (current_contact->attcode or current_user->attcode) become available in template too.... BUT this will not work if the notifications are sent asynchronously (thus the logged in user is an account dedicated to the cron).
...
SVN:trunk[4747]
2017-05-22 14:57:03 +00:00
Romain Quetiez
80121b89c3
Obsolescence: background task setting (or resetting) the obsolescence date for obsolete data. The periodicity can be tuned by the mean of obsolescence.date_update_interval, defaulting to 10 minutes. Also renamed show_obsolete_data into obsolescence.show_obsolete_data for consistency.
...
SVN:trunk[4745]
2017-05-19 09:20:13 +00:00
Romain Quetiez
3b48428897
Internal: DBObjectSearch->AddCondition, allow the case $value = null (otherwise failing because the keyword null has not yet been implemented in OQL)
...
SVN:trunk[4744]
2017-05-19 09:15:22 +00:00
Romain Quetiez
5451ced894
Obsolescence: hide rows for which any of the selected class is obsolete (SELECT a, b FROM ...)
...
SVN:trunk[4741]
2017-05-17 13:22:56 +00:00
Romain Quetiez
944c24e18f
Internal: document variables to ease code browsing
...
SVN:trunk[4740]
2017-05-17 13:21:09 +00:00
Romain Quetiez
248f8d6fd4
Obsolescence: finalizing the implementation of the flag (hide obsolete objects, show an icon on hyperlinks and a tag on the object details, user preference defaulting to the new setting 'show_obsolete_data')
...
SVN:trunk[4739]
2017-05-17 08:51:10 +00:00
Guillaume Lajarige
e9b7ccd475
Advanced customization: New overridable verb DBObject::GetDefaultValue($sAttCode)
...
SVN:trunk[4737]
2017-05-16 09:50:24 +00:00
Guillaume Lajarige
17fbc504e2
Internal: Added some PHP Doc in MetaModel class
...
SVN:trunk[4734]
2017-05-15 12:42:14 +00:00
Romain Quetiez
44b53e40a0
Obsolescence: introduction of this new concept (wording could change later). The obsolescence of an object is computed after other attributes, by the mean of an OQL expression. The code has been refactored (again) so as to factorize between the computation of friendly names and the computation of obsolescence flags. The refactoring involved a significant AND RISKY change: external key friendly names (magic attributes) have been changed from AttributeFriendlyName to AttributeExternalField, which simplifies the SQL query build logic.
...
SVN:trunk[4732]
2017-05-11 11:58:42 +00:00
Romain Quetiez
5354b0b32b
Internal: getting rid of the unused API GetExtKeyFriends, which initialization was not compatible with the declaration of <extkey>_friendlyname as external fields
...
SVN:trunk[4726]
2017-05-10 14:34:40 +00:00
Guillaume Lajarige
1de6ac1765
Portal: AttributeImage can now be displayed in forms
...
SVN:trunk[4722]
2017-05-09 12:27:25 +00:00
Romain Quetiez
d2d895fdf5
Archives: regression. Forms not working with various symptom having the same root cause: DBObject::Set issuing an exception "Attempting to set the value on the read-only attribute operational_status"
...
SVN:trunk[4721]
2017-05-09 12:07:43 +00:00
Romain Quetiez
a8ad3004ea
Internal:
...
- code refactoring to generalize attributes based on an OQL expression (friendly name, obsolescence flag, ....). The intermediate class AttributeComputedFieldVoid has been swept in favor of the use of a new method: IsBasedOnOQLExpresssion.
- added an introspection API (experimental), allowing an external application to request for information about the capabilities of the framework (first step: list attributes and their main characteristics)
SVN:trunk[4720]
2017-05-05 15:08:49 +00:00
Guillaume Lajarige
f9ed88a084
Internal: OQL error reporting
...
SVN:trunk[4717]
2017-05-02 09:11:00 +00:00
Romain Quetiez
c66728e478
Cleanup: unused code
...
SVN:trunk[4710]
2017-04-27 14:02:02 +00:00
Romain Quetiez
f5144c2bb1
Archives: filter out archived objects from the impact analysis, even when in Archive Mode
...
SVN:trunk[4707]
2017-04-27 12:42:50 +00:00
Romain Quetiez
e70e1de75e
Archives: archivability must be set on root classes
...
SVN:trunk[4703]
2017-04-27 09:27:02 +00:00
Romain Quetiez
b238283104
Archives: show the menu 'activate archive mode' only if there is at least one archivable class
...
SVN:trunk[4701]
2017-04-27 08:53:23 +00:00
Romain Quetiez
de2eed5187
Archives: allow for the update of archive_flag even when in archive mode (therefore in read-only mode)
...
SVN:trunk[4700]
2017-04-27 08:45:07 +00:00
Romain Quetiez
8e046cafda
Archives: default label for the magic attributes archive_flag and archive_date
...
SVN:trunk[4699]
2017-04-27 08:43:45 +00:00
Romain Quetiez
e3931274ae
Archives: refactoring of the API to enable/disable the archive mode
...
SVN:trunk[4696]
2017-04-26 15:48:24 +00:00
Romain Quetiez
fa2fd6dcdf
NEW! Archiving data. Archiving is a soft delete. It can be undone. Enter the archive mode to see all the data including archives (everything is read-only in that mode). Archiving must be enabled per class (data model). Archiving is achieved by the mean of the API DBObject::Archive (or Unarchive).
...
SVN:trunk[4692]
2017-04-26 09:52:20 +00:00
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