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
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
Eric
5e060737df
N°2746 - Fix unit tests
2020-02-11 16:46:24 +01:00
Eric
d9bf0fe012
N°2746 - Fix breadcrumb for search of enumSet
2020-02-11 16:02:55 +01:00
Eric
d9e8eed084
💚 Fix CI on TagSet search (request have changed)
2020-01-31 16:13:59 +01:00
Pierre Goiffon
13d31ac211
utils::GetDefaultUrlAppRoot : make comparison case insentitive, add a test
2019-12-23 11:06:29 +01:00
Pierre Goiffon
06791b06c4
Fix utils::EndsWith when needle bigger that value
2019-11-21 11:57:24 +01:00
Eric
b7c3fbb176
💚 Refactor unit tests
2019-10-23 16:41:28 +02:00
Pierre Goiffon
0d0f8e9ffc
💚 N°2538 Fix test
...
Was broken since ce207e5c
2019-10-17 10:45:12 +02:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
Pierre Goiffon
f65f22f333
N°2538 check path validity little improvements
...
* ajax-backup : change code to be more readable
* does a realpath() call on basepath to avoid troubles when havin '/' on Windows
2019-10-16 11:37:50 +02:00
Pierre Goiffon
607d355c61
N°2538 enforce generic method to check path validity
...
Now uses realpath() and StartsWith
2019-10-16 11:13:19 +02:00
Pierre Goiffon
29c30c1f89
🎨 Code format
2019-10-16 11:13:19 +02:00
Eric
59c490fcea
✅ Add test for search with 'NOT LIKE'
2019-01-15 11:51:03 +01:00
Eric
e08369122d
Merge remote-tracking branch 'origin/support/2.5' into release/2.6
...
# Conflicts:
# core/config.class.inc.php
# css/css-variables.scss
# css/light-grey.css
2018-11-29 09:10:34 +01:00