Pierre Goiffon
81c39c35cd
N°4771 Fix lib test dir detection
...
Thanks to @Molkobain and @Hipska for their review in dfaa9733
2022-02-11 18:15:56 +01:00
Pierre Goiffon
dfaa973359
N°4771 improve iTopComposerTest
...
- debug testListDeniedTestDir not working well on Windows
- update error message for testAllDirCovered
2022-02-10 12:54:09 +01:00
Pierre Goiffon
2e45b20fc4
N°4771 Fix .make/composer/rmDeniedTestDir.php doing nothing on Windows
...
Note that a .gitignore entry was added in dbc3da7b but it isn't necessary if rmDeniedTestDir work as expected !
2022-02-10 12:45:52 +01:00
Pierre Goiffon
e89090f0ec
N°4771 Update lib test dirs list : reordered for readability / easier maintenance
2022-02-10 12:08:18 +01:00
Pierre Goiffon
47db04bcb7
💡 N°4760 Add complement in phpdoc
2022-02-09 11:48:17 +01:00
Pierre Goiffon
a49c451ae4
💡 N°4760 Fix wrong phpdoc
2022-02-09 11:43:42 +01:00
Pierre Goiffon
3000659e86
🎨 Change disable breadcrumb method name to clarify usage
...
Thanks @eespie for the review !
2022-02-08 17:04:11 +01:00
Pierre Goiffon
ce36c00b83
Remove now useless default values
...
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2022-02-08 17:04:11 +01:00
Pierre Goiffon
2a3e6384d9
♻️ After dev team code review
2022-02-08 17:04:11 +01:00
Pierre Goiffon
dd7e73e413
🎨 Simpler code
...
Thanks Hipska !
2022-02-08 17:04:11 +01:00
Pierre Goiffon
1709082e39
Controller::CreatePage : default values for sUrl and sIcon
2022-02-08 17:04:11 +01:00
Pierre Goiffon
41f6e85673
Controller::CreatePage : use @list() intead of 3 lines with count() tests
...
Thanks Hipska !
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2022-02-08 17:04:11 +01:00
Pierre Goiffon
3ef3166bd5
Add new methods to override in order to control breadcrumb in Controller children classes
2022-02-08 17:04:11 +01:00
Pierre Goiffon
04e7616c84
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# sources/renderer/bootstrap/fieldrenderer/bslinkedsetfieldrenderer.class.inc.php
2021-12-10 15:57:49 +01:00
Pierre Goiffon
219b970703
N°4478 Fix linkedset widget in portal when adding new items with already selected ones
...
Was already committed to develop with e59d472c
2021-12-10 15:56:33 +01:00
Pierre Goiffon
76c139253e
🎨 Fix language injection
2021-12-10 15:24:16 +01:00
Pierre Goiffon
7d6b019cfa
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# sources/renderer/bootstrap/fieldrenderer/bslinkedsetfieldrenderer.class.inc.php
2021-11-26 11:45:11 +01:00
Pierre Goiffon
5e48400cb1
N°4478 Fix line selection (global and unique) not checking checkbox anymore
2021-11-26 11:44:32 +01:00
Pierre Goiffon
252562ace9
N°4478 Fix "Requested unknown parameter '' for row 0, column 0" when opening search on related object
...
Forgotten file :/
2021-11-26 11:08:25 +01:00
Pierre Goiffon
b6fac4b411
N°4384 Security hardening
2021-11-25 16:07:40 +01:00
Pierre Goiffon
2d67594ccf
N°4213 Fix EnumSet rendering on details form in portal
2021-11-24 12:07:10 +01:00
Pierre Goiffon
fe3512cb5f
N°4335 Fix export with PHP < 7.0+
2021-10-11 17:05:30 +02:00
Eric
77710f1613
Revert " #1946 Fix Twig templates logging too much"
...
This reverts commit 2763b991
2021-02-25 17:57:39 +01:00
Eric
2763b99142
#1946 Fix Twig templates logging too much
2021-02-25 14:44:16 +01:00
bruno-ds
2276539f24
N°3430 - code cleanup
2021-02-24 16:50:14 +01:00
bruno-ds
241bd1cdeb
N°3430 - code cleanup
...
- during the code review @dflaven preferred the reference rather than the return alternative
- typo
2021-02-22 09:43:42 +01:00
bruno-ds
e9e18513be
N°3430 - fix preference page's warning and add missing token generation
...
- fix the warning (ajax call interrupted) if preference form ajax call is way faster than the one of the 2 other by adding a new timeout_duration option before the redirect.
2021-02-18 12:18:38 +01:00
bruno-ds
dcd4abe72b
N°3430 - security hardening
2021-02-16 17:33:49 +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
eebc29d2bb
N°3111 - Fix Portal export
...
(cherry picked from commit d3b57c3bda )
2020-10-30 14:16:57 +01:00
Eric
d86e904e18
N°3317 - Add http headers
2020-09-29 14:11:11 +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
acognet
a858362622
N°3080 - Portal cannot display more 10 attachments
2020-06-05 09:42:04 +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
acognet
898ee95a2c
N°1997 - dbClick to exit the "description" field when creating an incident on the portal
2020-05-14 13:03:49 +02:00
acognet
526a7f9817
N°1910 - iTop - Search on Text contains "_" not working - convert _ to \_ in javascript
2020-05-05 18:36:38 +02:00
acognet
40efc4cbb1
N°1062 - Portal : autocomplete and search = broken
2020-03-31 23:47:46 +02:00
acognet
95adbbb58f
N°1181 - List of searchable classes in SearchMenuNode - add user rights tests
2020-03-30 16:23:23 +02:00
acognet
fc7b772ba3
N°1910 - iTop - Search on Text contains "_" not working
...
_ is a special caracter in mysql -> replace with \_
2020-03-30 16:13:47 +02:00
Stephen Abello
ccfd3848fb
N°1164 #1491 - Fix syntax code highlighting display in CaseLog/HTML fields
2020-02-25 09:54:18 +01:00
Molkobain
1ce5ec73ea
N°2798 - Fix unable to submit portal forms (Regression from dba6e8ce)
2020-02-24 09:24:23 +01: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
odain
84a11fb3c1
added namespace + mv iTopComposer + optimize FileIterator
2020-02-20 14:56:08 +01:00
Pierre Goiffon
ee39a387db
N°2651 Remove tests from lib : browse dirs using SPL classes instead of GLOB
2020-02-20 14:56:08 +01:00
bruno DA SILVA
e3c6ac814e
N°2651 - Removal of "Test" dirs within dependencies handled using composer
2020-02-20 14:56:08 +01:00
Molkobain
dba6e8ce1a
Fix images being too wide in HTML fields and caselogs in the end-users portal
...
Regression introduced in a previous version of iTop.
2020-02-17 16:29:21 +01:00
Eric
ef3bdd63a4
N°2746 - Fix search from shortcut
2020-02-13 11:56:19 +01:00