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
bruno DA SILVA
72dbb6f937
N°1373 - supportability: log stack trace on DBObject::Reload error
2019-06-12 18:26:35 +02:00
Pierre Goiffon
991bc359cb
Merge remote-tracking branch 'origin/master' into develop
2019-05-23 10:52:34 +02:00
Pierre Goiffon
8b178914b3
Fix \DBObject::DBDelete PHPDoc
2019-05-22 14:46:53 +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
Pierre Goiffon
a6a2410c50
Merge branch 'master' into develop
...
# Conflicts:
# datamodels/2.x/itop-attachments/nl.dict.itop-attachments.php
2019-03-15 17:23:04 +01:00
Pierre Goiffon
eb49dbbdc8
N°1968 uniqueness rules : fix search for classes hierarchy, disallow 'attributes' property overrides
2019-03-12 18:12:01 +01:00
Pierre Goiffon
b25a8b4c9f
💡 add missing @var
2019-03-08 09:06:12 +01:00
Pierre Goiffon
e59e62fb1b
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# core/expressioncache.class.inc.php
2019-02-21 17:24:37 +01:00
Eric
63a36fd0f6
N°2030 - Fix function CopyAttribute for external fields
2019-02-19 14:09:14 +01:00
Eric
5067c867b8
N°2014 - Fix Object modification refused when a n-n relation is locked by datasynchro
2019-02-18 15:41:06 +01:00
Pierre Goiffon
c140ab970e
Finish 2.6.0
...
# Conflicts:
# core/dbobject.class.php
# install.txt
2019-01-09 17:27:07 +01:00
Eric
a9bd5a8bb0
⚡ Avoid scalar values in OQL, replace them with variables
2019-01-02 17:41:56 +01:00
Pierre Goiffon
9f3332b2f2
💡 PHPDoc for AttributeFlags methods
2018-12-28 16:37:03 +01:00
Pierre Goiffon
1665b12b86
💡 PHPDoc for \DBObject::DBInsert methods hierarchy (and some more, too O:) )
2018-12-27 15:07:49 +01:00
Pierre Goiffon
1a3f836a5a
Merge remote-tracking branch 'origin/release/2.6' into develop
...
# Conflicts:
# application/itopwebpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/itop-attachments/nl.dict.itop-attachments.php
# datamodels/2.x/itop-incident-mgmt-itil/nl.dict.itop-incident-mgmt-itil.php
# datamodels/2.x/version.xml
2018-12-21 10:26:17 +01:00
Eric
27b1b1f8a8
N°1903 - Fix initial value of a MetaEnum attribute is always its default value
2018-12-21 09:59:19 +01:00
Eric
831b18b4d2
Force the number of Tags in ormTagSet
2018-12-05 09:04:30 +01:00
Eric
af8b06dda6
💚 Display error log instead of fatal error in case of Exception when modifying an object in console
2018-12-04 11:33:32 +01:00
Eric
6e31a040b2
Display error log instead of fatal error in case of Exception when modifying an object in console
2018-12-04 10:49:30 +01:00
Eric
aca11ac966
Fix AttributeSet wrong error on number of tags in creation
2018-12-03 11:01:54 +01:00
Eric
95a22a1a7e
N°1799 - Fix TTO and TTR not recomputed when change on priority
2018-11-27 09:36:50 +01:00
Pierre Goiffon
83b3fb80d5
🎨 N°659 uniqueness constraint : more possibilities to customize check
...
* 2 methods called per rule instead of only one
* now we're getting the rule id as parameter
2018-11-23 16:35:46 +01:00
Pierre Goiffon
c242f90440
N°659 uniqueness constraint : fix class used in the dict key for the error message
...
It has to be the rule root class, not the current class
2018-11-23 09:44:42 +01:00
Pierre Goiffon
0c49641094
N°659 Uniqueness rules : description and error message are now picked in dictionaries entries with the $sClassName/UniquenessRule:$sUniquenessRuleId convention
2018-11-20 11:42:25 +01:00
Pierre Goiffon
a4055c4a74
Change comments to use same tickets ref syntax
2018-11-06 17:36:14 +01:00
Pierre Goiffon
905dba67c3
Some PhpDoc to document api (just a start !)
2018-11-05 17:15:44 +01:00
Molkobain
6d4cf71197
N°567 Enhance WikiText URLs synthax (usage of IDs and labels supported)
...
[[<objClass>:<objName|objId>|<label>]]
<label> is optional
Examples:
- [[Server:db1.tnut.com]]
- [[Server:123]]
- [[Server:db1.tnut.com|Production server]]
- [[Server:123|Production server]]
2018-11-05 11:29:06 +01:00
Pierre Goiffon
34552214bf
N°1703 The dates are no longer reset when inserting a Ticket
...
Could cause problems when importing using REST API or using form prefill
2018-10-23 14:17:03 +02:00
Pierre Goiffon
def4c54d26
N°659 Console & Portal now we have same object save error messages and sessionmessages
...
* create new CoreCannotSaveException
* throw this exception in DBInsertNoReload/DBUpdate if CheckToWrite fails
* console : change UI.php code to catch this exception instead of calling CheckToWrite itself (was called twice :(( )
* portal : specific catch for the new exception
* portal : get and displays session messages
2018-10-22 17:11:08 +02:00
Pierre Goiffon
574d72b0e7
N°659 Add uniqueness checks
...
* modify compiler to save the new rules
* add check on object save (\DBObject::DoCheckUniqueness)
* default model : add uniqueness rules on Brand, Model, Person
2018-10-22 17:11:07 +02:00
Eric
615adf8281
N°917: Trigger on delete
2018-09-27 10:49:32 +02:00
Eric
01551942b3
N°917: Fix Bulk modify for AttCodeSet
2018-09-27 09:11:03 +02:00
Eric
720d334053
N°917: AttributeClassAttCodeSet created
2018-09-27 09:11:02 +02:00
Eric
a94211d3d3
Merge remote-tracking branch 'origin/develop' into feature/b931
...
# Conflicts:
# .idea/inspectionProfiles/Combodo.xml
# application/cmdbabstract.class.inc.php
# core/attributedef.class.inc.php
# css/light-grey.css
# css/light-grey.scss
2018-09-25 12:03:44 +02:00
Eric
e67d6e8a80
N°917 - Add new trigger on object update
2018-09-25 10:38:01 +02:00
Eric
e9ecd89cda
Code cleanup
2018-09-24 13:57:45 +02:00
Eric
c3c1897258
N°931: Tags data class display name
2018-09-18 11:38:34 +02:00
Eric
0c75b98f48
N°931: TagSet Fix Bulk update
2018-09-13 17:49:25 +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 Espié
4cd591f81c
DBObject->GetOriginal() hardening (now support attributes not set: for example sla_tto_passed for UserRequest until it is closed)
...
SVN:trunk[5932]
2018-07-11 13:40:38 +00:00
Guillaume Lajarige
7ca95b9413
Code cleanup: Warning suppression & PHPDoc.
...
SVN:trunk[5928]
2018-06-29 17:14:13 +00:00
Eric Espié
f920851420
N°1420 - Performances enhancement (enhance counts)
...
SVN:trunk[5844]
2018-06-08 13:13:33 +00:00
Denis Flaven
6cc4a6e1be
PHP 7.2 compatibility: count(null) now generates a PHP warning !!
...
SVN:trunk[5815]
2018-05-28 14:08:31 +00:00
Stephen Abello
6a089aa1b7
N°729 Form prefill : Included Contract case in the datamodel.
...
SVN:trunk[5703]
2018-04-20 10:07:43 +00:00
Stephen Abello
a84748a544
N°729 Form prefill : Allow to overload new methods in order to prefill search forms, creation forms and transition forms
...
SVN:trunk[5609]
2018-04-05 08:17:19 +00:00
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
Pierre Goiffon
d80b890cd0
Fix warnings and errors in SynchroReplica
...
SVN:trunk[5142]
2017-11-29 14:30:10 +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