Pierre Goiffon
85e9073228
N°3537 run_query : use Field instead of InputWithLabel
2020-12-16 17:45:13 +01:00
Pierre Goiffon
2b0691daa6
N°3537 run_query : exception message as an alert Component
2020-12-16 17:45:12 +01:00
Eric
c1e25b121e
N°2737 - ExtraParams check in DisplayBlock
2020-12-16 17:44:08 +01:00
Eric
31f3bf9368
N°2847 - move console specific methods from BlockRenderer to ConsoleBlockRenderer
2020-12-16 17:44:08 +01:00
Thomas Casteleyn
42354ba794
Improve secure connection detection ( #161 )
...
The previous code broke the setup page when the iTop server is behind a proxy that handles SSL termination.
Now the detection also checks the `HTTP_X_FORWARDED_PROTO` and `HTTP_X_FORWARDED_PROTOCOL` HTTP headers.
For any other page than the setup, the check is unchanged.
Many thanks @Hipska !
2020-12-16 15:37:48 +01:00
Eric
1b115624a2
N°2737 - RenderBlockTemplate enhancement, uilinkswidget UIBlock refactor
2020-12-16 11:05:30 +01:00
Eric
d2bc651fc6
N°3123 - ExtraParams check
2020-12-16 09:05:05 +01:00
Pierre Goiffon
a20fd2278f
N°3537 Code review
...
Thanks @Molkobain !
2020-12-16 08:06:53 +01:00
Pierre Goiffon
cb4fb15b0a
Alert : remove return type
2020-12-16 07:56:13 +01:00
Pierre Goiffon
102123441d
Alert component : fix regression introduced in 3d27e592
2020-12-15 17:22:38 +01:00
Pierre Goiffon
4bb59548d0
N°3537 run_query : replace main form by components
2020-12-15 17:09:39 +01:00
Pierre Goiffon
3d27e59269
Alert component : allow to be closed by default
2020-12-15 17:08:54 +01:00
Pierre Goiffon
ebe30a88a1
N°3129 remove useless final keywords
2020-12-15 16:27:00 +01:00
Pierre Goiffon
a5d26b93e9
✅ ThemeHandlerTest : rename source files
...
They are used solely in the test. And the test does the SCSS compilation and compares the results to expected files. So changing anything in the test source SCSS and we need to change the expected results too ! This isn"t necessary...
But there were some confusions as the css/light-grey.scss file is modified very often, and one of the test source file has the same name !
Adding the prefix DO_NOT_CHANGE should avoid such errors in the future O:)
2020-12-15 16:24:31 +01:00
Eric
afca91089a
N°3123 - ExtraParams check
2020-12-15 14:57:06 +01:00
Eric
893787d7f9
Fix typo
2020-12-15 14:46:03 +01:00
Eric
a9bab22720
N°3123 - ExtraParams check (only in dev)
2020-12-15 14:46:02 +01:00
Molkobain
13018c9df7
Fix CI due to 64fca330
2020-12-15 13:23:27 +01:00
Eric
c451293370
N°3123 - ExtraParams check
2020-12-15 12:14:10 +01:00
Molkobain
64fca3306f
N°3547 - Fix fullscreen button on HTML field not displaying correctly
2020-12-15 11:39:06 +01:00
Pierre Goiffon
3cce93be95
UIExtKeyWidget : Fix parameters that must be optionals
2020-12-15 10:24:59 +01:00
odain
916f9b367e
Merge branch 'feature/restapi-pass-jsondata-asfile2' into develop
2020-12-14 23:22:52 +01:00
odain
c6816318a9
N°3455: test when no json_data is passed
2020-12-14 23:19:54 +01:00
Eric
9df80b9f79
N°3123 - Fix table counts on search results
2020-12-14 18:31:32 +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
Eric
c106caf924
N°3123 - Fix dashlets GroupBy and Object List
2020-12-14 16:37:23 +01:00
Pierre Goiffon
c06e176d57
Templates : remove auto closing tags
...
We are not using XHTML anymore but HTML 5
2020-12-14 16:29:57 +01:00
Pierre Goiffon
62bb0b9b78
Improve RenderAllUiBlocks
2020-12-14 15:42:56 +01:00
Eric
70beeb726a
N°3123 - Fix "view_link" parameter for shortcuts preferences
2020-12-14 09:54:01 +01:00
acognet
c173f0b5d6
N°3123 : Fix create shortcuts and set preferences
2020-12-14 09:23:12 +01:00
acognet
43a2b5cda6
N°3123 : Fix create shortcuts and set preferences
2020-12-11 19:23:35 +01:00
Pierre Goiffon
17cecde604
Fix errors in setup/modelfactory.class.inc.php
2020-12-11 10:49:41 +01:00
Pierre Goiffon
728c09d97d
N°3129 Fix compatibility with PHP 8 for \MFElement::ReplaceWith
...
New method added in PHP 8 : \DOMChildNode::replaceWith with a different signature (both visibility and parameters)
2020-12-11 10:13:10 +01:00
acognet
eb89c52bae
N°3123 : Fix create shortcuts
2020-12-11 10:08:57 +01:00
Pierre Goiffon
e3895f284b
N°3512 fix setup crashing if env-production doesn't exist
2020-12-11 09:26:19 +01:00
Pierre Goiffon
50342b6dfe
Update compiled CSS
2020-12-10 18:28:03 +01:00
Pierre Goiffon
8265b9b034
N°3416 fix PHPDoc
2020-12-10 18:10:45 +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
Molkobain
abf6d5422e
Merge remote-tracking branch 'origin/feature/faf-cke-mentions' into develop
2020-12-10 17:50:07 +01:00
Eric
2bef89137e
N°3123 - DataTables rework (WIP)
2020-12-10 17:13:15 +01:00
Stephen Abello
a0ac1c70a9
N°2847 * Update CKeditor to 4.15.1
...
* Add iTop default languages to ckeditor
* Change CKeditor skin from flat to Moono-Lisa
2020-12-10 12:12:13 +01:00
Stephen Abello
1ccabe645b
N°2847 * Update CKeditor to 4.15.1
...
* Add iTop default languages to ckeditor
* Change CKeditor skin from flat to Moono-Lisa
2020-12-10 11:18:09 +01:00
Pierre Goiffon
b03c5232b0
N°3253 Fix setup error message
...
Thanks @Hipska and @Molkobain !
2020-12-10 10:31:58 +01:00
Molkobain
97c77b612e
N°2875 - Add config. param. 'mentions.allowed_classes' to choose which classes (eg. Person / FunctionalCI) can be mentioned through which char. (eg. @ / #)
2020-12-10 10:27:34 +01:00
Molkobain
e96400c43b
N°2875 - Improve global implementation and integration with the trigger system
2020-12-09 23:19:39 +01:00
Molkobain
c22f019ea1
N°2847 - Add data-[role|object-class|object-id] attributes to the HTML sanitizer white list for anchors
2020-12-09 22:23:37 +01:00
Molkobain
bc3c46b566
N°2847 - Rework ckeditor SCSS to proper files and variables
2020-12-09 22:08:46 +01:00
Molkobain
a8431c5810
N°2875 - Update branch to current develop branch state
2020-12-09 20:06:40 +01:00
Molkobain
68332896ad
Merge branch 'develop' into feature/faf-cke-mentions
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# css/css-variables.scss
# css/light-grey.scss
# datamodels/2.x/installation.xml
2020-12-09 19:58:26 +01:00