odain
168d3c5b75
fix ci after merge from branch 'feature/3588-precompil-fix'
2021-03-16 08:46:48 +01:00
odain
3afc4e8185
Merge branch 'feature/3588-precompil-fix' into develop
2021-03-15 17:44:10 +01:00
odain
fcbb691c0a
fix tests
2021-03-15 16:25:57 +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
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
bruno-ds
9cbaced1f3
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
# setup/setuputils.class.inc.php
# test/setup/SetupUtilsTest.php
2021-03-02 14:34:19 +01:00
bruno-ds
cd4b3fdaab
N°3764 - fix CI
2021-03-01 16:27:40 +01:00
bruno-ds
95a0efedcf
N°3728 - security hardening
2021-03-01 15:28:34 +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
46f9fe743c
fix ci: adapt test to make sure config date_and_time is set properly before
2021-02-18 16:27:38 +01:00
odain
c31df5fff3
fix ci: adapt test to make sure config date_and_time is set properly before
2021-02-18 16:07:37 +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
odain
d7c7ef8332
ci/testing work: categorize tests via phpunit @group tags
2021-02-04 15:07:44 +01:00
Molkobain
43290c0ff5
Advanced search: Update unitary tests for PR #170
2021-02-01 12:08:39 +01:00
bruno-ds
dd921e49b6
rollback unit test since the root cause was elsewhere
2021-01-25 10:44:14 +01:00
bruno-ds
71d3713950
N°3651 - add a (commented out) test to prove the bug
...
just uncomment to use the test.
2021-01-15 11:14:36 +01:00
Pierre Goiffon
a5d26b93e9
✅ ThemeHandlerTest : rename source files
...
They are used solely in the test. And the test does the SCSS compilation and compares the results to expected files. So changing anything in the test source SCSS and we need to change the expected results too ! This isn"t necessary...
But there were some confusions as the css/light-grey.scss file is modified very often, and one of the test source file has the same name !
Adding the prefix DO_NOT_CHANGE should avoid such errors in the future O:)
2020-12-15 16:24:31 +01:00
Molkobain
13018c9df7
Fix CI due to 64fca330
2020-12-15 13:23:27 +01:00
Molkobain
64fca3306f
N°3547 - Fix fullscreen button on HTML field not displaying correctly
2020-12-15 11:39:06 +01:00
odain
4eebb538df
💚 add beforeSetup phpunit group to run test before setup
2020-10-14 18:09:23 +02:00
Molkobain
e48d257b00
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/displayblock.class.inc.php
# application/itopwebpage.class.inc.php
# application/utils.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
# datamodels/2.x/itop-knownerror-light/datamodel.itop-knownerror-light.xml
# datamodels/2.x/itop-service-mgmt/datamodel.itop-service-mgmt.xml
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# js/components/breadcrumbs.js
# pages/navigator.php
# test/core/DBSearchTest.php
2020-10-07 11:36:15 +02:00
Pierre Goiffon
661d84fc77
✅ ThemeHandlerTest : fix tmp dir clean up
2020-09-24 14:17:08 +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
d2e5e96a63
💚 fix remaining failed tests after merge
2020-09-09 06:52:09 +02:00
Molkobain
8193ada159
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# composer.json
# css/light-grey.scss
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
2020-09-08 17:30:32 +02:00
odain
b5cfd1c61e
💚 uncomment test
2020-09-08 11:36:42 +02:00
odain
7ab274cb7b
💚 fix test after merge
2020-09-08 09:21:06 +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
f5c8411a07
💚 ThemeHandlerTest: test fix + enhance failure messages
2020-08-26 12:09:55 +02:00
Molkobain
c5b8d3fa72
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/datamodel.application.xml
# application/itopwebpage.class.inc.php
# css/light-grey.scss
2020-08-19 10:20:37 +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
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Molkobain
d6ab310d24
N°3233 - Fix unit test and autoloader due to folders renaming in /sources
2020-08-04 13:26:58 +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
Eric
9d8a7bf561
N°3007 - Warn the user that installing a patch on a non conform install is not recommended
2020-06-04 10:38:58 +02:00
Molkobain
e2a3e0e74f
N°2735 - Continue rework of the dashlet id generation:
...
- Move generation from DashboardLayout to Dashboard
- Migrate dashlet user preference in RuntimeDashboard only (and not in DesignTimeDashboard)
2020-02-26 16:29:32 +01:00
odain
84a11fb3c1
added namespace + mv iTopComposer + optimize FileIterator
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
Eric
767bcdf117
N°2746 - Fix unit tests (typo)
2020-02-11 17:00:55 +01:00