Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
jf-cbd
b6230ed486
🐛 N°7284 - Themehandler enhancement - use of utils::RealPath instead of php's method
2024-02-23 10:46:22 +01:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
e2b73995e1
N°3882 - Move DataModel classes fields' style to theme instead of (duplicated) inline CSS
2021-09-23 11:44:11 +02:00
Pierre Goiffon
3ebb1cfc66
💡 phpDoc
2021-08-03 17:15:38 +02:00
Stephen Abello
d7a0878a39
Fix broken variables import in 3.0 themes
2021-07-20 10:04:12 +02:00
Molkobain
cbc5bb70d0
Performance: Change theme signature check to be done only when necessary at runtime in a production environment
2021-04-28 19:35:03 +02:00
odain
3d9540e895
Merge branch 'feature/2982-finalize' into develop
2021-04-16 14:04:17 +02:00
odain
3b3fa7b1f8
N°2982 - rename imports_utility and imports_variable in precompilation signature
2021-04-16 11:56:16 +02:00
odain
65d94bd914
revert d951d0def
2021-04-13 23:48:32 +02:00
odain
d951d0def0
N°3593 - correct GetDefaultThemeInformation returned structure
2021-04-13 23:45:31 +02:00
odain
beadd9cd03
N°3593 - GetVariablesFromFile and precompilation signature fixes + tests
2021-04-13 23:42:53 +02:00
Pierre Goiffon
59678ef8c6
🔊 N°3731 Log calls to deprecated files / PHP methods
...
POC for the log API was added in #193
2021-04-13 17:56:21 +02:00
odain
903afff687
N°2982 - fix delta xml variables not used in themes
2021-04-12 22:14:00 +02:00
Molkobain
c0f5906dce
Fix crash when accessing a backoffice page in maintenance mode (regression from e2f30182)
2021-04-12 12:08:33 +02:00
Molkobain
e2f301827a
N°3936 - Add protection to avoid crashes in certain conditions since d6695d3a
2021-04-12 09:06:56 +02:00
Molkobain
d6695d3ad8
N°3936 - Add config parameter to disable theme selection in the user preferences ("user_preferences.allow_backoffice_theme_override")
2021-04-09 09:05:52 +02:00
Molkobain
8ccada40d1
N°3936 - Add user preference to choose backoffice theme
2021-04-08 18:26:18 +02:00
odain
49fe8d0a0f
N°2982 - small enhancement to fetch images in themes
2021-04-02 10:44:43 +02:00
odain
5816b22639
N°2982 - fix testthat validates provided precompiled stylesheets
2021-04-02 07:30:45 +02:00
odain
d32bfa3ef4
N°2982 - Speed up SCSS themes compilation during setup - preventive check before looping
2021-04-01 14:59:41 +02:00
odain
cb91d6f3c4
N°2982 - Speed up SCSS themes compilation during setup - fix infite loop when n signature inside precompiled file
2021-03-31 23:37:29 +02:00
Stephen Abello
1d0da38d40
N°3593 Fix file import variable usage in theme compilation
2021-03-24 11:29:43 +01:00
odain
34c12b61cc
N°2982 - Speed up SCSS themes compilation during setup - add method visibility
2021-03-23 14:41:32 +01:00
odain
7127c70ed6
N°2982 - Speed up SCSS themes compilation during setup - fix included files with same name and folder
2021-03-23 11:33:00 +01:00
odain
3afc4e8185
Merge branch 'feature/3588-precompil-fix' into develop
2021-03-15 17:44:10 +01:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
odain
4870893fc2
N°2982 - Speed up SCSS themes compilation during setup : fix precompiled css theme generated
2021-02-15 17:26:17 +01:00
odain
c36d650d61
N°2982 - Speed up SCSS themes compilation during setup : fix broken style 3.0 after setup
2021-02-15 15:20:31 +01:00
odain
71a65606a1
Revert "N°2982 - Speed up SCSS themes compilation during setup : take cascaded included imports in theme precompilation + class/method documentation cleanup"
...
This reverts commit c8dd19c22f .
2021-02-12 11:24:14 +01:00
odain
c8dd19c22f
N°2982 - Speed up SCSS themes compilation during setup : take cascaded included imports in theme precompilation + class/method documentation cleanup
2021-02-12 09:46:30 +01:00
Stephen Abello
5ef75772f0
N°3516 Add Fullmoon 🌕 to theme mechanism, update test-red theme for 3.0
2021-01-05 17:16:30 +01:00
Molkobain
8e6351d346
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:04:10 +02:00
Pierre Goiffon
9eac12bd9c
Fix CSS precompilation signature check on non Linux OS
...
* fix images paths comparison
* fix MD5
Were depending on platform : \ThemeHandlerTest::testGetIncludedImages test passed on Linux, not on Windows due to different DIRECTORY_SEPARATOR
2020-09-24 12:38:16 +02:00
odain
1eba8ba4ac
Merge branch 'support/2.7' into develop
2020-09-07 16:48:15 +02:00
Eric
bb892cc180
N°3078 - Fix error on login while in maintenance mode
2020-08-27 17:10:37 +02:00
odain
a4842f9e5c
N°2996 - Remove iTop version from css-variable.scss
...
Fix PCRE non backward compatibility between PHP 7.2 and 7.3
2020-08-27 09:37:10 +02:00
odain
9a0d9d2c38
Merge branch 'feature/fast-theme-compilation2' into develop
...
N°2982 - speedup themes/scss compilation during setup
N°2996 - Remove iTop version from css-variable.scss
2020-08-26 17:59:31 +02:00
odain
a538e3c1a2
N°2996 Remove iTop version from css variables
...
- $version does not exit anymore in css-variables.css. now its value is computed during setup and equals setup timestamp instead.
- use precompiled files (declared in datamodels XML files) to check if theme compilation is required or not.
- referenced images in scss files are included in precompiled file signatures just like scss files md5sum.
- images declared in scss files with v=$version are reloaded automatically on browser side after each theme compilation (see xxx.png?v=timestamp)
- precompiled files are replaced if theme compilation occurred. this will avoid same time consuming operation at next setup.
- code cleanup: arrays / variables renamed
2020-08-14 17:03:16 +02:00
odain-cbd
7b8c390a80
Revert "Faster compilation of themes"
2020-08-07 16:20:12 +02:00
odain
ec0f726c26
💚 fix tests
2020-08-05 14:39:00 +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
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
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