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
Pierre Goiffon
4badb90344
N°2214 Cron : remove :void to keep compatibility with PHP < 7.1
...
see https://www.php.net/manual/fr/migration71.new-features.php#migration71.new-features.void-functions
2020-09-14 11:02:18 +02:00
Pierre Goiffon
f0434f9125
🎨 N°2214 In SetupUtils::Check* methods : replace debug SetupLog calls by CheckResult::TRACE objects
...
This is the caller responsibility to log using the correct classes !
Also we need to remove this dependency O:)
Modifications:
* reverts e8e259dde9 as SetupPage is no longer called since N°2522 / c4b7be5b6f
* \SetupUtils::Log : remove useless final, add PHPDoc and type hinting to modified methods
* add PHPDoc and type hinting to modified methods
* add \CheckResult::TRACE
* replace SetupLog::Log calls by CheckResult::TRACE
* modify SetupUtils::Check* callers to handle the new TRACE severity
2020-09-11 18:37:30 +02:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +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
odain
3c299654e3
N°3265 - Log stacktrace when cron exception raised with debug enabled
2020-09-07 16:57:27 +02:00
Molkobain
7f3c10b69d
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-08-26 16:09:23 +02:00
odain
e8e259dde9
N°2214 - Add a PHP version check in CLI PHP scripts- fix import.php script
2020-08-26 15:56:11 +02:00
Eric
5df7c8bb07
Add Async tasks info
2020-08-26 16:12:22 +02:00
Eric
bf142e5e07
Add Async tasks info
2020-08-26 13:11:04 +02:00
Eric
761c2a46a3
N°3234 - Cron rework
...
* some timezone refactors occurred
2020-08-25 11:20:17 +02:00
acognet
4618f12d8a
N°3234 - Notify on expiration not sending notifications
2020-08-21 18:50:27 +02:00
odain
d12e2e592a
N°3265 - Log stacktrace when cron exception raised with debug enabled
2020-08-21 10:25:05 +02:00
Molkobain
c5b8d3fa72
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/datamodel.application.xml
# application/itopwebpage.class.inc.php
# css/light-grey.scss
2020-08-19 10:20:37 +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
Molkobain
8efd8008fc
N°2847 - Rework of the global iTopWebPage layout (Part II)
...
- Optimize TWIG templates includes (don't pass context to autonomous components)
- Preliminary work of the top bar and breadcrumbs features
- Removal of images dedicated to the breadcrumbs feature
2020-07-27 15:09:33 +02:00
Pierre Goiffon
b7136c0b7a
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
(cherry picked from commit c768e18e2b : no risk taken for 2.7.1, so cherry picked for 2.8.0)
2020-06-15 15:20:17 +02:00
Pierre Goiffon
8912618732
Revert "N°2214 Add PHP check in CLI scripts"
...
This reverts commit c768e18e2b .
No risk taken for the 2.7.1 : this will be included but for 2.8 !
2020-06-15 15:18:26 +02:00
Pierre Goiffon
c768e18e2b
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
2020-06-12 16:46:37 +02:00