acognet
c20cedf266
Deprecate unused and broken method
2022-05-12 17:09:16 +02:00
Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +02:00
Pierre Goiffon
11e811cc4b
N°3717 Improve iTop object history API ( #192 )
...
This fixes a major flaw in the history API that was causing "phantom" CMDBChange records (without any CMDBChangeOp attached). That was happening especially in iProcess impl.
For example this lead to the creation of the combodo-cmdbchange-cleaner module in the Mail To Ticket extension.
The modifications in detail :
- We can now pass a non persisted CMDBChange instance to \CMDBObject::SetCurrentChange
- No persistence done in \CMDBObject::CreateChange anymore
- Persistence of the attached CMDChange will be done if necessary in CMDBChangeOp::OnInsert
- New CMDBObject::SetCurrentChangeFromParams helper method to ease resetting the current change
2022-04-19 17:13:18 +02:00
Pierre Goiffon
f84c095b22
💡 Some PHPDoc
2021-12-16 14:56:27 +01:00
Pierre Goiffon
59678ef8c6
🔊 N°3731 Log calls to deprecated files / PHP methods
...
POC for the log API was added in #193
2021-04-13 17:56:21 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Pierre Goiffon
b85b4d0067
N°3663 Group exception classes in /application/exceptions
...
Original files kept for compatibility issues :
- core/coreexception.class.inc.php
There are remaining exceptions in /core/oql, but those files are generated
2021-01-26 15:50:26 +01:00
Pierre Goiffon
7864461d85
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# core/cmdbobject.class.inc.php
# datamodels/2.x/itop-bridge-cmdb-ticket/datamodel.itop-bridge-cmdb-ticket.xml
# datamodels/2.x/itop-structure/datamodel.itop-structure.xml
2020-11-02 10:30:44 +01:00
Pierre Goiffon
235b4be790
Merge remote-tracking branch 'origin/support/2.7' into develop
2020-10-30 18:09:44 +01:00
Pierre Goiffon
97d322a059
📝 N°3218 Add some PHPDoc on current change set/get
2020-10-27 15:17:17 +01:00
Pierre Goiffon
7fa7ebb59c
📝 Fix 2.9.0 version present in deprecated mentions
2020-10-21 19:24:24 +02:00
Pierre Goiffon
8e31d77afb
N°2591 fix deprecated info
2020-10-21 12:09:06 +02:00
Molkobain
b15ed80732
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:16:49 +02:00
Molkobain
986c08aa81
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-10-14 10:09:14 +02:00
Molkobain
8e6351d346
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:04:10 +02:00
Molkobain
8193ada159
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# composer.json
# css/light-grey.scss
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
2020-09-08 17:30:32 +02:00
Molkobain
c2fcadd54d
N°2847 - Add optional user_id to CMDBChange
...
Important: This can make the setup / toolkit to take a very long time on large databases as the "priv_change" table is one of the largest. SQL queries to run and/or a migration tool will be provided when 2.8.0 will be released.
2020-08-28 19:46:40 +02:00
Eric
d1af851fcd
N°2591 - API : deprecate \CMDBObject::CheckUserRights
2020-08-28 14:48:00 +02:00
Pierre Goiffon
71848cb56b
Merge branch 'support/2.7' into develop
...
# Conflicts:
# .jenkins/bin/tests/phpunit.sh
# Jenkinsfile
# core/config.class.inc.php
# core/dbobjectsearch.class.php
# core/ormlinkset.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# dictionaries/nl.dictionary.itop.ui.php
2020-08-17 09:36:43 +02:00
Pierre Goiffon
07bd6b8539
N°3219 cron : reset CMDBChange for each process
2020-08-04 09:44:20 +02:00
acognet
80161b909e
N°2362 - API : remove DBInsertTracked / DBUpdateTracked
2020-06-26 14:16:14 +02: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
aac6ab0fc6
N°2272 - OQL performance (testability)
2019-09-06 14:30:42 +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
1665b12b86
💡 PHPDoc for \DBObject::DBInsert methods hierarchy (and some more, too O:) )
2018-12-27 15:07:49 +01:00
Eric
c15d626095
Fix AttributeSet history database field size (was too short)
2018-12-03 09:27:56 +01:00
Eric
01551942b3
N°917: Fix Bulk modify for AttCodeSet
2018-09-27 09:11:03 +02:00
Eric
1fc3b3a4ed
N°931: Integrity controls + unit tests
2018-09-11 17:27:27 +02:00
Pierre Goiffon
f871581997
Merge branch 'develop' into feature/b931
...
# Conflicts:
# application/applicationextension.inc.php
# core/attributedef.class.inc.php
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# core/dbobjectsearch.class.php
# core/oql/expression.class.inc.php
# core/oql/oql-lexer.plex
# core/oql/oql-parser.y
# core/oql/oqlquery.class.inc.php
# css/light-grey.scss
# datamodels/2.x/itop-full-itil/datamodel.itop-full-itil.xml
# datamodels/2.x/itop-portal/datamodel.itop-portal.xml
# datamodels/2.x/itop-tickets/en.dict.itop-tickets.php
# dictionaries/en.dictionary.itop.core.php
# dictionaries/fr.dictionary.itop.core.php
# setup/xmldataloader.class.inc.php
# test/ItopDataTestCase.php
2018-09-04 18:02:51 +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é
f458a77449
N°962: TagSet - Attribute definition (continued)
...
SVN:b931[6032]
2018-08-30 11:08:47 +02: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
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
Denis Flaven
0d48e40c18
Regresssion: properly compute & record the history of StopWatch's sub-items.
...
SVN:trunk[4285]
2016-07-05 12:07:20 +00:00
Denis Flaven
3c4845cf99
#1215 : URL fields can now store up to 2048 characters
...
SVN:trunk[4030]
2016-05-04 09:55:24 +00:00
Romain Quetiez
847c1d2736
Custom fields: track the changes and improve the robustness with regards to the Exception thrown by the handler. Also fixed an issue with DBObject, causing the custom fields to be written several times if invoking DBUpdate more than once. Theoretically, this issue affects any type of attribute.
...
SVN:trunk[3966]
2016-03-24 10:49:04 +00:00
Romain Quetiez
e6887ab317
Custom fields: alpha version.
...
SVN:trunk[3943]
2016-03-10 16:55:13 +00:00
Denis Flaven
4e24e9899e
(HTML) Formatted Case Logs, Description and Notifications with inline images uploaded as Attachments. Beta Version !!
...
SVN:trunk[3916]
2016-02-19 10:03:59 +00:00
Denis Flaven
31ec3152f9
Code refactoring to make the OQL parsing self contained in the "oql" subdirectory.
...
SVN:trunk[3803]
2015-10-12 10:01:59 +00:00
Romain Quetiez
7a139dddc0
Code cleanup: deprecated the unused (and empty) class CMDBSearchFilter, replaced by DBSearch or DBObjectSearch depending on the usage.
...
SVN:trunk[3632]
2015-07-09 07:36:39 +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
eb379662ce
Rework of the relation diagrams: configuration of the redundancy (AttributeRedundancySettings)
...
SVN:trunk[3552]
2015-04-22 15:33:07 +00:00
Romain Quetiez
26eb4c7083
Rework of the relation diagrams: implemented MetaModel::GetRelatedObjectsUp, and took the redundancy into account (still misses a GUI)
...
SVN:trunk[3545]
2015-04-15 09:06:50 +00:00
Romain Quetiez
c8568af43b
#976 The fix [3306] introduced a regression: Call to undefined function DBInsert()
...
SVN:trunk[3315]
2014-09-11 08:17:37 +00:00
Denis Flaven
ed9ba815ab
#976 : (removed some debug traces) make sure that we do not bypass the method that computes the reference for newly created tickets.
...
SVN:trunk[3307]
2014-08-28 15:56:25 +00:00
Denis Flaven
7b47e8c480
#976 : make sure that we do not bypass the method that computes the reference for newly created tickets.
...
SVN:trunk[3306]
2014-08-28 15:53:02 +00:00
Denis Flaven
008cac25b4
#944 Speed-up the display of CSV import history. IF the feature is enabled, the CSV import history is:
...
1) Displayed asynchronously
2) Based on a specific 'origin' enum fields instead of parsing the userinfo comment
SVN:trunk[3234]
2014-07-01 14:09:18 +00:00
Romain Quetiez
e4010b4b13
#886 Delete change history so that if an ID is reused the history starts from scratch (and cleanup most of the data as soon as the object is deleted)
...
SVN:trunk[3177]
2014-05-28 16:00:24 +00:00
Romain Quetiez
e0ae6484d3
Fixed regression on the change on change tracking (sic!)
...
SVN:trunk[2865]
2013-09-26 15:22:23 +00:00
Romain Quetiez
898ee016c9
Generalized the option tracking_level to any kind of attributes. Defaults to 'all', can be set to 'none' to disable the change tracking on a single attribute (LinkSets still have the same allowed values: none, list, details and all).
...
SVN:trunk[2863]
2013-09-25 09:47:50 +00:00