Pierre Goiffon
94ba32af57
Some PHPDoc
...
SVN:trunk[5229]
2018-01-10 14:08:36 +00:00
Pierre Goiffon
cc08613304
New method to test if a field is read only in the current DBObject state
...
SVN:trunk[5228]
2018-01-10 14:08:29 +00:00
Eric Espié
95941f4dc5
N°870 - Fix the display of archived objects in the dashlets when activating/deactivating the archive mode.
...
SVN:trunk[5226]
2018-01-10 13:39:41 +00:00
Pierre Goiffon
e5ccb4271e
HTMLDOMSanitizer remove duplicate code declaration
...
SVN:trunk[5204]
2018-01-04 17:30:26 +00:00
Pierre Goiffon
27a2614b7d
N°801 allow block quotes in HTML Fields
...
add BLOCKQUOTE tag in the HTMLDOMSanitizer white list
SVN:trunk[5202]
2018-01-04 17:18:02 +00:00
Pierre Goiffon
067b3364ee
Add some PHPDoc, fix some syntax (thanks to SonarLint !)
...
SVN:trunk[5188]
2018-01-02 14:20:02 +00:00
Pierre Goiffon
b2494ebaf7
Create abstract DBSearch#GetSQLQueryStructure() to allow "call hierarchy" to work
...
Visibility to public to allow testing
SVN:trunk[5187]
2018-01-02 14:19:54 +00:00
Guillaume Lajarige
fe23e099fe
N°1227 New configuration parameter (disable_attachments_download_legacy_portal) to disable attachments download from the legacy portal. Default is "true"!
...
SVN:trunk[5183]
2017-12-29 13:54:20 +00:00
Guillaume Lajarige
cc6272e84a
N°1143 Fix removed email links (mailto) in HTML attributes (CKEditor).
...
SVN:trunk[5179]
2017-12-28 15:34:24 +00:00
Guillaume Lajarige
c7857835c7
N°850 Show "delete" and "bulk delete" rights in user's grant matrix.
...
SVN:trunk[5177]
2017-12-28 10:37:04 +00:00
Guillaume Lajarige
4b46b2776a
N°916 Fix impact analysis relation upstream description.
...
Description was unique for both directions. Now 2 separate entries are used 'Realtion:<RELATION_CODE>/<DIRECTION>Stream+'.
Translations for existing languages are already done.
SVN:trunk[5166]
2017-12-27 09:59:21 +00:00
Eric Espié
907505ccf9
Fix and refactor based on unit tests results
...
SVN:trunk[5165]
2017-12-22 14:08:58 +00:00
Eric Espié
11ee5126ef
N°789 - Fix losing the additional links attributes values during impact analysis update
...
The issue was only visible when attributes were added to the links (FunctionalCIs and Contacts).
When a Ticket is modified, the impact analysis generate a new set of links for FunctionalCIs and Contacts.
If new attributes are added on links, the values were lost during the process.
Now existing links are kept along with the additional attributes values.
SVN:trunk[5162]
2017-12-22 13:09:21 +00:00
Pierre Goiffon
9032f25d64
CMDBSource : fix code errors and some warnings
...
SVN:trunk[5149]
2017-12-04 15:07:21 +00:00
Pierre Goiffon
28efea7ac1
N°1195 exception handling in cron.php
...
* cron.php : use exit(n°) instead of exit n°, and extract codes to constants
* CMDBSource : new MySQLHasGoneAwayException
* exits cron.php on MySQLHasGoneAwayException
* fix backgroundprocess PHPDoc
* new ProcessException and ProcessFatalException
* new cron.php catch blocks
SVN:trunk[5148]
2017-12-04 15:07:15 +00:00
Pierre Goiffon
d80b890cd0
Fix warnings and errors in SynchroReplica
...
SVN:trunk[5142]
2017-11-29 14:30:10 +00:00
Pierre Goiffon
6b9c038b31
Mutex : add some comments
...
SVN:trunk[5141]
2017-11-27 17:00:03 +00:00
Pierre Goiffon
3cd28d1559
Some PHPDoc and small reformat
...
SVN:trunk[5139]
2017-11-23 17:42:24 +00:00
Eric Espié
b401c65684
N°1163 - GET_LOCK 64 characters limitation in MySQL
...
SVN:trunk[5135]
2017-11-21 12:14:20 +00:00
Eric Espié
4a4c03a225
N°1160 - Fix error when sending notification with list of links.
...
SVN:trunk[5132]
2017-11-17 14:43:01 +00:00
Eric Espié
96296fe211
Duration KPI added on sending email.
...
SVN:trunk[5125]
2017-11-02 16:43:00 +00:00
Pierre Goiffon
1fed66fff3
N.1117 some PHPDoc modifications
...
SVN:trunk[5104]
2017-10-27 08:56:45 +00:00
Pierre Goiffon
df758679cc
Change version number for static resources calls
...
SVN:trunk[5093]
2017-10-26 15:43:57 +00:00
Pierre Goiffon
30b10d3b6b
Dict::S() PHPDoc modification
...
SVN:trunk[5087]
2017-10-26 08:57:54 +00:00
Guillaume Lajarige
1bde863124
N°1123.5 Typo
...
SVN:trunk[5061]
2017-10-20 13:25:28 +00:00
Guillaume Lajarige
5c34e3d988
N°1123.4 AttributeImage: Better UI when editing in console. Also, export was showing url for empty value.
...
SVN:trunk[5060]
2017-10-20 13:22:38 +00:00
Romain Quetiez
f4881d11c7
N.1100 Regression introduced in [r4943], aka 2.4 RC3, and causing error during MTP (accessing the wrong expression cache)
...
SVN:trunk[5054]
2017-10-19 19:06:40 +00:00
Eric Espié
bbde89e0f9
N°1109 - itop-object-copier Create ticket from CI was not adding the CI in the CI list of the newly created ticket.
...
* Fix 'add_to_list' command.
* Fix Adding a n-n link at the creation time.
SVN:trunk[5053]
2017-10-19 14:39:15 +00:00
Pierre Goiffon
fb22107be8
N.689 workaround on MySQL number of joins limit (61)
...
* change MySQLException to store initial exception code
* added a try/catch to launch query with full lazy load (no attr => only id)
* load finalClass field if needed (class is nor standalone nor a final leaf)
SVN:trunk[5051]
2017-10-19 13:43:06 +00:00
Pierre Goiffon
5ada93b46c
N.689 throw Exception if querying without needed finalClass attribute, plus some PHPDoc
...
SVN:trunk[5050]
2017-10-19 13:42:56 +00:00
Guillaume Lajarige
bc3d03c462
N°1123.2 AttributeImage: default_image is no longer mandatory.
...
SVN:trunk[5036]
2017-10-18 13:46:17 +00:00
Eric Espié
c94476b9a2
N.1065 Fix performance issues.
...
* Added the bGetCount flag into the cache to differentiate the cache entries for COUNT only.
SVN:trunk[5034]
2017-10-18 12:53:23 +00:00
Guillaume Lajarige
73812dc400
N°1123 AttributeImage: PHP notice when displaying an object without default_image on a AttributeImage attribute.
...
SVN:trunk[5031]
2017-10-18 09:34:50 +00:00
Pierre Goiffon
3fd7dae8f9
N.1108 return exception if $bMustBeFound and result is archived
...
SVN:trunk[5025]
2017-10-16 14:42:17 +00:00
Eric Espié
2f8062d296
N°454 - Check data validity during CSV import
...
* The controls are only done on database integrity for the different keys.
* If retrofit to branch 2.4 take also the revisions: 4999, 5000, 5005, 5006
SVN:trunk[5022]
2017-10-13 12:28:09 +00:00
Eric Espié
38796f9d0c
N.1065 Fix performance issues.
...
* Does not cache requests containing "id NOT IN ..." (too specific)
SVN:trunk[5019]
2017-10-12 15:31:14 +00:00
Eric Espié
79b887d189
N°1110 - DataSynchro: PHP Notice Undefined Index
...
* Fix access to REQUEST_URI when called by script
SVN:trunk[5017]
2017-10-12 13:54:28 +00:00
Eric Espié
e04e5913de
N.1065 Fix performance issues.
...
* Does not cache requests containing "id IN ..." (too specific)
SVN:trunk[5012]
2017-10-12 11:58:48 +00:00
Eric Espié
e179825896
N°1110 - DataSynchro: PHP Notice Undefined Index
...
* Fix access to REQUEST_URI when called by script
SVN:trunk[5007]
2017-10-12 07:52:39 +00:00
Eric Espié
94a561f0e4
N°454 - Check data validity during CSV import
...
* Cleanup expression construction
SVN:trunk[5006]
2017-10-12 07:43:36 +00:00
Eric Espié
56e14fc107
N°454 - Check data validity during CSV import
...
* "simulate" phase is more permissive on new hierarchical entries
* Better check during "apply" phase
SVN:trunk[5005]
2017-10-11 15:31:57 +00:00
Pierre Goiffon
29f0b74824
N.1108 Add PHPDoc
...
SVN:trunk[5004]
2017-10-11 13:20:42 +00:00
Pierre Goiffon
de682d5530
MetaModel code format
...
SVN:trunk[5003]
2017-10-11 13:20:24 +00:00
Eric Espié
5408545c07
N°454 - Check data validity during CSV import
...
* "simulate" phase is more permissive on new hierarchical entries
* Better check during "apply" phase
SVN:trunk[5000]
2017-10-11 09:28:23 +00:00
Eric Espié
d504fb209f
N°454 - Check data validity during CSV import
...
* Added additional checks for external keys (including hierarchical ones)
SVN:trunk[4999]
2017-10-10 10:00:05 +00:00
Eric Espié
bcf88d24f3
N°870: Bulk operation and obsolescence flag
...
* Avoid the hidden selection (and update) of obsolete data when the user does not want to see the obsolete data.
SVN:trunk[4997]
2017-10-09 11:58:10 +00:00
Romain Quetiez
635e7cfeec
Fixed integration issue (possibly a regression): if an extension implements iApplicationExtension::OnDBInsert, and it calls DBWrite, then a fatal error occurs (call a member function on a null value). The error occurs for several types of attributes such as ormCustomField, ormCaseLog, ormLinkSet. The fix consists in aligning the internal values of a DBObject as soon as it has been written into the Database.
...
SVN:trunk[4993]
2017-10-06 14:06:01 +00:00
Eric Espié
49b6c3bed7
N.1065 Fix performance issues.
...
Add statistics on query table join optimization.
SVN:trunk[4992]
2017-10-06 13:53:06 +00:00
Pierre Goiffon
df26833eb1
N.1065 When joining, reverse leaf-root order : now it's root first !
...
* decrease the amount of joins on obsolescence use cases
* should also improve other uses cases as most of the time we believe the attribute linked is in the root class !
* the root table join is done using expressions instead of OQL for perf reasons
* a where clause on finalclass is also added to avoid problems if the leaf table join is not used (would be removed during query optimization phase)
SVN:trunk[4983]
2017-10-05 15:53:44 +00:00
Guillaume Lajarige
df1ebaebf9
N°1104 DBObject::__toString() was way too verbose and returned all objects from linksets as string as well, causing memory limits.
...
SVN:trunk[4971]
2017-10-05 15:38:27 +00:00