Molkobain
fce3934977
Improve PHPDoc
2021-04-23 22:34:33 +02:00
Molkobain
d8feda89a5
N°2875 - Add return example in the PHPDoc
2021-04-23 17:03:29 +02:00
Molkobain
7aecdd0dc7
N°2875 - Extract method to find mentioned objects into utils so it can used by extensions, not only the trigger
2021-04-23 17:01:17 +02:00
odain
52dbf23245
protect IsDevelopmentEnvironment function from warning
2021-04-16 11:33:14 +02:00
Molkobain
923a4048d3
Keyboard shortcuts: Add method to retrieve info about a particular shortcut
2021-04-13 11:46:34 +02:00
Stephen Abello
f97f55bcca
N°3896 - CKeditor icon for enhance WikiText URLs syntax
2021-04-07 16:20:01 +02:00
Molkobain
5fa2caac29
Mentions: Show initials when no picture for contact
2021-04-06 00:02:13 +02:00
Molkobain
8b25679df8
Extract function to get a person's initials to a dedicated ToAcronym function in \utils
2021-04-05 21:05:46 +02:00
Molkobain
a67bff3959
Reorder some methods by theme
2021-04-05 20:44:39 +02:00
Eric
131ecd5e3b
N°3251 - Restore 2.7 behaviour of ExecITopScript (hide passwords from commandline arguments) and allow tests to provide credentials
2021-03-31 16:36:40 +02:00
Molkobain
7fec31e775
PHPDoc
2021-03-17 16:05:33 +01:00
odain
8fce088e6f
Merge branch 'support/2.7' into develop
2021-03-17 15:26:19 +01:00
Molkobain
5452286d8d
Fix utils::GetClassesForInterface() not working on Windows env. (courtesy from @Steffunky)
2021-03-17 13:13:57 +01:00
Stephen Abello
a8ede8b857
N°3524 Add keyboard shortcuts to global actions
2021-03-17 11:00:16 +01:00
Stephen Abello
8dd8f98b61
Migrate method to get classes implementing specified interface to utils
2021-03-17 10:57:26 +01:00
Pierre Goiffon
2432ff77a3
💡 More details in PHPDoc for \utils::RealPath
2021-03-17 08:34:25 +01:00
odain
eacdfa4088
Merge branch 'support/2.7' into develop
2021-03-15 16:06:20 +01:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +01:00
odain
3bcae734e5
N°3671 : persist absolute URL when setup context (force trustproxy enabled)
2021-03-15 12:27:05 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
odain
577ae34b50
Merge branch 'support/2.7' into develop
2021-03-09 15:40:30 +01:00
bruno-ds
ae6a264d6d
N°3671 - fix typo in HTTP header name
2021-03-05 16:57:03 +01:00
bruno-ds
a06bf6ea7c
coding convention (thanks @molkobain)
2021-03-05 09:20:04 +01:00
bruno-ds
bb8d4a92cb
fix an indentation problem (thanks @Hipska)
2021-03-04 09:56:05 +01:00
bruno-ds
1f26b59d90
N°3671 - add an API endpoint (it will be used by N°3668 and N°3760) + some code cleanup asked by @molkobain
2021-03-04 09:32:13 +01:00
Pierre Goiffon
c2c69d9f43
💡 N°3750 PHPDoc
2021-03-04 09:32:02 +01:00
bruno-ds
7b093a6bba
N°3671 - app_root_url: handle reverse proxies during the setup and preserve existing configuration during an upgrade.
2021-03-03 11:55:18 +01:00
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
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
odain
82ba7f25b0
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:18:28 +01:00
odain
bb877a244b
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:09:39 +01:00
Stephen Abello
46b4990252
N°3632 Move tab's layout preference to preferences page
2021-01-22 10:30:12 +01:00
Pierre Goiffon
09e531f11c
N°3623 new \utils::EscapeHtml method
2021-01-13 16:10:43 +01:00
Eric
2dea5447b4
N°2677 - Add style definition for enums (Default values)
2021-01-05 11:07:18 +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
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
a8431c5810
N°2875 - Update branch to current develop branch state
2020-12-09 20:06:40 +01:00
acognet
5ccb12453a
N°3123 : Improved JavaScript management in web pages and ajax pages
2020-12-08 08:59:25 +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
Eric
d2d5a90637
N°3123 - Fix popup menus for lists
2020-11-30 16:47:27 +01:00
Pierre Goiffon
c944cd29b1
📝 Fix \utils::Sanitize_Internal phpdoc
...
Thanks @Molkobain !
2020-11-30 15:01:09 +01:00
Pierre Goiffon
5d5a3183c0
📝 more PHPDoc for \utils::Sanitize_Internal
...
added more details about const that were introduced in e911290b3d
2020-11-30 14:27:52 +01:00
Eric
4099a8ef5a
N°3123 - Moved Popup Menu Items JS parts to UIBlocks
2020-11-27 17:25:50 +01:00
Eric
c5942a3ddd
N°2847 - Code refactor
2020-11-25 15:24:27 +01:00
Stephen Abello
aef77d8f93
N°2847 Add message on alpha/development fatal error pages 🤫
2020-11-19 13:39:04 +01:00
Eric
291041610b
set_time_limit accept only int in PHP7.4
2020-11-12 10:57:13 +01:00
Pierre Goiffon
548342159b
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-10-14 11:41:58 +02:00