Molkobain
00dc1d3f3b
PHPDoc & code cleanup
2020-07-27 15:09:34 +02:00
Molkobain
da5d55a542
Fix appUserPreferences type hinting as it accepts more than just strings
2020-07-27 15:09:34 +02:00
Molkobain
87d7693be5
N°2847 - Rework iTopWebPage layout (WIP Part III)
...
- iTopWebPage: Extract processing in dedicated functions
- iTopWebPage: Add tooltips base feature
- iTopWebPage: Fix JS dictionaries
- iTopWebPage: Extract inline JS to dedicated file
- Top bar: Visual improvements
- Nav. menu: Visual improvements
- Nav. menu: Tooltip improvement
- Nav. menu: Toggle state preference saved
- Nav. menu: Add menus filter feature
- Breadcrumbs: Handle elements overflow
2020-07-27 15:09:33 +02:00
Molkobain
fa153d8504
N°3185 - Datamodel: Add square logo in branding
2020-07-27 15:09:33 +02:00
Molkobain
5d3009646a
N°3182 - Datamodel: Add icon to menu groups
2020-07-27 15:09:33 +02:00
Molkobain
ec70d3546d
PHPDoc & code cleanup
2020-07-27 15:09:33 +02:00
Molkobain
10a14a3844
N°3182 - Add support for MenuGroup CSS icon in the XML datamodel
...
- Introduce itop_design v1.8
- Default CSS classes are 'fas fa-ellipsis-v' from FontAwesome
- New tags <style><decoration_classes>xxx yyy</decoration_classes></style> under the <menu xsi:type="MenuGroup"> tag
2020-07-27 15:09:33 +02:00
Molkobain
0516862632
N°2847 - Rework of iTopWebPage: Preliminary work on the page content
2020-07-27 15:09:33 +02:00
Molkobain
ad379d3ef4
N°2847 - Rollback fix on pages <base> URL tag (to much consequences)
...
Fixing the base URL tag on WebPage and derivated classes would require to migrate all extensions which use the add_linked_script / add_linked_stylesheet functions with a relative URL, which is almost all extensions. So the benefit isn't worth the workload.
Note: We could have migrate extensions by replacing "../images|js|css/xxx.yyy" with utils::GetAbsoluteUrlAppRoot()."images|js|css/xxx.yyy" to make them compatible with iTop 2.8 and previous versions. But as said before, much work.
2020-07-27 15:09:33 +02:00
Molkobain
8efd8008fc
N°2847 - Rework of the global iTopWebPage layout (Part II)
...
- Optimize TWIG templates includes (don't pass context to autonomous components)
- Preliminary work of the top bar and breadcrumbs features
- Removal of images dedicated to the breadcrumbs feature
2020-07-27 15:09:33 +02:00
Molkobain
ab681b0954
N°2847 - Rework of the global iTopWebPage layout (Part I)
...
- Rework of the iTopWebPage class
- Use of TWIG templates
- Preliminary work of the navigation menu
2020-07-27 15:09:32 +02:00
Molkobain
c9b80074f4
Add helper to know if we currently are in "debug" mode
...
Can be used to enable more features / debugging tools throughout the application.
2020-07-27 15:09:32 +02:00
Molkobain
ec48b397ad
Code cleanup & PHPDoc
2020-07-27 15:09:31 +02:00
Molkobain
7d4455baf4
N°2847 - Start rework of the CSS/JS/TWIG files structure
2020-07-27 15:09:31 +02:00
odain
08414296b6
tmp work: save timestamp + few fixes
2020-07-21 23:22:50 +02:00
odain
307713d326
N°2996 - Remove iTop version from css-variable.scss
...
Include images in precompilation check
2020-07-16 18:41:55 +02:00
odain
2d8b888a18
N°2982 - speedup themes/scss compilation during setup
2020-07-16 18:41:01 +02:00
Denis Flaven
6b2b56cf72
Faster compilation of themes
...
- Ability to provided precompiled themes in the datamodel
- Check that a precompiled theme is still up-to-date based on a signature
2020-07-16 18:33:13 +02:00
Eric
fdec608c3e
N°3174 - Remove stack trace from MySQLException
2020-07-16 18:09:44 +02:00
Eric
b1fa429234
N°2957 - Better check of the class parameter in requests
2020-07-10 14:41:38 +02:00
acognet
df4dfe4803
N°2284 - Replace JQuery Autocompleter plugin by JQuery UI Autocomplete widget
...
N°2390 - Auto-complete - Relevant results in first
2020-07-09 09:14:44 +02:00
Eric
e564f71c14
N°2986 - Reintegrate application menus from "welcome itil" into application
2020-07-08 11:49:52 +02:00
acognet
9628a1d028
N°2284 - Replace JQuery Autocompleter plugin by JQuery UI Autocomplete widget and start of bug 2390 - Auto-complete - Relevant results in first
2020-07-02 11:46:51 +02:00
acognet
ca28f8f3c4
2393 - API : Font Awesome remove v4 compatibility
2020-06-30 16:28:15 +02:00
acognet
e9a1167da6
N°2363 - API : deprecate old linkedset update pattern
2020-06-30 09:02:42 +02:00
Pierre Goiffon
f20808d929
Merge remote-tracking branch 'origin/support/2.7' into develop
2020-06-22 11:39:44 +02:00
acognet
a6639b067f
N°309 - Afficher les arbres pliés ou dépliés
2020-06-19 12:26:08 +02:00
acognet
e226222c2a
N°3102 - widget regression: OQL syntax error now crash the page instead of displaying an error in place of the widget
2020-06-17 11:11:48 +02:00
Pierre Goiffon
b7136c0b7a
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
(cherry picked from commit c768e18e2b : no risk taken for 2.7.1, so cherry picked for 2.8.0)
2020-06-15 15:20:17 +02:00
Pierre Goiffon
8912618732
Revert "N°2214 Add PHP check in CLI scripts"
...
This reverts commit c768e18e2b .
No risk taken for the 2.7.1 : this will be included but for 2.8 !
2020-06-15 15:18:26 +02:00
Eric
7bee718a13
N°3775 - Dashboard Definition with unknown class leads to an error
2020-06-15 14:53:58 +02:00
Pierre Goiffon
c768e18e2b
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
2020-06-12 16:46:37 +02:00
odain
6e4f9a9b93
small fix
2020-06-12 09:14:09 +02:00
odain
4d3aefe2a4
fix all the tests
2020-06-11 21:29:03 +02:00
acognet
cf8a12fe95
PMP light first version - small evolutions
2020-06-10 10:44:18 +02:00
odain
31482ccef7
make sure GetCompiledModuleVersion returns timestamp
2020-06-08 09:34:45 +02:00
odain
c9c833a868
IssueLog instead of echo in ThemeHandler
2020-06-04 22:50:45 +02:00
odain
7cad4ac444
adapt testValidatePrecompiledStyles
2020-06-04 22:47:50 +02:00
odain
001680906d
molkobain remarks in PR
2020-06-04 21:58:03 +02:00
odain-cbd
ed355cb8cf
Update application/themehandler.class.inc.php
...
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
2020-06-04 21:52:02 +02:00
odain-cbd
fa036ee724
Update application/themehandler.class.inc.php
...
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
2020-06-04 21:47:02 +02:00
odain-cbd
e04548a61c
Update application/themehandler.class.inc.php
...
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
2020-06-04 21:45:29 +02:00
odain-cbd
25c55bdaf4
Update application/themehandler.class.inc.php
...
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
2020-06-04 21:43:17 +02:00
odain-cbd
c1c43c7d5d
Update application/themehandler.class.inc.php
...
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
2020-06-04 21:43:00 +02:00
acognet
28b75f29e5
N°3020 - Recurring PHP Notice with itop-fence "Undefined index: login_temp_auth_user
2020-06-04 16:21:07 +02:00
odain
b7ffa9e3c0
bug2996: include images in precompiled signature
2020-06-04 08:55:28 +02:00
odain
e94d5418f4
Merge branch 'develop' into feature/bug2996-checklist-compilation
2020-06-03 11:32:26 +02:00
acognet
f301a283e2
N°3015 - Fix "Undefined index: login_mode" Notice
2020-06-02 16:04:50 +02:00
acognet
59af58a173
N°3008 - Align transition form markup metadata to regular form in the backoffice
2020-05-27 10:00:20 +02:00
Pierre Goiffon
0d1059a8fc
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/utils.inc.php
# conf/web.config
# datamodels/2.x/itop-backup/ajax.backup.php
# datamodels/2.x/itop-backup/status.php
2020-05-18 09:24:46 +02:00