Thomas Casteleyn
e4a04de9f4
N°5066 - Clean CMDBSource methods ( #229 )
...
* Improve function calls
* Deprecate CMDBSource::GetServerInfo
* Improve documentation
* Update core/cmdbsource.class.inc.php
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
* Single quotes
* Apply suggestion, so method still returns empty string instead of null
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-04-12 17:10:41 +02:00
Molkobain
1feb5e6ad6
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-04-08 13:32:08 +02:00
Molkobain
2716f9d24c
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
2022-04-08 13:30:42 +02:00
Molkobain
42599eae64
N°3838 - Improve PHPDoc of \DBObjectSearch::AddCondition() as it cannot have multiple condition on the same field
2022-04-04 17:49:41 +02:00
Pierre Goiffon
631b38a160
N°5003 Change cron_max_execution_time config param help text
2022-03-25 15:56:11 +01:00
Molkobain
ad4442ae78
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-03-23 09:49:11 +01:00
acognet
f93218a80f
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical - fix var name
2022-03-21 11:11:47 +01:00
acognet
90b41e0b81
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/displayablegraph.class.inc.php
# pages/UI.php
2022-03-18 15:51:45 +01:00
acognet
61137a6f65
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical - Fix dictionnary
2022-03-18 11:02:04 +01:00
acognet
1db4b9a12e
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-03-16 09:44:33 +01:00
Stephen Abello
d1e2be97d2
Typo in cron_task_max_execution_time description
2022-03-14 11:46:27 +01:00
Stephen Abello
93c6cfffda
N°4931 Fix background tasks max duration being set to 3 times its periodicity
2022-03-14 09:35:46 +01:00
Molkobain
0f2cbaf186
N°4849 - Enable notification emails grouping in threads in email clients ( #275 )
...
N°4849 - Enable notification emails grouping in threads in email clients (#275 )
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2022-03-10 09:31:29 +01:00
Pierre Goiffon
8d4545f008
N°4921 - Add support for attcode & attvalue parameters in URL to access an object ( #273 )
...
This is a way to solve problems when an object ref and id isn't equals : for example id=99 and ref = 100.
This could happen since iTop 2.7.0, see https://www.itophub.io/wiki/page?id=2_7_0%3Arelease%3A2_7_whats_new#ticket_ref_generation
Note that id parameter can be set to the object's friendlyname as a workaround, but this might not be enough for some objects where friendlyname contains more that the ref field (for example title, org, ...)
* Admin console : new UI.php URL parameters : attcode and attvalue.
Example URLs :
/pages/UI.php?operation=details&class=UserRequest&id=99
/pages/UI.php?operation=details&class=UserRequest&attcode=ref&attvalue=R-000100
An exception will be thrown if no object is found or multiple instances are.
* User portal
New route : /object/view/{sObjectClass}/{sObjectAttCode}/{sObjectAttValue}
For example :
/pages/exec.php/object/view/UserRequest/99?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
/pages/exec.php/object/view/UserRequest/ref/R-000100?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
On error we will get a 404 error page
2022-03-09 10:51:21 +01:00
Molkobain
5854c199d0
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-03-07 12:54:13 +01:00
Molkobain
2299983db3
N°4741 - Factorize activation of on mention triggers
2022-03-06 11:54:39 +01:00
Molkobain
84169a864c
N°4856 - Update PHPDoc
2022-03-03 15:50:28 +01:00
Eric Espie
4bdf84bf6c
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-03-03 10:23:38 +01:00
Stephen Abello
a5d8425fe7
N°4741 Fix On mention trigger not working on object creation
2022-03-02 16:13:00 +01:00
Molkobain
4694e8152e
N°4809 - Remove iTopOwnershipToken class from CSV import list
2022-02-22 11:42:28 +01:00
Pierre Goiffon
9ce88699ca
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/templates/bricks/browse/mode_mosaic.html.twig
# datamodels/2.x/itop-portal-base/portal/templates/bricks/browse/mode_tree.html.twig
2022-02-22 09:40:37 +01:00
Pierre Goiffon
815870fe6b
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# dictionaries/cs.dictionary.itop.model.php
# dictionaries/da.dictionary.itop.model.php
# dictionaries/de.dictionary.itop.model.php
# dictionaries/es_cr.dictionary.itop.model.php
# dictionaries/fr.dictionary.itop.model.php
# dictionaries/hu.dictionary.itop.model.php
# dictionaries/it.dictionary.itop.model.php
# dictionaries/ja.dictionary.itop.model.php
# dictionaries/pl.dictionary.itop.model.php
# dictionaries/pt_br.dictionary.itop.model.php
# dictionaries/tr.dictionary.itop.model.php
# dictionaries/zh_cn.dictionary.itop.model.php
2022-02-22 09:36:06 +01:00
acognet
3727223db3
Fix comment
2022-02-18 18:05:36 +01:00
acognet
83e98ef2b8
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-17 17:06:06 +01:00
acognet
788caf9c50
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-14 12:26:16 +01:00
Pierre Goiffon
8473df0f0c
💡 Add attribute phpdoc for \RestResultWithObjects::$objects
2022-02-11 18:26:16 +01:00
Pierre Goiffon
d437e2d662
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/displayblock.class.inc.php
# core/config.class.inc.php
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-backoffice-darkmoon-theme/module.combodo-backoffice-darkmoon-theme.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-cmdb-ticket/module.itop-bridge-cmdb-ticket.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-faq-light/module.itop-faq-light.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-structure/module.itop-structure.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2022-02-08 15:43:20 +01:00
Pierre Goiffon
b360514646
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/ui.extkeywidget.class.inc.php
# application/utils.inc.php
# approot.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 13:18:50 +01:00
acognet
84280a3b5f
N°4530 - Bug with OQL and profiles.
2022-02-04 16:21:53 +01:00
Molkobain
60c372f535
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-02-02 11:20:58 +01:00
Molkobain
6a4ce3c3b1
Fix regression from c3a2713bb
2022-02-02 10:54:01 +01:00
Pierre Goiffon
f0715baf7d
N°4714 move constant from core/config.class.inc.php to approot.inc.php
...
see N°4406
2022-02-01 11:39:35 +01:00
Pierre Goiffon
ebc9fa684a
N°3129 PHP 8.0 compat: Fix "Private methods cannot be final as they are never overridden by other classes"
...
Was breaking setup ajax compilation
Fixed in:
* \SetupUtils::Log
* \MetaModel::SetUniquenessRuleRootClass
2022-01-28 17:01:07 +01:00
Pierre Goiffon
75dbad7406
N°3129 PHP 8.0 compat: Fix "Deprecated: Required parameter ... follows optional parameter ..."
...
* \SQLObjectQuery::PrepareSingleTable
* \HistoryBlock::GetRenderContent
* \MenuBlock::GetRenderContent
* \UILinksWidgetDirect::DisplayAsBlock
* \UILinksWidgetDirect::Display
* \UILinksWidgetDirect::DisplayEditInPlace
* \UIExtKeyWidget::AutoComplete
* \UIExtKeyWidget::DisplayFromAttCode
2022-01-28 17:01:07 +01:00
Pierre Goiffon
3381c085f4
💡 N°4714 fix phpdoc
2022-01-27 16:15:57 +01:00
Molkobain
3bec96abe1
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# core/config.class.inc.php
# setup/itopdesignformat.class.inc.php
2022-01-27 16:09:22 +01:00
Molkobain
09ff052c1f
N°4072 - Add method to deprecate PHP endpoints
2022-01-27 11:42:30 +01:00
Pierre Goiffon
c3a2713bba
N°4725 Fix \DeprecatedCallsLog::NotifyDeprecatedFile doesn't catch ConfigException
2022-01-27 09:25:28 +01:00
Pierre Goiffon
99b73fe1ee
🐛 N°4714 Restore ITOP_VERSION_NAME constant
...
Was removed by mistake on merge (627c0070 )
2022-01-27 08:57:19 +01:00
Pierre Goiffon
627c0070c1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
# setup/itopdesignformat.class.inc.php
2022-01-26 16:07:34 +01:00
Pierre Goiffon
64e8aa5fee
N°4714 New ITOP_CORE_VERSION constant
...
See following constants PHPDoc for information :
* core/config.class.inc.php ITOP_VERSION
* core/config.class.inc.php ITOP_CORE_VERSION
* setup/itopdesignformat.class.inc.php ITOP_DESIGN_LATEST_VERSION
2022-01-26 15:19:29 +01:00
Pierre Goiffon
477128ad53
💡 N°4023 More phpdoc on \DBObjectSearch::AddCondition
2022-01-26 13:58:49 +01:00
Pierre Goiffon
aa66bec783
💡 Add comment for the timezone config parameter
2022-01-24 15:54:42 +01:00
acognet
d005ff0099
Remove deprecated functions : replace ormLinkSet::AddObject by ormLinkSet::AddItem
2022-01-21 11:51:57 +01:00
acognet
4fdf8803a5
Remove deprecied function $oField->Render replaced by $oField->RenderExpression()
2022-01-21 11:51:56 +01:00
Molkobain
7aa1719514
N°4701 - Fix meta-enums labels being double encoded when displayed
2022-01-21 11:12:53 +01:00
Molkobain
ff7d1f2d6a
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-01-17 19:21:52 +01:00
Pierre Goiffon
c6211cde09
Revert REST API init objects array ( #231 )
...
We didn't anticipated this was causing the REST API response to be changed for all consumers :
- before PR `"objects":null`
- after `"objects":[]`
We don't want that :/
We will instead fix collector-base (object of another PR, see #231 )
This reverts commit 7243da3576 .
This reverts commit 0940741568 .
2022-01-17 18:38:33 +01:00
Benjamin Dalsass
91d4da85e1
N°4454 - Measuring the use of the queryphrase book
2022-01-14 11:12:30 +01:00
Thomas Casteleyn
0940741568
RestResultWithObjects : properly init objects array ( #231 )
2022-01-14 11:01:00 +01:00