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
Eric
3d29a1e894
Add UIBlocks to twig (Add... methods can be called by specifying their name in the parameters)
2021-01-22 17:16:56 +01:00
Eric
2d93879e7a
Add UIBlocks to twig (Add... methods can be called by specifying their name in the parameters)
2021-01-22 17:11:48 +01:00
Molkobain
1bb6d62c17
PHPDoc and code conventions
2021-01-22 11:39:49 +01:00
Eric
3df48f69c6
fix typo
2021-01-21 10:50:24 +01:00
Eric
1fb15a421a
Move class in its own file
2021-01-21 09:56:03 +01:00
Molkobain
6ac1cc4831
N°3567 - PHPDoc and coding conventions fixes
2021-01-20 19:01:30 +01:00
Eric
392cdf6058
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (display twig errors)
2021-01-19 18:09:58 +01:00
Eric
6dd1807fca
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (remove UIHtml from twig)
2021-01-19 17:24:09 +01:00
Eric
ace0657b7d
Add UIBlocks to twig (Use file cache)
2021-01-18 13:59:29 +01:00
Eric
21740123f4
Add UIBlocks to twig (generic parser and node)
...
# Conflicts:
# pages/run_query.php
# test/VisualTest/Backoffice/RenderAllUiBlocks.php
2021-01-18 12:09:07 +01:00
Eric
2aae6cd744
Add UIBlocks to twig (Use sub-blocks for alerts and fields)
2021-01-18 12:03:33 +01:00
Eric
d8316a090a
Add UIBlocks to twig (DataTable, Form, Input)
2021-01-18 12:03:32 +01:00
Eric
e51fd028fa
Add UIBlocks to twig (changed UIContentBlock params)
2021-01-18 12:03:32 +01:00
Eric
bffb7b5eab
Add UIBlocks to twig (new blocks)
2021-01-18 12:03:32 +01:00
Eric
77808ecd41
Add UIBlocks to twig (WIP)
2021-01-18 12:03:31 +01:00
Pierre Goiffon
8dddf90838
♻️ new var_export filter for bolean values
2020-12-18 17:51:43 +01:00
Eric
1b115624a2
N°2737 - RenderBlockTemplate enhancement, uilinkswidget UIBlock refactor
2020-12-16 11:05:30 +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
acognet
5ccb12453a
N°3123 : Improved JavaScript management in web pages and ajax pages
2020-12-08 08:59:25 +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
Eric
15aa9e508c
N°3123 - Refactor Directories
2020-12-02 13:18:01 +01:00
Eric
32e0c8f9bf
N°2847 - Datatable modal dialogs
2020-11-19 17:45:46 +01: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
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
Molkobain
e911290b3d
Improve utils::Sanitize()
...
- Add class constants for $sSanitizationFilter values (You should use them instead of hard-coding the value, for example: utils::ENUM_SANIZATION_FILTER_XXX)
- Fix "element_identifier" filter of utils::Sanitize() to keep "-" character
- Add 'sanitize_identifier' filter to TWIG
2020-10-05 11:03:22 +02:00
Eric
d86e904e18
N°3317 - Add http headers
2020-09-29 14:11:11 +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
Thomas Casteleyn
6542cf9d30
Add missing "
...
Co-authored-by: Eric Espié <eric.espie@combodo.com >
2020-09-06 20:30:36 +02:00
Thomas Casteleyn
610e74e642
Fix filename headers when downloading
2020-09-06 20:30:36 +02:00
Molkobain
b5c97e35bf
Add visibility to class constants (PHP >= 7.1)
2020-08-26 19:02:53 +02:00
Stephen Abello
8996117929
Allow additional paths for Twig Helper and add images/ to iTop webpage and block renderer paths
2020-08-10 16:56:00 +02:00
Molkobain
1e3771dffa
N°2847 - Fix content parameters (eg. aPage) not passed in subblocks
2020-08-06 17:47:14 +02:00
Molkobain
1f0211b45a
N°2847 - Rework iTopWebPage layout (WIP Part VI)
...
- iTopWebPage: Restore "open search" feature
- iTopWebPage: Change all resources URL to absolute in order to benefit from the "duplicate removal" benefits
- iTopWebPage: Remove obsolete method IsMenuPaneVisible()
- Config: Add new parameters quick_create.enabled / global_search.enabled / breadcrumb.enabled
- utils: Add new GetAppRevisionNumber() method
- Introduce iUIBlock interface for UI layouts, components, ...
- Introduce BlockRenderer to properly render blocks
- Add "render_block" function to TwigHelper to render blocks directly from TWIG
- Refactor layouts and components into proper block classes to fit the new architecture
2020-07-30 15:22:17 +02:00
Molkobain
b207ae1bb3
PHPDoc & code cleanup
2020-07-30 15:22:16 +02:00
Molkobain
e788a44382
TwigHelper: Add file type constants for an easier use by the service consumers
2020-07-30 15:22:16 +02:00
Molkobain
fab58d503b
TwigBase: Change "add_itop_version" TWIG function to use cache buster timestamp
2020-07-27 15:09:32 +02:00
Molkobain
1a3411e99d
TwigBase: Add 2 TWIG functions (get_absolute_url_app_root / get_absolute_url_modules_root)
2020-07-27 15:09:32 +02:00
Eric
e4ab543aff
Disable twig cache for developers (instead of having config flag)
2020-07-16 15:07:03 +02:00
Eric
e7fa9eda65
Use configuration for enabling twig cache
2020-07-15 09:33:54 +02:00
Eric
d4b93f3bf0
N°2641 - Create a dedicated ErrorPage for fatal errors
2020-06-11 17:16:47 +02:00
Eric
0b84e809f6
Add cache to twig templates
2020-06-05 15:52:26 +02:00
Eric
fa3610cfee
N°2641 - Create a dedicated ErrorPage for fatal errors
...
Fix fatal errors being logged in setup.log instead of error.log
2020-05-14 14:37:38 +02:00
Eric
87e22163d7
N°2037 - Add Twig template rendering to the WebPage
2020-02-21 14:35:25 +01:00
acognet
4cc8b89f4e
N°2037 - New dashlet Gantt - add method to insert twig in an existing page
2020-02-21 12:09:15 +01:00
Eric
8ad2b8091c
N°2657 - MTP : Progress Bar has disappeared
2020-01-23 11:28:52 +01:00
Eric
b370deaac9
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
2020-01-16 09:56:22 +01:00
Molkobain
5a39581c60
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
2020-01-15 08:42:35 +01:00