vdumas
05b69208a8
N°5160 - Hiding a DashboardAttribute on the fly does not work - WIP
2022-05-17 11:01:18 +02:00
Molkobain
a4390fbb57
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# test/application/search/CriterionConversionTest.php
# test/application/search/CriterionParserTest.php
# test/application/search/SearchFormTest.php
2022-04-25 14:03:02 +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
Stephen Abello
178ba60973
N°4307 Replace SwiftMailer with Laminas-mail
2022-04-22 10:58:28 +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
8fcd454445
N°4919 New 'Launch setup" in Application Upgrade ( #244 )
...
Admin will now be able to re-launch the iTop setup directly from the administration console in the Administration / Application Upgrade screen.
Before the only way to launch setup on an existing iTop instance was to change permissions on the configuration file.
This button will be enabled depending on the isDevEnv (if true it will be displayed) and `setup.launch_button.enabled` new configuration parameter (not present by default ; if set to false will always hide the button, if set to true will always display it, if not set will display button depending on isDevEnv only).
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-04-19 14:36:15 +02:00
Pierre Goiffon
7b3d859522
N°5027 AttributeUrl handle anchors starting with digits
2022-04-19 10:57:47 +02:00
Timothee
dbe02a42c2
N°4888 New url() placeholder
2022-04-14 12:05:41 +02:00
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