878 Commits

Author SHA1 Message Date
Pierre Goiffon
225c176f71 N°3750 data-input-type : change XHR detection method
I added WebPage::IsAjaxPage, but this wasn't a good idea as XHR isn't really related to the Page impl used !
Instead we're now using the new method \utils::IsXmlHttpRequest which is a copy of \Symfony\Component\HttpFoundation\Request::isXmlHttpRequest
Many thanks @Molkobain !
2021-03-02 12:13:27 +01:00
Pierre Goiffon
c679318d16 N°3750 data-input-type : refresh attribute on AJAX refresh 2021-03-01 16:48:12 +01:00
Pierre Goiffon
1060c0ca94 N°3750 Set input type for linkedset 2021-03-01 08:58:36 +01:00
Pierre Goiffon
6a5c47887a N°3750 New data-input-typeattribute to fields container
This will allow easiest DOM manipulation in BeHat tests !
2021-02-26 12:16:29 +01:00
Pierre Goiffon
9907e4af58 Fix TODO 3.0 2021-02-26 11:01:41 +01:00
Pierre Goiffon
4d78f4b535 N°3750 Fix syntax for array key
Thanks @Molkobain !
2021-02-24 20:09:32 +01:00
Pierre Goiffon
30cddeae2d N°3750 Fix no data-input-id attribute for status attribute 2021-02-24 18:42:59 +01:00
Pierre Goiffon
c8911f1fa9 N°3750 Add data-input-id to field container
This will allow easiest DOM manipulation in BeHat tests
2021-02-24 17:19:55 +01:00
Stephen Abello
c757b5051e Simplify medallion icon calls in cmdbabstract and fix an issue with notifications 2021-02-23 11:31:09 +01:00
Stephen Abello
b0a1371122 Fix class icon being too big in displaybarerelations 2021-02-23 10:48:58 +01:00
Molkobain
837d1824b1 Code cleanup: Remove useless code 2021-02-23 09:39:56 +01:00
Molkobain
2bf23f0618 N°3629 - Activity panel: Fix case logs not saved during object creation 2021-02-23 09:39:56 +01:00
bruno-ds
26bbdc1a57 Merge remote-tracking branch 'origin/support/2.7' into develop
# Conflicts:
#	application/cmdbabstract.class.inc.php
#	application/utils.inc.php
#	dictionaries/en.dictionary.itop.core.php
#	dictionaries/fr.dictionary.itop.core.php
#	setup/setuputils.class.inc.php
2021-02-23 08:58:29 +01:00
Molkobain
9c0966ff42 Image attribute: Add upload button 2021-02-22 16:23:45 +01:00
Molkobain
f04a5dbfef N°2844 - Fix image attribute display and editing 2021-02-19 22:01:51 +01:00
Molkobain
5e21ec03cd Rename constants according to @steffunky 's advice (better DX) 2021-02-19 18:35:20 +01:00
Stephen Abello
ea502e9c81 Allow to set a customized placeholder for ajax tabs in scrollable mode 2021-02-19 17:38:47 +01:00
Molkobain
6634f3981e Concurrent lock: Fix modal's button to match new convention 2021-02-19 12:34:41 +01:00
Molkobain
38c6f8c76f Concurrent lock: Fix ownership handler in the backoffice
- Lost lock message will only be displayed once instead of being stacked every 60s 🤪
- Action buttons (except "Cancel") are disabled when the lock expires (regression from 3.0.0)
- Modal window is now larger
2021-02-19 12:34:41 +01:00
Stephen Abello
be38bca83d Fix bad HTML markup when having OnDisplayRelations in objects 2021-02-18 16:17:35 +01:00
Pierre Goiffon
6e0af1a3b7 💡 Add variable typing 2021-02-18 13:21:06 +01:00
Molkobain
4770123be5 N°3549 - Activity panel: Fix crash when cancelling object modification 2021-02-17 18:10:14 +01:00
Molkobain
f297cdb8b2 N°3549 - Activity panel: Fix inline images in caselogs 2021-02-17 12:47:24 +01:00
Eric
244de6915d N°3700 - Restyle SessionMessage 2021-02-12 17:40:31 +01:00
Molkobain
8d8f6f7ed5 Typo 2021-02-10 21:17:49 +01:00
Molkobain
e6c0333915 N°3545 - Activity panel: Change caselogs order so it's defined by the details zlist 2021-02-10 18:20:04 +01:00
Eric
3c60e4f765 Add Toolbar factory, Use new factory entry for cancel buttons, better check of twig errors, fix fatal error page 2021-02-09 14:43:46 +01:00
Stephen Abello
f1d047becf Add a Factory for 'Cancel' buttons, make 'Cancel' buttons alternative, make buttons uppercase 2021-02-02 16:17:03 +01:00
Molkobain
1514cd83ab UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
2021-01-21 12:59:30 +01:00
Eric
26f800d488 N°3423 - Allow AttributeImage / AttributeDocument content to be cached by the browser (console) 2021-01-21 10:44:23 +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
acognet
3791306be7 3540 - Migrate printable version of an object - management of the activities of an object 2021-01-06 09:40:30 +01:00
Eric
d77f374918 N°2677 - Add style definition for enums (refactor & fix CI) 2020-12-31 16:34:59 +01:00
Eric
f1ad55c86c N°2677 - Add style definition for enums 2020-12-31 11:25:00 +01:00
Molkobain
874bf38316 N°2844 - Fix object panel layout during a transition 2020-12-22 18:22:58 +01:00
Molkobain
27eb3a8509 N°3518 - Start refactor of object details to match block / template design 2020-12-22 18:22:58 +01:00
Eric
2608c071d0 N°3540 - Migrate printable version of an object (change some css classes) 2020-12-18 16:06:51 +01:00
acognet
3876fb9d62 N°3540 - Migrate printable version of an object 2020-12-18 11:41:31 +01:00
Pierre Goiffon
c8dbf88c03 ♻️ new FieldFactory
Idea is to remove the aParams parameter from the Field object
And also allow to pass subblocks for the input value instead of only raw HTML
2020-12-18 11:32:13 +01:00
Molkobain
f525e161a8 N°2127 - Fix field content overlapping on rest of the UI (Backoffice) 2020-12-17 12:12:04 +01:00
Pierre Goiffon
85e9073228 N°3537 run_query : use Field instead of InputWithLabel 2020-12-16 17:45:13 +01:00
Molkobain
e96400c43b N°2875 - Improve global implementation and integration with the trigger system 2020-12-09 23:19:39 +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
Stephen Abello
13d2699011 N°2629 Allow user to choose default expanded/collapsed toolbar for richtext editors 2020-12-04 10:53:22 +01:00
Eric
15aa9e508c N°3123 - Refactor Directories 2020-12-02 13:18:01 +01:00
Stephen Abello
d1b12ee04b N°2251 Replace qtip calls by tippyjs calls 2020-12-02 10:06:24 +01:00
Stephen Abello
81b96b2430 N°2251 Migrate bulk modify field additional content tooltip from qtip to tippyjs 2020-12-02 09:42:20 +01:00
Pierre Goiffon
14ac58b999 N°3227 use Button components instead of hardcoded HTML 2020-12-01 18:19:40 +01:00
Pierre Goiffon
ae094f9bc6 N°3227 Fix typo in var names
Thanks @Molkobain (who commented in c117a23e0d)
2020-12-01 17:31:04 +01:00