Eric Espie
2f8f0b658c
N°5722 - code hardening
2022-11-16 09:40:19 +01: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
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
Stephen Abello
3890b1a020
N°4764 Remove iTop version from webservices/status.php
2022-02-25 10:08:43 +01:00
Pierre Goiffon
6a5840ed82
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# lib/composer/installed.php
# setup/licenses/community-licenses.xml
# setup/setuputils.class.inc.php
# sources/application/TwigBase/Controller/Controller.php
2022-02-14 08:41:33 +01:00
Pierre Goiffon
b494ff2ce6
N°4488 Remove cmdbAbstractObject methods used in export.php from API methods and add comment in export.php
...
`@deprecated` was added in 03e9bcd4 but as none of those will be removed in a near future, we are using `@internal`instead !
2022-02-11 16:15:35 +01:00
acognet
541794ca9c
N°4482 - Polishing : Export page
2022-02-07 16:45:25 +01:00
acognet
17e8c53236
demove deprecated functions : replace ajax_page by AjaxPage
2022-01-21 11:52:02 +01:00
acognet
ec0c98bb0f
N°4482 - Polishing : Export page
2022-01-13 10:52:18 +01:00
odain
20a07d61c6
N°4541 - no failure exit code captured when csv a import fails in CLI mode
2021-12-20 16:13:10 +01:00
Stephen Abello
f039d54a51
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# webservices/export-v2.php
2021-12-02 10:36:16 +01:00
Stephen Abello
dab0e372d0
N°4499 Security hardening
2021-12-02 10:32:29 +01:00
Molkobain
e6511e049a
N°4283 - Fix textarea padding in some pages, also fix "Run query" parameters header
2021-11-29 10:26:41 +01:00
Molkobain
2a2d68e204
N°4283 - Textarea: Make sure to use monospace font for code
...
- CSV import is now using monospace font
- Simplify SCSS code
Note: TextArea and all input UIBlocks need to be reworked as they are not properly organized, see comment in _input-text.scss
2021-11-20 18:42:41 +01:00
Molkobain
cbe42cd727
N°4283 - Improve textarea and OQL inputs style
...
- All textarea app. wide avec the same padding
- OQL fields have the same padding as the other textareas
- OQL fields have the monospaced font
2021-11-19 16:34:01 +01:00
Molkobain
a246528eec
Update DoPostRequest() in itoprest.examples.php to fix optional headers like in utils::DoPostRequest
2021-11-19 14:47:51 +01:00
Eric Espie
ef1903dabe
N°4369 - Return product and version in status rest ws
2021-10-19 16:20:06 +02:00
Eric
2c2155a8e0
N°3985 - Performance checks on the back end
2021-08-23 13:57:03 +02:00
acognet
8c8f711fe8
N°3551 - Migrate module to new UIBlock system : Customer Survey
2021-08-16 15:16:08 +02:00
acognet
5a9fa2ac32
N°3912 - Polishing: Export - fix page webservices/export.php
2021-07-29 17:59:51 +02:00
acognet
60b015919d
N°3912 - Polishing: Export - error message + ccs for pdf
2021-06-25 10:25:24 +02:00
acognet
77cf879f4f
N°3912 - Polishing: Export
2021-06-17 10:43:06 +02:00
Eric
609d9c7a60
♻️ rework of Select UIBlock with labels
2021-06-04 11:52:24 +02:00
Molkobain
e7c7ca76ac
Switch page class to non deprecated
2021-05-31 17:41:06 +02:00
Molkobain
d2c014f718
Remove deprecated / autoloaded files calls
2021-05-04 18:26:37 +02:00
acognet
0bc9aed3fe
Remove development logs
2021-04-08 22:23:01 +02:00
acognet
1aeee8b671
functions MakeForSelect and MakeForSelectWithLabel placed in SelectUIBlockFactory
2021-03-16 14:17:42 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
ca7a9bdbe2
N°2847 - Fix (raw) text field size & style
2021-03-13 18:16:27 +01:00
acognet
5f217d75bb
N°3746 - Migrate modal to new UIBlock system
2021-03-05 17:43:45 +01:00
acognet
57bd868580
N°3746 - Migrate modal to new UIBlock system
2021-03-05 14:57:51 +01:00
acognet
cebbc215d7
N°3746 - Migrate modal to new UIBlock system
2021-03-01 09:07:09 +01:00
odain
916f9b367e
Merge branch 'feature/restapi-pass-jsondata-asfile2' into develop
2020-12-14 23:22:52 +01:00
odain
59e9cdbfe6
N°3455: review with Romain (new code documented)
2020-12-14 18:23:31 +01:00
odain
7f0e8abc09
N°3455: clean code + test after review
2020-12-14 18:22:15 +01:00
Pierre Goiffon
96e7f57a34
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/itopwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/version.xml
# pages/ajax.document.php
# pages/ajax.render.php
# pages/ajax.searchform.php
# sources/application/TwigBase/Controller/Controller.php
2020-12-10 18:08:11 +01:00
Pierre Goiffon
cece15d10c
N°3416 Updates after code review
...
Many thanks @bruno-ds !
* add comments to explain intentions
* fix indentations
2020-12-03 17:45:44 +01:00
Pierre Goiffon
ecebe4ecd5
N°3416 XFrame and cache headers optimizations
...
* Remove XFrame header set in \WebPage::no_cache : not this method responsability, was confusing :/
* Remove no_cache() calls when already set in page constructor (ajax_page mainly)
* Also calls everywhere the \WebPage::no_cache method instead of setting headers manually
2020-12-02 17:19:05 +01:00
Pierre Goiffon
8bfcb14d0c
N°3416 XFrame-Options header is now set using a config parameter, defaults to SAMEORIGIN
...
Also adds an indirection (\WebPage::add_xframe_options) to set header
2020-12-02 17:17:11 +01:00
Pierre Goiffon
35215cf62f
🌐 Fix typo in comma (2 "m" !!)
2020-11-26 18:34:07 +01:00
odain
ba01ac715f
N°3455 - Passing json_data as file to REST API
2020-11-25 18:32:54 +01:00
odain
e7360661be
N°3381 - finish integrating healthcheck status.php page
2020-10-19 11:42:48 +02:00
Molkobain
e48d257b00
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/displayblock.class.inc.php
# application/itopwebpage.class.inc.php
# application/utils.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
# datamodels/2.x/itop-knownerror-light/datamodel.itop-knownerror-light.xml
# datamodels/2.x/itop-service-mgmt/datamodel.itop-service-mgmt.xml
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# js/components/breadcrumbs.js
# pages/navigator.php
# test/core/DBSearchTest.php
2020-10-07 11:36:15 +02:00
Pierre Goiffon
7d26b6092e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# .idea/codeStyles/codeStyleConfig.xml
# .idea/inspectionProfiles/Combodo.xml
2020-10-06 10:42:55 +02:00
Pierre Goiffon
a765eb8725
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
2020-10-05 16:12:49 +02:00
Pierre Goiffon
1551694198
N°3317 Security hardening
2020-10-05 14:42:03 +02:00
Eric
bef1832ac7
N°3317 - Add http headers
2020-09-29 14:07:24 +02:00
Eric
1453558f3e
N°3317 - Add http headers
2020-09-22 11:39:19 +02:00
Pierre Goiffon
745e4aa424
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# webservices/import.php
2020-09-18 10:48:34 +02:00