bdalsass
13239c2751
N°8201 - [CVE_Request]_Cross-Site-Script Reflected(XSS Reflected at the name="attr_installed" (Low or Medium)
2025-05-23 10:06:01 +02:00
bdalsass
81b20ee583
N°8168 - Stored XSS in portals lnk
2025-05-23 08:42:56 +02:00
bdalsass
38683c20b1
N°8313 - edit dashboard (fix broken test)
2025-05-16 14:05:55 +02:00
bdalsass
81791dd253
N°8313 - edit dashboard
2025-05-16 14:05:55 +02:00
bdalsass
e77e0eec9f
N°8355 - render_dashboard
2025-05-16 14:05:55 +02:00
jf-cbd
960133c0df
N°8379 - fix backup issue
2025-05-13 16:27:59 +02:00
jf-cbd
5232694c04
N°8281 - Unable to click search button in multiple request template
2025-03-21 11:20:37 +01:00
jf-cbd
874a5fd2ce
Dump autoloader
2025-03-12 11:36:06 +01:00
jf-cbd
063bb9680e
N°8231 - Better variable fallback
2025-03-06 16:09:51 +01:00
jf-cbd
8f8ac46f55
N°8215 - When PHP warning are enabled, Global Request doesn't work
2025-03-06 11:59:08 +01:00
denis.flaven@combodo.com
07b904ee1b
N°8231 - making rest api logs more readable
2025-03-06 11:59:08 +01:00
denis.flaven@combodo.com
affed69999
Version number bump.
2025-02-07 10:09:48 +01:00
denis.flaven@combodo.com
d5754fc568
N°8135 - Bump datamodel version.
2025-01-31 17:04:56 +01:00
jf-cbd
44290db312
N°8134 - Portal user profile is broken, regression from 7776
2025-01-28 10:23:44 +01:00
jf-cbd
c49ceae75e
Fix HandleForm call
2025-01-21 16:46:15 +01:00
jf-cbd
8980f627e9
Fix format
2025-01-21 12:09:06 +01:00
jf-cbd
160bfd714b
N°7776 remove twig from ajax calls
2025-01-20 15:41:22 +01:00
jf-cbd
8d58372074
Update unattended installation script documentation
2025-01-16 17:13:26 +01:00
Eric Espie
37fc1a5723
N°7810 - security hardening
2024-12-27 09:04:28 +01:00
jf-cbd
95aa444ee6
Security hardening
2024-12-13 16:48:13 +01:00
jf-cbd
f5de808c7c
Security hardening ( #685 )
...
* security hardening
2024-12-13 15:09:18 +01:00
Benjamin Dalsass
e03033ce52
N°7219 - Fatal error following dashboard modification when dashboard title contains an é
2024-11-27 09:40:22 +01:00
jf-cbd
374b35f78a
🚀 Fix GitHub action
2024-11-07 14:50:46 +01:00
jf-cbd
04bd8cc5ce
🚀 Update GitHub actions to improve PR classification
2024-10-22 16:07:47 +02:00
denis.flaven@combodo.com
8cb701bda3
🔖 Prepare 2.7.11 version
2024-09-26 16:53:24 +02:00
jf-cbd
1b29746806
Rename github token
2024-09-23 17:14:41 +02:00
jf-cbd
fb9c317256
Add an action in the workflow to automatically add pull requests to the Combodo PRs dashboard
2024-09-23 14:43:33 +02:00
Eric Espie
0904a21e3f
✅ Cleanup ItopTestCase
2024-06-24 11:50:37 +02:00
Molkobain
82d11eeb47
N°7127 - Upgrade handlebars.js to v4.7.8
2024-06-21 11:19:39 +02:00
Eric Espie
142d6c8993
N°7533 - Detect and warns on Galera clusters
2024-06-20 11:06:57 +02:00
Timothee
320922a13d
N°7545 Correctly display error message
2024-06-17 16:49:33 +02:00
Eric Espie
f03d731b1d
N°7533 - Prevent installation of iTop on Galera clusters
2024-06-12 16:14:23 +02:00
Eric Espie
8be7628668
N°7548 - Code hardening
2024-05-29 18:11:36 +02:00
Eric Espie
62caf16153
N°7364 - Code hardening
2024-05-21 14:20:30 +02:00
odain
163a3afc0f
N°7426 - no session created - replace php_sapi_name() by PHP_SAPI in unattended
2024-05-16 15:31:08 +02:00
odain
f8b54be896
N°7426 - no session created - replace php_sapi_name() by PHP_SAPI
2024-05-16 14:10:54 +02:00
Romain Quetiez
53dc452d61
✅ Avoid unnecessary custom test environment compilations (base compilation of file modification time)
2024-05-16 09:53:04 +02:00
Romain Quetiez
ccaf2dc5b7
Make the tests compatible with windows (and linux)
2024-05-16 09:53:04 +02:00
Molkobain
5d5df5ad1a
N°7255 - Fix misc. stylesheets not working in portal since N°7047
2024-05-07 10:37:39 +02:00
Molkobain
32140b360f
✅ Cherry pick fixes from 59a955f4
2024-04-29 11:45:09 +02:00
jf-cbd
d85767a838
Update test to run only on commmunity builds
2024-04-24 11:14:40 +02:00
jf-cbd
eeec57536b
Security hardening
2024-04-23 11:55:39 +02:00
Molkobain
16ff6341d0
N°7455 - Fix regression from 4c784886, wrong class tested
2024-04-19 09:14:53 +02:00
Molkobain
9dab8679d6
N°7448 - Update dictionary entry
2024-04-18 18:44:20 +02:00
Molkobain
4c78488644
N°7455 - Ensure form renderer class extends FormRenderer
2024-04-18 18:15:02 +02:00
odain
b65e931c4c
N°7439 - setup wizard broken on essential targets after fresh install via unattended CLI
2024-04-15 09:57:54 +02:00
odain
6cb3519308
N°7407 - test readability
2024-04-12 16:59:56 +02:00
odain
cfb9fae648
N°7407 - fix previous commit
2024-04-12 16:49:11 +02:00
odain
f4e791734f
N°7407 - remove phpunit annotation
2024-04-12 14:49:20 +02:00
odain
6653ab0668
N°7407 - fix missing extension installation via unattended from production-modules or extension folder
2024-04-12 13:25:40 +02:00
odain
7ab258ba03
N°7439 - setup wizard broken on essential targets
2024-04-12 11:32:04 +02:00
odain
b5af30a93f
N°7407 - refactor unattended tests to make work anywhere
2024-04-12 11:32:04 +02:00
Molkobain
bbfa601ab1
N°7446 - Add temporary workaround to fix an issue due to DB views creation.
2024-04-12 09:59:14 +02:00
odain
172b1cb1ff
N°7407 - add phpunit annotation to exclude tests on top of targets
2024-04-11 18:54:43 +02:00
Molkobain
ca356859a3
N°7446 - Add comment for better understanding
2024-04-11 16:55:48 +02:00
Molkobain
5efe294895
N°7446 - Fix custom datamodel test class not creating DB tables correctly
2024-04-11 16:50:27 +02:00
odain
e0170ccc7e
N°7407 - InstallationFileServiceTest relies on local installation.xml to reduce maintenance
2024-04-10 14:05:39 +02:00
odain
3b78885f38
N°7407 - unattended test cleanup for PHP 8.x deprecations
2024-04-09 11:06:03 +02:00
odain
ed562c9f73
N°7407 - fix unattended test enhancement
2024-04-09 10:02:06 +02:00
odain-cbd
85c576a986
N°7407 - N°7306 - Ease iTop installation via unattended CLI by using installation.xml choices ( #641 )
...
* N°7306 - Use iTop configuration settings to run unattended installation (instead of XML file settings)
* 7306 - fix infinite loop with db_tls.ca null
* 7306 - complete fields to use from itop configuration instead of XML setup
* fix using default language from conf
* 6365 - temp work
* 6365 - add option to select modules from installation.xml
* 6365-select modules option in unattended install
* 6365 - pass env to service + debug failed test
* 6365 - debug ci again + separate process annotation
* 6365 - fix test + cleanup
* 6365 - ci using use_installation_xml mode
* 6365 - ci using use_installation_xml mode
* 6365 - pass selected_modules to unattended
* N°6365 - Compute selected modules based on selected extensions coming from XML setup
* switch constr parameters and fix call from unattended cli
* 6365 - use use_installation_xml for unattended install only when no selected modules already provided
* test ci XML setup including selected extensions but no modules
* test ci installing iTop without selected modules/extenesions: guess via installation.xml
* same but without even providing XML setup - comment it in ci_description.ini
* 7306 - cleanup requires
* use infra master
* N°6365 - make current unattended CLI work with any iTop version (CLIPage compatibility)
* N°6365 - log which modules will be installed during setup
* N°6365 - unattended documentation + bash helper
* 6365- fix warning due to copies index access
* 6365 - enhance traces feedback to understant which and how modules are computes
* 6365 - enhance bash CLI + doc
* 6365 - fix require clipage compatibility
* 6365 - add return for better cli ouput
* 6365 - enhance ouput messages
* Document the usage and harmonize argument names (still not perfect)
* 6365 - fix use of new param param-file
* 6365 - fix test + vardump cleanup
* N°6365 - use underscore for unattended install options as advices in the PR
* 6365 -enhance test by using PHP_BINARY
---------
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2024-04-09 10:00:58 +02:00
odain-cbd
5a34c76cc4
N°5120 - Unattended install : use cty toolkit version ( #624 )
...
* N°5120 - Unattended install : use cty toolkit version
* N°5120 - CLI mode validation
* 5120 - bring CI enhancements
* 5120 - bring back saas use-itop-config option: to read db settings from conf directly
* 5120 - move unattended script in setup folder/unattended-install
* 5120 - use-itop-config option: take db_tls_enabled and db_tls_ca into account
* 5120 - move test
* 5120 - put ci enhancements back - logs and conf preservation with install mode
* 5120 - keep PR simple - remove saas use-itop-config option for now
* 5120 - remove ci enhancement to preserve configuration
* Update setup/unattended-install/README.md
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
* 5120 - documentation
* 5120 - fix log level
* 5120 - fix test
* fix phpunit test comment
---------
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2024-03-29 11:09:27 +01:00
Molkobain
da99a250bf
N°7075 - Add check for Content Security Policies (CSP) in the setup
2024-03-21 14:20:22 +01:00
Pierre Goiffon
dbd5ba0377
N°7302 Fix SetupUtilsTest::testHumanReadableSize
2024-03-13 09:56:31 +01:00
Pierre Goiffon
5d6f293956
N°7302 Report SetupUtilsTest::testHumanReadableSize in the 2.7 branch
2024-03-13 09:48:46 +01:00
Pierre Goiffon
986c24d777
N°7302 Fix unit name in \SetupUtils::HumanReadableSize ( #626 )
2024-03-12 18:09:29 +01:00
Pierre Goiffon
763112c179
N°7344 rest.php core/get : add try/catch around query execution ( #622 )
...
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-03-12 18:08:04 +01:00
Pierre Goiffon
a5efd981d8
N°7343 Catch ParseError when loading dict files in setup ( #615 )
2024-03-12 18:05:38 +01:00
Pierre Goiffon
2922b22478
\DBObject::GetSearchForUniquenessRule remove wrong @api
2024-03-12 17:34:28 +01:00
Pierre Goiffon
2af05a437e
N°4314 - Fix Uniqueness rules not working with Silo
...
(cherry picked from commit e8c11f38d2 )
2024-03-12 17:32:56 +01:00
Molkobain
a9f8dcc5e8
N°7122 N°4164 - Portal: Hide log off button when user can't actually log off (eg. SSO using SAML or other providers) ( #599 )
...
* N°7122 N°4164 - Portal: Hide log off button when user can't actually log off (eg. SSO using SAML or other providers)
* N°7122 - Fix typo
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
---------
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2024-03-11 21:13:09 +01:00
Pierre Goiffon
c325294e17
N°6599 Update moment from 2.22.2 to 2.30.1
2024-03-11 16:39:05 +01:00
Pierre Goiffon
da490739be
💡 Fix \CMDBSource::Query phpdoc block
2024-03-07 11:10:53 +01:00
Pierre Goiffon
b867faa355
✅ Fix DBObjectTest
...
Error was "Class 'Combodo\iTop\Test\UnitTest\Core\DBObjectSet' not found"
2024-03-04 08:09:35 +01:00
jf-cbd
7453cc184f
✏️ fix a typo
2024-03-01 17:25:08 +01:00
Anne-Catherine
473cf004b6
N°6968 - Audit duration : add of a rule multiplie by 4 the time of response ( #575 )
2024-02-29 16:33:04 +01:00
Pierre Goiffon
f6fec506b1
💡 Some PHPDoc hints on value types to pass to DBObject::Set
2024-02-20 12:10:00 +01:00
Molkobain
5c12151c26
📝 Update PR template
2024-02-19 09:46:12 +01:00
Pierre Goiffon
5d6c4939f6
N°7245 Bettor logs on RunTimeEnvironment::CallInstallerHandlers exceptions ( #606 )
2024-02-14 11:01:12 +01:00
Molkobain
1b3a2c8470
N°5775 - Show error message to user in case of issue during token generation
2024-01-24 14:49:51 +01:00
Dennis Lassiter
618d8e6468
N°5775 - Allow configuration of OAuth client on MS Azure with single tenant ( #553 )
...
* Add Tenant-Support for Azure OAuthClient
* Improvement: Make tenant required
* Improvment: Removed check for null-value
Since last commit, the "tenant"-field either set to a custom value or "common" by default. It is not allowed to be null
* Add field description
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-01-24 14:38:54 +01:00
Molkobain
01a955a16f
📝 Add PR template
2024-01-16 19:42:39 +01:00
Anne-Catherine
87582a021b
N°6993 - Error message on bulk transition on object containing a null blob ( #596 )
2024-01-15 15:49:19 +01:00
odain
9830178a47
N°7085 - ci restore runTestsInSeparateProcesses
2024-01-12 08:36:15 +01:00
odain-cbd
c140ebcb6b
N°7085 - Fix infinite loop in login page until fatal error occurs ( #592 )
...
* N°7085 - login page infinite loop until fatal error- add Config->AddAllowedLoginTypes
* N°7085 - reproduce issue via a test
* N°7085-fix infinite loop
* N°7085 - ci: fix config file rights in tearDown
* N°7085 - ci: fix config file rights in tearDown (again)
* N°7085 - ci: fix config file content
* N°7085 - ci : add runTestsInSeparateProcesses
* Update core/config.class.inc.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* N°7085 - exit -1 + enhance log message
* PR feedbacks from Romain regarding LoginTest annotations
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-01-12 08:13:40 +01:00
Molkobain
7a0a4e377b
N°7137 - Fix regression from 7fffbb60, missing "default_value" parameter
2024-01-11 16:40:40 +01:00
Thomas Casteleyn
7fffbb60e9
N°7137 - DataSynchro: Remove "Organization" as default value for SynchroReplica->dest_class ( #551 )
2024-01-11 15:38:02 +01:00
Pierre Goiffon
2fd9523c16
🔖 Prepare 2.7.10 version
2024-01-05 15:50:41 +01:00
Pierre Goiffon
a4f6f6e877
N°4368 Fix CORB blocking regression ( #598 )
...
Don't send X-Content-Type-Options HTTP header for certain WebPage impl to workaround CORB blocking
To disable globally this new behavior introduced in 9865bf07 , set the `security.enable_header_xcontent_type_options` config parameter to false
Thanks @Molkobain for the review !
2024-01-05 10:41:18 +01:00
Molkobain
94c604a6af
N°3062 - Fix setup.css compilation test to ensure that it is versioned correctly.
2023-12-21 12:00:26 +01:00
Pierre Goiffon
6995a3c641
N°6889 backup mysqldump call : restore possibility to connect using socket protocol ( #591 )
...
With previous fix (N°6123) we forced to use the tcp protocol each time. This was blocking for users wanting to connect using the socket protocol on localhost.
Now for localhost we will :
- send both port and protocol arguments if the `db_host` config parameter does contain a port
- don't send any of the port or protocol arguments if `db_host` doesn't contain a port
2023-12-20 15:19:50 +01:00
Pierre Goiffon
9865bf0779
N°4368 add sending X-Content-Type-Options HTTP header
...
Replace in consumers the \WebPage::add_xframe_options call by \WebPage::add_http_headers
2023-12-19 18:25:26 +01:00
Pierre Goiffon
d5449cca42
💡 iTopMutex: add link to mysql doc
2023-12-08 17:20:37 +01:00
Molkobain
5d38d22c50
N°7023 - Fix regression from the initial fix that throw exceptions even for ext. keys set programatically (eg. ComputeValues), which we still want to allow
2023-12-06 16:27:37 +01:00
Pierre Goiffon
99d69493d1
N°7023 - Update tests so that we are now checking negative ext. keys
2023-12-04 22:36:26 +01:00
Molkobain
c9bb628c30
N°7023 - Improve debug message on portal \DBObject::CheckChangedExtKeysValues() call
2023-12-04 22:36:09 +01:00
Molkobain
08e8d15d78
N°7023 - Fix check to write error when adding a contact on a new user request on the end-users portal
2023-12-04 22:35:07 +01:00
Molkobain
7b59df216b
N°7005 - Fix portal stylesheets not being re-compiled when outdated
...
Stylesheets should remain as a relative path in the portal configuration, only when consumed by the TWIG should they become URLs
Note that if not absolute, URLs will be append to ITOP/pages/
2023-11-24 16:40:58 +01:00
Molkobain
cb5eab812e
N°938 - Update compiled portal stylesheet
2023-11-24 16:22:36 +01:00
Anne-Catherine
c9b73a7fe2
N°938 - Improve print of portal object page and portal dashboard page ( #537 )
...
N°938 - Improve print of portal object page and portal dashboard page
2023-11-24 15:17:42 +01:00
Molkobain
3b2da39469
N°6989 - Security hardening
2023-11-22 18:02:50 +01:00
odain
fc22d91232
N°6949 - Run subset of itop core unit tests after the setup when validating a module github code
2023-11-22 10:14:58 +01:00
Stephen Abello
b10bcb976d
N°6951 - Security hardening
2023-11-21 09:42:11 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Pierre Goiffon
77409eed99
🎨 DBObject small phpdoc fixes
2023-11-13 16:25:37 +01:00
Anne-Catherine
83a70daf68
N°6887 - Fix excessive OQL requests to display user's grant matrix ( #564 )
...
* N°6887 - Fix excessive OQL requests to display user's grant matrix
* N°6887 - Rename variable and add PHPDoc
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-11-08 14:57:28 +01:00
Molkobain
a49a4e6c2b
N°6886 - Add OAuth tests folder to removable directories list
2023-10-30 16:54:28 +01:00
Romain Quetiez
7419749ba6
✅ Prerequisites for boosting tests
2023-10-26 20:51:28 +02:00
Romain Quetiez
037dfe1df6
✅ Optimize tests execution time
2023-10-25 17:51:12 +02:00
Romain Quetiez
0b26d45014
✅ Prerequisites for boosting tests
2023-10-25 17:50:41 +02:00
Molkobain
4fd8177165
N°3715 - Fix unit tests
2023-10-23 14:55:06 +02:00
Anne-Catherine
a2cdf214f0
N°3715 - Export above 1000 entries ignore obsolete data from user preference ( #468 )
...
* N°3715 - Export above 10000 entries ignore obsolete data from user preference
2023-10-20 17:02:16 +02:00
Anne-Catherine
013173019f
N°2909 - Search on Enum, Date, TagSet,... with index fails ( #496 )
2023-10-20 16:45:35 +02:00
Stephen Abello
9469681a0c
N°6777 - Security hardening
2023-10-17 09:12:40 +02:00
Pierre Goiffon
c72cb7e70e
N°6606 security hardening
2023-10-13 17:15:37 +02:00
Pierre Goiffon
9df92665e0
N°6606 Backport of utils::ENUM_SANITIZATION_FILTER_* constants
...
Were introduced in 3.0.0, but not added to the support/2.7 branch
2023-10-13 17:10:35 +02:00
Molkobain
8ecebee511
✅ PHP unit tests: Fix typo for "final private" methods as they can't be both
2023-09-20 16:11:39 +02:00
Pierre Goiffon
35cd965360
N°6629 Update ci_description php_version
2023-09-19 12:25:40 +02:00
Pierre Goiffon
e5dd51f637
N°6600 Portal download attachment : don't display anymore SQL query on attachment not found error ( #525 )
2023-09-19 09:54:43 +02:00
Molkobain
0a6c82dfe1
N°6752 - PHP unit tests: Fix typo in postbuild_integration.xml.dist
2023-09-19 08:37:46 +02:00
Molkobain
24c0f4950f
Add missing .htaccess / web.config files in .gitignore for /extensions folder
2023-09-18 15:26:06 +02:00
Molkobain
d4dbbc59d4
N°6754 - PHP unit tests: Add local PHPUnit XML files to .gitignore
2023-09-18 15:23:52 +02:00
Molkobain
dc0cd44c79
N°6752 - PHP unit tests: Migrate usages of unitestautoload.php to composer autoloader
2023-09-18 15:14:44 +02:00
odain
6c6131ce03
N°5491 - test enhancement to reduce false positive
2023-09-15 10:07:42 +02:00
odain-cbd
e76728b2bf
N°5491 - Inconsistent dictionnary entries regarding arguments to pass to Dict::Format-test first ( #545 )
2023-09-13 12:02:49 +02:00
Pierre Goiffon
e946fc65fc
✅ N°6709 New ItopTestCase::RequireOnceCurrentModuleFile
2023-09-07 14:38:19 +02:00
Pierre Goiffon
0d8ff7bbac
✅ N°6629 Set commit tests back to Mysql
...
For now we have perf issues on Jenkins with MariaDB (see N°6694)
2023-09-04 10:25:41 +02:00
Anne-Catherine
bf768311c2
N°5136 - "Select All objects" add obsolete objects even if the parameter show obsolete data is not activated ( #467 )
2023-08-31 15:13:20 +02:00
Molkobain
a8c689c6c0
N°6436 - Add unit test to ensure that we don't lose an API during merge between branches
2023-08-18 09:55:45 +02:00
Molkobain
1990ccb5d8
N°6436 - Move interfaces enumeration from 1 line to 1 line / interface (and re-ordered them) for easier merges in newer branches
2023-08-18 09:52:55 +02:00
Molkobain
e107be56e4
N°6097 - Tests: Fix missing hook entry in PHPUnit XML file that led to compiled environment being re-build for each test case
2023-08-18 09:51:15 +02:00
Molkobain
ed6df77cbb
N°6097 - Tests: Optimize performances by creating custom env. only once and re-using it across test classes
2023-08-10 15:45:39 +02:00
Molkobain
1ad28312ec
N°6097 - Tests: Introduce autoloader for "utility" classes and move them to a sub-folder for better organization as folder was still messy
...
Note that unittestautoload.php is now useless. We just keep for now until everything is migrated (projects / branches / modules)
2023-08-10 15:45:39 +02:00
Molkobain
f002aa04cd
N°6097 - Tests: Enable PHP unit tests on a custom DataModel
2023-08-10 15:45:39 +02:00
Molkobain
b86d70623e
N°6097 - Tests: Temporarily add test case for the new ItopCustomDatamodelTestCase class
2023-08-10 15:45:39 +02:00
Molkobain
fe3467309d
N°6097 - Tests: Refactor base test classes for better extensibility
2023-08-10 15:45:39 +02:00
Molkobain
851ab9c356
N°6097 - Add \utils::GetDataPath() method to avoid duplicating manual path build
2023-08-10 15:45:39 +02:00
Molkobain
aef3c2e609
N°6097 - Fix \CMDBSource::DropDB() not resetting cache like \CMDBSource::DropTable() which can lead to errors when trying to re-create it afterwards
2023-08-10 15:45:39 +02:00
Pierre Goiffon
6d13397ba1
✅ Add other integration tests in the beforeSetup group
...
All of those tests can be ran without a running iTop instance, and are blocking
2023-08-08 15:33:09 +02:00
Pierre Goiffon
c0c8a13864
💡 \MetaModel::GetObject : remove documented throw Exception
2023-08-04 14:55:38 +02:00
Pierre Goiffon
cd9beec313
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2023-07-26 12:07:09 +02:00
Pierre Goiffon
8295eaed90
Merge remote-tracking branch 'origin/support/2.5' into support/2.6
2023-07-26 12:06:32 +02:00
Eric Espie
5475b9fbbe
N°3454 - MoveToProd in 2 steps - fix utils::GetCurrentModuleName()
2023-07-25 17:44:43 +02:00
Eric Espie
6f8e7c7002
N°3454 - MoveToProd in 2 steps - fix utils::GetCurrentModuleUrl()
2023-07-25 17:20:37 +02:00
Pierre Goiffon
bc7c1b4744
✅ N°6590 Fix DictionariesConsistencyTest for PL dict files
2023-07-24 11:14:37 +02:00
Eric Espie
4d8246c4d8
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (changed config variable name)
2023-07-19 15:13:43 +02:00
Eric Espie
5c61d725e1
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (changed config variable name)
2023-07-19 15:06:00 +02:00
Eric Espie
2c4cad4dac
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9 (avoid unnecessary calls)
2023-07-19 10:37:41 +02:00
Eric Espie
da45651121
Merge branch 'feature/6548_Hide_DBHost_and_DBUser_in_log' into support/2.7
2023-07-18 09:34:48 +02:00
Eric Espie
d388ce9a06
Merge branch 'feature/6548_Hide_DBHost_and_DBUser_in_log' into support/2.7
2023-07-18 09:17:40 +02:00
Eric Espie
47e71d8838
Merge branch 'feature/6436-Integrate_Performance_Audit_extensibility' into support/2.7
2023-07-18 09:17:05 +02:00
Stephen Abello
2b5973ec67
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9
2023-07-18 09:15:37 +02:00
Eric Espie
78396d8e4a
6548 - [ER] Hide DBHost and DBUser in log
2023-07-10 17:37:27 +02:00
Stephen Abello
9afc22bd8f
N°6123 - Add tests and comments
2023-07-07 09:29:15 +02:00
Pierre Goiffon
264a8cd70a
N°6494 - Some tests are run twice, some never
...
(cherry picked from commit a2a0b2cd0b )
(cherry picked from commit 4c9ea0c9d4 )
# Conflicts:
# tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
2023-07-06 15:45:09 +02:00
Stephen Abello
aa1834170b
N°6427 - Fix SwiftMailer not retrieving sendmail path
2023-07-06 14:31:54 +02:00
Stephen Abello
f94d67ab35
N°6340 - Fix permission refused when sending an email and renewing OAuth token in synchronous mode
2023-07-06 10:28:10 +02:00
Stephen Abello
3048c8c41f
N°5560 - Display an error when trying to regenerate an expired OAuth token
2023-07-06 09:52:00 +02:00
Stephen Abello
246e4a9f50
N°6123 - Fix warnings when launching a backup on MariaDB > v10.6.1 with localhost dbhost
2023-07-06 09:28:01 +02:00
Molkobain
6d58adb6dd
N°6359 - Fix JS crash due to new version trying to detect MSIE browser through a dependency that we don't have.
...
Cherry-picked from f889c53d71
2023-07-05 08:41:00 +02:00
Pierre Goiffon
5a0b5364d6
N°4698 setup/phpinfo.php : if no iTop installation then display a proper message instead of an exception ( #265 )
2023-06-14 10:18:38 +02:00
Pierre Goiffon
76eed2eba0
N°6098 updateLicenses script : check availability of the required JQ command ( #458 )
...
This packaging script requires both bash and the JQ command when running on Windows.
If the later isn't available, it will run without throwing an error...
With this change the script will now check directly at launch for the JQ command availability, and exit in error if it isn't.
2023-06-14 10:17:00 +02:00
Eric Espie
1ec671ef61
N°6351 - code hardening
2023-06-14 09:08:42 +02:00
Eric Espie
72716b7ec8
N°6396 - Protect URL display
2023-06-12 11:36:51 +02:00
Eric Espie
4f999de844
N°6359 - ⬆️ Update jQuery BBQ (from https://github.com/cee-chen/jquery-bbq )
2023-06-08 14:30:09 +02:00
odain
ea49c0a87c
enable authent-cas in ci
2023-06-07 21:44:17 +02:00
odain
6cc971849b
ci: enhance AddProfile
2023-06-07 21:44:00 +02:00
Pierre Goiffon
2405810864
N°6238 Security hardening
2023-06-07 16:45:35 +02:00
Eric Espie
fff46d99fc
N°6358 - Login REST API - renamed test
2023-06-07 15:31:51 +02:00
odain
3a891f707c
ci: enhance AddProfile test method to work with any User (not only UserLocal)
2023-06-07 15:06:28 +02:00
odain
8b6ea43ebe
N°6358 - Login REST API - fix cas + add tests
2023-06-07 15:05:32 +02:00
Eric Espie
90cf7502e8
N°6358 - Login REST API
2023-06-07 10:09:30 +02:00
Eric Espie
c596fa2967
N°6358 - Login API REST
2023-06-07 09:17:24 +02:00
Timothee
a45177410e
N°6350 - Fixing phpunit test
2023-06-06 16:47:06 +02:00
Eric Espie
9e96ea2873
N°6350 - code hardening
2023-06-01 15:35:56 +02:00
Eric Espie
1172159745
N°6351 - code hardening
2023-06-01 15:12:50 +02:00
Pierre Goiffon
fa038ded3d
N°6254 ItopDataTestCase::CreateUserRequest : fix new argument default value
...
Was creating error Too few arguments passed
2023-04-26 16:42:27 +02:00
Pierre Goiffon
e7ea1b831c
N°6254 ItopDataTestCase::CreateUserRequest : now pass fields values as array
...
More versatile way of doing things !
2023-04-26 16:22:26 +02:00
Molkobain
4aff65f98b
N°6217 - Add accessiblity meta data for title on "Power menu"
2023-04-25 21:51:32 +02:00
acognet
3c94974d9d
N°541 - Dashlets: Improve readability when to much labels (pie chart) or too long labels (bar chart)
2023-04-25 12:09:11 +02:00
Molkobain
fbd72b2783
N°6217 - Add accessiblity meta data for title on "Power menu"
2023-04-20 11:03:43 +02:00
Anne-Catherine
4e95ca3c7b
N°541 - Dashlets: Improve readability when to much labels (pie chart) or too long labels (bar chart) ( #452 )
...
* N°541 - Dashlets: Improve readability when to much labels (pie chart) or too long labels (bar chart)
2023-04-13 11:23:20 +02:00
Pierre Goiffon
1114ed9562
N°6099 DeadLockLog : improve documentation and use existing constants ( #441 )
2023-04-12 10:21:34 +02:00
Pierre Goiffon
34368fe795
N°6173 \HTMLSanitizer::Sanitize : Fix handling only svg_sanitizer ( #450 )
2023-04-11 17:52:41 +02:00
Molkobain
0f016d7511
N°6112 - Dashboard: Improve robustness by trimming dashlet ID returned by server
2023-03-17 15:37:57 +01:00
Pierre Goiffon
5ee6223434
✅ N°5893 Add test for \TriggerOnObject::LogException
2023-03-10 16:04:55 +01:00
Pierre Goiffon
d908827787
N°6016 Setup Wizard : fix MissingDependencyException message logged as html in setup.log
...
Was the case since e831d66b (commit for parent bug N°5090)
Now we are getting the text version in the log (and still the html one on screen)
The unattended install isn't concerned : it just prints back CheckResult returned by \SetupUtils::CheckSelectedModules, with the exception text message ($e->getMessage())
2023-03-06 11:24:46 +01:00
Pierre Goiffon
4cea418517
N°5893 - Log triggers exception in CRUD stack ( #390 )
...
* Log TriggerOnObjectCreate crash
* Log TriggerOnObjectUpdate crash
* Log TriggerOnObjectDelete crash
* Factorize TriggerOnObject log
* \TriggerOnObject::LogException : do not replace not persisted yet object keys
2023-02-28 15:13:28 +01:00
Molkobain
97965277c7
N°6017 - Update OAuth dependencies
2023-02-23 15:57:32 +01:00
Molkobain
18ed5ed526
N°6019 - Increase PHP min version to 7.1.3 to enable dependencies update
2023-02-23 14:53:48 +01:00
Pierre Goiffon
94c4f8c929
N°6016 MissingDependencyException : better log message ( #355 )
...
The error displayed on screen was already improved (see #280 )
This commit improves the log message we can have for example by running unattended install.
2023-02-23 12:04:56 +01:00
Pierre Goiffon
822922df5c
N°5588 - Improve PDF export robustness when AttributeImage dimensions cannot be determined ( #350 )
...
Can happen for example on SVG images
Now the export won't crash anymore, and we'll get a log (export channel, warning level) with the object and attribute causing a problem as context
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-02-23 11:45:29 +01:00
Stephen Abello
cac7e94a67
N°5729 - Fix disabled button in bulk update/transition when picking a value in a drop-down list
2023-02-22 15:42:20 +01:00
Stephen Abello
6d019615d0
N°5865 - Restore DoCheckToWrite error messages in portal
2023-02-22 10:17:34 +01:00
Molkobain
dbd58cfeb6
Tests: Force RestAPI unit tests not to verify SSL certificate as most dev / test envs are self-signed
2023-02-10 23:07:27 +01:00
Pierre Goiffon
f65e14397c
✅ N°4660 Fix permissions changes in tests
2023-01-16 11:22:23 +01:00
Pierre Goiffon
c696a81c3a
N°5821 JenkinsFile : introduce buildDiscarder
2023-01-12 10:42:06 +01:00
Molkobain
845adf43c6
N°5608 - Harmonize namespaces and merge duplicated test files
2023-01-10 22:36:35 +01:00
Molkobain
5916e4ea39
N°5608 - Ensure both old & new tests structure are ran for extensions for backward compatibility
2023-01-10 22:03:40 +01:00
Molkobain
fbc0a898ae
N°5608 - Move test files to corresponding directories after branch rebase
2023-01-10 12:11:12 +01:00
Molkobain
36f8e58e25
N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests
2023-01-10 12:11:12 +01:00
Molkobain
6a7dbb06b0
N°5608 - Add methods to require_once an iTop or a unit test file to avoid crashes when tests dir is moved
2023-01-10 12:11:12 +01:00
Molkobain
5721a324c1
Tests: Always display test status for better feedback
2023-01-06 22:30:09 +01:00
Molkobain
7de6c72154
Tests: Rename provider method name to match convention
2023-01-06 22:30:09 +01:00
Molkobain
c0cee02351
N°5608 - Factorize all core modules tests to a single test suite
2023-01-06 22:30:09 +01:00
Molkobain
bb674fb873
N°5608 - Move/rename "status" unit tests to match their counterpart location/name
2023-01-06 22:30:09 +01:00
Molkobain
6136eadd31
N°5608 - Fix some broken require paths since move/rename
2023-01-06 22:30:08 +01:00
Molkobain
87cb73c038
N°5608 - Rename "test" folder to "tests" to better match conventions
2023-01-06 22:30:08 +01:00
Molkobain
11d8547cef
N°5608 - Move/rename unit tests to match their counterpart location/name
2023-01-06 22:30:08 +01:00
Molkobain
0998c73a1a
N°5608 - Add README files
2023-01-06 22:30:07 +01:00
Molkobain
471f66649a
N°5608 - Rename unitary test folders for better understanding
2023-01-06 22:30:07 +01:00
Molkobain
e8bf9cf688
N°5608 - Move "twig" PHP unit test to new folder
...
Notice: Test was not working, still not working
2023-01-06 22:30:07 +01:00
Molkobain
4f88a0e7d2
N°5608 - Move legacy PHP unit tests (not run by CI) to a dedicated folder
2023-01-06 22:30:07 +01:00
Molkobain
c6b0e273e6
N°5608 - Rename "VisualTests" folder to match new convention
2023-01-06 22:30:07 +01:00
Molkobain
d9539f9d01
N°5608 - Add comments to main autoloader
2023-01-06 22:30:06 +01:00
Molkobain
a3e309acb5
N°5608 - Revert "authent-local" test suite to its original rank as it is crashing the CI 🤔
2023-01-06 22:30:06 +01:00
Molkobain
c06cbfd4a9
N°5608 - Rename "coreExtensions" test suite to correct datamodel module (authent-local)
2023-01-06 22:30:06 +01:00
Molkobain
1d7e4e1a42
N°5608 - Move unit tests to a dedicated folder and start reorganizing to match iTop folder structure
2023-01-06 22:30:06 +01:00
Eric Espie
92a36dcfdd
📝 Change packages for auto-documentation
2022-12-29 12:24:56 +01:00
Eric Espie
b37e74b407
📝 Change packages for auto-documentation
2022-12-28 09:51:46 +01:00
Pierre Goiffon
0d49c605e2
💡 Fix \DBSearch::FromOQL phpdoc + modifiers order
2022-12-15 15:36:14 +01:00
Molkobain
7c2f8f4d93
N°5765 - Setup: Never cache folder permissions test response ( #374 )
2022-12-14 09:33:54 +01:00
Pierre Goiffon
1f76ff940d
N°5797 Replace wrong config load ( #338 )
2022-12-13 18:23:09 +01:00
Eric Espie
bb26e48d38
Update version to next release 2.7.9
2022-12-12 16:19:42 +01:00
Eric Espie
cf433f2f80
N°5725 - Twig update 'filter', 'map' and 'reduce' filters
2022-12-08 08:25:11 +01:00
Eric Espie
ae94e58a43
N°5725 - Twig update 'filter', 'map' and 'reduce' filters
2022-12-07 13:53:15 +01:00
Eric Espie
cda017fa4f
N°5725 - Twig update 'filter', 'map' and 'reduce' filters
2022-12-07 13:37:52 +01:00
Pierre Goiffon
dad22f6f83
📄 Update Licenses
2022-12-07 11:04:33 +01:00
Eric Espie
9077f7ba37
N°5430 - OAuth authentication : customize redirect landing URL - remove unnecessary parameter to JS function OAuthConnect
2022-12-02 11:17:01 +01:00
Eric Espie
957ff40f30
N°5155 - Email by SMTP with self-signed certificate (changed default values to the previous behaviour)
2022-12-02 09:25:53 +01:00
Eric Espie
aff9c7748b
N°5155 - Email by SMTP with self-signed certificate
2022-11-30 14:18:11 +01:00
Eric Espie
e518d34bc9
N°5553 - OAuth 2 : Hide Client Secret
...
* client_id is now 255 chars (AttributeString)
* client_secret is now 64 chars (AttributePassword) and cannot be anymore in the uniqueness rules
* The modification of redirect_url, client_id or client_secret change the status to inactive and generate a session message to ask for token regeneration
2022-11-30 14:15:37 +01:00
Eric Espie
f0141530b9
N°5725 - Twig update 'filter', 'map' and 'reduce' filters (+1 squashed commits)
...
Squashed commits:
[00148dec5] N°5725 - Twig update 'filter', 'map' and 'reduce' filters
2022-11-30 13:28:33 +01:00
xtophe38
ce5096a896
N°5758 Change setup test for GDPR consent ( #336 )
...
We were using SetupUtils::IsProductVersion, but this was blocking for certain packages like TeemIP standalone.
After this change we are now relying on a new method : \SetupUtils::IsConnectableToITopHub. It will check the iTop Hub Connector module presence instead.
2022-11-29 19:00:17 +01:00
Pierre Goiffon
23e0ed5e56
N°4449 Test for FPD detection in RuntimeDashboard
2022-11-29 18:10:17 +01:00
Pierre Goiffon
d412a52fcc
N°4449 Fix FPD in dashboard export/import
2022-11-29 18:10:17 +01:00
Molkobain
3e18ad590f
Fix image attributes not being visible in PDF exports
2022-11-25 19:30:35 +01:00
Eric Espie
22111bf667
N°5611 - Fix missing composer files in itop-oauth-client
2022-11-24 14:32:51 +01:00
Eric Espie
6d0c46595d
N°5611 - Fix missing composer files in itop-oauth-client
2022-11-24 14:27:42 +01:00
Eric Espie
d292a6b0c3
N°5333 - OAuth and iTop url change
2022-11-24 13:55:36 +01:00
Eric Espie
74702c8d06
N°5430 - OAuth authentication : customize redirect landing URL
2022-11-24 13:55:36 +01:00
Pierre Goiffon
e9c91d986d
📝 CONTRIBUTING : fix typo (stash in stead of squash)
...
Thanks Molkobain ! (https://github.com/Combodo/iTop/pull/371#discussion_r1030759606 )
2022-11-24 09:00:32 +01:00
Eric Espie
70a6b276ca
Merge branch 'issue/5685-UpgradeApereoPHPCas' into support/2.7
2022-11-23 15:58:36 +01:00
Eric Espie
f77361ceb2
N°5685 - Upgrade apereo/phpcas
2022-11-23 15:53:43 +01:00
Eric Espie
75f4751b82
N°5741 - remove use of get_config_parameter in Twig
2022-11-23 15:09:20 +01:00
Romain Quetiez
b56f2f56f1
N°5704 - Fix compatibility with PHP <7.3 (HEREDOC syntax)
2022-11-16 17:12:53 +01:00
Eric Espie
68d44fa981
N°5724 - code hardening
2022-11-16 09:32:47 +01:00
Eric Espie
7e5307bd96
N°4867 - "Twig content not allowed" error
2022-11-16 09:31:42 +01:00
Romain Quetiez
cd010afb48
N°5704 - Unit tests on XML assembly ( #329 )
...
* Add a complete test suite for XML assembly
* Add a complete test suite for XML assembly
* Dispatched the test of GetDelta into real unit tests
* Add test for GetDelta on a rename operation
* Add comments on a weird case and a case on rename
* Update XML version after rebase from develop to support/2.7
* Fix phpdoc about coverage
* Remove ModelFactory::GetRootDirs and ItopTestCase::RecurseRmDir+CreateTmpDir+RecurseMkDir+RecurseCopy, that were meant to be introduced in iTop 3.0 and have been copied here by mistake, when rebasing the branch from develop to 2.7.0
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update test/setup/ModelFactoryTest.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-11-08 19:43:07 +01:00
Pierre Goiffon
0cf8d731bb
Rename iTopDesignFormat test class
2022-11-08 15:59:14 +01:00
Pierre Goiffon
189ca3c555
🚚 Move visual test file to the dedicated directory
2022-10-11 14:28:44 +02:00
Pierre Goiffon
1e1f1f78bf
📝 Backup : more details on check-backup parameters
2022-10-03 14:41:44 +02:00
Pierre Goiffon
1494604740
📝 Backup : move info from wiki to distrib file
2022-10-03 14:35:14 +02:00
Molkobain
583ab98210
Fix typo
2022-09-21 16:11:24 +02:00
Pierre Goiffon
88d743b1cc
✅ N°5538 Make PHPUnit test fail if transaction opened but not closed
2022-09-21 14:05:27 +02:00
Pierre Goiffon
7ac4bc95bb
ItopDataTestCase : improve log message
2022-09-21 11:51:07 +02:00
Pierre Goiffon
d431811725
N°4947 Fix Email always picking "production" env config file ( #331 )
...
Note that the code was duplicated in both Email* impl, this is refactored : LoadConfig and m_oConfig are pulled up in Email, and SetRecipientFrom() calls are also refactored in Email
2022-09-14 15:33:48 +02:00
xtophe38
7512f721e9
Setup wizard : use the ITOP_APPLICATION constant instead of hardcoded "iTop" string ( #335 )
...
* Update wizardsteps.class.inc.php
* Done as requested
* Fix typo for better readability/genericity
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-09-13 20:11:38 +02:00
Pierre Goiffon
bdfe3a3b35
N°5235 Tmp dir setup check is now non blocking (woops previous commit was incomplete) ( #301 )
2022-09-13 18:22:29 +02:00
Pierre Goiffon
5cf391c3bb
N°5235 - Add non blocking setup check : is tmp dir is writable ( #301 )
2022-09-13 18:20:35 +02:00
Eric Espie
4c1df9927d
N°5394 - use session for the FSM
2022-09-12 09:45:30 +02:00
Pierre Goiffon
74003f12c1
N°5513 Remove test name debug info
2022-09-08 18:20:52 +02:00
Pierre Goiffon
3bc12b0434
N°5513 Improve PHPUnit output to stdout
...
Will allow to see progress when looking at the Jenkins output
2022-09-08 15:11:02 +02:00
Pierre Goiffon
02a0969b53
N°5414 Fix undefined constant error in notification with wrong placeholder
...
Fix regression introduced in 33c2168 (#282 )
2022-08-29 12:31:45 +02:00
Stephen Abello
d78a25ee4e
N°5462 Add a setup check to verify if directory-level configuration files (.htaccess and web.config) are used by the server
2022-08-24 16:33:54 +02:00
Pierre Goiffon
7a6a3d1ac0
Integration tests : move and comment itop-community group
2022-08-24 14:41:32 +02:00
Pierre Goiffon
6b32be0899
N°5216 Fix invalid message-id when sending notification using cron on system with a specific locale set ( #297 )
...
The timestamp used was indeed locale dependent.
This commit fixes this behavior by removing the locale dependency using a better printf format (see https://www.php.net/manual/fr/function.sprintf.php )
2022-08-17 14:11:32 +02:00
Pierre Goiffon
33c2168af2
🔊 Adds a debug log for invalid placeholders ( #282 )
...
This adds a debug log when a placeholder cannot be replaced.
Before the placeholder was just not replaced.
Now we can enable a debug log on the LogChannels::NOTIFICATION channel.
2022-08-17 14:09:59 +02:00
Lars Kaltefleiter
ae021064a4
🌐 Update German translations for oauth-client ( #319 )
2022-08-16 17:02:37 +02:00
Benjamin Dalsass
0a61169326
Update version to next release 2.7.8
2022-08-16 09:47:46 +02:00
Anne-Catherine
d7e5705520
N°5318 - Fix DBObject::CheckValue() messages being HTML encoded when not necessary ( #326 )
...
* Rollback N°4898 - Security fix
* N°5318 - security fix
2022-08-12 17:50:14 +02:00
Stephen Abello
35a8b501c9
N°5393 Security hardening
2022-08-12 11:33:55 +02:00
Eric Espie
8fa616f440
N°5395 - Errors from OAuth servers for email are not well handled
2022-08-10 14:57:26 +02:00
Molkobain
5829e698da
Fix typo
2022-08-09 17:19:21 +02:00
Molkobain
df347b90e5
N°5383 - Declare DBObject::EnumTransitions() as "overwritable hook"
2022-08-08 11:53:46 +02:00
acognet
bb861aa262
N°3024 - Archiving Service Families (or any class with no child) with combodo-archive-manual
2022-08-04 16:26:21 +02:00
acognet
f9ac07830e
Fix translation
2022-08-04 16:26:01 +02:00
Pierre Goiffon
0f4c7ac90f
N°5129 Prevent "fieldForm is null" JS error when updating dependant field
...
For example when changing Server.location, 3 JS errors are thrown in the console :/
2022-07-29 10:12:37 +02:00
Molkobain
0687f9a0a9
Convert line endings to LF on misaligned text files
2022-07-28 09:58:04 +02:00
Molkobain
6e75ab2889
Add .gitattributes to enforce line endings
...
More info: https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
2022-07-28 09:44:42 +02:00
Molkobain
b90d29d448
🔧 Add IntelliLang.xml file to provide PHP synthax highlighting in DM XML files
2022-07-20 17:48:01 +02:00
Molkobain
1f78bf4119
N°5287 - Fix license in composer.json
2022-07-18 13:52:40 +02:00
Molkobain
5d25e77189
Code format
2022-07-13 17:03:01 +02:00
Molkobain
d9dabf25da
PHPDoc
2022-07-13 17:03:01 +02:00
Molkobain
73af605892
Fix typo in dictionaries
2022-07-13 17:03:00 +02:00
Benjamin Dalsass
f70f95c119
Update community licence 2.7.7 (script from git bash, not php execution)
2022-07-11 15:20:36 +02:00
Benjamin Dalsass
53c50cf6fc
Update community licence 2.7.7
2022-07-11 08:24:20 +02:00
Vincent Dumas
f19d1472c5
N°5102 - OAuth - replace double quote char EN
...
Use a special double quote characters so it is correctly handled in HTML
2022-07-08 13:44:00 +02:00
Vincent Dumas
eef00502cd
N°5102 - OAuth - remove unsupported quote FR
2022-07-08 13:38:37 +02:00
Molkobain
0b1caac195
N°4867 - Restore datamodel node to avoid minor version migration crash
...
Will be properly removed in 3.1.0
2022-07-08 13:22:27 +02:00
Vincent Dumas
e900a44d47
N°5102 - OAuth client - FR tooltips
2022-07-08 12:22:52 +02:00
Vincent Dumas
a3de9fa898
N°5102 - OAuth client - Add EN tooltips
2022-07-08 12:06:47 +02:00
bdalsass
8b0154cc62
N°5168 - Access to unauthorized contact information on Portal ( #305 )
...
GlobalRequestMgmt issue
2022-07-08 09:51:20 +02:00
Eric Espie
1a225bf55b
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Access rights
2022-07-07 17:57:24 +02:00
Eric Espie
24d19cd8d6
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Add a flag to select OAuth client for SMTP usage
2022-07-07 16:34:19 +02:00
Eric Espie
c25a4a7346
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Access rights
2022-07-07 14:17:09 +02:00
Eric Espie
20fb7b241f
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Highlight classes
2022-07-06 17:23:44 +02:00
Eric Espie
a0553e1195
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Highlight classes
2022-07-06 17:10:59 +02:00
Eric Espie
f40141072a
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Fix errors on vendor name
2022-07-06 14:10:01 +02:00
Eric Espie
c759856a61
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Highlight classes
2022-07-06 10:10:42 +02:00
Pierre Goiffon
237b181eec
💡 Fix \SetupUtils::GetTmpDir PHPDoc
2022-07-05 18:09:59 +02:00
Eric Espie
48957fd2f0
N°5102 - Allow to send emails using GSuite SMTP and OAuth - refactor scopes
2022-07-05 17:54:43 +02:00
Pierre Goiffon
8a99c37200
N°5287 Fix composer.json errors
...
See https://getcomposer.org/doc/03-cli.md#validate
2022-07-05 15:08:29 +02:00
Eric Espie
d388c3fd3d
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Limit error size
2022-07-04 16:48:56 +02:00
Eric Espie
1b8e48539d
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Add comment in configuration
2022-07-01 14:32:44 +02:00
Eric Espie
104beff158
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Fix log
2022-06-29 15:09:17 +02:00
Pierre Goiffon
4712569a36
📝 CONTRIBUTING : fix GitMoji link
2022-06-29 10:56:21 +02:00
Pierre Goiffon
2392f4a902
🔒 Update guzzlehttp/guzzle
2022-06-28 15:13:04 +02:00
Eric Espie
a0f28a9098
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-28 10:47:20 +02:00
Eric Espie
6df622e8ed
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-23 14:05:17 +02:00
Eric Espie
54eb9d081b
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-23 12:20:53 +02:00
Eric Espie
9f60f27636
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-22 16:41:45 +02:00
Eric Espie
ba59643f52
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 16:47:46 +02:00
Eric Espie
01c02a75a8
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 16:40:43 +02:00
Eric Espie
f5b3e5f341
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 16:10:34 +02:00
Eric Espie
9b825cb529
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 16:05:58 +02:00
Eric Espie
3f326f0913
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 16:05:58 +02:00
acognet
ec86bd246a
N°5129 - Unwanted popup during a transition with an AttributeExternalField
2022-06-21 15:24:25 +02:00
Eric Espie
aa90d5b6ab
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Rework
2022-06-21 13:51:08 +02:00
acognet
53d2129bd1
N°5129 - Unwanted popup during a transition with an AttributeExternalField
2022-06-16 17:58:19 +02:00
Benjamin Dalsass
00e8c11ec2
N°5037 - Setup: Add disclaimer about collected data
...
change ui organization
2022-06-14 17:18:34 +02:00
Benjamin Dalsass
617b6b991f
N°5037 - Setup: Add disclaimer about collected data
...
flip modules array
2022-06-14 14:33:35 +02:00
Benjamin Dalsass
b3ea1050eb
N°5037 - Setup: Add disclaimer about collected data
2022-06-14 12:40:36 +02:00
Benjamin Dalsass
ca98066d68
N°5037 - Setup: Add disclaimer about collected data
2022-06-14 10:54:25 +02:00
Pierre Goiffon
352f7c8675
Update guzzlehttp/guzzle
2022-06-14 09:47:13 +02:00
Eric Espie
df5d514c28
N°4642 - Core Update : limit the usage of this function to minor version - fix error message (revert)
2022-06-13 15:59:25 +02:00
Eric Espie
16663797b2
N°4642 - Core Update : limit the usage of this function to minor version - fix error message
2022-06-13 15:51:36 +02:00
Eric Espie
4099376472
N°5102 - Allow to send emails using GSuite SMTP and OAuth - Defer the deletion (expunge) to the end of connection
2022-06-09 11:40:13 +02:00
Eric Espie
6d3118d9e9
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth (fix config error message)
2022-06-08 13:24:29 +02:00
odain
4c585614cd
ease testing: CreateTestOrganization returns org object
2022-06-08 11:07:31 +02:00
Eric Espie
9674378c56
N°5211 - Core update not working with auto-selected modules (comments)
2022-06-08 10:36:55 +02:00
Eric Espie
9e314ba77b
N°5211 - Core update not working with auto-selected modules
2022-06-08 10:24:03 +02:00
Eric Espie
cdd7dcdc5c
N°5211 - Core update not working with auto-selected modules
2022-06-08 10:12:19 +02:00
Benjamin Dalsass
34bed5ec4f
N°5215 - Portal insufficient access control for ajax search form
2022-06-07 11:14:43 +02:00
Pierre Goiffon
3ea82e37d5
N°4635 Report \LogChannels::NOTIFICATIONS
2022-06-03 18:00:29 +02:00
Pierre Goiffon
596c62aec8
💡 N°4867 Add bug reference in phpdoc
2022-06-03 09:54:29 +02:00
acognet
265415030e
N°4867 - "Twig content not allowed" error when use the extkey widget search icon in the user portal - Add comment
2022-06-02 12:35:42 +02:00
Eric Espie
3d26f28f9b
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
...
* Add icons to wizard
2022-06-01 11:44:02 +02:00
Eric Espie
0abec767e3
Dictionaries
2022-06-01 10:45:53 +02:00
Benjamin Dalsass
9fd10bd73e
N°5168 - Security hardening
2022-05-31 16:28:02 +02:00
acognet
95dafc87c0
N°4867 - "Twig content not allowed" error when use the extkey widget search icon in the user portal - Add tests
2022-05-30 15:10:50 +02:00
acognet
fe1790793e
N°4898 - security hardening
2022-05-30 15:10:49 +02:00
Eric Espie
ddb95dc64e
Removed laminas service manager test folder
2022-05-27 09:32:16 +02:00
Eric Espie
f6f9ee26e1
Removed laminas service manager test folder
2022-05-27 09:29:00 +02:00
Eric Espie
21faa92904
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-27 09:06:28 +02:00
Eric Espie
622f40c06c
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
* Fix legacy mailboxes compatibility
2022-05-25 08:21:16 +02:00
acognet
964134cb60
N°4867 - "Twig content not allowed" error when use the extkey widget search icon in the user portal - Remove useless code
2022-05-24 18:20:18 +02:00
acognet
72f498a63b
N°5168 - Fix error message "Call to a member function GetKey() on null"
2022-05-24 10:50:56 +02:00
Pierre Goiffon
f9a1f68295
✅ N°4655 Remove OQL tests
...
Were only here to check legacy OQL engine, but since 2.7.0 we fixed couple of bugs in the current OQL engine : we can't keep same functionalities in both engines :/.
Plus now we are working on 2.7.7 and we're not aware of any use of this legacy engine...
Note that it will be deprecated (N°3141) and removed (N°4715) very soon.
2022-05-24 10:38:59 +02:00
Pierre Goiffon
9b67b0b9d5
Same options in phpunit config files
2022-05-23 14:53:13 +02:00
acognet
f798ef1d76
N°4538 - Dashlet Groupby on ExternalKey with special character, bad display - remove useless test
2022-05-23 14:21:03 +02:00
Eric Espie
754946bf62
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
* Fix legacy mailboxes compatibility
2022-05-23 12:09:40 +02:00
Eric Espie
a6580e3cd8
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-23 10:56:32 +02:00
Pierre Goiffon
da6621f2ff
Fix include warning in unittestautoload.php on Windows
2022-05-23 09:53:30 +02:00
Molkobain
f2d42a7e56
N°5002 - Simplify code
2022-05-20 18:41:39 +02:00
Benjamin Dalsass
d01e4b4a85
N°5168 - Security hardening
2022-05-20 16:08:25 +02:00
Pierre Goiffon
f57d1f1de3
✅ Fix PHPunit errors with InlineImageMock.php and UtilsTest
...
HTMLDOMSanitizerTest : fix "Fatal error: Cannot declare class InlineImage, because the name is already in use in /var/www/html/iTop/test/core/sanitizer/InlineImageMock.php"
We are now injecting the class to mock, instead of declaring another class with the same name (was working before but why ?!???)
\UtilsTest::testSanitizer : no more testing the "class" filter, because it is a simple indirection, and we need to load datamodel which is causing multiple problems (see the comment in the test method dataprovider)
2022-05-20 10:48:05 +02:00
Eric Espie
a3f122184c
N°4642 - Core Update : limit the usage of this function - revert due to N°4666 fix
2022-05-20 10:20:47 +02:00
acognet
16fcddc249
N°4867 - "Twig content not allowed" error when use the extkey widget search icon in the user portal (regression of N°4384 )
2022-05-20 09:52:25 +02:00
Eric Espie
2a9c9be36a
N°4666 - Core Update : handle modules
2022-05-20 09:42:14 +02:00
Eric Espie
ca3aae23a1
N°4666 - Core Update : handle modules
2022-05-20 09:33:41 +02:00
bdalsass
4dd384e418
N°4872 - Create a ticket in resolved statut Inlineimage disappear ( #294 )
2022-05-20 09:26:06 +02:00
Molkobain
80e7313b24
PHPDoc
2022-05-19 17:40:14 +02:00
Eric Espie
183c3c1baf
N°4666 - Core Update : handle modules
2022-05-19 16:30:06 +02:00
Eric Espie
160c52fe81
Merge branch 'support/2.7' into feature/OAuthMail
2022-05-19 14:49:48 +02:00
Benjamin Dalsass
5f0a820b4a
N°4899 - add sanitizer url since annotation and tests for sanitizer function
2022-05-19 08:36:42 +02:00
Benjamin Dalsass
03ef4246bf
N°4899 - add sanitizer url since annotation and tests for sanitizer function
2022-05-18 12:03:07 +02:00
Pierre Goiffon
534e7cf59d
✅ N°4655 New nightly PHPUnit file containing OQL tests
...
Those tests were removed in 72af2b7c as they took too much time to run.
We are re-enabling them but only for nightly builds !
2022-05-18 09:35:13 +02:00
Eric Espie
e1645f6903
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* Config messages
* Fix unit tests
2022-05-18 08:41:58 +02:00
Benjamin Dalsass
61a2d200b4
N°4900 - Stored XSS in dashlets failed OQL query
2022-05-18 08:10:01 +02:00
Benjamin Dalsass
3d6bbe4029
Revert "N°4900 - Stored XSS in dashlets failed OQL query"
...
This reverts commit 562dd8fc21 .
2022-05-18 08:05:19 +02:00
Eric Espie
44eda676a3
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration
2022-05-17 16:56:43 +02:00
Molkobain
eac6f07823
N°4985 - PHP 8.0: Fix optional parameter before mandatory parameter
...
* Method is always (once) called with the value defined in iTop
* No Combodo extension call the method
* No customization in the ITSM Designer (snippets / extensions) call the method
* Calling method with only the first parameter would crash anyway
2022-05-17 16:51:50 +02:00
Pierre Goiffon
424e2a5745
💡 Fix PHPDoc for \DBObject::CheckConsistency
2022-05-17 15:52:43 +02:00
Molkobain
0ef4fee0b4
N°4985 - PHP 8.0: Fix usort callback return type
2022-05-17 15:28:04 +02:00
Eric Espie
1d45eff9b0
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration
2022-05-17 10:11:15 +02:00
Benjamin Dalsass
8e97279401
N°4899 - Reflected XSS on revert_dashboard operation
2022-05-17 09:27:06 +02:00
Eric Espie
932ef780fd
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration
2022-05-17 09:06:49 +02:00
Benjamin Dalsass
59424c3126
N°4976 - CSRF in import page
2022-05-17 09:02:06 +02:00
Benjamin Dalsass
562dd8fc21
N°4900 - Stored XSS in dashlets failed OQL query
2022-05-17 08:20:26 +02:00
Molkobain
cf745554fb
N°4985 - PHP 8.0: Fix strlen() test condition that needs to be more strict
2022-05-16 18:04:29 +02:00
Molkobain
e909eac98e
N°4985 - PHP 8.0: Fix is_callable() first param syntax in ObjectFormManager
2022-05-16 17:44:34 +02:00
Molkobain
5e42efc3ec
N°4985 - PHP 8.0: Fix usort callback return type in portal's lists initialization
2022-05-16 17:44:33 +02:00
Eric Espie
eb1d56f439
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration
2022-05-16 14:51:12 +02:00
Eric Espie
644e1ac4f6
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration (wip)
2022-05-13 16:27:56 +02:00
Stephen Abello
4c88dbd9ac
N°2504 N°3169 N°5102 Add libraries
2022-05-13 14:39:19 +02:00
Stephen Abello
11d2e62e67
N°2504 N°3169 N°5102 Correctly disable authentication button for 2.7
2022-05-13 14:38:55 +02:00
Stephen Abello
58b27a9daa
N°2504 N°3169 N°5102 Handle result display
2022-05-13 14:28:38 +02:00
Stephen Abello
caf939bf58
N°2504 N°3169 N°5102 Add dictionaries
2022-05-13 14:06:11 +02:00
Eric Espie
8c217fdac9
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration (wip)
2022-05-13 12:07:27 +02:00
Eric Espie
6b80bbeaa2
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration (wip)
2022-05-13 11:45:42 +02:00
Eric Espie
134736dce5
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* 2.7 migration (wip)
2022-05-13 11:37:09 +02:00
Stephen Abello
4b870bcf1e
N°2504 N°3169 N°5102 Add js template
2022-05-12 17:38:38 +02:00
Eric Espie
dd8a4a0082
N°3169 - Add feature to connect Gsuite mail box with OAuth
...
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph
N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
2022-05-12 14:40:55 +02:00
Molkobain
c2607c4223
N°5035 - Setup: Remove tracking image at the end of the setup
2022-05-09 13:55:06 +02:00
Pierre Goiffon
1fb0911710
🔧 N°3091 postbuild PHPunit XML : change html_errors PHP setting
2022-05-03 10:53:32 +02:00
Pierre Goiffon
b348e0ff27
🔧 N°3091 PHPunit XML : change html_errors PHP setting
...
We are outputting to console, and will get results in Jenkins or terminal, so no HTML please :o)
2022-05-03 10:51:48 +02:00
Pierre Goiffon
4646a05c7a
N°4824 Update consumers after swiftmailer/swiftmailer
...
Multiple things to do as there were some changes in 6.0
Reference : https://github.com/swiftmailer/swiftmailer/blob/master/CHANGES#L107
* Fix "Call to undefined method Swift_Message::newInstance()" exception in notifications
* Fix removed Swift_MailTransport
2022-05-03 09:35:48 +02:00
Pierre Goiffon
c5527c106c
🔧 N°3091 PHPunit XML : set columns
2022-05-02 15:33:39 +02:00
Pierre Goiffon
5eac1b8730
🔧 N°3091 PHPunit XML : fix correct PHP INI settings
...
see https://phpunit.readthedocs.io/en/8.5/configuration.html#the-php-element
2022-05-02 15:25:59 +02:00
Pierre Goiffon
0de15d040f
⬇️ N°4824 rollback scssphp/scssphp update (won't be done in this branch !)
2022-05-02 09:15:48 +02:00
Pierre Goiffon
c4ae94fd4c
Update denied test dirs
2022-04-29 17:15:50 +02:00
Pierre Goiffon
1e8818984e
📄 N°4284 Update licenses
2022-04-29 15:53:03 +02:00
Pierre Goiffon
a023f73509
N°4284 Update jquery UI SCSS to remove SCSSPHP warnings
...
Replace "Alpha(..." with "alpha(..."
Example of warning at compilation with SCSSPHP :
DEPRECATION WARNING: Calling built-in functions with a non-standard name is deprecated since Scssphp 1.8.0 and will not work anymore in 2.0 (they will be treated as CSS function calls instead).
Use "alpha" instead of "Alpha".
on line 55 of /var/www/html/iTop/css/../css/ui-lightness/jqueryui.scss
2022-04-29 15:39:26 +02:00
Pierre Goiffon
6f0e1a7f47
N°4824 Update consumers after swiftmailer/swiftmailer update
...
Also remove new Doctrine test dir (iTopComposerTest feedback)
2022-04-29 15:24:56 +02:00
Pierre Goiffon
0ef9bb1a47
⬆️ N°4824 Composer libs : update swiftmailer/swiftmailer
2022-04-29 15:24:56 +02:00
Pierre Goiffon
71ceedc4bb
🔨 N°4284 Detect new test dirs on composer update
2022-04-29 15:24:56 +02:00
Pierre Goiffon
73c3c1249f
⬆️ N°4824 Composer libs : update scssphp/scssphp
2022-04-29 15:24:56 +02:00
Pierre Goiffon
88a10dba28
N°4824 Update consumers after pelago/emogrifier update
2022-04-29 15:24:56 +02:00
Pierre Goiffon
001e222f67
⬆️ N°4824 Composer libs : update pelago/emogrifier
2022-04-29 15:24:56 +02:00
Pierre Goiffon
af8bcdc242
⬆️ N°4824 Composer libs : update pear/archive_tar
2022-04-29 15:24:56 +02:00
Pierre Goiffon
f4c7afc148
N°4824 Update consumers & tests after nikic/php-parser update
...
Was done in 3.0.0 with N°3867
(cherry picked from commit cd1ba097cb )
(cherry picked from commit 5b42f67a99 )
(cherry picked from commit 2d98ca2318 )
(cherry picked from commit ddc5bbd1bb )
2022-04-29 15:24:56 +02:00
Pierre Goiffon
b19c73a36e
⬆️ N°4284 Composer libs : update nikic/php-parser
...
Was done in 3.0.0 with N°3867
2022-04-29 15:24:55 +02:00
Pierre Goiffon
5fe0d0b94f
⬆️ N°4284 Composer libs : update combodo/tcpdf
2022-04-29 15:18:41 +02:00
Pierre Goiffon
f8d435d5f3
N°4284 Composer libs : refresh symfony
2022-04-29 15:18:41 +02:00
Pierre Goiffon
f15ef36fd1
➖ N°4284 Composer libs : remove symfony/polyfill-php70
...
Though it is still downloaded because asked by symfony framework, but as we don't need it in our code no need to specify it here !
2022-04-29 15:18:41 +02:00
Pierre Goiffon
64b25c4daa
📌 N°4284 Composer libs : fix twig/twig to ~1.42.5
...
Without specifying explicitly the Twig version, since the update of require php from 5.6 to 7.0 we are getting Twig 2.12.5 !
We don't want Twig 2 as this version changes the macro scope and causes massive changes in our code... This update will be done later in other branches.
2022-04-29 15:15:32 +02:00
Pierre Goiffon
d0ba0d193b
N°3091 iTopComposerTest : change deprecated PHPUnit method call
2022-04-22 14:42:12 +02:00
Pierre Goiffon
8e6e2432d3
Extensibility : iPortalUIExtension and AbstractPortalUIExtension aren't experimental anymore
2022-04-21 17:29:40 +02:00
Molkobain
83ec19dfca
Remove duplicated lines in .gitignore
2022-04-21 14:26:56 +02:00
Pierre Goiffon
6e619f2c35
Fix \iTopConfigParserTest::testConfigWriteToFile_FromScratchInstallation throwing error
2022-04-21 12:02:35 +02:00
Pierre Goiffon
163ba41e8d
N°3091 Update PHPUnit to 8.5 : remove doesNotPerformAssertions annotation
...
Modified tests :
- iTopConfigParsertest
- DBSearchIntersectTest::testIntersectOptimization
As expected this isn't working with PHPUnit 8.5
Why does it worked with previous PHPUnit 6 version ? Maybe this annotation wasn't handled yet ? The corresponding PHPUnit doc isn't available anymore...
Annotations doc for PHP 8.5 : https://phpunit.readthedocs.io/en/8.5/annotations.html#doesnotperformassertions
2022-04-21 12:02:35 +02:00
Pierre Goiffon
ec143c43db
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
...
"Return type declaration must be compatible with parent"
See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
2022-04-21 12:02:35 +02:00
Pierre Goiffon
cacf0004a5
🙈 N°3091 Update PHPUnit to 8.5 : add PHPunit cache file to ignore
...
We don't want to disable the feature, nor we want this file to be versionned
https://phpunit.readthedocs.io/en/8.5/configuration.html#the-cacheresult-attribute
2022-04-21 12:02:35 +02:00
Pierre Goiffon
cb39541e2a
N°3091 Update PHPUnit to 8.5 : composer and base files
...
Autoload wasn't working anymore, easy to see : just launch `php unittestautoload.php` (or see fatal errors when launching tests with your IDE)
2022-04-21 10:47:30 +02:00
Pierre Goiffon
b9ddadeb44
N°5109 update PHP requirements from 5.6 to 7.0
...
No embedded libs supports all versions from PHP 5.6 to 8.0 included :/
7.0.8 is required for our Symfony version (updated with N°4770)
2022-04-20 17:29:20 +02:00
Pierre Goiffon
11e811cc4b
N°3717 Improve iTop object history API ( #192 )
...
This fixes a major flaw in the history API that was causing "phantom" CMDBChange records (without any CMDBChangeOp attached). That was happening especially in iProcess impl.
For example this lead to the creation of the combodo-cmdbchange-cleaner module in the Mail To Ticket extension.
The modifications in detail :
- We can now pass a non persisted CMDBChange instance to \CMDBObject::SetCurrentChange
- No persistence done in \CMDBObject::CreateChange anymore
- Persistence of the attached CMDChange will be done if necessary in CMDBChangeOp::OnInsert
- New CMDBObject::SetCurrentChangeFromParams helper method to ease resetting the current change
2022-04-19 17:13:18 +02:00
Pierre Goiffon
e422adb0d0
N°4998 Fix CSS for AttributeDuration in transition form ( #281 )
2022-04-19 12:25:15 +02:00
Pierre Goiffon
e02d9f3f0e
💡 N°5090 Improve phpdoc using list array shape
2022-04-15 17:43:20 +02:00
Pierre Goiffon
e831d66b76
N°5090 Setup : improve missing dependencies message ( #280 )
...
The setup now relies on the new method MissingDependencyException::getHtmlDesc to get the message to display
MissingDependencyException is also now a CoreException child.
Note that previous behavior (MissingDependencyException instantiator setting message) is kept, as some consumer still do $e->getMessage() (like unattended install)
2022-04-15 17:30:05 +02:00
acognet
6fa2d47780
N°4538 - Dashlet Groupby on ExternalKey with special character, bad display
2022-04-15 10:03:04 +02:00
acognet
e691454339
N°5002 - memory leak after object creation in popup
2022-04-15 10:00:08 +02:00
Pierre Goiffon
92997e3e57
💡 N°2498 add @since
2022-04-08 08:54:07 +02:00
Pierre Goiffon
631b38a160
N°5003 Change cron_max_execution_time config param help text
2022-03-25 15:56:11 +01:00
Eric Espie
7ce5712b71
N°4967 - 'Previous Values For Updated Attributes' not updated if DBUpdate is called without modifying the object
2022-03-21 08:43:03 +01:00
acognet
61137a6f65
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical - Fix dictionnary
2022-03-18 11:02:04 +01:00
Pierre Goiffon
0080a2e733
💡 N°3129 Fix phpdoc
...
Method was renamed in 45b5c39a but I forgot to update the PHPDoc
2022-03-17 15:36:39 +01:00
acognet
7f4fddb378
N°4644 - Core update : confusing warning message when integrity of iTop std files is modified - fix default translation
2022-03-15 10:52:19 +01:00
acognet
a71cb97db3
N°4644 - Core update : confusing warning message when integrity of iTop std files is modified - fix comment
2022-03-14 15:30:35 +01:00
acognet
4c99f497cc
N°4644 - Core update : confusing warning message when integrity of iTop std files is modified - List all modified files
2022-03-14 14:45:07 +01:00
Molkobain
0205cdf713
N°4791 - Portal: Fix "Twig not allowed" error when transition form has no editable field (auto redirect)
...
Regression from b6fac4b4
2022-03-13 18:15:49 +01:00
Molkobain
39fc59a8b2
Code cleanup
2022-03-13 17:55:04 +01:00
Molkobain
107c9adf60
N°4791 - Expand usage of ObjectFormHandlerHelper::ENUM_MODE_XXX constants for better robustness / comprehension
2022-03-13 17:29:55 +01:00
Molkobain
d29880b1b8
Update PHPDoc
2022-03-11 17:52:10 +01:00
acognet
2d156bd77b
N°4642 - Core Update : limit the usage of this function - disable if new modules found
2022-03-10 16:47:21 +01:00
acognet
d122dbfdd6
N°4642 - Core Update : limit the usage of this function - disable if new modules found
2022-03-10 16:06:37 +01:00
acognet
46d58e6512
N°4642 - Core Update : limit the usage of this function - disable if new modules found
2022-03-10 15:24:29 +01:00
Molkobain
93a138606f
N°4664 - Core Update : block zip file upload until instance declared OK
2022-03-09 18:21:08 +01:00
Molkobain
70074ee1cb
N°4644 - Core update: Update translations with missing entry
2022-03-09 17:31:22 +01:00
Molkobain
d28ccb264f
N°4644 - Core update : confusing warning message when integrity of iTop std files is modified
...
(cherry picked from commit 69a0bd0c34 )
2022-03-09 17:28:38 +01:00
odain-cbd
8ab38854a8
N°4920 - Fix "undefined index" notice in user rights ( #271 )
2022-03-08 18:21:40 +01:00
acognet
9f27cf2b84
N°4525 - bad source for extensions in system information and about iTop with iTop Pr
2022-03-03 15:14:28 +01:00
Pierre Goiffon
f78986009f
✅ Improve messages of iTopModuleXmlInstallationChecklistTest::testAllModuleAreIncludedInInstallationXml
2022-03-03 10:46:06 +01:00
Pierre Goiffon
809ea2eb49
💡 N°4854 Add phpdoc to utils::*Module* methods
2022-03-02 09:42:09 +01:00
Pierre Goiffon
968a0e5f3a
Add check to prevent setup crash when creating config
...
Cherry-pick of 09b12bd0
This will prevent also a warning when running on PHP 8.0 (N°3129)
2022-02-24 15:39:20 +01:00
acognet
83e98ef2b8
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-17 17:06:06 +01:00
Pierre Goiffon
5048421bfa
🔥 N°4815 Remove .model files in /dictionaries
...
They were added with 3fb0c768 in 2.5.2, probably by mistake as they :
* exists only for certain languages and not for english
* only contain comments
2022-02-16 10:17:42 +01:00
acognet
788caf9c50
N°4284 - Object modification: Attribute value lost if not allowed to be seen
2022-02-14 12:26:16 +01:00
acognet
35165568af
N°4057 - Custom Translation for Custom Tab is not inherited by instanciable Classes
2022-02-14 09:10:18 +01:00
Molkobain
4a67819f87
N°4714 - Revert rename of utils::GetItopVersionWikiSyntax as it is used in cached packages in the ITSM Designer
2022-02-11 20:00:39 +01:00
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
4caf52f1ae
🔥 N°4781 Remove SetupUtils::Log
2022-02-11 16:48:24 +01:00
Pierre Goiffon
0c5b845c8a
📄 N°4770 Update license file
2022-02-11 16:23:54 +01:00
Pierre Goiffon
cdfdb1f2ca
🔧 N°4770 composer.json version constraint
...
Will help Dependabot !
2022-02-11 16:23:54 +01:00
Pierre Goiffon
f29a8792af
⬆️ N°4770 Update to latest Symfony 3.4
2022-02-11 16:23:03 +01:00
Pierre Goiffon
b494ff2ce6
N°4488 Remove cmdbAbstractObject methods used in export.php from API methods and add comment in export.php
...
`@deprecated` was added in 03e9bcd4 but as none of those will be removed in a near future, we are using `@internal`instead !
2022-02-11 16:15:35 +01:00
odain
df1e19dc43
enhance ItopDataTestCase->CreateUser to avoid be able to avoid hardcoded contact_id
2022-02-11 14:10:02 +01:00
Pierre Goiffon
9ad341f73a
N°4771 Fix .make/composer/rmDeniedTestDir.php Throwing errors when dir in denied list not existing on disk
2022-02-10 15:12:31 +01:00
acognet
03e9bcd47a
N°4488 - deprecate cmdbAbstractObject::GetSetAsHTMLSpreadsheet() used only by the old export.php
2022-02-10 15:04:59 +01:00
acognet
55effea0a3
N°4513 - User Portal can apply transition on on an objetc not in his scope
2022-02-10 14:01:21 +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
25c3704990
N°4761 Fix license.xml content not displayed in setup with multi modules extensions ( #261 )
...
For example :
module "mymodule" is in extension "myextension"
On the file system the `license.xml` file will be in `/extensions/myextension/mymodule/license.mymodule.xml`
This form wasn't working in the setup but well displayed in the about box.
When \SetupUtils::GetLicenses was called in the setup it was searching with a GLOB pattern only in one level subfolders. Now we are searching 2 levels.
When called from the console, it is only searching in env-*, where everything is on one level.
2022-02-08 17:28:47 +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
299ad7e753
N°4714 Fix \utils::GetCoreVersionWikiSyntax throwing Exception when 2nd version digit is "0" (for example in 3.0.1)
2022-02-08 14:48:02 +01:00
acognet
84280a3b5f
N°4530 - Bug with OQL and profiles.
2022-02-04 16:21:53 +01:00
Pierre Goiffon
b4fc647845
N°4714 Rename \utils::GetItopVersionWikiSyntax to GetCoreVersionWikiSyntax
...
Will avoid confusion between core or product version !
2022-02-01 15:40:43 +01:00
Pierre Goiffon
17612f88d3
N°4714 utils version method refactoring
...
- removes utils::GetItopPatchVersion and GetItopMinorVersion : unused and badly named :/
- GetItopVersionWikiSyntax now uses core version constant
- iTopModulesPhpVersionIntegrationTest::testiTopModulesPhpVersion now uses ITOP_CORE_VERSION constant
2022-02-01 15:24:56 +01:00
Pierre Goiffon
e14845728c
Prepare 2.7.7
2022-02-01 15:19:10 +01:00
Pierre Goiffon
4e80fc0f76
N°4624 Remove processIsolation flag from postBuild tests
...
Was done in standard test suite (test/phpunit.xml.dist) with 6bf25f90
2022-02-01 14:50:33 +01:00
Pierre Goiffon
fcfcf85e0d
N°4714 fix constant version usages in utils methods
2022-02-01 11:39:57 +01:00
Pierre Goiffon
f0715baf7d
N°4714 move constant from core/config.class.inc.php to approot.inc.php
...
see N°4406
2022-02-01 11:39:35 +01:00
Pierre Goiffon
45b5c39af7
N°3129 PHP 8.0 compat : code review modifications
...
Many thanks @Molkobain & @Hipska !
2022-01-31 16:41:35 +01:00
Pierre Goiffon
dbc3da7bc3
N°3129 Remove twig-bundle Test dir
...
Thanks to iTopComposerTest::testNoDeniedDirIsPresentForNow :o)
2022-01-28 17:25:55 +01:00
Pierre Goiffon
ebc9fa684a
N°3129 PHP 8.0 compat: Fix "Private methods cannot be final as they are never overridden by other classes"
...
Was breaking setup ajax compilation
Fixed in:
* \SetupUtils::Log
* \MetaModel::SetUniquenessRuleRootClass
2022-01-28 17:01:07 +01:00
Pierre Goiffon
606bdc1909
N°3129 PHP 8.0 compat: Fix "Access level to MFElement::ReplaceWith() must be public (as in class DOMElement)"
2022-01-28 17:01:07 +01:00
Pierre Goiffon
7495fb9af4
N°3129 PHP 8.0 compat: Fix "Deprecated: Required parameter ... follows optional parameter ..." in Twig
...
Update symfony/twig-bundle from 3.4.36 to 3.4.47
2022-01-28 17:01:07 +01:00
Pierre Goiffon
75dbad7406
N°3129 PHP 8.0 compat: Fix "Deprecated: Required parameter ... follows optional parameter ..."
...
* \SQLObjectQuery::PrepareSingleTable
* \HistoryBlock::GetRenderContent
* \MenuBlock::GetRenderContent
* \UILinksWidgetDirect::DisplayAsBlock
* \UILinksWidgetDirect::Display
* \UILinksWidgetDirect::DisplayEditInPlace
* \UIExtKeyWidget::AutoComplete
* \UIExtKeyWidget::DisplayFromAttCode
2022-01-28 17:01:07 +01:00
Pierre Goiffon
3381c085f4
💡 N°4714 fix phpdoc
2022-01-27 16:15:57 +01:00
Pierre Goiffon
9b6f7d94f4
N°4714 Handle ITOP_CORE_VERSION update in .make/release/update-versions.php
2022-01-26 15:45:10 +01:00
Pierre Goiffon
64e8aa5fee
N°4714 New ITOP_CORE_VERSION constant
...
See following constants PHPDoc for information :
* core/config.class.inc.php ITOP_VERSION
* core/config.class.inc.php ITOP_CORE_VERSION
* setup/itopdesignformat.class.inc.php ITOP_DESIGN_LATEST_VERSION
2022-01-26 15:19:29 +01:00
Pierre Goiffon
477128ad53
💡 N°4023 More phpdoc on \DBObjectSearch::AddCondition
2022-01-26 13:58:49 +01:00
Pierre Goiffon
aa66bec783
💡 Add comment for the timezone config parameter
2022-01-24 15:54:42 +01:00
Pierre Goiffon
1da52a8517
Revert "dbtools report.php : compatibility with CLI + symlinks"
...
Woops pushed by mistake, sorry :/
This reverts commit cbd2181862 .
2022-01-24 14:22:01 +01:00
Pierre Goiffon
cbd2181862
dbtools report.php : compatibility with CLI + symlinks
2022-01-24 14:16:41 +01:00
Stephen Abello
4180a41f27
N°4652 Better error message when XML node define fails from delta ( #256 )
...
N°4652 Add more details when trying to define an already existing XML node
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-01-14 10:20:46 +01:00
Pierre Goiffon
a43adcd202
🔧 phpunit.xml comment OQL better
...
Was executing on Jenkins :(
2022-01-13 13:11:26 +01:00
Pierre Goiffon
e8e170fb06
🔧 phpunit.xml reorder testSuites again
2022-01-13 13:05:42 +01:00
Pierre Goiffon
5ac5d649aa
🔧 Try again : reorder test suites for better readability
...
Jenkins should now be fixed
2022-01-13 12:15:12 +01:00
Pierre Goiffon
decb802df4
Revert " 🔧 Reorder test suites for better readability"
...
This reverts commit cacc3a3085 .
2022-01-13 09:48:07 +01:00
Pierre Goiffon
cacc3a3085
🔧 Reorder test suites for better readability
2022-01-13 09:42:21 +01:00
Pierre Goiffon
0fd2ea6a47
🎨 phpunit.xml code formatting
2022-01-13 09:42:21 +01:00
Pierre Goiffon
426f275c03
💡 Add additional phpdoc to \DBBackup::GetMysqlCliTlsOptions
2022-01-12 11:21:21 +01:00
Pierre Goiffon
693a861e7d
♻️ Refactor DBBackuptest
...
Split each test in a dedicated method
2022-01-12 09:42:57 +01:00
Pierre Goiffon
0ee6c60e94
✅ Fix DBBackupTest (again :/)
...
Was working on Windows but not on Linux...
2022-01-12 09:12:04 +01:00
Pierre Goiffon
a663e9fded
✅ Fix DBBackupTest
...
DB connection dependency was added in a222ead4 (N°2336) in \DBBackup::GetMysqlCliTlsOptions but test wasn't updated accordingly :/^
The test wasn't ran on Jenkins until b11bf308 , so we saw the regression only yesterday :(
This is now fixed ! 🥳
2022-01-12 09:00:26 +01:00
Pierre Goiffon
b3bf516b20
💡 Fix PHPDoc for \DBBackup::GetMysqlCliTlsOptions
2022-01-12 08:24:28 +01:00
Molkobain
c2408b74cd
Unit tests: Fix invalid/duplicate class name
2022-01-11 18:13:13 +01:00
Pierre Goiffon
6855c2f83a
N°4624 restore backupGlobals to default
2022-01-11 17:29:32 +01:00
Molkobain
b11bf30881
Unit tests: Activate tests that were never ran... 🥶
...
Note that testGetMysqlCliTlsOptions will fail
2022-01-11 15:49:21 +01:00
Molkobain
64736f1463
Fix unit test provider
2022-01-11 15:48:45 +01:00
Pierre Goiffon
930b224ca2
💡 N°4624 phpdoc for ItopDataTestCase
2022-01-11 15:36:40 +01:00
Pierre Goiffon
92b61c7491
N°4558 Rename \LogChannels::CMDBSOURCE to CMDB_SOURCE to match existing constant in support/3.0 branch
2022-01-10 17:09:43 +01:00
Pierre Goiffon
e530cbb4f2
N°4624 Restore processIsolation on tests which actually need it
...
Warning, one symptom was having the CI returning an empty phpunit.results.xml !!
2022-01-07 17:25:18 +01:00
Pierre Goiffon
ddb8378fe6
N°4624 align phpunit annotations
...
Remove processIsolation when not needed
When needed, make sure to have also their counterpart (preserveGlobalState and backupGlobals)
2022-01-07 15:20:34 +01:00
Pierre Goiffon
47db23d91c
💚 N°4624 Fix other tests after global processIsolation was disabled in 6bf25f90
2022-01-07 12:44:08 +01:00
Pierre Goiffon
fc1f701bf6
💚 N°4624 TransactionsTest : add process isolation
...
Was global before 6bf25f90
2022-01-07 12:34:09 +01:00
Stephen Abello
365c7bb89e
N°4397 Update Turkish translations
2022-01-07 11:09:51 +01:00
Pierre Goiffon
b073e4385c
💡 Document versions constants ( #255 )
...
Clarify ITOP_VERSION and ITOP_DESIGN_LATEST_VERSION uses
2022-01-06 14:49:34 +01:00
Pierre Goiffon
f9359431fe
💡 N°4558 Add PHPDoc
2022-01-03 12:21:55 +01:00
Pierre Goiffon
25e560fdaa
N°4558 Fix possible PHP notice in \CMDBSource::StartTransaction
2021-12-31 16:34:19 +01:00
Pierre Goiffon
6bf25f90bc
Tests : remove global process isolation
...
Is done in ItopDataTestCase using annotation
Other tests (like the one extending ItopTestCase) won't use isolation anymore
2021-12-29 15:31:25 +01:00
acognet
3db20e8028
N°4479 - Impact analysis : Display and apply filter before display impact analysis graphical
2021-12-23 16:53:15 +01:00
Pierre Goiffon
b190d0e385
Prepare 2.7.6 version
2021-12-14 16:54:42 +01:00
Pierre Goiffon
93f273a287
N°4384 Fix PHP warning when decoding formmanager_data when it is already in a PHP array form
2021-12-10 17:10:46 +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
02b09c2535
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-12-10 13:38:42 +01:00
Pierre Goiffon
10cfb373f2
N°4481 Fix badly escaped dialog tooltip
...
Was commited to develop first (99a0e0c5 and 4f27f3ac )
2021-12-10 13:38:24 +01:00
Pierre Goiffon
69578d5d07
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-12-10 12:30:57 +01:00
Pierre Goiffon
97d6d413bb
N°4502 Fix dashboard page not refreshed after saving customm dashboard
2021-12-10 12:30:33 +01:00
Pierre Goiffon
7e0d5d64ce
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-12-10 09:21:43 +01:00
Pierre Goiffon
3f8f57fa9a
N°4502 Fix cannot create new or edit existing custom dashboard
...
Regression brought by dbaf9241
2021-12-10 09:15:43 +01:00
Pierre Goiffon
eb2a615bd2
N°4384 Security hardening
...
Module parameter flag for extensions
2021-12-09 12:08:23 +01:00
Pierre Goiffon
0432727ace
🎨 Reformat itop-tickets XML
2021-12-09 11:07:57 +01:00
Pierre Goiffon
e6d61d1ebd
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-12-08 17:16:33 +01:00
Pierre Goiffon
f916f9cde8
N°4289 Allow to use privUITransactionFile when no user logged
...
Before we were throwing a SecurityException, which was blocking for combodo-unauthenticated-form for example
2021-12-08 17:16:12 +01:00
Stephen Abello
5e61388b65
N°4495 Security hardening
2021-12-07 09:56:20 +01:00
Stephen Abello
910bbe1160
N°4501 Security hardening
2021-12-03 11:10:52 +01:00
odain-cbd
9addc4a7ca
Merge pull request #224 from Combodo/feature/dict-apcu-bug
...
Feature/dict apcu bug
2021-12-02 12:22:22 +01:00
odain
5ed71ecb96
N°4125 - fix file ending (hipska remark)
2021-12-02 12:21:54 +01:00
Stephen Abello
dab0e372d0
N°4499 Security hardening
2021-12-02 10:32:29 +01:00
Stephen Abello
dfd1d5fe35
N°4493 Security hardening
2021-12-02 09:54:31 +01:00
Stephen Abello
d289457c0c
N°4495 Security hardening
2021-12-02 09:39:10 +01:00
Stephen Abello
f52b3bff0d
N°4492 Security hardening
2021-12-01 15:53:52 +01:00
Stephen Abello
b6b17733bf
N°4491 Security hardening
2021-12-01 10:29:29 +01:00
acognet
c1c2d027c3
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Fix test
2021-11-30 12:11:04 +01:00
acognet
5269096ecd
Merge branch 'support/2.7' of github.com:Combodo/iTop into support/2.7
2021-11-29 15:07:14 +01:00
odain
e4c68936a0
N°4125 - log error in an apc channel
2021-11-29 09:23:05 +01:00
Pierre Goiffon
4db5d4c08d
N°4213 Allow all AttributeSet impl to be saved in portal
2021-11-26 17:14:01 +01:00
odain
3511867ba3
N°4125 - use Error log level + apc dedicated log channel
2021-11-26 17:07:20 +01:00
Pierre Goiffon
7934f9b9dc
N°4213 Fix EnumSet modifications cannot be saved in portal
2021-11-26 15:25:30 +01:00
Molkobain
7f2eef4a24
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-26 13:59:29 +01:00
Molkobain
8a65a592f3
N°4360 - Rename class to match other classes convention
2021-11-26 13:47:05 +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
c9c32b0de1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-26 10:58:30 +01:00
Pierre Goiffon
770ac8ffe5
N°4478 Fix "Requested unknown parameter '' for row 0, column 0" when opening search on related object
2021-11-26 10:58:17 +01:00
odain
dcfdb2d0a9
N°4125 - add integration test apart from ApcService mocking
2021-11-26 10:28:56 +01:00
odain
0cbf34ba5a
N°4125 - fix tests under windows (again)
2021-11-26 09:47:01 +01:00
odain
f1037147a9
N°4125 - phpdoc only coming from pull request
...
Thanks to Hispka and piRGoif
2021-11-26 09:17:19 +01:00
odain
bea52d5fb9
N°4125 - test did not run under windows
2021-11-26 09:12:58 +01:00
Pierre Goiffon
b6fac4b411
N°4384 Security hardening
2021-11-25 16:07:40 +01:00
Pierre Goiffon
d8a77c22a3
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/lib/datatables/js/dataTables.fixedHeader.min.js
# datamodels/2.x/itop-portal-base/portal/public/lib/datatables/js/dataTables.responsive.min.js
# datamodels/2.x/itop-portal-base/portal/public/lib/datatables/js/dataTables.scroller.min.js
# datamodels/2.x/itop-portal-base/portal/public/lib/datatables/js/dataTables.select.min.js
# datamodels/2.x/itop-portal-base/portal/public/lib/datatables/js/jquery.dataTables.min.js
2021-11-25 15:33:52 +01:00
Pierre Goiffon
ed3c387712
N°4478 Update Datatables lib
2021-11-25 10:55:48 +01:00
Pierre Goiffon
312a5b246b
N°4399 Fix memory error on setup when lots of attachment in DB
2021-11-24 16:55:34 +01:00
acognet
903de43589
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Add tests
2021-11-24 12:10:30 +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
65f9f86bcc
N°3635 DictionariesConsistencyTest : now we can have multiple possible localized language desc
...
The 'Español, Castellaño' to 'Español, Castellano' was causing problem on builds with other modules that we don't want to update !
2021-11-23 18:59:10 +01:00
Pierre Goiffon
efaf53e568
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/htmlsanitizer.class.inc.php
2021-11-23 18:07:02 +01:00
Pierre Goiffon
81a2a9278c
✅ N°4360 Fix SvgDOMSanitizer expected data
2021-11-23 17:38:30 +01:00
Pierre Goiffon
e15d4bfab6
N°4360 Security hardening
2021-11-23 17:25:50 +01:00
Pierre Goiffon
77880c3675
🌐 N°3635 ES dict : change 'Español, Castellaño' to 'Español, Castellano'
2021-11-22 08:55:08 +01:00
Pierre Goiffon
3559425fc1
N°°4463 Trigger : remove user rights check when controlling filter
2021-11-19 15:20:21 +01:00
Molkobain
d8c4251c03
Remove (some) redundant description in spanish translations
2021-11-19 11:27:46 +01:00
Pierre Goiffon
9437e689fd
N°3635 Update ES translations
...
Many thanks to Miguel Turrubiates !
2021-11-18 17:48:43 +01:00
Pierre Goiffon
a79459bc53
N°4162 Portal exception page : restore exception message
...
Was removed with Silex to Symfony migration
2021-11-18 14:56:17 +01:00
Pierre Goiffon
500bd15843
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-18 08:54:32 +01:00
Pierre Goiffon
3e8dd2f4a5
N°4286 Setup : fix loop in first steps
...
Setup token wasn't removed at the right place :/
2021-11-18 08:54:10 +01:00
Pierre Goiffon
d0fade9ce1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# pages/ajax.render.php
# setup/wizardsteps.class.inc.php
2021-11-17 17:39:36 +01:00
Pierre Goiffon
51a49dfce8
Remove warnings, use finally block, formatting
2021-11-17 16:10:50 +01:00
Pierre Goiffon
066b71686d
N°4286 Setup : restore backup download on WizStepDone
...
Setup token was put with N°2016 (6b5cc7c )
But later on we refactored the token handling in SetupUtils methods, and we had token removal in WizStepDone (43daa2ef ) : so the backup download cannot be done :/
2021-11-17 14:39:44 +01:00
Pierre Goiffon
be633001a5
Revert "N°4360 Security hardening"
...
This reverts commit 8adf743cc7 .
We will implement a different solution later (hopefully for 2.6.5 / 2.7.6 / 3.0.0 as well)
2021-11-17 11:13:29 +01:00
Pierre Goiffon
84426c6634
N°4365 Security hardening
2021-11-17 10:15:12 +01:00
Pierre Goiffon
dbaf924171
N°4363 Security hardening
2021-11-16 17:19:19 +01:00
Pierre Goiffon
8adf743cc7
N°4360 Security hardening
2021-11-16 12:01:16 +01:00
Pierre Goiffon
75450ded1d
N°4359 Security hardening
2021-11-15 16:38:11 +01:00
Pierre Goiffon
bcca6ac720
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-15 15:07:19 +01:00
odain
865f9f4f67
add @since annotation + @see from Hispka
2021-11-09 17:14:13 +01:00
odain
a7e54d4bad
N°4125 - fix infinite loop
2021-11-09 17:08:08 +01:00
Pierre Goiffon
2beb795f9a
N°4304 Security hardening
2021-11-09 11:32:53 +01:00
Pierre Goiffon
6847d8a5c7
N°4414 Startup error handler : fix message logged twice ( #243 )
2021-11-09 10:25:29 +01:00
Pierre Goiffon
06985d3cf2
N°4387 synchro_import restore previous set_time_limit call
...
Was changed in b1761e04 (iTop 2.7.0) by mistake
Added noinspection as the IDE warning (https://github.com/kalessil/phpinspectionsea/blob/master/docs/control-flow.md#statement-could-be-decoupled-from-foreach ) seems to be a false positive ?
2021-11-08 16:14:19 +01:00
Pierre Goiffon
8c7f7abaab
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# test/application/privUITransactionFileTest.php
2021-11-03 11:10:43 +01:00
Pierre Goiffon
e8d314e1f6
✅ N°4367 Fix \privUITransactionFileTest::testIsTransactionValid
...
* change user name for when password policy is active
* admin user doesn't exist on Jenkins : create a second user
* test UserRights::Login return value
* document that we depend on the sample data
2021-11-03 10:50:25 +01:00
Pierre Goiffon
e29f1825be
N°4367 Fix "redeclaration of const CombodoSanitizer"
...
The utils.js can be included more than once in old iTop branches :( This is fixed in 3.0.0 (develop branch)
Also add missing ";"
2021-11-02 17:14:16 +01:00
Pierre Goiffon
908a48e0a1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/transaction.class.inc.php
# test/application/privUITransactionFileTest.php
2021-10-21 15:09:50 +02:00
Pierre Goiffon
9b854dbcc7
N°4289 skip test (not working on Jenkins)
2021-10-21 14:52:59 +02:00
Pierre Goiffon
7757f1f2d2
N°4289 Security hardening
2021-10-21 12:43:03 +02:00
Pierre Goiffon
a353317746
N°4289 Fix privUITransactionFile generating error if MetaModel not loaded
2021-10-20 17:26:32 +02:00
Pierre Goiffon
723eb90160
N°4289 privUITransactionSession phpDoc
2021-10-20 17:25:58 +02:00
Pierre Goiffon
8ea5be4ead
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/transaction.class.inc.php
2021-10-18 14:32:27 +02:00
Pierre Goiffon
b3f827ed5e
N°4367 Security hardening
2021-10-18 14:27:58 +02:00
Pierre Goiffon
eaf8a187aa
N°3332 report function rename
...
The method was renamed in 18d52319 but only on support/2.7 and above
2021-10-18 11:36:17 +02:00
Pierre Goiffon
34f64c61f6
privUITransaction fix inspections errors + formatting
2021-10-18 11:32:38 +02:00
Pierre Goiffon
8154e718a1
N°4356 modifications after code review
...
Thanks @Molkobain !
2021-10-13 17:23:29 +02:00
Pierre Goiffon
b5369a0c03
N°4356 Fix portal attachment download
...
Was opening the attachment directly in the browser (HTTP header Content-Disposition set to 'inline' instead of 'download')
2021-10-13 12:10:22 +02:00
Eric
2bc61caab1
N°4207 N°4298 Fix data/.maintenance flag not removed by setup anymore
...
Was already fixed in the develop branch
(cherry picked from commit d0986c048a )
(cherry picked from commit 9126635cf2 )
2021-10-12 12:23:49 +02:00
Pierre Goiffon
8f0a5fcaf9
N°4231 Security hardening
2021-10-12 11:11:11 +02:00
Pierre Goiffon
fe3512cb5f
N°4335 Fix export with PHP < 7.0+
2021-10-11 17:05:30 +02:00
Pierre Goiffon
fdc987f367
Merge remote-tracking branch 'origin/support/2.7.5' into support/2.7
2021-09-29 17:51:17 +02:00
Pierre Goiffon
ec1dcc8df6
💡 N°3513 PHPDoc
2021-09-23 14:42:16 +02:00
Pierre Goiffon
47ed863da9
N°4215 N°3513 Fix DB errors fetch from the wrong object n°2
2021-09-23 14:32:43 +02:00
Pierre Goiffon
88290f9e91
N°4215 N°3513 Fix DB errors fetch from the wrong object
2021-09-23 13:55:23 +02:00
Pierre Goiffon
cfdbc8ae62
N°4215 When checking for TLS cnx, don't set anymore CMDBSource mysql attributes !
2021-09-23 11:59:44 +02:00
Pierre Goiffon
aaa8f6d311
N°4215 Fix call to a function on null error when setting TLS connection in the setup
...
Regression introduced by b1ca1f2630 / N°3513
2021-09-22 15:59:39 +02:00
Molkobain
1c983e8093
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/objectcontroller.class.inc.php
# pages/ajax.render.php
2021-08-18 16:12:22 +02:00
Molkobain
92a9a8c65f
N°4129 - Security hardening
2021-08-18 15:57:18 +02:00
Molkobain
27217815d1
N°2510 - Fix expand/collapse buttons of log entries in a list
2021-08-16 09:37:36 +02:00
odain
2fe4265223
N°4125 - Make translations loading more robust toward APCu cache corruption or invalid dictionnary - adaptations to get current correction accepted
2021-07-28 11:14:49 +02:00
Pierre Goiffon
2b71ea108a
Setup memory_limit check : clearer message
...
Now the current value is displayed as entered in the PHP conf
And the recommended value is displayed in a friendly format (32M instead of raw bytes value)
2021-07-27 11:37:05 +02:00
Pierre Goiffon
1aa5185c93
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# README.md
2021-07-21 12:19:52 +02:00
Pierre Goiffon
834ac00d37
📝 README : update latest releases
...
Was made in #143 but on develop only, but we are still maintaining older branches !
2021-07-21 12:15:22 +02:00
Molkobain
8e6379a112
Merge branch 'support/2.7.5' into support/2.7
2021-07-13 11:42:30 +02:00
Molkobain
da217a1cb3
N°4161 - Fix ManageBrick crash when no item listed
2021-07-12 18:10:22 +02:00
Pierre Goiffon
a683634a05
N°4126 Fix HTML escaped in \SetupUtils::CheckDbServer messages
...
As content is sent to JS returned to the AJAX request, we need to escape JS string delimiter (single quote)
We had previously a \utils::HtmlEntities call, but this isn't necessary as all content is generated internally, without calling any dict or extensibility interface.
2021-07-12 14:41:26 +02:00
Pierre Goiffon
69ad10785b
🔧 .editorConfig : disable PHP variables alignement
...
Still enabled for key/value pairs though ! Example in \UtilsTest::ConvertToBytesProvider
2021-07-05 12:34:20 +02:00
Pierre Goiffon
9aead898e2
Fix Wiki URL to use iTop Hub instead of wiki.openitop
...
Thanks @Molkobain and @Hipska !
2021-07-05 12:29:07 +02:00
Pierre Goiffon
a48ebfefba
N°4126 Change max_allowed_packet error message
...
Thanks @Molkobain !
2021-07-05 09:54:47 +02:00
Pierre Goiffon
4748717e50
N°4126 Improve max_allowed_packet checks messages
2021-07-02 10:10:35 +02:00
Pierre Goiffon
d90b1a3d82
🐛 N°4020 Fix syntax error for PHP < 7.1
...
`syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /var/www/itop274/setup/compiler.class.inc.php on line 61`
Was added in 1059befa
2021-07-02 09:26:03 +02:00
odain
ed719e13c7
N°4125 - Add a warning log when corrupted data returned by APCu
2021-07-02 08:53:58 +02:00
odain
2d705c6697
add autoload
2021-07-01 17:38:59 +02:00
odain
c98ad106c4
N°4125 - Make translations loading more robust toward APCu cache corruption or invalid dictionnary
2021-07-01 17:34:23 +02:00
Pierre Goiffon
3694108f42
N°3870 updateLicenses : fix generating wrong product names on Windows
...
Was including paths fragments.
Example :
<product scope="datamodels">C:\Dev\wamp64\www\itop-dev\.make\license/../..//datamodels/2.x/authent-cas/vendor/apereo/phpcas</product>
Instead of :
<product scope="datamodels">apereo/phpcas</product>
2021-07-01 17:20:55 +02:00
Pierre Goiffon
8cf75f826f
🔨 updateLicenses : add logs and replace rm -f by unlink()
2021-07-01 15:30:33 +02:00
Pierre Goiffon
ad9726b64c
🔧 .editorConfig : restore old ij_visual_guides value
...
Was overwritten by mistake in 19505649
2021-06-30 10:24:19 +02:00
Pierre Goiffon
e32e275f40
🎨 Align dataprovider elements
2021-06-29 16:45:34 +02:00
Pierre Goiffon
195056492e
🔧 .editorConfig : enable var alignement
2021-06-29 16:45:18 +02:00
Pierre Goiffon
af338de17f
🔨 Changelog generation script
2021-06-29 11:05:59 +02:00
Pierre Goiffon
a6aa183e26
🔖 Prepare 2.7.5
2021-06-28 15:03:17 +02:00
Pierre Goiffon
b5074c4cee
N°3806 Fix saying memory_limit isn't enough in CLI scripts and setup
...
This was caused by the strict comparison in \utils::IsMemoryLimitOk for the special "-1" value of memory_limit, which was added in c2f5cafa .
Fix was to change \utils::ConvertToBytes : it was returning original value when input was numeric (so if input is '-1' output was '-1') now it always returns an int (input '-1' output -1)
2021-06-28 14:53:39 +02:00
acognet
8b9589744b
N°4020 - timeout on updating the hierarchical key during setup - php 5.6 compatibility
2021-06-28 13:56:49 +02:00
Pierre Goiffon
8259a79cd2
🎨 Factorize LogAPI channels value in LogChannels class
2021-06-25 17:13:35 +02:00
acognet
a23ea9a01f
N°3678 - Portal : a modification of field cannot hide another one
2021-06-24 14:11:41 +02:00
Eric
949b213f9d
N°3513 - revert crud sequence
2021-06-24 13:32:43 +02:00
acognet
a940adc4ba
N°3678 - Portal : a modification of field cannot hide another one
2021-06-24 10:35:01 +02:00
Pierre Goiffon
5d994edd62
N°4012 Fix debug trace syntax
...
Thanks @Molkobain !
2021-06-23 17:26:34 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
acognet
58e315d7f6
N°4020 - timeout on updating the hierarchical key during setup - fix git ignore
2021-06-21 17:16:08 +02:00
acognet
1059befa39
N°4020 - timeout on updating the hierarchical key during setup
2021-06-21 16:39:58 +02:00
Eric
0f5130611d
✅ Fix log API tests
2021-06-21 16:07:36 +02:00
Eric
a1271da74a
N°3513 - ObjectFormManager : remove transaction
2021-06-21 15:03:17 +02:00
Denis
0d40235791
🗃️ N°3968 Fix mutex being silently released after connection timeout ( #209 )
...
Mutex are using their own DB connection
Because the `wait_timeout` isn't specified when opening the connection, it could be closed before we released the lock : if so the lock is silently released !
We are now setting this variable directly when opening the connection to avoid such case (setting 86400s, so 1 day : this should be enough !)
2021-06-21 12:33:15 +02:00
Pierre Goiffon
dd63f2b817
N°4012 Debug trace for objects lists in portal : ManageBrick and BrowseBrick
...
'portal' channel, debug level
2021-06-18 10:58:04 +02:00
Pierre Goiffon
8f84c3b84b
🎨 LogAPI code formatting
2021-06-18 10:58:04 +02:00
Pierre Goiffon
00c58bb245
💡 updateLicenses.php : copy phpdoc from develop branch
2021-06-17 17:11:30 +02:00
Eric
3a876d5c75
Log complete error on Memory Limit or max execution time
2021-06-11 09:36:01 +02:00
Pierre Goiffon
147916062b
🎨 Fix local variable names
...
Was copy/paste and wasn't consistent with the functionnality :/
2021-06-10 16:28:17 +02:00
Pierre Goiffon
0de6f98add
🔊 When ordering objects search list, log problems due to low max_input_vars php.ini option ( #211 )
...
iTop is sending large volume of data to the server, and those data can be truncated due to this php.ini option.
Now we are checking for common issues : if the data is truncated a log is done (IssueLog, warning level, no channel) and the corresponding column is set as not selected.
User will still see an inconsistent result, but we won't have PHP notices generated anymore, and a log can tell what caused the issue.
2021-06-08 18:43:43 +02:00
Pierre Goiffon
a076792e77
⬆️ N°3973 Update update pear/archive_tar
2021-06-08 18:16:12 +02:00
acognet
2d2a6857de
N°3797 - [MariaDB] crash while converting utf8mb4 + add index
2021-06-04 09:10:28 +02:00
Pierre Goiffon
373641e01d
🎨 Code formatting
2021-06-03 17:31:34 +02:00
Eric
d11eceac62
✅ N°4052 - OQL parser limit for huge request - fix CI
2021-06-03 17:07:17 +02:00
Eric
3965806fa0
N°4052 - OQL parser limit for huge request - add better feedback
2021-06-03 16:49:21 +02:00
Pierre Goiffon
2625d2da80
💡 PHPDoc
2021-06-03 15:29:13 +02:00
Eric
02d32a556d
N°4052 - OQL parser limit for huge request
2021-06-02 15:15:00 +02:00
Eric
71fcc6f026
N°4031 - OQL Error when AttributeObjectKey is used in JOIN condition
2021-06-02 14:45:03 +02:00
Purple Grape
7168860a0b
🌐 Improved chinese for 2.7 ( #218 )
2021-06-02 08:06:16 +02:00
acognet
684c88e0b8
N°4038 - Pop up erreur portail utilisateur
2021-05-31 23:43:58 +02:00
Eric
5691ca0327
✅ Fix CI
2021-05-28 08:48:47 +02:00
Eric
84741c19f0
N°4002 - code hardening (merge from support/2.6)
2021-05-27 16:36:00 +02:00
Eric
86f649affc
N°4002 - code hardening
2021-05-27 16:13:27 +02:00
Eric
4f5c987d8b
N°4002 - code hardening
2021-05-27 15:57:04 +02:00
Eric
e7b5953feb
documentation
2021-05-27 11:52:38 +02:00
Eric
e441e5e78a
documentation
2021-05-27 11:49:32 +02:00
Eric
6be9a87c15
N°3952 - code hardening (merged from support/2.6)
2021-05-27 09:55:16 +02:00
Eric
43daa2ef08
N°3952 - code hardening
2021-05-27 09:29:50 +02:00
Pierre Goiffon
caa2a05bf4
🔧 restore .editorconfig
...
Was moved to /test by mistake
And also editorconfig syntax was removed :(
Those mistakes were done in 7f15eed9
Thanks Molkobain, good catch !
2021-05-26 15:19:40 +02:00
Pierre Goiffon
fc39d8aca9
💡 PHPDoc type hinting
2021-05-26 14:24:29 +02:00
Eric
cf12578289
N°3452 - DB tools : better formatting
2021-05-26 12:14:14 +02:00
Pierre Goiffon
44952d1ea0
✅ Fix \UtilsTest::testIsMemoryLimit
2021-05-25 17:04:32 +02:00
Pierre Goiffon
7f15eed9a8
🔧 Update .editorconfig
...
* Preserve XML line breaks
* Add markdown
* Add editorconfig
2021-05-25 15:50:23 +02:00
BGdu38
c2f5cafaf3
Avoid setting memory_limit to lower value than the one already configured ( #215 )
...
Some scripts are setting the memory_limit PHP option : setup, csvimport and XLSX export. This was done to avoid crashing when dealing with such large amount of data.
But sometimes we were setting the value without any prior check, so we could actually lower the memory_limit value :/
Now this memory_limit change is done using \utils::SetMinMemoryLimit, which will call ini_set if and only if the current value is lower than the one to be set.
Setup calls (setup/ajax.dataloader.php and webservices/backoffice.dataloader.php) were left as is as they weren't subject to this bug, and also they are more complex (logging done on each case).
2021-05-25 12:03:19 +02:00
Pierre Goiffon
81822efa0f
💡 PHPDoc for \DBObject::ApplyStimulus
2021-05-25 10:52:12 +02:00
Pierre Goiffon
923a025f1c
🌐 N°4017 Report pt_br translations for TTO/TTR made in combodo-dispatch-incident
...
Those dict keys were wrongly duplicated in this module, but they are core iTop !
Original commit 75f00d993c
Thanks to @rokam !
2021-05-20 15:51:21 +02:00
Pierre Goiffon
a4b6f4e37c
👥 Add @rokam to contributors list
...
Thanks to him for his PT-BR translations !
2021-05-20 15:44:24 +02:00
Pierre Goiffon
f0c73451a2
🌐 N°4017 Report pt_br translations for TTO/TTR made in combodo-dispatch-userrequest
...
Those dict keys were wrongly duplicated in this module, but they are core iTop !
Original commit 9725897623
Thanks to @rokam !
2021-05-20 15:30:00 +02:00
acognet
db6e813cba
N°3945 - Password database is visible in the setup process
2021-05-18 17:34:57 +02:00
Pierre Goiffon
d74e3e6b42
💡 ItopTestCase : some PHPDoc
2021-05-18 17:16:04 +02:00
acognet
b740cb2afd
N°2540 - prevent the mysql password to appear on misconfigured servers
2021-05-12 08:17:35 +02:00
Molkobain
6ad3c40c42
Merge branch 'support/2.7.4' into support/2.7
2021-05-11 12:14:36 +02:00
Molkobain
f49c8ce188
Merge branch 'support/2.7.3' into support/2.7.4
2021-05-11 12:13:29 +02:00
Molkobain
acf828b72e
N°3995 - Portal: Fix loader not displaying in BrowseBrick for tree/mosaic modes with huge amount of data
2021-05-11 12:10:31 +02:00
Pierre Goiffon
bac92716f3
📄 Update Font Awesome license
...
Was duplicated...
And also not the correct license !
Source for new license text : https://github.com/FortAwesome/Font-Awesome/blob/master/LICENSE.txt
(modification already committed to develop : f8f9c2d7 )
2021-05-04 08:58:34 +02:00
bruno-ds
07257cc2d2
N°3671 - fix a code comment too evasive
...
thanks @Hipska
2021-04-21 09:25:10 +02:00
Pierre Goiffon
87ba67225a
💡 Add since phpdoc tags for \DeadLockLog::Log
2021-04-16 08:36:21 +02:00
Pierre Goiffon
2ad3b3c27e
🎨 Fix \DeadLockLog::Log parameter name + PHPDoc
...
Thanks @Hipska !
2021-04-15 15:03:13 +02:00
Molkobain
92a640e41a
Merge branch 'support/2.7.4' into support/2.7
2021-04-15 10:37:17 +02:00
Molkobain
842df7646b
Merge branch 'support/2.7.3' into support/2.7.4
2021-04-15 10:35:56 +02:00
Molkobain
01b38d2ed6
N°3869 - Portal: Fix the Notice "Undefined index: max_display_limit"
2021-04-15 10:34:46 +02:00
Molkobain
9af4846372
N°3810 - Avoid syntax highlighting that shouldn't take place
2021-03-23 16:39:22 +01:00
bruno-ds
91fc2d2e2b
N°3671 - reformat tests
2021-03-17 08:46:41 +01:00
Pierre Goiffon
2432ff77a3
💡 More details in PHPDoc for \utils::RealPath
2021-03-17 08:34:25 +01:00
odain
d229e08f02
prepare iTop release 2.7.4
2021-03-16 09:00:06 +01:00
odain
b5adb2e82b
N°3671: fix and make test more lisible
2021-03-15 19:01:09 +01:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +01:00
odain
5d0c61178b
N°3671 : persist absolute URL when setup context (force trustproxy enabled)
2021-03-15 14:34:56 +01:00
odain
3bcae734e5
N°3671 : persist absolute URL when setup context (force trustproxy enabled)
2021-03-15 12:27:05 +01:00
odain
842e8f9e01
php doc
2021-03-10 15:32:44 +01:00
odain
52cd4f7c5e
N°3788 - timeout/excessive duration during MTP - fix PostDbCreation
2021-03-09 11:44:25 +01:00
odain
995619af9b
N°3788 - timeout/excessive duration during MTP - increase timeout from 5 to 30s
2021-03-09 08:27:33 +01:00
odain
c842162fe2
N°3788 - timeout/excessive duration during MTP
2021-03-09 08:13:57 +01:00
odain
83f99642e0
N°3793 - Cleanup of orphan CMDBChange can hang the setup
2021-03-08 11:38:20 +01:00
bruno-ds
ae6a264d6d
N°3671 - fix typo in HTTP header name
2021-03-05 16:57:03 +01:00
bruno-ds
a06bf6ea7c
coding convention (thanks @molkobain)
2021-03-05 09:20:04 +01:00
bruno-ds
bb8d4a92cb
fix an indentation problem (thanks @Hipska)
2021-03-04 09:56:05 +01:00
bruno-ds
1429792690
N°3668 - fix an improper redirection to the homepage when iTop is behind a reverse proxy
2021-03-04 09:39:48 +01:00
bruno-ds
1f26b59d90
N°3671 - add an API endpoint (it will be used by N°3668 and N°3760) + some code cleanup asked by @molkobain
2021-03-04 09:32:13 +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
odain
d4607ee815
N°3065 - Failed enum comparison when values contains parenthesis : add a warning
2021-03-02 07:33:36 +01:00
odain
5c0e92d51a
N°3065 - Failed enum comparison when values contains parenthesis
2021-03-01 17:06:49 +01:00
bruno-ds
cd4b3fdaab
N°3764 - fix CI
2021-03-01 16:27:40 +01:00
bruno-ds
0030d5c2b8
N°3764 - add transactions_gc_threshold in order to tune CSRF token GC load
2021-03-01 15:30:40 +01:00
bruno-ds
95a0efedcf
N°3728 - security hardening
2021-03-01 15:28:34 +01:00
bruno-ds
13a1d32f56
N°3453 - portal export header fields are now localized
2021-02-26 11:47:34 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01: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
db13c105ad
N°3473 - PHPdoc
...
as requested by @piRGoif
2021-02-24 17:38:54 +01:00
bruno-ds
2276539f24
N°3430 - code cleanup
2021-02-24 16:50:14 +01:00
bruno-ds
9b7cd20d47
N°3473 - security hardening
2021-02-24 16:50:13 +01:00
bruno-ds
e1d644c33b
Merge remote-tracking branch 'origin/support/2.7' into support/2.7
2021-02-24 12:06:40 +01:00
bruno-ds
c601082a5e
3548 - disable core update if a file integrity problem is detected
2021-02-24 12:05:11 +01:00
Molkobain
5836be7131
Fix unit test
2021-02-24 09:49:16 +01:00
Molkobain
6f40bb4c35
Change check level to "warning" in order to keep consistency with the others
2021-02-24 09:29:42 +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
Molkobain
71c5f47cd8
PHPDoc
2021-02-19 09:37:53 +01:00
odain
74246a8278
N°3065 - Failed enum comparison when values contains parenthesis - enhance db model parsing used during setup comparison with expected one to generate SQL migration queries
2021-02-18 18:24:09 +01:00
bruno-ds
c450c9426c
Merge remote-tracking branch 'origin/support/2.7' into support/2.7
2021-02-18 16:29:44 +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
Pierre Goiffon
6e0af1a3b7
💡 Add variable typing
2021-02-18 13:21:06 +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
Molkobain
9d2fc883b8
Fix test name
2021-02-17 10:31:59 +01:00
odain
913ea0cef2
N°3412 - Command Injection vulnerability in the Setup Wizard - renaming
2021-02-17 10:22:21 +01:00
odain
82ba7f25b0
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:18:28 +01:00
odain
bb877a244b
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:09:39 +01:00
odain
a12959d60e
N°3412 - Command Injection vulnerability in the Setup Wizard - handle empty path
2021-02-17 07:50:18 +01:00
bruno-ds
83434b5506
N°3430 - add translations
2021-02-16 17:42:11 +01:00
bruno-ds
dcd4abe72b
N°3430 - security hardening
2021-02-16 17:33:49 +01:00
odain
571520815a
N°3412 - Command Injection vulnerability in the Setup Wizard - include test to CI
2021-02-16 17:25:45 +01:00
odain
e9cff0920b
N°3412 - Command Injection vulnerability in the Setup Wizard - fix test and code
2021-02-16 17:12:41 +01:00
odain
905ee19519
N°3412 - Command Injection vulnerability in the Setup Wizard
2021-02-16 15:57:12 +01:00
bruno-ds
0b95220d1b
N°3466 - Add (missing) translations
2021-02-16 09:46:04 +01:00
bruno-ds
e1b2a767f5
N°3142 - fix typos
2021-02-15 17:49:25 +01:00
bruno-ds
3058b2eb00
N°3142 - Add (missing) translations
2021-02-15 17:08:47 +01:00
Molkobain
38bc2d9d58
🔧 Change max line length in .editorConfig
2021-02-15 13:49:39 +01:00
Eric
c8e8778d7b
N°3468 - Fix extension.xml preventing extensions installation
...
(cherry picked from commit 92c8af1b19 )
2021-02-11 17:48:29 +01:00
bruno-ds
656fa3208a
N°3721 - revert the feature (will only be available on the 3.0)
2021-02-10 15:33:01 +01:00
bruno-ds
f647ce61c2
N°3721 - toolkit's "update iTop" with the "Create symbolic links" option checked now empty the compiled directory as expected
2021-02-10 14:34:21 +01:00
Eric
6b76e5a853
N°3618 - Count on union with different conditions fails (php doc)
2021-02-08 09:39:24 +01:00
Eric
dbb6e43751
N°3618 - Count on union with different conditions fails (Fix unit tests)
2021-02-05 11:28:40 +01:00
Eric
f07f0ba1c7
N°3618 - Count on union with different conditions fails (Fix multi-column attributes sql generation)
2021-02-05 10:15:14 +01:00
Pierre Goiffon
a5894c1a4c
Rename \Combodo\iTop\Test\UnitTest\ItopTestCase::InvokeInvisible* to InvokeNonPublic*
2021-02-04 09:41:56 +01:00
Eric
e06996a2e4
N°3660 - Fix JOIN without condition on child joined table is ignored (check done in optimizer)
2021-02-03 15:58:54 +01:00
Eric
2f0e7c6d29
N°3586 - Fix login window not correctly displayed
2021-02-03 09:15:56 +01:00
Eric
7115a6ae7d
N°3660 - Fix JOIN without condition on child joined table is ignored (remove unnecessary check)
2021-02-03 09:07:59 +01:00
Pierre Goiffon
765560d1f5
ItopTestCase : helpers to call invisble methods
2021-02-02 17:57:40 +01:00
Eric
bc024d9ed0
N°3660 - Fix JOIN without condition on child joined table is ignored
2021-02-02 17:30:03 +01:00
jbostoen
37a4a3eb47
🌐 Fix typo in Dutch translations ( #189 )
...
Co-authored-by: jbostoen <->
2021-02-01 16:21:10 +01:00
Pierre Goiffon
54e9bd5c8e
Merge branch 'support/2.6' into support/2.7
...
# Conflicts:
# .editorconfig
2021-01-25 09:13:43 +01:00
Pierre Goiffon
066a6d8b36
🔧 Use same .editorconfig in all supported branches
2021-01-25 09:12:38 +01:00
jbostoen
4123c6213d
🌐 NL : distinguish between approval (goedkeuring) <=> acceptance (acceptatie) ( #182 )
...
Co-authored-by: jbostoen <->
2020-12-21 14:08:29 +01:00
Pierre Goiffon
8265b9b034
N°3416 fix PHPDoc
2020-12-10 18:10:45 +01:00
Pierre Goiffon
c4756e8cec
Upgrade version n°
2020-12-08 18:47:24 +01:00
odain
37351d6b3e
N°3464: fix ci
2020-12-07 16:23:17 +01:00
odain
57a085eec1
N°3464: move fix in itop-fence + fix/enhance rest api test
2020-12-07 15:56:35 +01:00
odain
0019595923
N°3464: fix ci
2020-12-07 00:44:39 +01:00
odain
4d61c14f80
N°3464 add test in phpunit.xml.dit to validate the fix
2020-12-07 00:12:31 +01:00
odain
cf1b613923
N°3464 REST comment field not working anymore
2020-12-06 23:54:27 +01:00
Pierre Goiffon
1304e2eb2d
N°3416 Updates after code review v2 :)
2020-12-04 08:51:07 +01:00
Pierre Goiffon
3cf16627c1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# pages/ajax.render.php
2020-12-03 18:18:36 +01:00
Pierre Goiffon
4aaa237bf9
🔖 Prepare 2.7.3 version
2020-12-03 18:15:58 +01:00
Pierre Goiffon
cece15d10c
N°3416 Updates after code review
...
Many thanks @bruno-ds !
* add comments to explain intentions
* fix indentations
2020-12-03 17:45:44 +01:00
Pierre Goiffon
aa15e009cb
🔖 Prepare 2.7.2-2 version
2020-12-03 10:05:37 +01:00
Pierre Goiffon
b9ca2ac13d
N°3416 Fix DocumentFile preview not working anymore
...
Was caused by X-Frame-Options http header added with N°3317
(cherry picked from commit 35d77ff642 )
# Conflicts:
# pages/ajax.render.php
2020-12-03 08:20:51 +01:00
Pierre Goiffon
80e1e0e61a
N°3426 Fix no navigation menu on User object creation
...
Caused by a typo in js/forms-json-utils.js
Thanks @Molkobain !
2020-12-02 18:02:00 +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
Molkobain
1cf1473d6b
N°3469 - Fix variable declaration (let => var) 🤭
2020-12-02 17:01:00 +01:00
Molkobain
aa43425df3
N°3469 - Portal: Fix modal created without an ID
2020-12-02 16:59:39 +01:00
Pierre Goiffon
35d77ff642
N°3416 Fix DocumentFile preview not working anymore
...
Was caused by X-Frame-Options http header added with N°3317
2020-12-02 15:44:58 +01:00
acognet
539fa43503
N°3461 - Setup Broken with Chrome v87
2020-11-30 18:27:25 +01:00
acognet
eb537f45f4
N°3421 - Attributes of class Person are not accessible from :current_contact in portal anymore. Only attributes of class Contact are.
2020-11-30 09:24:35 +01:00
acognet
a2a4cd4e7a
N°3426 - Wrong tab is displayed when a creation or modification form is invalidated
2020-11-27 15:20:20 +01:00
Pierre Goiffon
35215cf62f
🌐 Fix typo in comma (2 "m" !!)
2020-11-26 18:34:07 +01:00
Pierre Goiffon
66273ebd39
Merge remote-tracking branch 'origin/support/2.7.2' into support/2.7
2020-10-30 18:08:01 +01:00
Eric
eebc29d2bb
N°3111 - Fix Portal export
...
(cherry picked from commit d3b57c3bda )
2020-10-30 14:16:57 +01:00
Pierre Goiffon
512b415bd6
N°3065 add test case in comment
2020-10-30 11:30:22 +01:00
Pierre Goiffon
906c8855b0
🔊 When error during CoreUpdate, show full file path instead of only basename
2020-10-28 18:32:49 +01:00
Pierre Goiffon
97d322a059
📝 N°3218 Add some PHPDoc on current change set/get
2020-10-27 15:17:17 +01:00
acognet
ada7f30793
N°3139 - import csv : hyperlink not clickable - replace htmlentities with utils::HtmlEntities() to ensure that the same options are used application wide.
2020-10-27 09:59:05 +01:00
Pierre Goiffon
b065d13374
Integration tests : add itop-community group
2020-10-27 09:46:03 +01:00
Pierre Goiffon
1f092f8418
🎨 Integration test code formatting
2020-10-27 09:45:26 +01:00
Pierre Goiffon
65d6947e52
🔖 Prepare 2.7.2 version
2020-10-22 15:06:48 +02:00
Pierre Goiffon
ba54b47f7d
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2020-10-22 10:27:36 +02:00
Pierre Goiffon
65e43e8d04
🔧 remove .gitflow as we don't have any master branch anymore
2020-10-22 10:10:15 +02:00
Pierre Goiffon
adb4e77c8d
🎨 MetaModel : function modifiers order + little formatting
2020-10-19 15:36:56 +02:00
Pierre Goiffon
d3cf7176da
📝 MetaModel : add comment on @deprecated added in 9c75cb4537
2020-10-19 15:34:15 +02:00
Pierre Goiffon
1cfb52d220
🐛 Fix CoreException constructor generating a warning on PHP >= 7.2
...
In the CoreException constructor, we're using the $aContextData parameter to do a count(), a foreach(), and uses values as string.
Only a null check was done.
Now we are also checking that the value is_array().
As others checks (Countable, Iterable, __toString() impl) are quite difficult depending on the PHP version we're running, we didn't add any other checks.
The call in \MatchExpression::__construct (added in 05a0d612 ) was passing directly an Expression object. We could embed it in an array, but the object hierarchy isn't implementing __toString so we would have another bug.
In consequence we removed this parameter.
2020-10-19 11:57:53 +02:00
Pierre Goiffon
18d5231900
N°3332 Security hardening
2020-10-19 09:25:30 +02:00
Pierre Goiffon
e6539ccb6e
🔧 Update .editorconfig : braces on next line for classes and functions
2020-10-19 09:09:31 +02:00
acognet
96332b7885
N°3139 - import csv : hyperlink not clickable
2020-10-16 14:15:51 +02:00
acognet
557b9be795
N°3377 - Allow to get data of current user - Fix Exception when using :current_user->... for non admin users
2020-10-15 17:31:25 +02:00
Pierre Goiffon
75ebecddd5
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/controllers/userprofilebrickcontroller.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/helpers/applicationhelper.class.inc.php
2020-10-14 09:19:07 +02:00
Pierre Goiffon
5fee2438ab
Fix comments : iTop 2.8.0 renamed to 3.0.0
2020-10-14 09:06:07 +02:00
Pierre Goiffon
2d130cbba8
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# test/core/UserRightsTest.php
# test/setup_params/default-params.xml
2020-10-12 12:47:58 +02:00
Pierre Goiffon
8b1c20cc11
N°3332 Security hardening
2020-10-12 12:40:51 +02:00
odain
0001e8ffc4
💚 use new ci validation
2020-10-09 10:13:51 +02:00
odain
df5aacca42
💚 use new ci validation
2020-10-09 10:08:31 +02:00
Pierre Goiffon
06acac97ba
✅ Fix tests
...
* update datamodel XML version
* Remove \Combodo\iTop\Test\UnitTest\Core\OQLTest::testTypeErrorQueryParser
2020-10-07 16:21:36 +02:00
acognet
2d6d1132c7
N°3262 - Avoid PHP notices on DBObject core code
2020-10-07 13:26:38 +02:00
acognet
ed0e16494d
N°3335 - Fix test
2020-10-05 16:23:56 +02:00
Pierre Goiffon
a765eb8725
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
2020-10-05 16:12:49 +02:00
Eric
1f53757318
N°3248 - code hardening
...
(cherry picked from commit 6a25933744 )
(cherry picked from commit f74c78d61c )
2020-10-05 14:54:17 +02:00
Pierre Goiffon
090119147c
🎨 PHP formatting
2020-10-05 14:42:03 +02:00
Pierre Goiffon
1551694198
N°3317 Security hardening
2020-10-05 14:42:03 +02:00
BenGrenoble
5d7ae38adf
Merge remote-tracking branch 'origin/support/2.7' into support/2.7
2020-10-02 10:51:59 +02:00
BenGrenoble
2e08ae571a
3354 change sie by Sie
2020-10-02 10:51:25 +02:00
Pierre Goiffon
37522459a8
N°3351 restore LogKPI calls in portal index
2020-10-01 18:02:31 +02:00
Pierre Goiffon
db8c26da17
📝 update PHPDoc for \Expression::IsTrue
2020-10-01 17:02:22 +02:00
BenGrenoble
93c91c4077
3354 remove now from "Bitte bestätigen sie, dass jetzt ein Backup erstellen wollen now."
2020-10-01 15:11:07 +02:00
Pierre Goiffon
e4b3871947
📝 PHPDoc for \Expression::IsTrue
2020-10-01 14:51:28 +02:00
Pierre Goiffon
b2474d3368
N°3324 Portal fix ignore_silo when using nested query in scopes
...
The AllowAllData attribute wasn't updated in the nested queries.
It is now set both when calling DBObjectSearch::AllowAllData and when creating a new nested query (\DBObjectSearch::AddConditionExpression)
2020-10-01 12:15:34 +02:00
Pierre Goiffon
6cd0670d6b
🎨 Fix parameter for all DBSearch::AllowAllData impl
2020-10-01 10:09:34 +02:00
Pierre Goiffon
e9f81bd978
🔧 Update .Editorconfig for braces always at eol
2020-10-01 10:09:34 +02:00
Eric
0cc5dc0471
N°3317 - Add http headers
2020-09-30 10:18:44 +02:00
odain
20ce42b24b
Reintegrate validation tests to ease iTop release management from develop
...
- N°3053 - Check XML conversion methods
- 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
- N°3061 - Automatically check the installation.xml consistency
- N°3268 Add test to check dictionary files: make sure that the Dict::Add declarations match the file name
2020-09-29 14:43:51 +02:00
Eric
d86e904e18
N°3317 - Add http headers
2020-09-29 14:11:11 +02:00
Eric
bef1832ac7
N°3317 - Add http headers
2020-09-29 14:07:24 +02:00
Eric
5a46bb8461
N°3320: Do not display empty tabs
2020-09-29 11:23:49 +02:00
acognet
05a0d61244
N°3335 - Notifications on threshold don't work when trigger is created on iTop 2.7.1 - nicer fix
2020-09-29 10:27:05 +02:00
acognet
80b3212a19
N°3335 - Notifications on threshold don't work when trigger is created on iTop 2.7.1
2020-09-29 09:12:47 +02:00
Molkobain
794d4f1e0e
N°3310 - Fix corrupted backups when a file has a size which is a multiple of 512 bytes
2020-09-28 14:31:36 +02:00
Molkobain
389b61d3a8
Fix missing author information in composer.json for TCPDF lib.
2020-09-28 14:29:51 +02:00
Molkobain
0948e80060
N°3320 - Fix empty tabs being displayed (misuse of the API or user rights)
2020-09-28 14:10:19 +02:00
odain
9520d2794f
💚 fix ci Serialization of 'ReflectionClass' is not allowed
2020-09-25 10:29:48 +02:00
Pierre Goiffon
e2c67dfcc4
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2020-09-25 08:57:08 +02:00
odain
4e0eed6e13
N°3270 Notify on expiration not sending notification (trigger exception)
...
add boilerplate function and use it to intercept/enrich trigger exception loops
2020-09-25 07:18:14 +02:00
Pierre Goiffon
45e366745d
N°3333 Security hardening
2020-09-24 17:34:57 +02:00
Pierre Goiffon
1e634a8bba
N°3332 Security hardening
2020-09-23 17:17:05 +02:00
Eric
94b9a9bb75
N°3309 - Spelling mistake
2020-09-22 12:51:43 +02:00
Eric
0c90b701ea
N°3283 - Spelling mistake
2020-09-22 12:45:19 +02:00
Eric
58961cd4ec
N°3318 - don't display error details
2020-09-22 11:57:43 +02:00
Eric
1453558f3e
N°3317 - Add http headers
2020-09-22 11:39:19 +02:00
Eric
c6df0b6d7d
N°3311 - Stop capturing output before sending backup file (avoid memory problem)
2020-09-22 11:03:59 +02:00
Pierre Goiffon
7c3659d5ba
🔧 Remove versionned PHPStorm files
...
Those files were duplicates of the .editorconfig file
.editorconfig was pushed with ecd8f40c0f for 2.7.0 and should be the only source of the IDE / editor configuration
This generic format is implemented in PHPStorm since v2019.2 (see https://blog.jetbrains.com/idea/2019/06/managing-code-style-on-a-directory-level-with-editorconfig/ )
To check if your IDE / editor supports it, check https://editorconfig.org/
2020-09-18 18:26:31 +02:00
Pierre Goiffon
dd942997cb
🎨 Fix invalid formatting introduced in 827b4b5bbe
2020-09-18 14:22:28 +02:00
Pierre Goiffon
57fea03745
🔧 Fix editorconfig for JS files
2020-09-18 14:21:47 +02:00
Pierre Goiffon
827b4b5bbe
🎨 Fix string delimiter
...
Thanks @jbostoen for pointing this out (see discussion in 0773660ef2 )
2020-09-18 14:15:41 +02:00
Pierre Goiffon
7de59c1977
Update .editorconfig
2020-09-18 10:19:38 +02:00
Pierre Goiffon
c34c4bc09d
📝 Fix CRUD wiki page URL
...
was linking to Combodo private wiki :/, now is the public one \o/
Many thanks @Hipska !
2020-09-14 15:05:44 +02:00
Pierre Goiffon
bced819b3f
📝 N°2293 PHPDoc for DBObject::GetOriginal
2020-09-14 14:26:29 +02:00
acognet
23136bdf00
N°3303 - Bug on Mass update of actions (notification)
2020-09-11 09:53:23 +02:00
odain
98c371c5cf
add new code style for brackets
2020-09-07 16:12:12 +02:00
acognet
1e0415e902
3234 - php 5.6 compatibility
2020-09-07 12:14:38 +02:00
Eric
dbada2f72a
N°3238 - Fix multi-words search in FilterBrick and ManageBrick
2020-09-04 17:34:59 +02:00
Eric
9694e9848d
N°3285 - Fix Standard Global Search: multiple words search
2020-09-04 09:27:39 +02:00
bruno-ds
fe87700135
Un-deprecate ItopExtensionsExtraRoutes::AddRoutes(...)
...
we had imagined it as a compatibility layer for migrating from Silex to Symfony,
but it must'nt be deprecated until we provide a new API (ideally based on a scan of yaml configuration file?)
2020-09-03 16:43:30 +02:00
Eric
7107c2f616
N°3260 - Fix rendering of an ExternalField on a Text with XML content (format transitivity)
2020-09-02 18:15:31 +02:00
Eric
92e0f101d7
N°3260 - Fix rendering of an ExternalField on a Text with XML content (format transitivity)
2020-09-02 17:58:04 +02:00
acognet
29624bc5c5
N°3163 - Portal Filters doesn't work
2020-09-01 14:16:16 +02:00
acognet
d09f3f4f83
N°3149 - Change Color of Brick Search on Portail with extension Custom
2020-09-01 10:55:48 +02:00
acognet
f774a90b7e
N°3146 - Affichage des class user dans l'import CSV
2020-08-31 17:15:59 +02:00
acognet
fef8038f70
N°3261 - Configure this list : sort icon disappears when descending sort is selected
2020-08-31 15:11:47 +02:00
bruno-ds
2806a76c1d
:greenheart: test readability
2020-08-31 14:47:55 +02:00
Eric
328ec52c88
N°3162 - Remove default admin phone number (can be incompatible with validation pattern)
2020-08-31 11:38:24 +02:00
Eric
70734e2b71
N°3188 - Fix LIfeCycle visualization details
...
Fix js broken by the fix of N°309
2020-08-28 17:28:52 +02:00
Eric
bb892cc180
N°3078 - Fix error on login while in maintenance mode
2020-08-27 17:10:37 +02:00
acognet
4618f12d8a
N°3234 - Notify on expiration not sending notifications
2020-08-21 18:50:27 +02:00
odain
d12e2e592a
N°3265 - Log stacktrace when cron exception raised with debug enabled
2020-08-21 10:25:05 +02:00
Eric
6a25933744
N°3248 - code hardening
2020-08-18 17:21:48 +02:00
Pierre Goiffon
208ccfe3ab
N°3257 Fix cannot create objects with AttributeImage from extkey widget on PHP 7.4
2020-08-18 17:13:37 +02:00
Eric
f74c78d61c
N°3248 - code hardening
2020-08-18 17:02:46 +02:00
Eric
6176af089c
N°3256 - Invalid filter parameter, when using & (ampersand) in filter parameter (OQL Query)
2020-08-18 14:41:18 +02:00
odain
a35b2d83b7
Cancel functionnal changes to make sure they are ok in next release (develop/2.8) first
2020-08-07 15:17:24 +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
Pierre Goiffon
07bd6b8539
N°3219 cron : reset CMDBChange for each process
2020-08-04 09:44:20 +02:00
Pierre Goiffon
1148449bb7
📝 Add missing @since on \DBSearch::GetFirstResult
2020-07-29 17:21:15 +02:00
jbostoen
11d418fd49
🌐 Dutch translations: fix use of ITOP_APPLICATION, ITOP_APPLICATION_SHORT
...
* Fix incorrect ITOP_APPLICATION, ITOP_APPLICATION_SHORT
2020-07-28 16:26:16 +02:00
Eric
ace676dc24
N°2585 - Fix alias problem in portal scopes
...
The re-aliasing map structure now allows multiple mapping for the same alias (used for the translations of UNIONS)
2020-07-23 16:41:57 +02:00
Eric
8122270476
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fix regression in Unit tests
2020-07-22 17:30:38 +02:00
Eric
1f66d53ab4
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fixed AddCondition_ReferencedBy() for unions (regression introduced by N°2970)
2020-07-22 16:09:08 +02:00
Eric
dfaeca43e4
N°3148 - OQL request malformed
...
Fix variables in ListExpression
2020-07-22 10:06:11 +02:00
Eric
5b04143711
N°3111 - Fix Portal export
2020-07-21 16:39:55 +02:00
Eric
bd14096d43
N°3150 - Wrong count for archived objects
2020-07-21 14:21:55 +02:00
Eric
3b20be05cb
3189 - DBTools enhancements
...
* Add CLI command bin/report.php to generate report offline
* Keep the latest report in log/dbtools-report.log in order to visualize it with "Log management" menu
2020-07-21 14:08:36 +02:00
Eric
fdec608c3e
N°3174 - Remove stack trace from MySQLException
2020-07-16 18:09:44 +02:00
Eric
72cb3de50d
N°3173 - Installation issue with PHP 7.4 (fix php notice)
2020-07-16 17:23:21 +02:00
Eric
c03d32b423
N°3180 - Allow HTML in dictionary for login screen ('UI:Login:About')
2020-07-16 15:28:49 +02:00
Eric
94f9b16c03
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
...
Add ListParameters to DBSearch for nested queries
2020-06-24 15:18:11 +02:00
acognet
311aeb0b07
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
2020-06-24 12:09:55 +02:00
acognet
68fe3f01be
Spelling corrections
2020-06-23 17:38:24 +02:00
acognet
7ce94486bd
Spelling correction
2020-06-23 13:49:53 +02:00
acognet
6523b34d58
Update version number for 2.7.1
2020-06-23 11:19:44 +02:00
bruno DA SILVA
be20705449
Add unit test.
...
unit test the behaviour of the removal of the blacklisted html tags
this is in fact an adaptation of the test added for the rolled-back feature of the n°2556.
This feature has been postponed to the 2.8 due to performance scaling issues.
2020-06-22 16:13:31 +02:00
acognet
e7abaa2838
Update dictionnaries
2020-06-22 15:50:18 +02:00
Pierre Goiffon
8d73eb6dff
Revert "N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)"
...
This reverts commit 746b47bb0e .
Revert "N°2556 - Repair CI"
This reverts commit 79909fadc0 .
2020-06-22 11:36:46 +02:00
acognet
f84995a58f
N°309 - Afficher les arbres pliés ou dépliés
2020-06-19 18:45:26 +02:00
acognet
7f66e26b5f
Merge remote-tracking branch 'origin/support/2.7' into support/2.7
2020-06-19 12:27:35 +02:00
acognet
a6639b067f
N°309 - Afficher les arbres pliés ou dépliés
2020-06-19 12:26:08 +02:00
Pierre Goiffon
8a6d66effd
📝 Fix PHPDoc
2020-06-18 11:08:18 +02:00
Pierre Goiffon
6885d64124
📝 N°1418 DBObject PHPDoc
2020-06-17 19:03:29 +02:00
acognet
6fa153ae8b
N°3107 - Remove code merged by mistake
2020-06-17 15:20:52 +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
aca0143e89
📝 PHPDoc for BackgroundProcess exceptions
2020-06-17 09:25:38 +02:00
Pierre Goiffon
1968c60770
📝 \DBObjectSet::ToArray PHPDoc
2020-06-16 12:32:57 +02:00
Pierre Goiffon
26014f410a
Set back version for 2.7.1
...
Was set to 2.8 by mistake in 23afee51 (PR #125 that was rebased in GitHub web)
2020-06-15 15:49:01 +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
2705543efd
N°2997 new test for AbstractWeeklyScheduledProcess
...
Document the way GetNextOccurrence works O:)
2020-06-12 18:20:07 +02:00
Pierre Goiffon
1e6b885301
SetupUtils : add missing public access keyword for methods
2020-06-12 16:50:04 +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
Eric
d4b93f3bf0
N°2641 - Create a dedicated ErrorPage for fatal errors
2020-06-11 17:16:47 +02:00
acognet
6354c62c2b
N°3012 - Fix blocking MTT/MTP when /extensions
2020-06-11 14:13:27 +02:00
acognet
cf8a12fe95
PMP light first version - small evolutions
2020-06-10 10:44:18 +02:00
acognet
36804dfcf4
N°3098 - Portal with IE : apply a transition ends with blank page
2020-06-10 10:44:17 +02:00
Eric
6966c0498a
N°3071 - fix missing index for AttributeSet (for migration)
2020-06-08 16:50:32 +02:00
Eric
bbffc40ee0
N°3074 - Fix dashlet creation for IE
2020-06-08 16:20:41 +02:00
acognet
1b7473365d
N°3075 - Fix syntax error with PHP 5.6 and TCPDF 6.3.4
2020-06-05 17:03:46 +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
d195c2b4c9
N°3071 - fix missing index for AttributeSet
2020-06-04 17:04:07 +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
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
Eric
8064a20718
N°2970 - Reset conditions of joined filter because they can be used later by the Filter() method
2020-06-03 11:47:12 +02:00
acognet
f301a283e2
N°3015 - Fix "Undefined index: login_mode" Notice
2020-06-02 16:04:50 +02:00
Pierre Goiffon
e6a8f492d5
N°3049 Fix notice when having an ENUM field with values containing parenthesis
2020-05-28 15:38:21 +02:00
Pierre Goiffon
336637a7a4
SetupLog : ease changing manually the default level
...
In setup no conf file available so the log_level_min config option cannot be read
A solution is to manually change this constant
2020-05-28 11:40:22 +02:00
acognet
0e5a501b2a
N°3012 - Fix blocking MTT/MTP when /extensions
2020-05-27 10:13:44 +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
acognet
7f922560ba
N°1976 - Duplicate Service on Customer Contract - formating code
2020-05-27 09:35:02 +02:00
acognet
d2e286345e
N°1976 - Duplicate Service on Customer Contract
2020-05-27 09:30:52 +02:00
Pierre Goiffon
fb120bdc7c
Merge remote-tracking branch 'origin/support/2.7.0' into support/2.7
2020-05-26 08:44:21 +02:00
Pierre Goiffon
5548997f3e
📝 README : fix for 2.7.0-2
2020-05-26 08:43:11 +02:00
bruno DA SILVA
156828c448
Merge branch 'feature/2958_unescape_slack' into support/2.7
2020-05-25 16:07:05 +02:00
bruno DA SILVA
04ef2b0454
2958 - test a restore
2020-05-25 15:52:37 +02:00
bruno DA SILVA
076d2e3d46
2958 - test a failure
2020-05-25 15:51:42 +02:00
bruno DA SILVA
0c6ab86e54
2958 - Slack notification : fix escaped branch name
2020-05-25 15:34:18 +02:00
bruno DA SILVA
876db3e58f
2958 - Slack notification : fix escaped branch name
2020-05-25 15:32:16 +02:00
Molkobain
5f7fe345cc
Update README with iTop 2.7.0-2 information
2020-05-20 10:23:18 +02:00
Molkobain
cb6f78c9e3
Update README with iTop 2.7.0-2 information
2020-05-20 10:22:34 +02:00
acognet
8c86908652
N°3023 - Portal: Fix filter brick input not working in IE11
2020-05-19 10:17:27 +02:00
acognet
7e69256cb4
N°2668 - Notifications - Export wrong attribut format in html
2020-05-18 21:52:31 +02:00
acognet
83e3c089a4
N°1976 - Duplicate Service on Customer Contract
2020-05-18 21:51:29 +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
Eric
e2f15ca24a
🌐 Add ES_CR translations to Application Upgrade Menu
...
From PR#128 by Federico Lazcano
2020-05-15 14:39:22 +02:00
Eric
7628b85b70
🌐 Add ES CR translations for DB Tools
...
From PR#127 by Federico Lazcano
2020-05-15 14:13:24 +02:00
Eric
525f600c18
🌐 Config Menu title should be uppercase
...
From PR#126 by Federico Lazcano
2020-05-15 14:04:15 +02:00
Pierre Goiffon
0ffa2850ea
Deadlock log : log inside a dedicated log file instead of creating an EventIssue object ( #139 )
...
First log implementation (75730ee ) was creating EventIssue objects, and was rollbacking transaction if it exists
The new one has some benefits :
* always log one line by default in log/error.log, but details must be activated though config (channels `Deadlock-WaitTimeout` and `Deadlock-Found`)
* detailed logs are in a dedicated file (log/deadlock.log) :
- easier for our clients to get and share
- has rotation by default
- looking at the file size is a direct way to know if error happened
- more compliant to industry standards !
* the transaction stays untouched, so that the consumer can do whatever it prefers
2020-05-14 17:49:05 +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
Pierre Goiffon
730570f1f8
📝 MFCompiler language injection
2020-05-14 11:43:57 +02:00
Pierre Goiffon
80ce1eb125
N°2984 Security hardening
2020-05-14 11:33:48 +02:00
Pierre Goiffon
228a945da9
N°2984 Security hardening
2020-05-14 11:26:35 +02:00
bruno DA SILVA
79909fadc0
N°2556 - Repair CI
2020-05-14 10:49:31 +02:00
bruno DA SILVA
746b47bb0e
N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)
...
forbidden list: see $aTagsContentRemovableList
2020-05-14 10:33:30 +02:00
acognet
150d3e096d
N°2346 - Function GetTrackOrigin() doesn't return good value during csvimport
2020-05-13 23:55:26 +02:00
Thomas Casteleyn
23afee514d
🌐 Update nl.dictionary.itop.ui.php ( #125 )
2020-05-13 14:38:32 +02:00
acognet
48c5698f08
N°2934 - Backoffice theme: Add variable for menu group background color
2020-05-13 12:22:35 +02:00
acognet
1a4ee0f977
N°1953 - Dashlet Title alignment not consistent : Left on List, Center on Table/Pie/Chart
2020-05-13 12:22:35 +02:00
Eric
1ca39618e1
N°1610 - Fix [DBObject] ExecAction - apply_stimulus
...
removed unnecessary test
2020-05-13 11:38:22 +02:00
Eric
7bb1f9f423
N°2937 - fix export error on EventIssue object
2020-05-13 11:24:34 +02:00
Pierre Goiffon
834297e675
N°2985 Security hardening ( #140 )
...
Thanks @bruno-ds for the review !
2020-05-13 10:04:40 +02:00
bruno DA SILVA
21c2574cd9
N°2358 - Fix deletion of a single replica within a list
2020-05-13 09:37:36 +02:00
Pierre Goiffon
6d9923be68
AbstractWeeklyScheduledProcess fix typo and add @noinspection
2020-05-13 08:45:03 +02:00
bruno DA SILVA
839bbc425f
N°2901 Add log to help diagnose lost InlineImage
...
they are disabled by default, use this to enable:
```
'log_level_min' => array(
'InlineImage' => LogAPI::LEVEL_TRACE,
'UserRequest' => LogAPI::LEVEL_TRACE,
),
```
2020-05-12 15:34:13 +02:00
acognet
70cc19768a
N°1953 - Dashlet Title alignment not consistent : Left on List, Center on Table/Pie/Chart
2020-05-12 14:48:56 +02:00
acognet
873d109b98
N°1910 - iTop - Search on Text contains "_" not working - move correction in other place
2020-05-12 14:48:16 +02:00
Eric
a81950571a
N°1598 - Fix regression on modify
2020-05-12 14:21:34 +02:00
Eric
bcd9679957
N°3006 - Fix filtering an UNION with parent class
2020-05-12 12:08:18 +02:00
Eric
2c10913fe5
N°2093 - Keep object values when a stimulus action fails
2020-05-12 11:29:30 +02:00
Eric
0342b89481
N°1598 - warning for bad stimulus instead of fatal error
2020-05-12 11:01:04 +02:00
Pierre Goiffon
3c9318d56a
N°2990 Fix count warning on audit OQL error
2020-05-12 09:41:24 +02:00
Pierre Goiffon
30d10b6f11
N°2990 Security hardening
2020-05-12 09:40:58 +02:00
acognet
3fd55c6dd6
N°1693 - the history of AttributeEncryptedString must not interpret HTML tags
2020-05-11 12:14:55 +02:00
Pierre Goiffon
f8e39877b3
N°2988 Security hardening
2020-05-07 11:49:58 +02:00
Pierre Goiffon
0a3f7d7ef7
N°2989 ajax.backup small updates
...
* update copyright
* in messages replace iTop by constant
2020-05-07 11:18:21 +02:00
Pierre Goiffon
222eb47bd2
N°2989 ajax.backup : refactor exit conditions
...
Adding a die() call so that we are sure to exit on errors !
2020-05-07 10:49:05 +02:00
Eric
c15b3462d1
N°2945 - Adding an empty file as an attachment is generating a fatal error
...
Changed error message
2020-05-07 08:49:05 +02:00
Pierre Goiffon
32f05ea917
👥 Added Pascal Schirrmann as contributor (N°2980, thanks to him !)
2020-05-07 08:36:53 +02:00
Molkobain
6a50b55a2a
N°1598 - Improve user feedback on invalid transition: Display a better error message to the user in the portal
2020-05-06 16:58:25 +02:00
Eric
72f11c6a4d
N°2815 - Fix basic authentication with Apache
...
Added support for REDIRECT_HTTP_AUTHORIZATION
2020-05-06 11:35:56 +02:00
Eric
609ea47f7b
PHPDoc
2020-05-06 10:29:47 +02:00
Pierre Goiffon
74b3cfd46c
Merge remote-tracking branch 'origin/support/2.7.0' into support/2.7
2020-05-06 10:13:15 +02:00
acognet
f7ea6c09cd
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
2020-05-05 19:00:24 +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
Eric
5ccb1ef72a
N°1662 - Fix Auto-complete on external key ignore obsolescence user preference
...
ValueSetObjects now consider obsolete data
2020-05-05 11:14:59 +02:00
Pierre Goiffon
180da03f08
N°2980 Fix backup not executed anymore
...
Regression introduced by #89
2020-05-05 09:00:40 +02:00
Pierre Goiffon
7ec7626aa0
N°2977 PHP Doc change
2020-05-04 18:13:40 +02:00
Eric
f92a980b4d
N°2974 - Fix Global Search doesn't search in external field.
...
For External Field, allow the search also for FriendlyNames.
2020-05-04 18:13:18 +02:00
Pierre Goiffon
5d7582bb6f
N°2977 LogAPI : restore default log level to OK, and really allow LEVEL_DEFAULT overloads
...
* Level was changed by mistake to trace with refactoring in 289171b9
Thanks @v-dumas !
* self wouldn't allow to override
see https://www.php.net/manual/fr/language.oop5.late-static-bindings.php
Thanks @bruno-ds !
* improve PHPDoc !
2020-05-04 16:55:46 +02:00
bruno DA SILVA
7a40db94fb
2424 - Better messages when an object update fail & removed an unwanted webserver error log entry
2020-05-04 12:00:30 +02:00
Eric
843798505a
N°2974 - Fix Global Search doesn't search in external field
...
The IsSearchable() check was wrong for some attributes
2020-05-04 11:40:02 +02:00
Pierre Goiffon
bf13f9fc8a
N°2975 improve RotatingLogFileNameBuilder next cron occurrence computation
2020-04-30 08:41:55 +02:00
Pierre Goiffon
289171b9f1
N°2977 LogAPI : allow to overwrite the default log level
2020-04-29 15:16:45 +02:00
Pierre Goiffon
9b065ffb0a
Merge remote-tracking branch 'origin/support/2.7.0' into support/2.7
...
# Conflicts:
# datamodels/2.x/itop-attachments/renderers.itop-attachments.php
2020-04-29 09:00:10 +02:00
Pierre Goiffon
96d888fcf3
N°2968 fix email-reply notification not updated
...
- add a specific container for attachments list, upload button and #attachment_plugin hidden input is outside of it
- refactor code between abstract class and implementation, add some comments
- now refreshes only the attachment list instead of the whole content
2020-04-28 17:47:20 +02:00
Vladimir Kunin
a182a37139
Add Russian translations for 2.7.0-1 (rebased)
2020-04-28 08:42:17 +02:00
Pierre Goiffon
23c15c1b6c
Revert "N°2902 - Intersect with union generates unwanted alias renaming"
...
This reverts commit 866e4ab995 .
Fix isn't yet commited, so we don't want to break the build.
The fix will be done in the hotfix/2902_intersect_alias branch
2020-04-27 09:36:38 +02:00
Eric
866e4ab995
N°2902 - Intersect with union generates unwanted alias renaming
2020-04-24 18:32:40 +02:00
Eric
75730eeea0
Log database deadlocks in EventIssue
2020-04-23 15:25:12 +02:00
Pierre Goiffon
58fd8709be
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# css/css-variables.scss
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2020-04-22 11:14:59 +02:00
Eric
f18ea18a5b
N°2936 - TLs option is not set for restore function
2020-04-21 16:59:16 +02:00
Pierre Goiffon
1904bfdba6
css-variables : update to 2.7.0-2
2020-04-21 16:35:41 +02:00
acognet
e1949cd3eb
N°2509 - Change Columns via "Configure this list" show obsolete data though user preferences is "not shown obsolete data"
2020-04-21 12:45:59 +02:00
Eric
1b2d3d1e84
N°2952 - Provisioning for hybrid auth fails
...
Changed Origin for change to an allowed value
2020-04-21 11:59:48 +02:00
Pierre Goiffon
c5b1f02d2b
🔖 Update versions to 2.6.4
2020-04-21 08:52:42 +02:00
Pierre Goiffon
f81ab4d71a
🚀 Release tool to update versions
...
Was already comitted in 2.7 branch (fd1e17cc )
2020-04-21 08:50:25 +02:00
acognet
0b95dbee7f
N°1588 - Count on Managed Brick sometimes wrong
2020-04-20 16:31:56 +02:00
Pierre Goiffon
db593ff85e
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/loginwebpage.class.inc.php
# application/menunode.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/aggregatepagebrickcontroller.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/userprofilebrickcontroller.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/views/bricks/manage/popup-export-excel.html.twig
# pages/ajax.render.php
2020-04-20 16:05:56 +02:00
Eric Espié
1f750bb12d
N°2902 Fix alias renaming when already exists in one OQL of an UNION
...
The legacy impl is not modified
2020-04-20 14:59:56 +02:00
Pierre Goiffon
4ee66377ce
Merge commit '15e5e21a89a3d3214dace82b8765a47e304a8f29' into support/2.7
2020-04-20 14:21:55 +02:00
Eric
432a950f8c
N°2945 - Fix fatal error when adding empty attachment
...
alert when empty attachment is detected
2020-04-20 10:54:27 +02:00
acognet
bbc751bee4
N°2383 - GetAttributeFlag ignored on form refresh with dependent field
2020-04-14 17:56:27 +02:00
acognet
a77ba2fbab
N°2564 - Stop copy after "<" character in a Copy operation on a Transition - change only in Copy function
2020-04-14 17:56:27 +02:00
Eric
5b60ec9edf
N°2919 - Dashboard - Fix dashboard not saved
...
the sanitization was too strong. Some names can contain ':'
2020-04-10 18:11:36 +02:00
Eric
b88b9dabdb
N°2919 - Dashboard - Fix dashboard not saved
...
The sanitization was too strong. Some names can contain ':'
2020-04-09 17:59:52 +02:00
Eric
06b17e82db
N°2755 - Security hardening
2020-04-09 11:03:07 +02:00
Eric
2add79a473
N°2853 - Security hardening
2020-04-09 10:55:17 +02:00
Molkobain
3103f361a4
Update 2.7.0-1 release date
2020-04-08 11:02:03 +02:00
Eric
3a37e24496
N°2306 - Security hardening
2020-04-08 09:28:20 +02:00
acognet
621295199c
N°1402 - Attribut File cannot be emptied Add a trash next to the name of the file
2020-04-06 16:36:46 +02:00
Eric
b1d703bff3
N°1671 Portal: Fix Aggregate Brick when user profile is not allowed to see one of the sub-brick
2020-04-06 14:07:42 +02:00
Eric
a3a34a94e7
N°1355 - Security hardening
2020-04-06 11:47:57 +02:00
Stephen Abello
6edc365685
N°2742 - HTML files preview are now raw text only
2020-04-06 09:47:24 +02:00
Stephen Abello
4b7f736af0
N°2755 - Security hardening
2020-04-06 09:42:41 +02:00
Stephen Abello
016fbaed36
N°2755 - Security hardening
2020-04-06 09:42:15 +02:00
Stephen Abello
bfcd137e52
N°2853 - Security hardening
...
(cherry picked from commit d01caaf4e4 )
2020-04-06 09:37:58 +02:00
Stephen Abello
f9af8fc912
N°2855 - Security hardening
...
(cherry picked from commit c5c7fd5c85 )
2020-04-06 09:20:02 +02:00
Eric
c1a7a36896
Compatibility with MySQL 5.6
2020-04-06 09:02:06 +02:00
acognet
d5fe653e51
N°2848 - Align creation and update message on portal to console message - add a comment for next time
2020-04-02 20:31:06 +02:00
acognet
fc2fb235a2
N°1344 - Save without all mandatory attributes (ajax reload not finished)
2020-04-02 17:46:18 +02:00
acognet
d7211509bd
N°1062 - Portal : autocomplete and search = broken : change the max size of the list
2020-04-02 17:29:39 +02:00
acognet
c182b1a01f
N°2848 - Align creation and update message on portal to console message
2020-04-02 11:50:01 +02:00
Eric
15e5e21a89
Compatibility with MySQL 5.6
2020-04-01 17:37:55 +02:00
acognet
ee0d231426
N°2895 - Tab dictionnary entries not taken in account in "Printer Friendly Version" screen
2020-04-01 01:05:13 +02:00
acognet
3282b46c9b
N°2395 - Error in file light-gray.scss
2020-04-01 00:01:26 +02:00
acognet
05649ba50f
Merge branch 'master' of github.com:Combodo/iTop
2020-03-31 23:48:35 +02:00
acognet
40efc4cbb1
N°1062 - Portal : autocomplete and search = broken
2020-03-31 23:47:46 +02:00
Molkobain
30034d381b
Update version number to 2.7.0-1
2020-03-31 09:47:37 +02:00
Molkobain
986eb90546
N°2893 - Fix DataModel Viewer not supporting special chars in class name (eg. ")
2020-03-31 09:40:31 +02:00
Pierre Goiffon
eb41d3e2ef
📝 Fix erroneous PHPDoc for InlineImageGC
2020-03-30 17:09:04 +02:00
acognet
c6b16bb52e
N°2119 - Dashlet Header statistic on ExternalKey, display id instead of name
2020-03-30 16:24:12 +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
60f5c60059
N°1796 - Search : false criteria after using the magnifier
2020-03-30 16:19:23 +02:00
acognet
c0284ecc3b
N°1953 - Dashlet Title alignment not consistent : Left on List, Center on Table/Pie/Chart
2020-03-30 16:18:43 +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
Pierre Goiffon
011d742ae3
N°2891 📌 add mbstring as optional extension
2020-03-27 14:41:59 +01:00
Pierre Goiffon
5b496f4d15
N°2866 Change "cron" case in labels as it is not an acronym
...
Thanks @Hipska for the feedback done in Combodo/iTop#124 !
2020-03-26 11:15:47 +01:00
Pierre Goiffon
97f4c32271
N°2881 Improve robustnedd of \ModuleInstallerAPI::RenameEnumValueInDB
...
Was causing errors when migrating from datamodels where the fields were not enum yet (this method is usually launched using \ModuleInstallerAPI::BeforeDatabaseCreation, so before an ALTER could be done to the column)
2020-03-26 10:18:34 +01:00
Pierre Goiffon
c002ca7902
setup.css : update .css that was not up to date :/
2020-03-26 10:13:10 +01:00
Pierre Goiffon
ff22074418
🎨 setup.css : remove warnings & unused code
...
Removed unused legacy code :
* #header>H1 : a noline-height ugly when renamed to line-height, seems totally unused when noline-height
* table.formTable : cellpadding & cellspacing
2020-03-26 10:09:08 +01:00
Pierre Goiffon
84968ff550
Merge remote-tracking branch 'origin/release/2.7.0'
2020-03-26 08:50:14 +01:00
bruno DA SILVA
46151c87c0
N°2888 Check password policy only if field set with a string
...
Some callers are setting the field using an ormPassword object containing hashed password + salt
examples:
- csv import
- data synchro
- ...
2020-03-25 12:43:41 +01:00
Pierre Goiffon
75a900c6f8
🚀 Tool to batch update XML datamodel version
2020-03-24 16:46:48 +01:00
Molkobain
e8c9d99783
Increase XML version to v1.7
2020-03-24 14:06:41 +01:00
Eric
1600302ad9
N°2869 - Removed Check for bad finalclass in root classes (already done)
2020-03-19 15:40:52 +01:00
Eric
a9c3a1b782
N°2869 - Check for bad finalclass in root classes (Allow all non-abstract child classes)
2020-03-19 10:01:16 +01:00
Eric
74848254a4
N°2869 - Check for bad finalclass in root classes
2020-03-18 14:10:35 +01:00
Eric
d7d9bfe0fd
N°2869 - Check for bad finalclass in intermediate classes
2020-03-18 10:09:05 +01:00
odain
dd96dec100
Fix license file generation; exclude itop-portal-base
2020-03-18 08:42:55 +01:00
Pierre Goiffon
16ff51f3b7
📄 Update licenses after generation tool upgrade
...
See 76d26e8e
2020-03-18 08:15:09 +01:00
Pierre Goiffon
27c651b33c
📄 Remove itop-portal-base from license file
2020-03-17 18:08:49 +01:00
Pierre Goiffon
32375265cb
📄 Remove 2.x/authent-cas from license file
2020-03-17 17:47:25 +01:00
Pierre Goiffon
0cba163dc9
🔖 Update version to final in iTop files
2020-03-17 16:50:45 +01:00
Pierre Goiffon
fd1e17cc32
🚀 Release tool to update versions
2020-03-17 16:49:05 +01:00
Eric
d85e1906b7
N°2746 - New Attribute Enum Set
...
XML migration from 1.7 to 1.6
2020-03-17 12:03:10 +01:00
Pierre Goiffon
f8df84aa7b
Update dict for 2.7.0-RC
2020-03-17 10:55:53 +01:00
Eric
c26b9459bb
N°2869 - Fix 2.7 Migration
...
Run UPDATE requests just after the corresponding ALTER TABLE requests
2020-03-16 18:49:12 +01:00
Molkobain
4f7676c42d
N°2735 - Rollback previous "fixes" to keep the simple ID policy in the Designer and a unique ID generation at runtime
2020-03-16 12:17:09 +01:00
Molkobain
ceddafaebe
N°2735 - Rename parameter for better consistency
2020-03-16 12:17:09 +01:00
Stephen Abello
950640babe
N°1986 - Revert feature
2020-03-13 10:24:25 +01:00
jbostoen
11e6be1037
🌐 Added NL translations ( #124 )
...
Co-authored-by: jbostoen <->
2020-03-13 09:42:37 +01:00
Molkobain
29d963317f
N°2735 - Fix dashlet ID generation to have the "CUSTOM" prefix only at runtime
2020-03-12 16:46:15 +01:00
Molkobain
dd300e075c
N°2735 - Fix dashlet edition in the Designer (property form ID was not matching dashlet's)
2020-03-12 16:46:03 +01:00
Molkobain
774ace2302
Fix icon select widget to be compatible with iTop 2.7
2020-03-12 14:16:03 +01:00
Molkobain
bbfddea93d
Open new_dashlet_id operation for Designer
2020-03-12 14:16:02 +01:00
Stephen Abello
c5c7fd5c85
N°2855 - Security hardening
2020-03-12 14:13:17 +01:00
jbostoen
5d4b9f4a89
🌐 Fix typos in English translation ( #123 )
2020-03-12 08:51:40 +01:00
Stephen Abello
d01caaf4e4
N°2853 - Security hardening
2020-03-10 10:23:38 +01:00
Pierre Goiffon
f895821db9
⚗️ CONTRIBUTING : added some emoji O:)
2020-03-06 20:52:33 +01:00
bruno DA SILVA
19f34d1a72
composer reflexion: list outdated packages
2020-03-05 11:33:36 +01:00
Pierre Goiffon
7ff1a03a3c
N°2820 monthly log rotation : restore default config
2020-03-04 16:04:19 +01:00
Pierre Goiffon
eadc3b72c2
📝 N°2793 log rotation add PHPDoc about timezones
2020-03-04 14:23:34 +01:00
odain
c06f8e9a98
N°2793 log rotation test : fix timezone issues
2020-03-04 12:05:42 +01:00
Pierre Goiffon
6675d7d42a
N°2793 Test log rotation
2020-03-04 09:21:05 +01:00
Eric
afc118e9c2
🐛 fix GetAsPlainText() on EnumSet
2020-03-03 17:34:15 +01:00
Pierre Goiffon
f36fcb2a2d
N°2820 Log rotation : change default from weekly to monthly
2020-03-03 15:31:11 +01:00
Eric
f062af367d
N°2826 - Bad SQL request for group by with data-localizer
...
Unit tests to check the fix in data-localizer
2020-03-03 15:25:12 +01:00
Pierre Goiffon
29d24faf52
N°2793 Log rotation : fix no rotation :/
...
Was caused by erroneous file exists test
2020-03-03 10:18:09 +01:00
Pierre Goiffon
33f3f2810e
N°2793 Log rotation : add file exists check in the lock
2020-03-02 18:33:00 +01:00
Pierre Goiffon
fad00200b6
🔧 PHPStorm remove is_null() rewrite inspection
2020-03-02 15:56:26 +01:00
Pierre Goiffon
56ef6feadf
N°2820 Log rotation : new MonthlyRotatingLogFileNameBuilder class
2020-03-02 15:52:59 +01:00
Pierre Goiffon
2be16f9078
N°2793 Log rotation ( #117 )
...
Now log file name is unchanged : current log is still /log/error.log \o/
Rotation check (using file last modification time) is done :
* on each file write : we don't want to miss calls if session last from 23:59:59 to 00:01 for example ! Though the filemtime() call is done once per session to lower performance impacts
* using a new background process (LogFileRotationProcess)
File renaming on setup is therefore removed.
Also the interface is renamed (from ILogFileNameBuilder to iLogFileNameBuilder) to conform to iTop convention.
2020-03-02 15:01:12 +01:00
Eric
6874aed4a2
N°1627 - Ticket ref sometimes duplicate
...
add MakeInsertQuery() to legacy
2020-03-02 12:04:12 +01:00
Pierre Goiffon
07b8830436
N°2814 Fix cannot authenticate in some HTTP calls
...
basic mode was forced in 0dd1f26b
scripts concerned :
* synchro/synchro_import.php
* webservices/cron.php
* webservices/import.php
2020-03-02 11:56:00 +01:00
Molkobain
39d3e00ba1
N°2822 - Fix timeout message through AJAX calls in the Portal
2020-02-28 16:53:16 +01:00
Stephen Abello
ffa43160bf
N°1164 #1491 - Add padding and border to code blocks
2020-02-28 16:42:46 +01:00
Pierre Goiffon
a45d1336f4
🎨 Change \ormStopWatch::ComputeGoal for IDE convencience, add phpdoc
2020-02-28 12:02:20 +01:00
Federico Lazcano
5a287fabba
🌐 Typo in ES_CR User Requests
2020-02-28 08:23:34 +01:00
Federico Lazcano
da86ee4114
🌐 Typo in ES_CR Incidents
2020-02-28 08:22:59 +01:00
Federico Lazcano
5157788afe
🌐 Typo in ES_CR User Requests
2020-02-28 08:22:14 +01:00
Molkobain
386e25efd6
N°2314 - Remove basque-red, ocean-blue and test-blue from default themes
2020-02-27 15:41:54 +01:00
Molkobain
649e2f8e6a
Internal: Remove unused import
2020-02-27 15:10:41 +01:00
Molkobain
3c3d744747
N°2314 - Refactor part of the compilation in dedicated helpers
2020-02-27 15:09:57 +01:00
Molkobain
1371eee826
N°2735 - Continue rework of the dashlet id generation: Dashlet could not be added in the Designer
2020-02-27 11:54:20 +01:00
Molkobain
6645a5053f
N°2806 - Fix errors on legacy portal "portal" tag during migration to iTop 2.7
2020-02-26 17:17:56 +01: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
Molkobain
401f82062a
N°2735 - Make sure to always have the dashboard (sanitized) id for dashlets rendering
2020-02-26 12:10:18 +01:00
Molkobain
5a01a76f80
N°2735 - Add new sanitize filter ('element_identifier') for dashboard identifier
2020-02-26 12:10:18 +01:00
Pierre Goiffon
3e5520d079
N°2735 Fix new dashlet id didn't contain dashboard id
2020-02-26 09:13:19 +01:00
Pierre Goiffon
beef2a89a3
N°2684 Remove upgrade from another repository
...
This upgrade procedure was :
* dangerous : running two iTop of different versions on the same database should not be done
* insufficient : just /extensions/* was copied, not any Hub or Designer data, no log, no instance.txt, ...
2020-02-25 18:01:59 +01:00
Molkobain
2f920cbb46
Internal: PHPDoc and warnings suppression
2020-02-25 17:45:18 +01:00
Pierre Goiffon
feae36e5b8
N°2735 Fix dashlet id duplicates when moving dashlet from one cell to another
2020-02-25 15:43:20 +01:00
Stephen Abello
92ae0e72e1
N°2314 - Markup extensibility: Add a variable for hovered table lines background color
2020-02-25 15:14:12 +01:00
Stephen Abello
ed030403aa
N°2112 - Remove unused legacy portal conf variable and its usage
2020-02-25 14:00:58 +01:00
Pierre Goiffon
dfc894f6fd
N°2735 Fix cannot edit new dashlet properties regression
...
Was introduced by cf83bc73
2020-02-25 11:17:52 +01:00
Stephen Abello
368b49ef8f
N°2314 - Markup extensibility: Fix table sorter icons in html export pages
2020-02-25 10:36:56 +01: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
ea59f7bc23
N°2314 - Markup extensibility: Add metadata to caselogs in the admin. console
2020-02-24 18:22:01 +01:00
Molkobain
9d6ed7f489
N°2806 - Fix errors on legacy portal constants during migration to iTop 2.7
2020-02-24 17:03:13 +01:00
Molkobain
0aa006f7c4
Internal: Fix typo in PHPDoc
2020-02-24 16:47:10 +01:00
Molkobain
c669d6951b
PHPDoc and warnings suppression
2020-02-24 16:36:31 +01:00
Molkobain
9412f260ae
PHPDoc
2020-02-24 11:01:24 +01:00
Molkobain
9781a11988
N°2803 - Regression: Fix "forgot_password" parameter not working anymore
2020-02-24 10:58:24 +01:00
Molkobain
1ed0210fe2
N°2799 - Fix double encoding in "top-list" display mode of the ManageBrick
2020-02-24 09:47:22 +01:00
Molkobain
1ce5ec73ea
N°2798 - Fix unable to submit portal forms (Regression from dba6e8ce)
2020-02-24 09:24:23 +01:00
Eric
98304e2bda
N°2596 - Allow '1' as true value for boolean in XML files
2020-02-21 18:14:03 +01:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
Eric
096c3a3f13
N°2772 - Revert the loading of JS Dict in setup pages
2020-02-21 17:15:12 +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
Pierre Goiffon
19809249a2
📝 Update PHPDoc for StopWatches interfaces
2020-02-20 18:01:09 +01:00
Molkobain
7347eed3ac
PHPDoc
2020-02-20 17:43:14 +01:00
Molkobain
69d816e345
N°2275 - Add XML delta cleanup on datamodel BC breaking changes introduced in 2.7.0
2020-02-20 17:43:14 +01:00
Vincent Dumas
4008cb7688
Add blocks to enable customization
2020-02-20 17:18:39 +01:00
Lars Hippler
41a1bede70
🌐 Update DE-dictionary for iTop 2.7.0 ( #113 )
...
Many thanks @r0ert !
2020-02-20 16:04:24 +01:00
odain
e12845e412
N°2651 - Remove test directories from lib
2020-02-20 15:03:36 +01:00
odain
b30ad45792
N°2651 - Fix missing autoload
2020-02-20 14:58:39 +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
Eric
d668d65c70
N°2772 - Fix errors during upgrade. Prevent JS Dict load for setup pages.
2020-02-20 14:45:39 +01:00
Pierre Goiffon
e21e7c9cf0
🌐 N°2795 Fix dict typos
2020-02-20 09:36:33 +01:00
bruno DA SILVA
27a0de1da1
N°2154 - fix server crash in rare cases
...
Under undetermined circumstances, `exec('php -v')` called the current script triggering an infinite loop crashing the server
problem reported by @molkobain
see: https://stackoverflow.com/questions/43728378/running-php-files-through-shell-exec
2020-02-19 15:43:33 +01:00
Molkobain
d76e54996c
PHPDoc
2020-02-19 11:54:50 +01:00
Pierre Goiffon
a4710f7542
N°2760 Abstract classes for extension API interfaces : remove return; for @return void methods
2020-02-18 18:15:45 +01:00
Eric
98a9c680c5
🐛 Updated rest example
2020-02-18 17:02:13 +01:00
Pierre Goiffon
a92157f763
N°2790 fix collapsibleLabel
...
* change icon when label closed
* fix switch in about dialog for licenses details
2020-02-18 16:34:51 +01:00
bruno DA SILVA
412f1a394f
N°2574 - 💚 fix unit test
...
The behaviours has changed since the "password_renewed_date" is not changed only after the inter/update and no more just aftyer the $oUserLocal->Set('password')
2020-02-18 14:49:53 +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
Molkobain
a127ca9ca0
N°2313 - Fix regression: No more validation message on password update in the end-users portal
2020-02-17 15:51:38 +01:00
Molkobain
0b5ee1e05c
Internal: Fix typo in PHPDoc
2020-02-17 11:24:20 +01:00
Eric
f94e86ecea
🐛 Add missing function
2020-02-14 17:18:00 +01:00
Pierre Goiffon
fe770f36c5
N°2634 / N°2735 Migrate dashlet user prefs to new dashlet ID format
2020-02-14 15:59:09 +01:00
Pierre Goiffon
cf83bc7364
N°2634 / N°2735 Fix dashlets identifiers : was causing prb on widget init, prefs save
...
Dashlet id now includes :
* "CUSTOM-" if dashlet is contained in a custom dashboard, nothing elsewhere
* the ID of the dashboard
- for menus : menu id escaped for HTML
- for AttributeDashboard : <class>__<field>
* the row / cell / dashlet idx
Examples :
CUSTOM-UserRequestOverview_IDrow1-col0-0
Organization__overview_IDrow1-col0-12
2020-02-14 15:59:09 +01:00
Eric
76982a2846
Revert Last change. The values are already protected at this stage.
2020-02-14 15:42:05 +01:00
bruno DA SILVA
4cedd30625
N°2574 - bugfix and UI
...
- 🐛 fix regression preventing automatic update of password_renewed_date
- 💄 add a "general information" fieldset
2020-02-13 15:23:56 +01:00
bruno DA SILVA
a86079c477
N°2154 - 🐛 fix an awful typo producing a nonsense
...
I'm sorry!
2020-02-13 15:21:01 +01:00
Eric
128a237392
N°2746 - Fix Tags configuration screen (removed EnumSet from tag editable list)
2020-02-13 12:31:22 +01:00
Eric
0ecfffe413
N°2746 - Fix export separator
2020-02-13 12:12:35 +01:00
Eric
ef3bdd63a4
N°2746 - Fix search from shortcut
2020-02-13 11:56:19 +01:00
Eric
585135c6c7
N°2758 - Keep AddCondition to avoid BC break
2020-02-13 11:56:01 +01:00
Eric
b3faa96a45
🌐 Add Trigger context label
2020-02-13 09:53:55 +01:00
Eric
6f04525cdf
🎨 cleanup code
2020-02-13 09:49:58 +01:00
Pierre Goiffon
03834fedb8
N°2369 deprecate MySQL views
2020-02-12 18:11:12 +01:00
Vincent Dumas
6bde8e867f
Move menu "Universal Search" under "Query"
2020-02-12 18:01:38 +01:00
Molkobain
0e3d195250
N°2275 - Fix XML delta computation putting flags on wrong XML levels
2020-02-12 17:40:53 +01:00
Pierre Goiffon
fae8c9edbd
N°2780 Add ContextTag::TAG_CONSOLE for ajax operations
2020-02-12 17:20:10 +01:00
Pierre Goiffon
133d267aca
N°2329 Update TCPDF to version fixing unlink bug
...
Was updated to 6.3.2 fot PHP 7.4 compat, but this version had a regression (issue 159 in the original repo)
This commit integrates 6.3.4 that includes a fix for issue 159
2020-02-12 15:23:57 +01:00
Stephen Abello
166986f336
N°2314 - Markup extensibility: Replace some hardcoded values by overloadable variables
2020-02-12 14:53:19 +01:00
Stephen Abello
f76d649d1a
Wee cleanup
2020-02-12 14:53:19 +01:00
Stephen Abello
30747b92c7
N°2755 - Security hardening
2020-02-12 14:53:19 +01:00
Stephen Abello
12ce718662
Internal: Add HtmlEntityDecode() to utils, a counterpart to HtmlEntities()
2020-02-12 14:53:19 +01:00
Molkobain
a1cdb46663
Internal: Refactor newsroom SCSS rules to real SCSS
2020-02-12 14:20:27 +01:00
Pierre Goiffon
824d8398a3
N°2634 / N°2735 Allow saving list prefs for all DashletObjectList
...
The id generated for the dashlets in the markup is the one used in the saved appUserPreferences. As no control is done during compilation nor in the Designer editor, we could have duplicates.
The first fix (081ba68a ) was adding a generated suffix, but for default dashlet this was generated each time so the id was different on every page load ! For custom dashlets as their definition was saved in a XML file it was ok.
This new fix adds a prefix containing row and col id, so every time the id is the same. No duplicates should be found in the same cell.
2020-02-12 14:07:57 +01:00
Eric
406774aa15
N°2746 - Fix Import/Export using labels or code
2020-02-12 12:08:40 +01:00
Pierre Goiffon
dd8712e2e8
📝 Add more doc for \DBObject::GetAsHTML
2020-02-12 11:44:00 +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
93c9783b1a
N°2746 - Fix empty search for TagSet
2020-02-11 14:51:22 +01:00
Eric
e9c1467026
N°2746 - Fix "Modify All" fatal error
2020-02-11 14:35:38 +01:00
Eric
863cb4cad6
N°2758 - Allow only one condition on ValueSetDef and restore cache
2020-02-11 11:54:00 +01:00
Pierre Goiffon
94b70fc473
N°2776 ObjectFormManager : change transaction scope
...
* move ApplyStimulus & triggers out of the transaction
* move \utils::RemoveTransaction to a finally block
2020-02-11 11:36:59 +01:00
Pierre Goiffon
4dc383cba8
N°2684 Fix setup broke when upgrading with a config file from another directory
...
In the moduleschoice screens we were using a wrong approot_url !
2020-02-11 09:41:48 +01:00
Pierre Goiffon
55d8a2316a
📝 GetAttributeFlags PHPDoc revised
2020-02-11 08:34:57 +01:00
Stephen Abello
fe8f274c14
N°2314 - Markup extensibility: Replace a hardcoded value by an overloadable variable
2020-02-10 15:33:47 +01:00
Stephen Abello
72fad49c4e
N°2314 - Markup extensibility: Add default color to body node
2020-02-10 15:33:47 +01:00
Eric
888d0775e6
N°2758 - Removed ValueSetDef cache
2020-02-10 14:29:28 +01:00
Molkobain
db19f71758
N°2771 - Fix "Unknown form type" when changing user language in portal
2020-02-10 14:20:11 +01:00
Molkobain
a259443735
N°2314 - Markup extensibility: Add attribute flags as metadata to object forms
2020-02-10 13:27:36 +01:00
Pierre Goiffon
58e8ca1f50
📝 GetAttributeFlags PHPDoc
2020-02-10 09:56:31 +01:00
Pierre Goiffon
ab79426508
N°2293 some PHPDoc update
2020-02-07 18:21:02 +01:00
bruno DA SILVA
7e61917521
N°524 - password validity message can be superseded with conf
2020-02-07 17:25:17 +01:00
Molkobain
e42aab30a5
Internal: Fix regression introduced in 3d2a844f ("Close" button always displayed in object forms in IE)
2020-02-07 17:22:41 +01:00
Molkobain
a79ef0bd51
Update (massively) translations before iTop 2.7 release
2020-02-07 16:51:21 +01:00
Eric
5d88391109
N°2758 - Reset ValueSetDef cache when modifying some parameters
2020-02-07 14:27:22 +01:00
Molkobain
c56c04d84d
N°2760 - Ease API interfaces implementation through abstract classes
2020-02-06 18:09:59 +01:00
Molkobain
f2b8f50a94
Internal: Add Anne to the sample data to welcome her! 👋
2020-02-06 18:07:51 +01:00
Molkobain
9de11a29fb
PHPDoc
2020-02-06 16:25:25 +01:00
Molkobain
6537e00453
Internal: Add Matthieu to the sample data to welcome him! 👋
2020-02-06 15:53:26 +01:00
Eric
dd5f4909da
Fix warning
2020-02-06 15:01:02 +01:00
Stephen Abello
ed67df734f
N°2755 - Security hardening
2020-02-06 14:50:27 +01:00
Stephen Abello
44894526f1
N°2742 - HTML files preview are now raw text only
2020-02-06 14:27:13 +01:00
xtophe38
de78963b30
Fix DataAdministration translation to be aligned with other menus
2020-02-06 14:25:52 +01:00
bruno DA SILVA
948fd6f0ce
N°2154 - improve robustness of submitted config validator
...
thanks to @molkobain 's awful provider's using PHP 4.4 within CLI
2020-02-06 14:07:39 +01:00
bruno DA SILVA
214dbeef5b
N°2154 - var into string patterns can now also be enabled using server vars
...
- usage: $_SERVER['ITOP_CONFIG_PLACEHOLDERS']
- plus removal of useless log Trace since this code is too early in iTop's init process for this feature
2020-02-06 14:05:08 +01:00
bruno DA SILVA
f2fbd8457d
N°2498 - Authorize map extension
...
so as `.js.map` is not forbidden by apache
2020-02-06 14:05:08 +01:00
Molkobain
6a432c6a25
N°2757 - Fix count in group by dashlets
2020-02-06 12:12:27 +01:00
Molkobain
e96a8387a0
N°2750 - Regression: Fix default user profile image not shown in portal due to N°2060
2020-02-06 10:06:18 +01:00
Pierre Goiffon
f3576cffb0
📝 README : remove 2.4.* version as this branch isn't supported anymore by Combodo
2020-02-05 14:51:46 +01:00
Molkobain
c5625e6a8d
Internal: Fix setup headers style due to 71708cf
2020-02-05 14:49:33 +01:00
Molkobain
3d2a844fef
N°2313 - Markup extensibility: Improve success message display during the workflow
2020-02-05 12:10:15 +01:00
Molkobain
110a030902
PHPDoc
2020-02-05 12:10:15 +01:00
Stephen Abello
5ccd885607
Remove DB Tools from excluded modules
2020-02-05 12:04:26 +01:00
Stephen Abello
e5c6efbe69
Merge branch 'master' into develop
...
# Conflicts:
# README.md
2020-02-05 11:24:44 +01:00
Stephen Abello
bd083d632f
Update readme for 2.6.3 release
2020-02-05 11:22:39 +01:00
Stephen Abello
65b8132914
N°2314 - Markup extensibility: Fix collapsible icons in "About iTop" modal
2020-02-05 09:47:27 +01:00
Eric
3c2130aa72
N°2321 - Fix SQL request generation for inherited magic attributes
2020-02-04 15:54:03 +01:00
Stephen Abello
e70a2f75d3
N°2748 - Fix regression introduced by 71f5d29c, CKEditor's paragraph spacing wasn't coherent with how it's displayed in iTop
2020-02-04 11:41:10 +01:00
Molkobain
fe8e6ba4b0
N°2314 - Markup extensibility: Fix UI elements not using main colors variables
2020-02-04 10:32:57 +01:00
Eric
008614fde6
N°2321 - Fix SQL request generation for inherited magic attributes
2020-02-04 10:28:35 +01:00
Molkobain
ac6e60f5a1
N°2595 - Reorganize admin. console menus: Change new menu groups IDs to avoid collision with existing extensions
2020-02-04 09:50:11 +01:00
Stephen Abello
bf18d623d6
N°2314 - Markup extensibility: Add 2 additional themes for the backoffice
...
Adds a colored top bar to easily identify different environments (tests, production, ...)
2020-02-03 16:17:46 +01:00
Stephen Abello
10d04756ee
N°2314 - Markup extensibility: Fall back on iTop's default theme when a non existing theme is selected
2020-02-03 15:12:59 +01:00
bruno DA SILVA
6e927114e0
N°2154 - 💚 fix tests
...
- the correct file is now versioned
2020-02-03 12:04:51 +01:00
Pierre Goiffon
682c24a873
N°2293 DBUpdate : save changed fields and corresponding previous values ( #111 )
...
* N°2293 DBUpdate : save changed fields and corresponding previous values for callbacks
* update PHPDoc
* remove m_aChanges and ListChangesUpdated() that were introduced in 2.7.0-beta
* add m_aPreviousValuesForUpdatedAttributes and ListPreviousValuesForUpdatedAttributes()
* :memo Woops forgot to change one PHPDoc
* 📝 Some more PHPDoc O:)
* 📝 Add more info in .doc README
* 📝 Well, again some PHPDoc O:)
* 📝 Replace inline @link by @see
@link are for URI, see https://docs.phpdoc.org/latest/references/phpdoc/inline-tags/link.html
2020-01-31 18:01:26 +01:00
bruno DA SILVA
d4b4ced649
🌐 update dictionaries
...
- set the translation as requested by Q&A
2020-01-31 17:29:38 +01:00
bruno DA SILVA
c2589492d9
📝 documentation generator dependencies handling improvement
...
- ignore /.doc/vendor
- uses a lock file (at /.doc/composer.lock)
2020-01-31 17:29:38 +01:00
bruno DA SILVA
15c9cf926e
2154 - preserve "var" in conf
...
- add possibility to inject var using string patterns (ie: `'%env(DB_HOST)?:localhost%`)
- on WriteToFile, preserve the non interpreted value when the interpreted value is kept the same
- added unit tests for both behaviours
- minor bugfix (default value in comment was wrong) and code readability improvements
2020-01-31 17:29:37 +01:00
Molkobain
78d4c8c7c7
Internal: Fix typo
2020-01-31 17:22:57 +01:00
Eric
d9e8eed084
💚 Fix CI on TagSet search (request have changed)
2020-01-31 16:13:59 +01:00
Eric
ebe86d09ee
N°985 - Add applicable contexts on Trigger (logs)
2020-01-30 16:18:49 +01:00
Eric
5e5d368299
N°2657 - MTP : Progress Bar has disappeared (Search exact match)
2020-01-30 16:02:16 +01:00
Molkobain
f990a83453
N°2060 - Migrate error page to the Symfony framework
2020-01-30 13:56:32 +01:00
Molkobain
c6325dce8e
Internal: Fix autoloader path for Symfony bin/console utility
2020-01-30 13:56:32 +01:00
Eric
bbca1625fb
N°2657 - MTP : Progress Bar has disappeared (Search exact match)
2020-01-30 12:31:22 +01:00
Pierre Goiffon
53975d1d8f
📝 Replace inline @link by @see
...
@link are for URI, see https://docs.phpdoc.org/latest/references/phpdoc/inline-tags/link.html
2020-01-30 09:35:25 +01:00
Pierre Goiffon
1358bf9b7f
📝 Well, again some PHPDoc O:)
2020-01-30 09:25:53 +01:00
Pierre Goiffon
7c17be4db6
📝 Add more info in .doc README
2020-01-30 09:22:38 +01:00
Pierre Goiffon
367a92b711
📝 Some more PHPDoc O:)
2020-01-30 08:39:18 +01:00
Pierre Goiffon
0a3201dd41
:memo Woops forgot to change one PHPDoc
2020-01-29 18:43:46 +01:00
Pierre Goiffon
d82690dd84
N°2293 DBUpdate : save changed fields and corresponding previous values for callbacks
...
* update PHPDoc
* remove m_aChanges and ListChangesUpdated() that were introduced in 2.7.0-beta
* add m_aPreviousValuesForUpdatedAttributes and ListPreviousValuesForUpdatedAttributes()
2020-01-29 18:36:46 +01:00
Eric
7f9e4385ac
N°2657 - MTP : Progress Bar has disappeared (support any code length)
2020-01-29 18:01:17 +01:00
Stephen Abello
aa3e284af3
Update README for 2.7.0-beta2
2020-01-29 16:59:16 +01:00
Stephen Abello
a941e5f752
Merge branch 'develop' of https://github.com/Combodo/iTop into develop
2020-01-29 11:49:38 +01:00
Stephen Abello
b1878f7265
Update version number for 2.7.0-beta2
2020-01-29 11:49:20 +01:00
Molkobain
b106a54c50
N°2314 - Markup extensibility: Add 2 additional themes for the backoffice
...
Basic color changes to identify different environments (tests, production, ...)
2020-01-29 11:04:20 +01:00
Molkobain
002da0b387
N°2314 - Markup extensibility: Rework some SCSS variables
2020-01-29 11:04:20 +01:00
acognet
6b9e723a45
Merge remote-tracking branch 'origin/develop' into develop
2020-01-29 09:55:44 +01:00
acognet
b54e457cbb
N°2038 - New dashlet Kanban
2020-01-29 09:54:56 +01:00
jbostoen
e750dd53d8
NL translations for iTop 2.7.0 ( #94 )
...
Made by @jbostoen & @Hipska in PR #94 . Many thanks to them !
2020-01-29 09:51:11 +01:00
Eric
da6a55504e
N°985 - AttributeEnumSet (portal support)
2020-01-28 17:37:17 +01:00
Eric
b58356c42e
N°985 - Add applicable contexts on Trigger (search)
2020-01-28 17:37:17 +01:00
Molkobain
524e43b8c4
N°2313 - Markup extensibility: Add metadata on session messages in the end-users portal
2020-01-28 17:27:32 +01:00
Eric
a80bd6f2b9
N°985 - Add applicable contexts on Trigger (display read-only)
2020-01-28 15:29:12 +01:00
Eric
08eb9ee630
🌐 update dictionaries for 2.7.0-beta2
2020-01-28 15:29:12 +01:00
Eric
05485b838e
N°985 - Add applicable contexts on Trigger (display read-only)
2020-01-28 15:29:12 +01:00
Eric
029fe6882d
N°985 - Add applicable contexts on Trigger (Fix regression)
2020-01-28 15:29:12 +01:00
Eric
b31eb6aab9
Comment
2020-01-28 15:29:12 +01:00
Molkobain
a96c194676
N°2313 - Markup extensibility: Add CSS classes on object details and lists in the end-users portal
2020-01-28 15:25:12 +01:00
bruno DA SILVA
0d85331bca
1627 - Ticket ref sometimes duplicate
...
🐛 INSERT/UPDATE do not require to free the results
2020-01-28 11:59:04 +01:00
Pierre Goiffon
e9dec8ae05
N°330 Attachments as table : fix table sorting on size and date
...
* portal : use data-order attribute for the DataTable plugin (https://datatables.net/manual/data/orthogonal-data )
* console : add textExtraction override for the attachments table (https://mottie.github.io/tablesorter/docs/example-option-text-extraction.html )
2020-01-28 10:11:29 +01:00
bruno DA SILVA
6a6a0ffa24
1627 - Ticket ref sometimes duplicate
...
🐛 fix ref. generation when inside a transaction (by opening a new connection).
note: the portal make uses of such a transaction.
2020-01-27 17:58:30 +01:00
Molkobain
87623fba3d
PHPDoc
2020-01-27 16:58:55 +01:00
Molkobain
a7619f2820
N°2313 - Markup extensibility: Add metadata on admin. console object lists
2020-01-27 16:58:55 +01:00
bruno DA SILVA
cff53d71ba
N°2154 & N°2720 & N°2684 - config integrity during setup
2020-01-27 15:21:50 +01:00
Molkobain
71708cfbc7
Internal: Fix setup headers size
2020-01-27 14:54:53 +01:00
acognet
e05b3a5fb9
N°2618 - Fix missing scroll bar in DataModel Viewer for class with large number of attributs
2020-01-27 10:47:19 +01:00
acognet
bfcb1fdb30
N°2618 - Fix missing scroll bar in DataModel Viewer for class with large number of attributs
2020-01-27 10:47:19 +01:00
Eric
cc4e1ea104
N°985 - Add applicable contexts on Trigger (Add portal contexts)
2020-01-24 17:43:59 +01:00
Molkobain
5485897bbb
N°2313 - Markup extensibility: Fix raw value and attribute label not always being escaped
2020-01-24 17:38:18 +01:00
Molkobain
27f343e543
N°330 - Attachments: Align table rendering to linkset tables rendering
2020-01-24 17:02:02 +01:00
Molkobain
cca79735fc
N°330 - Attachments: Fix empty "Delete" column displayed all the time
2020-01-24 17:02:02 +01:00
Molkobain
c48bbfd32a
N°2313 - Markup extensibility: Add metadata on attachments
2020-01-24 17:02:02 +01:00
Molkobain
3ae2058f6f
N°2314 - Markup extensibility: Refactor utils::GetCSSFromSASS() to enable SCSS compilation out of a file
2020-01-24 17:02:02 +01:00
Molkobain
0a63568715
PHPDoc
2020-01-24 17:02:02 +01:00
Molkobain
f878eea68d
N°330 - Attachments: Update MS Office and OpenOffice file icons with more modern versions
2020-01-24 17:02:02 +01:00
Eric
8ad2b8091c
N°2657 - MTP : Progress Bar has disappeared
2020-01-23 11:28:52 +01:00
bruno DA SILVA
d6ca08efb8
N°2730 - Cannot log callstack with callback into EventIssue
2020-01-22 17:37:44 +01:00
Molkobain
ba8a2c1b15
N°2710 - Fix setup crash due to PHP notices (regression introduced in 59678955)
2020-01-22 13:32:31 +01:00
Molkobain
bd9da07734
Merge branch 'support/2.5'
2020-01-22 09:55:50 +01:00
Molkobain
3dbbf296b8
Exclude combodo-db-tools module from packages by default
2020-01-22 09:10:54 +01:00
bruno DA SILVA
0ae0336e04
N°1627 - Ticket ref sometimes duplicate
...
🐛 Ticket creation no more crash if the current user have limited read access
2020-01-21 18:31:09 +01:00
Molkobain
8df0ef6af9
N°2723 - Fix double scrollbar in search criterion
2020-01-21 17:40:11 +01:00
Molkobain
d77c77c03b
PHPDoc
2020-01-21 17:20:12 +01:00
Molkobain
5967895561
N°2710 - Fix extremely slow page load for first user after setup (regression introduced in N°2314)
2020-01-21 17:19:16 +01:00
Molkobain
6e754d4fa5
Setup: Fix graphiz detection feedback message on Windows systems
2020-01-21 15:50:33 +01:00
Molkobain
165fd0e700
N°2314 - Setup: Improve UI of user message when CRON is running
2020-01-21 15:35:09 +01:00
Molkobain
d100ce8005
PHPDoc and code formatting
2020-01-21 15:35:09 +01:00
Eric
770f5a7b67
N°985 - Add applicable contexts on Trigger (order values in DB)
2020-01-21 14:55:03 +01:00
Molkobain
a993f6a80b
PHPDoc
2020-01-21 14:19:45 +01:00
Molkobain
c8bb710d21
N°2314 - Markup extensibility: Fix regression introduced in the previous commit (used a PHP 7.x function)
2020-01-21 14:17:44 +01:00
Molkobain
d963fbd8cf
N°2314 - Markup extensibility: Fix crash when no <theme> defined in datamodel
2020-01-21 12:20:59 +01:00
Eric
beda8e2810
N°985 - Add applicable contexts on Trigger (fix MTP warnings)
2020-01-21 12:01:42 +01:00
Pierre Goiffon
083f8d69c2
Revert "N°2618 DataModel viewer : fix no vertical scrollbar in MSIE"
...
Was introducing a regression in Chrome & Fx (cannot change tab anymore)
This reverts commit 8a666b09d6 .
2020-01-21 10:51:16 +01:00
Eric
1c16eeb5e4
N°2240 - Supportability - Maintenance mode (setup reset maintenance mode)
2020-01-21 10:27:47 +01:00
Stephen Abello
ecc0b57b31
Merge branch 'master' into develop
...
# Conflicts:
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/itop-attachments/module.attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2020-01-20 16:42:42 +01:00
Stephen Abello
be9f6eff29
Merge branch 'develop' of https://github.com/Combodo/iTop into develop
2020-01-20 16:41:44 +01:00
Stephen Abello
50a8af4082
Update version number for 2.6.3
2020-01-20 16:30:51 +01:00
Stephen Abello
6a1125875b
Merge branch 'support/2.5'
...
# Conflicts:
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/itop-attachments/module.attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2020-01-20 16:10:21 +01:00
Stephen Abello
878c23892d
Update version number for 2.5.4
2020-01-20 15:59:08 +01:00
Eric
900e8ac6d7
N°985 - Add applicable contexts on Trigger
2020-01-20 15:50:08 +01:00
Stephen Abello
248dab9289
N°2633 - Security hardening
2020-01-20 15:46:04 +01:00
Molkobain
2fcea4d02e
N°2313 - Markup extensibility: Add field label in its metadata
2020-01-20 14:43:40 +01:00
Stephen Abello
1927fc743a
N°2314 - Fix left padding for menu entries
2020-01-20 11:20:56 +01:00
Molkobain
6aff09eaf7
N°2708 - Internal: Fix regression introduced with N°2313 "Undefined index 'prefix'"
2020-01-20 11:16:07 +01:00
Molkobain
54e9830a3b
PHPDoc
2020-01-20 09:53:22 +01:00
Molkobain
a45819dbf0
N°2682 - Portal: Fix transaction ID not being removed
2020-01-17 17:40:37 +01:00
Molkobain
e8aaec5789
N°2060 - Regression: Fix missing PORTAL_ID constant
2020-01-17 17:33:52 +01:00
Molkobain
d16c0ffef9
N°2313 - Markup extensibility: Add metadata on admin. console object creation forms
2020-01-17 14:16:31 +01:00
Molkobain
24ad593dc8
N°2313 - Markup extensibility: Add password attributes to exclude list in metadata
2020-01-17 09:03:14 +01:00
Molkobain
0b67828ab9
Add comments in standard end-users portal XML
2020-01-17 09:03:14 +01:00
Eric
8a1a78444d
N°2249 - Supportability - Updater module (unified version name)
2020-01-16 18:13:58 +01:00
Eric
4552bc0778
N°2249 - Supportability - Updater module (changed version name in the priv_module_install table)
2020-01-16 17:42:02 +01:00
Eric
3a113e31fb
N°2249 - Supportability - Updater module (run setup when error occurs)
2020-01-16 17:25:28 +01:00
Pierre Goiffon
8a666b09d6
N°2618 DataModel viewer : fix no vertical scrollbar in MSIE
...
The scrollbar is present on the right side but after viewport limit so not visible !
Can't change div.ui-layout-pane.ui-layout-center width as it is calculated dynamically by JS Layout...
So added another container with a margin. The CSS rules are added to MSIE only using the media query tip :/
2020-01-16 16:40:36 +01:00
Pierre Goiffon
0d9dc34a08
Schema.php : replace <br/> to <br> (might break on MSIE)
2020-01-16 15:06:04 +01:00
Pierre Goiffon
c7ca1eeab5
🎨 Code formatting on pages/schema.php
2020-01-16 15:06:04 +01:00
Eric
02265135e3
N°2249 - Supportability - Updater module (run setup when error occurs)
2020-01-16 11:43:17 +01:00
Eric
2c1bf665c3
N°2249 - Supportability - Updater module (Add read-only warning)
2020-01-16 11:34:50 +01:00
Molkobain
60b6fcc783
N°2313 - Markup extensibility: Better display of success messages on form validation
2020-01-16 11:34:08 +01:00
Molkobain
53adb37f43
N°2060 - Fix session messages and SCSS compilation services being cached
2020-01-16 11:34:08 +01:00
Molkobain
a6fe564a95
Add comments in standard end-users portal XML
2020-01-16 11:34:08 +01:00
Pierre Goiffon
4945f25d49
N°2602 Portal : fix no more border around new caselog editor
...
With the new version of CKE N°2271, container is span.cke on MSIE instead of div.cke
2020-01-16 11:27:24 +01:00
Eric
e5f3daf88a
N°2249 - Supportability - Updater module (Add read-only warning)
2020-01-16 11:19:30 +01:00
Eric
cc3e6d64e1
N°2249 - Supportability - Updater module (Allow to run setup in case of failure)
2020-01-16 10:49:49 +01:00
Eric
8024aad43d
N°2249 - Supportability - Updater module (Add read-only warning)
2020-01-16 10:47:37 +01:00
Pierre Goiffon
757dbb8b25
N°2311 login page : add autofocus attribute to the id field
...
https://caniuse.com/#feat=autofocus
2020-01-16 10:38:08 +01:00
Eric
b370deaac9
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
2020-01-16 09:56:22 +01:00
Eric
026b7e1836
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 17:09:31 +01:00
Eric
d03b924240
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 16:58:36 +01:00
Eric
97a047e38f
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 16:42:47 +01:00
Eric
5be800cfce
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 15:48:54 +01:00
Molkobain
956b597e50
Fix how user data is retrieved for "Form Prefill" in the end-users portal
2020-01-15 15:16:50 +01:00
Molkobain
57100dee9f
N°2060 - WIP: Fix cached part of the portal (sync. commit)
2020-01-15 12:53:40 +01:00
Eric
c3cc1afec1
🙈 remove unnecessary info
2020-01-15 11:37:10 +01:00
Pierre Goiffon
7fe24f58f3
N°330 Display attachments as table : portal remove author column
2020-01-15 10:26:25 +01:00
Molkobain
e4160c7cf2
N°2702 - Portal: Fix origin modal not closing when switching to editing of an object
2020-01-15 10:15:36 +01:00
Molkobain
7d87768ec4
PHPDoc and warnings suppression
2020-01-15 10:15:36 +01:00
Molkobain
9946e6c41a
Fix typo
2020-01-15 10:15:36 +01:00
Stephen Abello
02b483e33e
Setup's cursor style on label wasn't present in .scss file and was lost since 7b6481e
2020-01-15 10:14:59 +01:00
Stephen Abello
7b6481efbd
N°2112: Setup alert message introduced by 83ba909 stopped working since 797893d ⌨ 🐒 🐒
2020-01-15 10:09:46 +01:00
Molkobain
efef582119
N°2306 - Security hardening (Fix regression introduced in f3b66a44, thanks to @bruno-ds !)
2020-01-15 08:42:35 +01:00
Molkobain
5056e561fe
PHPDoc
2020-01-15 08:42:35 +01:00
Molkobain
4400cfde62
N°2313 - Markup extensibility: Update usages of admin. console tabs to have codes and titles
2020-01-15 08:42:35 +01:00
Molkobain
5a39581c60
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
2020-01-15 08:42:35 +01:00
Pierre Goiffon
4eab0e6450
N°330 Display attachments as table : portal improvements
...
* display attachments count in section title, updated on each add/delete
* remove "no attchments message" on adding new attachment
2020-01-14 11:56:20 +01:00
Molkobain
f3b66a44ee
N°2306 - Security hardening
2020-01-14 11:50:50 +01:00
Molkobain
558f108520
N°2314 - Change breadcrumb icons color to black instead of Combodo's orange
2020-01-14 11:09:01 +01:00
Molkobain
07a93d12e2
Cleanup: Remove old/unused images/CSS files (Exhaustive list in migration notes)
2020-01-14 11:09:01 +01:00
Eric
ce127278bb
N°2434 - Track field Comment in core/delete - API REST
2020-01-14 10:46:21 +01:00
Molkobain
887946144c
N°2696 - Upgrade ArchiveTar to v1.4.9 (PHP 7.4 compatibility)
2020-01-14 10:35:53 +01:00
Molkobain
cc887c29fd
N°2696 - Upgrade SCSSPHP to v1.0.6 (PHP 7.4 compatibility)
2020-01-14 10:35:53 +01:00
Molkobain
460836852e
N°2696 - Upgrade SwiftMailer to v5.4.12 (Allow explicit tls1.0, tls1.1, tls1.2 for startTLS)
2020-01-14 10:35:53 +01:00
Eric
208d7ee7ba
N°2093 - ApplyStimulus return true when stimuli is not applicable
2020-01-14 10:27:55 +01:00
Eric
3d92b73ae5
:globe-with-meridian: changed filesystem into files for itop-core-update
2020-01-14 10:14:03 +01:00
Stephen Abello
deddb0824b
N°2315: Forgot password sent page needed stylization
2020-01-14 09:26:58 +01:00
Vladimir Kunin
3718899663
🌐 Update Russian translations for 2.7.0-beta
2020-01-13 17:52:15 +01:00
Pierre Goiffon
7f30d74f30
N°2269 Update Font Awesome to 5.12.0
2020-01-13 10:47:57 +01:00
Eric
21199fce34
N°2240 - Supportability - Maintenance mode exit on MTP or core update error
2020-01-10 15:32:29 +01:00
Pierre Goiffon
ad821e7d9c
N°2651 rollback gitignore for lib tests dirs
...
Too dangerous ! We'll work properly on this but for 2.8
2020-01-10 15:23:15 +01:00
Eric
881fc2a1de
N°2240 - Supportability - Maintenance mode exit on MTP or core update error
2020-01-10 14:14:20 +01:00
Vincent Dumas
44ee6baddb
N°2675: Fix AdminTools DataSynchro creation
...
User with a profile enabling write access on the group id="AdminTools" was not able to create a DataSynchro also it should have been.
2020-01-09 16:07:47 +01:00
Federico Lazcano
42d782740e
Paste error!
2020-01-09 10:05:22 +01:00
Federico Lazcano
cf16229948
🌐 Typos and new translations in ES CR
2020-01-09 10:05:22 +01:00
Federico Lazcano
a25427f4c6
Change from alias to real name
...
Sorry @Molkobain i changed my mind :-|
2020-01-09 10:01:03 +01:00
Federico Lazcano
04b2f7c836
🌐 Added ES CR translations
2020-01-09 09:28:36 +01:00
Molkobain
0f917af55a
👥 Add @lazki to our contributors list. Thanks! 👏
2020-01-09 09:12:27 +01:00
Federico Lazcano
daaed4696e
🌐 Typo in ES CR Translation
2020-01-09 09:08:34 +01:00
Pierre Goiffon
5f52c273d9
N°2329 PHP 7.4 compat : update setup requirements
...
This PHP version should be ok : we will give it a try during the beta program
2020-01-09 09:05:24 +01:00
Molkobain
b8d35e4783
👥 Add Guy Couronné (@GurneyHallack) to our contributors list!
2020-01-08 19:53:12 +01:00
Molkobain
149dff4b4d
N°2313 - Markup extensibility: Add markup hooks on BrowseBrick and ManageBrick tables
2020-01-08 19:48:45 +01:00
Molkobain
f235e0cd66
Update copyright
2020-01-08 19:48:45 +01:00
Pierre Goiffon
e47e02932a
N°2329 PHP 7.4 compat : fix warnings in TCPDF
...
Integrate last TCPDF fork version (6.3.2)
2020-01-08 17:50:51 +01:00
Eric
4544bba652
N°2240 - Supportability - Maintenance mode (setup CRON message)
2020-01-08 17:29:53 +01:00
Eric
9445e12254
MSIE 11 minimum
2020-01-08 17:23:36 +01:00
Eric
951945a607
N°2240 - Supportability - Maintenance mode (Better REST/Export message)
2020-01-08 17:17:34 +01:00
Eric
34f8fff01c
Fetch() ignore row when sub-class does not exist
2020-01-08 16:38:11 +01:00
Stephen Abello
8d45e48ce1
🥅 N°1192 Portal: Increase navigation rules checks robustness
2020-01-08 15:31:19 +01:00
Eric
ed26f1cecc
Fix menu creation flags
2020-01-08 15:10:10 +01:00
Molkobain
bc298afda3
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# datamodels/2.x/combodo-db-tools/cs.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/da.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/datamodel.combodo-db-tools.xml
# datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# datamodels/2.x/combodo-db-tools/de.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/default.css
# datamodels/2.x/combodo-db-tools/default.scss
# datamodels/2.x/combodo-db-tools/en.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/es_cr.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/fr.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/hu.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/it.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/ja.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/nl.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/pt_br.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/ru.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/tr.dict.combodo-db-tools.php
# datamodels/2.x/combodo-db-tools/zh_cn.dict.combodo-db-tools.php
2020-01-08 12:03:55 +01:00
Molkobain
4f0e3430c0
Merge remote-tracking branch 'origin/support/2.5'
2020-01-08 11:58:15 +01:00
Molkobain
3347f400b8
Internal: Revert files deleted by mistake 🙈
2020-01-08 11:57:29 +01:00
Molkobain
6082308e20
Add combodo-db-tools/1.0.7 module as a default module
2020-01-08 11:40:35 +01:00
odain
1fc290587c
N°2154: Fix security breach (scratch install usecase)
2020-01-08 10:10:49 +01:00
Molkobain
77fa02fcf9
PHPDoc and warnings suppression
2020-01-08 10:06:03 +01:00
Molkobain
d445551031
N°1986 - Fix regression introduced in b91183e9, creation form should never be read-only
2020-01-08 10:05:33 +01:00
Molkobain
ebfe9da464
N°2306 - Security hardening
2020-01-07 20:59:09 +01:00
odain
fdd79e91f0
N°2154: Fix security breach (scratch install usecase)
2020-01-07 17:44:39 +01:00
Molkobain
94a09493b0
N°2306 - Security hardening (BC break for some portal extensions, see migration notes)
2020-01-07 17:40:03 +01:00
Molkobain
56dbbb09dc
Fix dependencies between modules
2020-01-07 17:00:19 +01:00
Pierre Goiffon
f019e05af5
N°2042 deprecated chrono extensivity
2020-01-07 16:07:25 +01:00
bruno DA SILVA
838c4f123c
👌 peer review
...
mostly coding convention,
thanks @molkobain
2020-01-07 15:34:27 +01:00
bruno DA SILVA
2043010aad
N°2293 - API OnDBUpdate and AfterUpdate need modified fields and previous data
...
- add a getter for the protected property DBObject::$m_aChanges
2020-01-07 15:05:29 +01:00
bruno DA SILVA
cda18b950e
N°524 - Password policy
...
- removal of a forgotten console.debug
2020-01-07 14:28:20 +01:00
Molkobain
acf28ca4aa
N°2306 - Security hardening
2020-01-07 13:54:16 +01:00
Eric
864ded2102
Refactor Core Update (+8 squashed commit)
...
Squashed commit:
[b907bb759] Refactor Core Update
[5da2473aa] Refactor Core Update
[3fce45615] Refactor Core Update
[5f050a828] Refactor Core Update
[4b9b85174] Refactor Core Update
[f637ed358] Refactor Core Update
[56543edce] Refactor Core Update
[7f06900ef] Refactor Core Update
2020-01-07 10:00:14 +01:00
Eric
5cdc58846b
Allow browsing developed OQL class tree
2020-01-07 10:00:14 +01:00
Eric
45cd96eb0d
More informative message when class does not exist
2020-01-07 10:00:14 +01:00
Eric
c8335499fd
Allow browsing developed OQL class tree
2020-01-07 10:00:14 +01:00
Eric
7f3efe59ab
Refactor Core Update (+3 squashed commit)
...
Squashed commit:
[e1cbfe93f] Refactor Core Update
[41ec2adf7] Refactor Core Update
[ca6cefca3] Refactor Core Update
2020-01-07 10:00:13 +01:00
bruno DA SILVA
69551378c2
n°524 - password policy
...
- ajax message is now translated in the user's language
- prevent the form submission if the password policy is not respected
2020-01-06 18:33:47 +01:00
odain
f3fd4bde87
💚
2020-01-06 16:09:41 +01:00
bruno DA SILVA
c115f64cb5
N°2154 - Security breach
2020-01-06 15:31:31 +01:00
Stephen Abello
ee61c1e8fb
N°524: Fix style for inputs' feedback on "change password" page
2020-01-06 13:51:40 +01:00
bruno DA SILVA
e716fb118b
N°2574 - enable Password expiry
2020-01-06 12:14:34 +01:00
bruno DA SILVA
b0c76346a5
N° 524 - password policy
...
better colors for : "change pwd" page: add feedback during the password typing
2020-01-06 11:45:48 +01:00
Pierre Goiffon
56807fd941
Person sample file : fix Descartes email
...
Fix typo introduced in 906e309791
2020-01-06 11:17:57 +01:00
Molkobain
b56f248b79
👥 Add Pimkie to our contributors list (BR / IT translations)
2020-01-06 09:50:15 +01:00
bruno DA SILVA
7a85201a07
524 - password policy
...
"change pwd" page: add feedback during the password typing
2020-01-06 09:31:28 +01:00
Purple Grape
97ebffd5fb
improved chinese translations
...
1 improved chinese translations
2 fix some missing enries
3 correct line number against english language
2020-01-06 08:43:25 +01:00
Eric
46c239c211
typo
2020-01-03 16:40:49 +01:00
Vincent Dumas
906e309791
Replace Erri De Luca by René Descartes
2020-01-03 11:10:44 +01:00
bruno DA SILVA
4ad1ca0fc6
add option classmap-authoritative to composer.json
2020-01-02 14:19:00 +01:00
bruno DA SILVA
015955f396
N°2306 - Security hardening
2019-12-30 17:31:50 +01:00
Pierre Goiffon
9bee1905c8
N°2329 PHP 7.4 compat : remove get_magic_quotes_gpc/get_magic_quotes_runtime calls
...
Methods are now deprecated and since PHP 5.4 were always returning false
2019-12-24 17:30:12 +01:00
Pierre Goiffon
8ab157eae4
N°2329 PHP 7.4 compat, AttributeDefinition : fix visibilities of members called by AttributeDefinition::__construct
...
Not enough to get rid of child classes constructors though :/
2019-12-24 15:28:36 +01:00
Molkobain
17978b829b
Internal: Simplify classes FQN
2019-12-24 15:08:45 +01:00
Molkobain
4ddb23cd7c
N°2654 - Portal: Fix filter on external key when coming from filter brick
2019-12-24 15:08:45 +01:00
Pierre Goiffon
e27eb7419e
N°2329 PHP 7.4 compat, AttributeDefinition : add __construct() to child classes
...
Shouldn't be necessary but if not present PHP 7.4.0/7.4.1 is crashing when executing new Attribute...(...)
2019-12-24 12:22:49 +01:00
Pierre Goiffon
64ef572429
🎨 AttributeDefinition : some little inspections fixes, and fix misordered function modifiers
...
According to PSR, we should use public static and not static public
See https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Acoding_standards
2019-12-24 12:22:49 +01:00
Pierre Goiffon
2f81e0fd6f
N°2329 PHP 7.4 compat : remove deprecated array with curly braces
2019-12-23 18:44:52 +01:00
odain
987f1f7dbf
N°2568 - Log_KPI viewer in the console - Fix broken links
2019-12-23 17:17:10 +01:00
Pierre Goiffon
b53c91f7f3
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# Jenkinsfile
# setup/setuputils.class.inc.php
2019-12-23 11:34:55 +01:00
Pierre Goiffon
5fce2a2c1c
Setup : fix MySQL TLS wiki URL
2019-12-23 11:27:56 +01:00
Pierre Goiffon
13d31ac211
utils::GetDefaultUrlAppRoot : make comparison case insentitive, add a test
2019-12-23 11:06:29 +01:00
Pierre Goiffon
57ae29cf2f
\SetupPage::error : remove "error" title as existing calls already add it
2019-12-23 09:54:07 +01:00
Pierre Goiffon
0b3895e39e
Core update : fix CanUpdateCore result never displayed on server with warning enabled
...
Was caused by a call to :
\Combodo\iTop\FilesInformation\Service\FilesInformationUtils::Scan
With path set to ''. Made from :
\Combodo\iTop\FilesInformation\Service\FilesInformation::CanUpdateCore
2019-12-20 18:37:51 +01:00
Pierre Goiffon
0d231d9b94
N°2651 Remove lib test files from index
2019-12-20 17:07:20 +01:00
Molkobain
27a6abeeb3
Internal: Add Benjamin to the sample data to welcome him!
2019-12-20 12:21:02 +01:00
Pierre Goiffon
c75e6960a7
N°2651 Remove lib test files from index
2019-12-20 11:57:18 +01:00
Pierre Goiffon
4766ca3fd0
N°2650 fix run_query error handling incompatible with PHP < 7.3.0
2019-12-20 09:21:00 +01:00
odain
523dd97eca
N°2570 Update iTop license list
2019-12-19 16:40:17 +01:00
bruno DA SILVA
c09bd2bfc6
2626 - log modularity: filterable logs using minimal log level per channel
...
🔊 Adding log level Trace, which is not logged by default (as for Debug)
2019-12-19 11:17:18 +01:00
Molkobain
bd662eaf19
Update README to add 2.7.0-beta section
2019-12-18 16:47:11 +01:00
Pierre Goiffon
ff75ecfe27
💄 Setup : add styling on prerequisites summary title
2019-12-18 11:12:21 +01:00
Pierre Goiffon
54f8b74383
📝 restore WizardStep documentation
...
Do not add documentation in a doc block containing @copyright O:)
2019-12-18 11:05:41 +01:00
Pierre Goiffon
18a506673f
💄 Setup : restore label{ cursor:pointer;}
2019-12-18 10:44:28 +01:00
Pierre Goiffon
a108be8517
N°330 Fix first column not centered when creating attachment on new ticket
2019-12-18 09:56:33 +01:00
Eric
3e57c3b1e9
N°2249 - Supportability - Updater module (application upgrade)
2019-12-18 09:45:34 +01:00
Stephen Abello
f18e27a183
N°2314 Setup progress bar is now cuter (following 01cb88a)
2019-12-18 09:40:48 +01:00
Pierre Goiffon
358efb0f2f
N°2518 Change log level for non existent legacy log file when trying to rename
2019-12-18 09:28:11 +01:00
bruno DA SILVA
723fc917f1
🐛 change back to an authoritative autoloader
2019-12-18 09:25:35 +01:00
Pierre Goiffon
01f34eea29
N°330 Attachments display as table : portal. Table is now responsive, attachment section is collapsable (collapsed by default)
2019-12-17 18:14:21 +01:00
bruno DA SILVA
705d941979
⬆️ Upgrading dependencies
2019-12-17 17:43:18 +01:00
Stephen Abello
691acb45e6
N°2314 2 css variables were not overridable
2019-12-17 15:23:02 +01:00
Pierre Goiffon
97e4ff30ff
N°330 attachments size column : right align (both on console and portal)
...
Allows easier comparison to see bigger files
2019-12-17 15:12:28 +01:00
Pierre Goiffon
34c76c735a
N°330 Attachments display as table : portal. Various improvements
...
* update CSS for table layout (vertical align, change text-align)
* tooltip : fix max size was not used anymore (tooltip was removing the style attributes)
* tooltip : fix tooltip always available
* delete button background color set to same as validate button
* remove "type" column
* reduce attachment line height
2019-12-17 15:08:22 +01:00
Pierre Goiffon
47d8e35639
N°330 Improve \ormDocument::GetFormattedSize
...
* Fix typo in method name (many thanks @jbostoen !)
* Use \utils::BytesToFriendlyFormat
2019-12-17 15:08:22 +01:00
odain
d4dc739b30
Finalize license update file
2019-12-17 14:56:13 +01:00
acognet
b84859b07e
optimizing the display of the label in FieldsExpression
2019-12-17 13:07:21 +01:00
bruno DA SILVA
3f154fa765
2626 - log modularity: filterable logs using minimal log level per channel
...
🐛 logs are no more written twice.
2019-12-17 12:33:34 +01:00
Eric
f31e32d7a9
N°2249 - Supportability - Updater module (disable submit when no file provided)
2019-12-17 11:53:29 +01:00
Molkobain
1589535a45
Internal: Add automatic refresh of the maintenance page every 30s to redirect user to iTop when done
2019-12-17 11:48:27 +01:00
odain
53353ec9e1
Merge branch 'develop' of https://github.com/Combodo/iTop into develop
2019-12-17 11:44:17 +01:00
odain
a601b1c59a
release: css part of community-licenses.xml
2019-12-17 11:44:13 +01:00
odain
e093abcb2b
release: lib part of community-licenses.xml
2019-12-17 11:28:05 +01:00
Molkobain
01cb88a661
N°2314 Regression: Add progress bar color change while on going to show user it's not stucked
2019-12-17 11:15:00 +01:00
Molkobain
5ef32b6b31
N°2314 Regression: fix invisible icons due to wrong FontAwesome calls
2019-12-17 11:09:10 +01:00
Stephen Abello
ba1c719568
N°2314 Regression: fix invisible icons due to wrong FontAwesome calls
2019-12-17 10:55:05 +01:00
Eric
0507e4f4a8
🔖 version 2.7.0-beta
2019-12-17 10:35:15 +01:00
Eric
60eb312e68
🔖 version 2.7.0-beta
2019-12-17 10:28:13 +01:00
Eric
044a8926b3
🔖 version 2.7.0-beta
2019-12-17 10:25:28 +01:00
odain
acf8c9d49e
release: js part of community-licenses.xml
2019-12-17 10:22:07 +01:00
Eric
d99e79eb3f
🔖 xml version 1.7
2019-12-17 10:22:03 +01:00
Eric
843c8ccd38
🔖 version 2.7.0
2019-12-17 10:18:15 +01:00
Eric
d45326606d
🌐 Update translations
2019-12-17 10:09:10 +01:00
Molkobain
5886d038e3
Regression: Fix iTop Hub connector not being installed (caused by dd5ac38dd4)
2019-12-17 09:50:27 +01:00
Pierre Goiffon
8fed7c7005
💄 Setup : TLS message style was hardcoded, get back to standard CSS classes to be aligned with the rest
2019-12-17 09:16:10 +01:00
Molkobain
604522aa61
N°2314 Regression: Work on Setup stylesheet
2019-12-16 18:07:59 +01:00
Molkobain
7af35c2d09
Internal: Improve how CSS and JS files are loaded in the DOM to optimize rendering and avoid glitches
2019-12-16 17:53:43 +01:00
Stephen Abello
87497eb491
N°2314 Regression: extracted setup's stylesheet in its own file and pimped it up
2019-12-16 17:05:36 +01:00
Pierre Goiffon
434ed0dd4e
N°330 Attachments display as table : portal
2019-12-16 15:51:56 +01:00
Pierre Goiffon
473a55bde6
🎨 bsfileuploader : code formatting
2019-12-16 15:25:32 +01:00
Pierre Goiffon
0b65b36e74
N°330 Attachments : add attributes in Attachment object
...
* creation date
* external key to creator User
2019-12-16 15:25:32 +01:00
Pierre Goiffon
4aeb78ccac
N°330 Attachments display as table : console
2019-12-16 15:25:31 +01:00
Pierre Goiffon
21d5de1756
Fix run_query throwing exception when inccorect query and no suggestions returned
2019-12-16 15:07:26 +01:00
Stephen Abello
797893d317
N°2314 Regression: fix crash on setup ⌨️ 🐒
2019-12-16 14:16:29 +01:00
Eric
dd5ac38dd4
N°2249 - Supportability - Updater module (application upgrade)
2019-12-13 17:28:35 +01:00
Eric
2741a446ea
Integrate database integrity module
2019-12-13 17:28:08 +01:00
Molkobain
da3d886bd7
N°2618 - Fix missing scroll bar in DataModel Viewer for class with large number of attributs
2019-12-12 16:41:09 +01:00
Stephen Abello
ad40e02fee
N°2314 Forgot to commit these changes with 611e82 🙈
2019-12-12 15:55:06 +01:00
Vincent Dumas
7cc63e21dd
Prevent trigger without friendlyname
...
Make 'description' mandatory as it is used as friendly name, and a blank value is not clickable in the UI
2019-12-12 15:47:39 +01:00
Stephen Abello
611e828d1a
N°2314 Introduce custom themes for iTop's console
2019-12-12 15:46:03 +01:00
odain
3abcd59b03
remove redundant test on log api
2019-12-12 14:41:26 +01:00
odain-cbd
48f4cd8943
Merge pull request #101 from Combodo/feature/faf_log_modularity
...
Feature/faf log modularity
2019-12-12 14:44:02 +01:00
odain
abd5e27c2e
fix and complete testcase
2019-12-12 14:22:49 +01:00
Eric
ccb3a21c68
N°2595 - Reorganize/rename admin. console menus (hide empty sub-menus)
2019-12-12 10:20:29 +01:00
Molkobain
aa060746d7
N°2009 - Fix non editable dashboard when wrong attribute code used in its definition
2019-12-12 09:50:13 +01:00
odain
6ec441e501
peer review: added tests but not passed yet
2019-12-12 08:43:01 +01:00
Molkobain
52d3d8cfe7
Internal: PHPDoc, warnings suppression and typos
2019-12-11 20:54:45 +01:00
Molkobain
081ba68af4
N°2634 - Fix non editable dashlets in dashboards
2019-12-11 20:54:45 +01:00
odain
38d5889979
log kpi: class name added to next page buttons in order to use them in itop-log-mgt
2019-12-11 17:58:49 +01:00
Molkobain
5b4808c378
Internal: PHPDoc
2019-12-11 15:58:47 +01:00
Molkobain
2af22d3387
N°2060 Fix regression introduced during migration (iPortalUIExtension extensions not working)
2019-12-11 15:54:01 +01:00
Eric
7c1a8c90da
N°2595 - Reorganize/rename admin. console menus
2019-12-11 13:59:31 +01:00
Molkobain
e7726a17db
N°2630 - Portal: Fix wrong "apply stimulus" form being used in a branch of classes
2019-12-10 21:51:28 +01:00
Molkobain
57da9a848d
Internal: Optimize regexp to remove warning
2019-12-10 21:51:28 +01:00
Molkobain
464ee46631
Internal: Refactor a small piece of code for better readability
2019-12-10 21:51:28 +01:00
Molkobain
46358b6e36
N°1982 - Fix resolution date not updated as expected when concurrent access from both portal and admin. console
2019-12-10 21:51:28 +01:00
Pierre Goiffon
46d6779562
🎨 utils : some code formatting + 1 @var
2019-12-10 17:57:55 +01:00
bruno DA SILVA
ea708e1e05
995 - Searching in OQL, URs with a particular request template field value
...
added AllowDelete in order to bypass the user's rights
2019-12-10 16:59:44 +01:00
Eric
374946505a
N°2381 - Not possible to create a ticket in "resolved" with lnk objects
2019-12-10 15:30:53 +01:00
Pierre Goiffon
18db31f138
Log : rename config parameter from 'min_log_level' to 'log_level_min'
2019-12-10 09:46:42 +01:00
Pierre Goiffon
332c6eb33c
log : factorize level & context
2019-12-10 09:39:46 +01:00
bruno DA SILVA
e5c49e3bd4
filterable logs using min_log_level optionnaly per channels
2019-12-10 09:03:14 +01:00
Molkobain
60769dc4b7
Internal: Add Dimitri to the sample data to welcome them!
2019-12-09 16:15:56 +01:00
Pierre Goiffon
9e652ef214
Update iPortalUIExtension param (not using Silex anymore but Symfony)
2019-12-09 16:11:29 +01:00
Pierre Goiffon
d2825c1b24
iTop Hub Connector : remove installation.xml
...
Was commited by mistake (duplicate of datamodels/2.x/installation.xml)
2019-12-09 16:02:39 +01:00
Eric
8482be7068
N°2623 - Fix setup request error
2019-12-09 14:56:42 +01:00
Eric
9dc56b727e
N°1987 - Fix search equals 0 for integer fails
2019-12-06 17:01:46 +01:00
Eric
c6759220b9
🎨 clean warnings and add KPI in ajax.render.php
2019-12-06 15:42:03 +01:00
Pierre Goiffon
470af54acb
Add some HTML in errors thrown by \MetaModel::DBCheckFormat
2019-12-05 17:56:42 +01:00
Eric
344f74f444
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix UNION queries
2019-12-05 17:33:47 +01:00
Molkobain
0d1ca1bc0e
N°2611 - Make itop-portal-base module mandatory during setup
2019-12-05 17:30:30 +01:00
Molkobain
d9e3684d3d
Internal: Add Marie-Annette to the sample data to welcome them! 👋
2019-12-05 17:07:05 +01:00
Molkobain
e59db3f3d9
Internal: Add Alexandre, Anne-Catherine and Olivier to the sample data to welcome them! 👋
2019-12-05 15:47:46 +01:00
Molkobain
c883d618c3
N°1192 - Change default behavior for navigation rules
2019-12-05 15:02:36 +01:00
Eric
8911a9a3ed
N°2381 - Not possible to create a ticket in "resolved" with lnk objects
2019-12-05 13:06:23 +01:00
Molkobain
366d2754ef
N°2060 - Fix regression making url pointing to the portal not working in notification anymore
2019-12-05 12:39:28 +01:00
Molkobain
4db114f64d
N°2313 - Markup extensibility: Add meta information and hooks
...
Admin. console:
- Class and id on object form
- Class current and target state on object transition form
- Object form mode (view/edit/create/stimulus)
- Object attributes: Attribute code, attribute definition class and raw value
- Navigation menu: Their IDs on group and items
- Actions menu: Their IDs on items
Portal:
- Object attributes: Attribute code, attribute definition class and raw value
2019-12-05 12:27:02 +01:00
Pierre Goiffon
d36340a3cd
TagSet tests : use expectException method
2019-12-05 11:50:58 +01:00
Pierre Goiffon
7e6de5d8dd
🐛 \SetupUtils::builddir : avoid infinite loops
2019-12-05 10:27:22 +01:00
bruno DA SILVA
490eda4f4a
n°524 - password policy
...
bugfix : Enter Password phrase no more lack the userName and is properly displayed
2019-12-05 09:55:44 +01:00
Eric
b5b4d70c2d
N°1213 - Allow NOT IN SELECT in OQL syntax - Add unit tests
2019-12-05 09:02:11 +01:00
Eric
a74cff6902
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix unit tests
2019-12-04 15:39:44 +01:00
Eric
1010274c48
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix search init & code cleanup
2019-12-04 14:50:36 +01:00
Eric
c39ff13217
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix search init
2019-12-04 14:40:53 +01:00
Eric
58da108e85
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-04 14:27:02 +01:00
Eric
8b4fdb54ea
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION queries
2019-12-04 11:17:51 +01:00
Pierre Goiffon
1877cb5e93
N°2614 Fix datasynchro error when running synchro_import.php
2019-12-04 11:08:18 +01:00
bruno DA SILVA
1530b3f2ca
🐛 apc_clear_cache & opcache_reset can both be called
...
especially since not calling apc_clear_cache may result in invalid apcu entries...
2019-12-04 10:39:30 +01:00
Eric
4c3c5228aa
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 17:23:14 +01:00
Eric
3ae4ca89f4
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION queries and "nested nested" queries
2019-12-03 17:14:53 +01:00
Eric
b415b1eeae
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION requests
2019-12-03 12:11:00 +01:00
Eric
c0ae983faa
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
acognet
7845cbcc55
update tests
2019-12-03 12:11:00 +01:00
acognet
a33977251e
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
odain
b0d668b124
N°1213 - Allow NOT IN SELECT in OQL syntax - add unit tests
2019-12-03 12:11:00 +01:00
odain
b0856c1abf
fix HTMLDOMSanitizerTest due to merge
2019-12-03 12:10:26 +01:00
Pierre Goiffon
2bffa3cf17
N°2615 PHP versions setup requirements/warnings
2019-12-03 11:54:13 +01:00
odain
5ab05c6a6a
Merge branch 'develop' of https://github.com/Combodo/iTop into develop
2019-12-03 11:42:08 +01:00
odain
72af2b7cd6
comment OQL section in phpunit.dist.xml
2019-12-03 11:41:57 +01:00
Molkobain
143c0a5b07
N°2616 - Fix hyperlink placeholder not working in notifications for other portals
2019-12-03 11:39:14 +01:00
Molkobain
daf79f2324
N°2272 Fix calls to DBObjectSet::OptimizeColumnLoad()
2019-12-03 11:39:14 +01:00
odain
15d11c6c86
reomve echo that prevented phpunit execution
2019-12-03 11:26:35 +01:00
odain
b298a1fa82
fix invalid merge
2019-12-03 11:23:25 +01:00
odain
007b8147c7
fix phpunit step
2019-12-03 11:17:01 +01:00
odain
4013b76c9e
Merge branch 'speedup_jenkins' into develop
2019-12-03 11:09:30 +01:00
odain
ed81391aff
!y# This is a combination of 4 commits.
...
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
2019-12-03 11:02:15 +01:00
Pierre Goiffon
28818010d6
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 10:58:21 +01:00
Eric
928c19f923
✅ move OQL2SQL tests to another folder
2019-12-03 10:58:21 +01:00
Eric
34aa240840
🎨 Fix bad parameter init
2019-12-03 10:58:21 +01:00
Eric
6872dbd180
🎨 Fix bad parameter init
2019-12-03 10:58:21 +01:00
Pierre Goiffon
c5bea30c64
N°2329 PHP 7.4 compat : remove deprecated get_magic_quotes_gpc() function call
2019-12-03 10:58:21 +01:00
Molkobain
071a254611
N°2311 Fix focus set to sumbit button when pressing "tab" key after filing inputs
2019-12-03 10:58:21 +01:00
Molkobain
d2d203df34
💄 Increase blur effect on portal modal backdrop
2019-12-03 10:58:21 +01:00
Molkobain
e1ffdea172
N°2272 Fix call to DBObjectSet::OptimizeColumnLoad() in the portal (doesn't support "id" attribute anymore)
2019-12-03 10:08:46 +01:00
Pierre Goiffon
9abcf40df7
N°2558 Test for the HTMLDOMSanitizer white list : remove new lines
...
the parser gives different results depending on the PHP version
Didn't manage to get it right :
- no php.ini difference
- playing with the parser preserveWhitespace/formatOutput parser options didn't help
So we're removing new lines on both sides :/
2019-12-03 09:47:45 +01:00
Pierre Goiffon
b67dc888fe
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 08:42:25 +01:00
Eric
c7b101d169
✅ move OQL2SQL tests to another folder
2019-12-03 08:38:57 +01:00
Eric
df5a7440a4
🎨 Fix bad parameter init
2019-12-03 08:38:57 +01:00
Eric
a59a8c0ec5
🎨 Fix bad parameter init
2019-12-03 08:38:57 +01:00
Pierre Goiffon
bf9f43da8b
N°2329 PHP 7.4 compat : remove deprecated get_magic_quotes_gpc() function call
2019-12-02 13:47:44 +01:00
Molkobain
928b82a9c8
N°2311 Fix focus set to sumbit button when pressing "tab" key after filing inputs
2019-11-29 17:40:07 +01:00
Molkobain
b9008d2459
💄 Increase blur effect on portal modal backdrop
2019-11-29 17:38:20 +01:00
odain
50dddaaa9b
add debug mode as param + use params in phpunit.sh
2019-11-29 16:46:59 +01:00
odain
1b168501af
add a parameter to Jenkins pipeline
2019-11-29 16:37:01 +01:00
bruno DA SILVA
35a49bad60
n°524 - password policy
...
typos
(thanks @jbostoen)
2019-11-29 08:56:18 +01:00
Pierre Goiffon
97c1ff55e9
📝 Comment to explain why Uniqueness isn't protected by a lock
2019-11-28 17:16:01 +01:00
Molkobain
ffead92d5a
N°2613 - Portal: Fix crash in object form having empty AttributeBlob field
2019-11-28 17:05:05 +01:00
Molkobain
81ea2b1fe4
Internal: Add comment on suspected dead code
2019-11-28 17:05:05 +01:00
Molkobain
9cdfe0ecb4
Internal: PHPDoc and warning suppression
2019-11-28 17:05:05 +01:00
bruno DA SILVA
0473269132
n°1617 - iTop Fence
...
- iTop Fence now lock user fetch/creation per login to prevent duplicates
- iTop now provide a mean to create safe lock when used untrusted strings
- better log message & function names
- reduced cyclomatic complexity
(thanks @piRGoif)
2019-11-28 17:03:31 +01:00
Eric
4798bf2f79
N°2408 - Fix FromOQL() with NULL
2019-11-28 11:54:42 +01:00
bruno DA SILVA
c3c5c56dd8
n°524 - password policy
...
- changed translation key to be more conventional
2019-11-28 11:40:28 +01:00
bruno DA SILVA
4fb9bbb831
n°524 - password policy
...
- "change password" is now handled gracefully by the portal
2019-11-28 09:05:20 +01:00
bruno DA SILVA
267cdd2aee
n°524 - password policy
...
- "password reset" workflow now handle gracefully the policy enforcement.
2019-11-28 08:52:02 +01:00
bruno DA SILVA
fe0bd1a4b8
n°524 - password policy
...
- translations added
- fields are now visible in the detail view
- minor translation modification for the User object
2019-11-28 08:52:02 +01:00
Molkobain
9fa510d2a8
Internal: PHPDoc and warning suppression
2019-11-27 20:40:39 +01:00
Molkobain
fd29986354
N°2000 - Fix blank page when displaying a synchronized object
2019-11-27 20:07:17 +01:00
Molkobain
8ec6bb4758
N°1666 - Fix missing scroll bar missing in modal window "Create a new field" from Request Template
2019-11-27 19:35:19 +01:00
Molkobain
f3306f5fb4
N°1616 - Fix truncated caselog entry with large HTML table or word
2019-11-27 19:05:37 +01:00
Molkobain
20683fdf50
N°1192 Fix transition form always redirecting to object no matter the navigation rule
2019-11-27 17:21:01 +01:00
Molkobain
603ae8c0e1
N°2272 Fix calls to DBObjectSet::OptimizeColumnLoad() in the portal (now requires ClassAlias to always be specified)
2019-11-27 17:21:01 +01:00
Eric
f1d0418e48
🐛 Fix error when no cache is configured
2019-11-27 16:02:46 +01:00
Eric
9c8c306df3
🐛 Fix DBSearch::Intersect (de-duplicate aliases)
2019-11-27 15:39:33 +01:00
Eric
d2543e9c67
🐛 Fix bad calls to OptimizeColumnLoad
2019-11-27 15:38:30 +01:00
Pierre Goiffon
55a0d910fa
N°2490 MariaDB compat : changes after code review
...
* DEFAULT value unquoting is done with preg_replace now (clearer that we want to do a string replacement)
* DEFAULT value unquoting works even if DEFAULT is not the last keyword
* change test datasource for more readability (use double quotes when needed)
2019-11-27 11:51:47 +01:00
Pierre Goiffon
bd8144a67c
👷 Jenkins : config file is now picked by the unattended install
...
The problem was that we had an absolute path in the XML : changing it to the file name is sufficient ! The copy introduced in 443763de was unecessary.
2019-11-27 11:45:30 +01:00
Pierre Goiffon
004d1a7245
🎨 Rename constant
2019-11-27 10:15:24 +01:00
Pierre Goiffon
09fb99ed58
Rollback 2f431a0d : might not be a typo, we don't want to cause trouble close to a beta version O:)
2019-11-26 17:31:41 +01:00
Eric
ae8071f707
add unit tests for intersect
2019-11-26 17:24:23 +01:00
Eric
c1cf084e43
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 16:32:19 +01:00
Eric
87c794b22e
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 15:44:17 +01:00
Molkobain
a382d6ad35
N°1192 Change "close rule" behaviour to redirect to homepage if browser doesn't let us close the window
2019-11-26 14:57:35 +01:00
Eric
2d86599a19
N°2519 - ev_timeout from "New" to "Escalated TTO" doesn't work
2019-11-26 13:55:26 +01:00
Pierre Goiffon
914971b30d
💚 Jenkins : Fix default config database name
2019-11-26 12:15:02 +01:00
Pierre Goiffon
443763de48
💚 Jenkins : copy default config after unattended install
...
The generated config file had too many default values, and not the wanted ones
2019-11-26 12:09:03 +01:00
Stephen Abello
ff3c7ebe54
N°971 Portal: Fix Browse brick n:n level links in tree and mosaic display
2019-11-26 11:39:25 +01:00
Stephen Abello
c0f82f25a3
N°956 Portal: Increase robustness 💪
2019-11-26 11:39:25 +01:00
Eric
f90381d412
Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 08:57:47 +01:00
bruno DA SILVA
d367d2e864
n°524 - password policy
...
💚 fix CI regression (data provider no longer include classes with side effect)
2019-11-25 18:02:25 +01:00
bruno DA SILVA
9d20eba2ad
2574 - enable Password expiry
...
- Extensibility: The UserLocal now provide the fields needed for an extension to be able to properly handle the expiration of the password
2019-11-25 17:37:34 +01:00
bruno DA SILVA
863746852f
n°524 - password policy
...
💚 fix CI : tests must be runned into a separate process in order to eliminate side effects of mocking the config
2019-11-25 16:53:04 +01:00
bruno DA SILVA
f416f994c9
n°2371 deprecate \MetaModel::EnumLinksClasses and \MetaModel::EnumLinkingClasses
...
- phpdoc: move title the to beginning of the block
2019-11-25 16:35:46 +01:00
bruno DA SILVA
70dfbbc15e
n°524 - password policy
...
- The code now uses the standard extension method (using interfaces)
- the metamodel can now filter on iModuleExtension in order to leverage extensions modularity (see MetaModel::EnumPlugins second param)
- during the setup, there is no pawsord policy control
- there is now a default policy
- new (more precie) translation reflecting the default policy
- fix CI?
2019-11-25 16:25:38 +01:00
Molkobain
85932eab98
N°1192 Fix crash with default parameters of the rule
2019-11-25 15:33:23 +01:00
Pierre Goiffon
0ee77d8c88
N°2163 DB*Tracked methods : modifications after review with Romain
...
Previous commit : 24eb82d1
Use \CMDBObject::SetTrackInfo
Move \CMDBObject::SetCurrentChange calls at the top most level of the stacks
Restore old behaviors that were removed in previous commit
2019-11-25 14:58:59 +01:00
Molkobain
2f2d9547b7
N°2603 - Portal: Fix crash when having comments in some parts of the XML
2019-11-25 12:38:34 +01:00
Molkobain
32b065708b
N°1192 Add some ready-to-use navigation rules to the standard portal (and comments)
2019-11-25 09:45:31 +01:00
Molkobain
18285df154
Internal: Fix typo
2019-11-22 18:44:27 +01:00
Molkobain
b1b6c9f426
N°1192 Introduce navigation_rules in the end-users portal
2019-11-22 18:44:27 +01:00
Molkobain
ff884533f9
Internal: Add utils::ToCamelCase($sInput) function
2019-11-22 18:44:27 +01:00
Molkobain
417e80fe8d
N°1192 Deprecate usage of <submit> and <cancel> tags in action rules
2019-11-22 18:44:27 +01:00
Pierre Goiffon
c203e6c7be
Fix utils::StartsWith when needle bigger that value
2019-11-22 14:43:33 +01:00
bruno DA SILVA
730a0d1c98
n°524 - password policy
...
💚 fix CI : tests must be runned into a separate process in order to eliminate side effects of mocking the config
2019-11-22 14:38:36 +01:00
bruno DA SILVA
d9b374f723
n°524 - password policy
...
💚 fix CI regression (previous tests are sometimes incompatible with the default password policy)
2019-11-22 14:14:44 +01:00
bruno DA SILVA
b9cb692504
n°524 - password policy
...
bugfix: no rule does work properly
2019-11-22 12:31:14 +01:00
bruno DA SILVA
23fc4bb4f7
n°524 - password policy
2019-11-22 12:23:00 +01:00
Pierre Goiffon
4ae035dd51
🔧 Modify visual vertical guides setting
2019-11-22 11:42:43 +01:00
Pierre Goiffon
3a791162c5
⚡ setup module browsing perf improvement
...
When a module descriptor file is found, do not dig anymore in subdirectories
2nd fix, should be better than previous one (4042a12d reverted with 5ebc290b )
2019-11-21 17:44:04 +01:00
Pierre Goiffon
06791b06c4
Fix utils::EndsWith when needle bigger that value
2019-11-21 11:57:24 +01:00
Eric
5ebc290b94
Revert Setup : only scan necessary dirs for extensions
2019-11-21 11:37:22 +01:00
Pierre Goiffon
675221a15e
N°2490 Setup/toolkit : no longer generates useless ALTER TABLE queries on MariaDB >= 10.2
...
* case insensitive SQL data type comparison
* some options have also case differences (example 'int(11) unsigned')
* DEFAULT 'NULL' added by MariaDB on all nullable fields
* default values are always surrounded with single quotes on MariaDB
This is a Combodo implementation of PR #91
2019-11-21 11:24:14 +01:00
Pierre Goiffon
2f431a0d14
🐛 Fix SynchroAttLinkSet.attribute_qualifier default value
...
Old typo (in a galaxy far, far away) : 1e688706
2019-11-21 10:44:54 +01:00
Molkobain
fd4e41950c
N°2092 Portal: Fix missing scrollbar in tall form modals
2019-11-20 15:41:11 +01:00
Molkobain
41d5ae704a
PHPDoc
2019-11-20 15:41:11 +01:00
Molkobain
83fc069bf4
Portal: Improve callback calls in CombodoPortalToolbox
2019-11-20 15:41:11 +01:00
Pierre Goiffon
32c5cd245b
N°2533 Check modules manual install dir on Setup for iTop products
2019-11-20 12:04:54 +01:00
Molkobain
a259be9033
N°2311 Fix focus set to the "login" input field when pressing "tab" key
2019-11-20 12:00:52 +01:00
Molkobain
fbbdee242a
Portal: Update code to use the CombodoPortalToolbox.OpenModal() helper
2019-11-20 11:38:42 +01:00
Molkobain
4a12635ea5
Portal: Introduce "CombodoPortalToolbox", helpers to ease JS manipulations especially through the iPopupMenuExtension.
...
- CombodoPortalToolbox.CloseAllModals() : Close all modal on the page
- CombodoPortalToolbox.OpenUrlInModal(sTargetUrl, bCloseOtherModals) : Open an URL in a modal, typically opening an object form
- CombodoPortalToolbox.OpenModal(oOptions) : Generic method to open modals in the portal with various options
2019-11-20 11:37:39 +01:00
Molkobain
db7278e9c1
🐛 Fix compiler crashing on setup due to coment in XML
2019-11-19 17:59:20 +01:00
Molkobain
10056aa4ca
✏️ Fix typos in comments
2019-11-19 17:33:07 +01:00
Pierre Goiffon
bb566df432
📝 WizardSteps documentation v2
...
With an ascii art schema
Thanks to http://asciiflow.com/
2019-11-19 16:31:26 +01:00
Pierre Goiffon
4042a12d39
Setup : only scan necessary dirs for extensions
...
We were browsing the whole hierarchy but only the root module dir was needed
This could be slow (especially when developing with a .git dir)
2019-11-19 15:27:06 +01:00
Pierre Goiffon
5ae4f9ade8
📝 WizardSteps documentation
2019-11-19 15:21:27 +01:00
Molkobain
1636f9839c
Updating Symfony lib and dependencies: forgot a few files + composer.lock
2019-11-18 18:08:40 +01:00
Molkobain
c76cccd2e7
Updating Symfony lib and dependencies:
...
Package operations: 2 installs, 23 updates, 0 removals
- Updating psr/log (1.1.0 => 1.1.2)
- Updating symfony/debug (v3.4.30 => v3.4.35)
- Updating symfony/console (v3.4.30 => v3.4.35)
- Updating symfony/dotenv (v3.4.30 => v3.4.35)
- Updating symfony/routing (v3.4.30 => v3.4.35)
- Updating symfony/finder (v3.4.30 => v3.4.35)
- Updating symfony/filesystem (v3.4.30 => v3.4.35)
- Installing symfony/polyfill-util (v1.12.0)
- Installing symfony/polyfill-php56 (v1.12.0)
- Updating symfony/http-foundation (v3.4.30 => v3.4.35)
- Updating symfony/event-dispatcher (v3.4.30 => v3.4.35)
- Updating symfony/http-kernel (v3.4.30 => v3.4.35)
- Updating symfony/config (v3.4.30 => v3.4.35)
- Updating symfony/dependency-injection (v3.4.30 => v3.4.35)
- Updating symfony/class-loader (v3.4.30 => v3.4.35)
- Updating symfony/cache (v3.4.30 => v3.4.35)
- Updating symfony/framework-bundle (v3.4.30 => v3.4.35)
- Updating twig/twig (v1.42.2 => v1.42.4)
- Updating symfony/twig-bridge (v3.4.30 => v3.4.35)
- Updating symfony/twig-bundle (v3.4.30 => v3.4.35)
- Updating symfony/yaml (v3.4.30 => v3.4.35)
- Updating symfony/stopwatch (v3.4.30 => v3.4.35)
- Updating symfony/var-dumper (v3.4.30 => v3.4.35)
- Updating symfony/web-profiler-bundle (v3.4.30 => v3.4.35)
- Updating symfony/css-selector (v3.4.30 => v3.4.35)
2019-11-18 18:04:32 +01:00
Eric
532eb466a1
N°1436 - Access control updated for grant_by_profile categories of classes -
...
Fix access to internal classes from the core engine
2019-11-18 15:36:42 +01:00
Pierre Goiffon
e8879a0455
🎨 Code formatting
2019-11-18 15:29:03 +01:00
Pierre Goiffon
ef5b4e212c
N°2371 deprecate \MetaModel::EnumLinksClasses and \MetaModel::EnumLinkingClasses
2019-11-18 10:20:18 +01:00
Pierre Goiffon
24eb82d140
N°2361 Deprecate DB*Tracked methods
...
* update methods PHPDoc
* DBInsertTracked update callers
* DBInsertTrackedNoReload update callers
* DBUpdateTracked update callers
* DBDeleteTracked update callers
2019-11-15 17:56:04 +01:00
Pierre Goiffon
cdc8edb56b
Fix backup regression "Undefined class constant 'DEFAULT_MODULE_SETTING_TIME'"
...
Was introduced in PR #89 , woops
2019-11-15 16:44:38 +01:00
Pierre Goiffon
7235c63445
Abstract implementation for iScheduledProcess ( #89 )
...
* 📝 little PHPDoc in BackupExec
* ♻️ Create a extendable implementation of iScheduledProcess
* create AbstractWeeklyScheduledProcess
* move schedule methods to the new abstract class
* create ProcessInvalidConfigException
* in cron.php skip abstract class
2019-11-15 14:41:00 +01:00
Pierre Goiffon
fd3b33b04b
N°2586 Test for iTopDesignFormat
2019-11-14 18:07:17 +01:00
Pierre Goiffon
e8815e5653
N°1283 Add migration script
2019-11-14 18:04:22 +01:00
Pierre Goiffon
551b9a3b76
\MFDocument::saveXML : $options were not passed to the callee
2019-11-14 18:04:22 +01:00
bruno DA SILVA
1c6b639992
n°1617 - iTop Fence
...
various improvement both in iTop and in the extension.
2019-11-14 17:02:52 +01:00
bruno DA SILVA
6fb7587d95
🔧 write the tooling methods enabling migration to/from iTop 2.7
2019-11-14 16:59:08 +01:00
Eric
3953e74cb4
🎨 refactor approot
2019-11-14 15:43:29 +01:00
Pierre Goiffon
a8f616bba7
N°2577 Setup : remove prefix for table prefix collapsible section
2019-11-14 14:46:58 +01:00
bruno DA SILVA
560eb5e071
🔧 write the tooling methods enabling migration to/from iTop 2.7
2019-11-14 12:15:30 +01:00
Eric
c665bb4761
💚 Fix unit tests
2019-11-14 09:37:39 +01:00
Denis Flaven
36584092e5
(Experimental) Export a DBSearch as an array/JSON structure.
2019-11-13 18:03:58 +01:00
Eric
30430bb7dc
N°2135 - Setup callbacks for MTP
2019-11-13 17:33:56 +01:00
Eric
fdf5cff12a
N°2135 - Setup callbacks for MTP
2019-11-13 15:45:33 +01:00
Eric
4816b2b0fe
N°2311 - Authentication extensibility in iTop (login on specific pages and traces)
2019-11-13 15:08:34 +01:00
Eric
9c808bf2ed
N°2240 - Supportability - Maintenance mode
2019-11-13 13:50:48 +01:00
Eric
7a12c2c615
N°2240 - Supportability - Maintenance mode
2019-11-13 12:00:50 +01:00
Eric
149bc9f4ef
fix typo
2019-11-13 11:41:40 +01:00
Stephen Abello
b91183e9ec
N°1986 Portal: Fix read-only forms from da5ccaa to work with auto-generated ones
2019-11-13 11:19:26 +01:00
Eric
b67639f9ec
N°2249 - Supportability - Updater module
2019-11-13 11:08:08 +01:00
Eric
cdbcc9ce8c
N°2249 - Supportability - Updater module
2019-11-13 10:42:30 +01:00
Pierre Goiffon
6c7d094921
N°2577 Setup : table prefix option is hidden also on iTop first install
...
Previous commit 3e785687 was hidding it only on iTop update
2019-11-12 08:54:29 +01:00
Stephen Abello
23466f6e00
📝 typo in PHPDoc
2019-11-08 17:13:15 +01:00
bruno DA SILVA
08c1f4f072
autoload rework
...
- bootstrap.inc.php is now included by approot.inc.php
- remove all unescessaries includes of bootstrap.inc.php
- in bootstrap.inc.php autoload can be bypassed using a feature flag because "why not"
2019-11-08 16:51:57 +01:00
Pierre Goiffon
1194c5c7fe
🎨 sla-computation : fix PHPDoc + format code
2019-11-08 15:30:47 +01:00
Eric
f63fb16233
N°2135 - Setup callbacks for MTP
2019-11-08 14:05:24 +01:00
Eric
a4143df36a
N°2240 - Supportability - Maintenance mode
2019-11-07 16:45:52 +01:00
Pierre Goiffon
3e78568755
N°2577 Setup : table prefix option is now hidden by default
...
Should be used only by a few portion of users
2019-11-07 16:34:25 +01:00
Eric
9b14cd7633
N°2240 - Supportability - Maintenance mode
2019-11-07 15:23:42 +01:00
Eric
2b2488f376
N°2240 - Supportability - Maintenance mode
2019-11-07 15:21:48 +01:00
Pierre Goiffon
fd77554cb7
N°2555 action_rule : fix add_to_list regression
...
Loop was removed in 5c483efd but we need it !
Sample rule that needs such a loop :
<action_rule id="N2555_multiple_results_addtolist" _delta="define">
<source_oql>SELECT Person WHERE id > 0</source_oql>
<presets>
<preset id="1">add_to_list(id, contacts_list)</preset>
</presets>
</action_rule>
2019-11-07 14:56:39 +01:00
Eric
2ee3d27ba8
N°2240 - Supportability - Maintenance mode (revert)
2019-11-07 14:15:34 +01:00
Eric
af24f46803
N°2249 - Supportability - Updater module
2019-11-07 13:24:48 +01:00
Eric
da1684a8b9
N°2249 - Supportability - Updater module
2019-11-07 13:14:20 +01:00
Eric
5e7ae930c5
N°2240 - Supportability - Maintenance mode
2019-11-07 12:36:35 +01:00
Stephen Abello
541226356c
📝 typo in PHPDoc
2019-11-07 11:38:08 +01:00
Eric
a30345c96c
N°2249 - Supportability - Updater module
2019-11-07 10:00:05 +01:00
Eric
d035130d00
N°2240 - Supportability - Maintenance mode
2019-11-07 09:16:06 +01:00
Pierre Goiffon
7d8181c44f
N°2576 Fix "invalid numeric value" when inserting/updating AttributeDecimal
...
Was happening on certain configurations with a non EN-US user locale
2019-11-06 18:15:40 +01:00
bruno DA SILVA
45536cf957
🐛 fix regression introduced by the PR n°98
...
the realpath removed the trailing / wich is required
2019-11-06 10:00:55 +01:00
Stephen Abello
da5ccaaa85
N°1986 Portal: Forms with only transition buttons are now read-only
2019-11-05 12:17:54 +01:00
jbostoen
7c773991e7
Version 20191104-1550
...
* fix setup crashing due to realpath() returning lowercase path on Windows
2019-11-05 08:55:41 +01:00
bruno DA SILVA
bf976e5b8f
typo (bis)
...
ahhh!
2019-11-04 15:07:47 +01:00
bruno DA SILVA
d9ad3f5e98
typo & unused variable removal
...
thank you @Hipska !
2019-11-04 15:02:19 +01:00
Eric
9054dcb9ff
N°2517 - Supportability : system report (user name)
2019-11-04 12:06:49 +01:00
bruno DA SILVA
57116ef054
1627 - Ticket ref sometimes duplicate
...
This code is a drop in replacement based on an abstract counter based on an abstract keyValue store.
The counter can be
- class based (in this case the counter is initialized on max(id) + 1
- key based (in this case the counter starts at 0)
Important: on both cases the counter is no more kept aligned with the primary key.
This lead to a MySQL8 compatible implementation.
2019-11-04 11:50:36 +01:00
bruno DA SILVA
c6f5b8b1f9
1627 - Ticket ref sometimes duplicate
...
This code is a drop in replacement based on an abstract counter based on an abstract keyValue store.
The counter can be
- class based (in this case the counter is initialized on max(id) + 1
- key based (in this case the counter starts at 0)
Important: on both cases the counter is no more kept aligned with the primary key.
This lead to a MySQL8 compatible implementation.
2019-11-04 11:50:36 +01:00
Pierre Goiffon
9e015ba59a
📝 UI better log on catch
2019-11-04 09:22:43 +01:00
Pierre Goiffon
6144cfad3d
📝 Link between Dict::Format and TemplateString
2019-10-31 10:35:48 +01:00
Stephen Abello
3844a18b86
N°971 Portal: Allow n:n links for Browse Brick's levels
2019-10-30 16:41:58 +01:00
Stephen Abello
e88c6e9583
📝 typo in PHPDoc
2019-10-30 16:41:58 +01:00
Pierre Goiffon
6793fb2a35
N°2293 update PHPDoc on callbacks
2019-10-30 16:26:30 +01:00
bruno DA SILVA
4834c326aa
2498 - restrict access to assets into env-*
...
- allow static html into extensions/ and datamodels/
- allow direct access to php into env-* for legacy code taht do not use exec.php
2019-10-30 15:46:33 +01:00
Pierre Goiffon
e6167adefd
N°2518 ACE Editor : SQL mode
2019-10-30 10:11:33 +01:00
Pierre Goiffon
a8c3756ba7
Rename licenses file
...
Fix typo in file name
2019-10-30 10:11:33 +01:00
Pierre Goiffon
34b47f0239
N°2518 update licenses to reflect ACE editor moved from itop-config to iTop core
2019-10-30 10:11:33 +01:00
bruno DA SILVA
0d13d9eabe
2498 - restrict access to assets into env-*
...
- allow static content within datamodels/ and extensions/ (reason: the setup make use of images within this directory)
- simplified .htaccess and web.content generation during the compilation
- it now also allow fonts
2019-10-30 09:44:28 +01:00
Pierre Goiffon
358adb2109
📝 Some PHPDoc complement
2019-10-28 16:19:30 +01:00
odain
92285b55b6
add few tests on OQL group by
2019-10-28 15:50:53 +01:00
Pierre Goiffon
dda91be6d1
N°2555 action_rules : an invalid rule won't prevent anymore others to execute
...
This blocking scenario was added in 5c483efd
2019-10-25 15:56:26 +02:00
Eric
bec4dbafd2
N°2315 - Login screen extensibility API refactor
2019-10-25 14:35:24 +02:00
Eric
dcb46990c2
N°1436 - Search retrieve users belonging to not allowed Org
2019-10-25 10:31:47 +02:00
Pierre Goiffon
fe03342b6f
🌐 Fix typo
...
SF#1812, many thanks Lars Scheibling !
2019-10-25 09:37:22 +02:00
Eric
ee037acd34
N°2315 - Login screen extensibility API refactor
2019-10-25 08:32:29 +02:00
Pierre Goiffon
d4a696cb6b
N°2555 Specific exception for invalid action_rules
2019-10-24 18:05:58 +02:00
Pierre Goiffon
5c483efd15
N°2555 action_rule performance
...
* do not execute scope_oql that have no conditions
* pick the first result only
2019-10-24 17:24:09 +02:00
Pierre Goiffon
9aeba1df9b
N°2555 New \DBSearch::GetFirstResult method
2019-10-24 17:24:09 +02:00
bruno DA SILVA
e98683ae1c
fix regression introduced in the carbon branch
2019-10-24 16:19:07 +02:00
Eric
c552e73d20
N°2315 - Login screen extensibility API refactor
2019-10-24 14:56:01 +02:00
Stephen Abello
1851163cee
N°1881 Portal: Show confirmation dialog when closing forms with unsaved data
2019-10-24 10:51:49 +02:00
Pierre Goiffon
3667f95b7c
N°2558 center is back in sanitizer white list
...
Reverts 4450d6af (2.5.0)
Was causing troubles when integrating emails
2019-10-24 10:20:47 +02:00
Eric
b6796d2742
N°679 - Database inconsistency during INSERT
...
N°2499
2019-10-24 09:00:56 +02:00
Eric
047983cb91
🎨 Login screen extensibility
2019-10-23 17:27:04 +02:00
Eric
8455abdfe9
N°2315 - Markup extensibility: interface refactor
2019-10-23 16:49:00 +02:00
Eric
b7c3fbb176
💚 Refactor unit tests
2019-10-23 16:41:28 +02:00
Eric
5642552f9a
N°1888 - Filter search with another search
2019-10-23 12:56:02 +02:00
Eric
6f6b654dba
N°1113 - Global search only searchable attributes
2019-10-23 10:24:37 +02:00
Pierre Goiffon
c8b791efd3
Merge remote-tracking branch 'origin/itop-carbon' into develop
...
# Conflicts:
# application/utils.inc.php
# setup/ajax.dataloader.php
2019-10-22 18:27:13 +02:00
Pierre Goiffon
52fd58cd93
Remove "s" JQueryUI resizable handle override
...
Better to override locally O:)
2019-10-22 16:45:25 +02:00
Pierre Goiffon
66d638e224
💄 N°2518 New JQueryUI "s" handler style
2019-10-22 16:06:32 +02:00
Pierre Goiffon
16c4f18a81
N°2518 fix log call is crashing when invalid log_filename_builder_impl value set in config
2019-10-22 15:15:40 +02:00
Pierre Goiffon
cd6104ddb3
N°2518 If switching to log file rotation, rename setup/error legacy files
2019-10-22 15:08:48 +02:00
Pierre Goiffon
4fe7cd5adc
🎨 Config file code formating
2019-10-22 15:08:48 +02:00
Eric
3f59141407
N°1114 - config-itop.php access rights enforcement
2019-10-22 15:02:51 +02:00
Pierre Goiffon
8b37f503c7
N°1455 change hidden obsolete data message
2019-10-22 11:16:32 +02:00
Eric
7c9353d299
N°1888 - Circumvention of the restriction of rights by organization
2019-10-22 10:49:22 +02:00
Eric
dfc901ffa4
1355 - [Security] Password Autocomplete in Browser
2019-10-22 10:31:57 +02:00
Eric
611bf3035f
N°1113 - AttributePassword content searchable in Global Search
...
The global search now avoid AttributePassword type of attributes
2019-10-22 09:56:09 +02:00
Eric
35bb2da6bd
N°1114 - config-itop.php access rights enforcement
2019-10-21 18:14:44 +02:00
Eric
53e034ce4f
💚 Fix unit tests
2019-10-21 16:37:56 +02:00
Eric
cd4db1db06
💚 Fix unit tests
2019-10-21 16:32:43 +02:00
Pierre Goiffon
b1dbddffb9
N°2518 Integrating ACE in iTop
2019-10-17 19:21:30 +02:00
Pierre Goiffon
221c10aa9b
itop-config : syntax highlighting for JS
2019-10-17 17:35:41 +02:00
bruno DA SILVA
15ecd7bccf
itop-portal-base: .env.local is no more versioned
2019-10-17 16:47:18 +02:00
Eric
0d8dd0dc17
N°2517 - Supportability - file System integrity
2019-10-17 16:00:14 +02:00
Eric
ec986e0fbc
N°2517 - Supportability - file System integrity
2019-10-17 15:55:33 +02:00
Eric
f0e0c73e9b
N°2517 - Supportability - file System integrity
2019-10-17 15:51:41 +02:00
bruno DA SILVA
d9a24d2e14
2498 - restrict access to assets into env-*
...
iis bugfix: the configuration is now valid
2019-10-17 15:08:30 +02:00
Eric
93618f974d
💚 Fix unit tests
2019-10-17 12:45:50 +02:00
Eric
4dfc217992
N°2517 - Supportability - OQL Explain
2019-10-17 12:21:12 +02:00
Eric
5a1a6cf6f0
💚 Fix unit tests
2019-10-17 12:19:23 +02:00
Eric
36b325f71d
N°2517 - Supportability - OQL Explain
2019-10-17 11:06:31 +02:00
bruno DA SILVA
74a3712116
n°2311 - prenvent cas logo to be fullscreen during the login page loading
2019-10-17 10:53:35 +02:00
Eric
1fe7eb6cf4
🎨 Fix Login CSS colors for ie
2019-10-17 10:46:47 +02:00
Pierre Goiffon
0d0f8e9ffc
💚 N°2538 Fix test
...
Was broken since ce207e5c
2019-10-17 10:45:12 +02:00
Stephen Abello
0a2063ce69
N°2060: Fix data-localizer and archive mode initialization for Symfony portal
2019-10-17 10:12:40 +02:00
Pierre Goiffon
ce207e5c56
Restore old APPROOT var init
...
Rollback change in 607d355c
2019-10-17 10:09:21 +02:00
bruno DA SILVA
f22eaae457
✏️ fix a typo
2019-10-17 10:00:35 +02:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
bruno DA SILVA
65512ca984
2498 - restrict access to module's assets
...
- into env-*
- into datamodels
- into extensions
2019-10-16 18:01:33 +02:00
Pierre Goiffon
385b4f8d4a
🎨 \utils::RealPath Move var init next to its use
2019-10-16 17:33:49 +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
Stephen Abello
2ff771c16a
N°2311: Fix change password page, correctly display buttons with long string
2019-10-16 10:43:20 +02:00
Pierre Goiffon
5e641f2273
N°2538 generic method to check path validity
2019-10-15 18:41:07 +02:00
Eric
d52254bbf0
🎨 Make some room in the menu
2019-10-15 12:10:16 +02:00
bruno DA SILVA
a97c8be31a
2498 - restrict access to assets into env-*
...
this is done by adding a .htaccess file on a per module basis.
NB: if there is already a .htaccess file, it is kept as it, so you can see this commit as adding a "default" htaccess.
2019-10-15 11:46:18 +02:00
bruno DA SILVA
9c067e5645
💡 type an @return for better code completion
2019-10-15 11:46:18 +02:00
bruno DA SILVA
24d6857069
👌 comiled PHP files have no more spaces before the PHP open tag.
2019-10-15 11:46:18 +02:00
Eric
ed9259df9e
🐛 Fix access to change password page
...
🎨 Code cleanup
2019-10-15 11:43:47 +02:00
Eric
75794fb4d9
Fix count with Archive mode
2019-10-15 09:50:33 +02:00
Pierre Goiffon
4c386da7d2
📝 Fix typo (thanks @jbostoen !)
2019-10-15 08:44:47 +02:00
Denis Flaven
abbd2e64c9
Fixed the doc generation and some typos in the README
2019-10-14 16:44:43 +02:00
Pierre Goiffon
300a723fca
📝 Add some @var PHPDoc for iQueryModifier calls
2019-10-11 18:09:00 +02:00
Eric
ddf42d0358
Access right on display explain search
2019-10-11 17:08:35 +02:00
Eric
88be0d7638
N°2261 - Log KPI not available in lnk window
2019-10-11 16:27:01 +02:00
Stephen Abello
e26428a0eb
Fix visual glitch on portal's modal-backdrops
2019-10-11 16:08:19 +02:00
Eric
7b36852d7a
N°2261 - Log KPI not available in lnk window
2019-10-11 15:56:32 +02:00
bruno DA SILVA
d1eb674314
n°1617 - meets iTop fence requirements
2019-10-09 18:53:40 +02:00
Pierre Goiffon
4afed39b0e
N°2529 Fix charset sent by logout page
2019-10-09 18:07:08 +02:00
Stephen Abello
c1460cfdc7
N°2142 Portal: Fix list tabs and on charts click when a Manage brick has a chart as default display mode
2019-10-09 17:15:07 +02:00
Vincent Dumas
85a94ee1e7
Fix products setup icons hyperlinks
...
The 3 icons at the end of the Setup were pointing to broken url links
2019-10-09 15:36:25 +02:00
Eric
68895551b2
N°2517 - Supportability - system report (Added cron user)
2019-10-09 12:11:17 +02:00
Stephen Abello
eece09e5ed
N°2311: Avoid new SSO buttons to flicker on page loading
2019-10-09 10:21:38 +02:00
Eric
0dd1f26b39
N°2311 - Authentication extensibility in iTop
2019-10-08 15:23:24 +02:00
Eric
1b958a3c4d
N°2240 - Supportability - Maintenance mode
2019-10-08 15:07:34 +02:00
Eric
a1d23cddc5
N°2248 - Supportability - Integrity module
2019-10-08 09:29:49 +02:00
Pierre Goiffon
14c25e3d9b
🎨 SetupPage code formatting
2019-10-08 08:42:41 +02:00
Pierre Goiffon
c3915ee48e
N°2518 Implementation to rotate logs on a weekly basis
2019-10-08 08:42:41 +02:00
Pierre Goiffon
21ff03e28f
N°2518 Possibiliy to rotate log files based on days
...
See the 'log_filename_builder_impl' config parameter
2019-10-08 08:42:41 +02:00
Pierre Goiffon
2c8887398d
🎨 Log classes : PHPDoc & fix wrong self:: uses
2019-10-08 08:42:41 +02:00
Eric
f51cd65b1f
N°2249 - Supportability - Updater module
2019-10-07 17:44:17 +02:00
Stephen Abello
dbb5a5191b
N°1146 Portal: Correctly display external field targeting enum field
2019-10-07 12:04:14 +02:00
Pierre Goiffon
03b8ed5ce4
Merge branch 'support/2.6.2'
2019-10-07 09:41:08 +02:00
Pierre Goiffon
e9844aed45
Merge branch 'support/2.6.2' into develop
2019-10-07 09:37:03 +02:00
Eric
aaf6289953
N°2249 - Supportability - Updater module
2019-10-04 18:26:21 +02:00
Eric
b0d0223821
N°2249 - Supportability - Updater module
2019-10-04 18:03:27 +02:00
Pierre Goiffon
f271606e5e
N°729 Update DBObject::Prefill* methods PHPDoc
2019-10-04 11:09:16 +02:00
Eric
23a9bae391
N°2249 - Supportability - Updater module
2019-10-03 15:31:23 +02:00
Eric
b7c795c313
N°2240 - Supportability - Maintenance mode
2019-10-02 10:18:07 +02:00
Eric
46c553fbad
N°2249 - Supportability - Updater module
2019-10-02 08:39:32 +02:00
Pierre Goiffon
fc5bbfbed2
N°2269 fix obsolete icon color in lists
2019-10-01 18:10:45 +02:00
Eric
afe760a8bc
N°2240 - Supportability - Maintenance mode
2019-10-01 13:53:34 +02:00
Vincent Dumas
7e78c35d23
N°2479: fix typo in user message
2019-09-30 18:30:03 +02:00
Vincent Dumas
56f0e95a22
Fix typo in a comment
2019-09-30 17:05:43 +02:00
Eric
7f9024465f
N°2311 - Refactor Login FSM for errors
2019-09-30 15:10:29 +02:00
Eric
75dc11b882
N°2311 - Refactor Login FSM for errors
2019-09-30 13:45:50 +02:00
Eric
db0a5bd071
N°2240 - Supportability - Maintenance mode
2019-09-27 18:00:09 +02:00
Eric
64434f8065
🎨 remove warnings
2019-09-27 17:14:04 +02:00
Eric
044623309c
N°2240 - Supportability - Maintenance mode
2019-09-27 17:13:25 +02:00
Pierre Goiffon
a54695b2e0
🎨 Some InlineImage comment / formatting
2019-09-27 16:11:42 +02:00
Eric
7acb53a22f
N°2311 - Refactor Login FSM for errors
2019-09-27 13:12:00 +02:00
Vincent Dumas
a2d05e8119
Fix typo on French message when object not found ( #92 )
2019-09-27 11:25:48 +02:00
Pierre Goiffon
dfcebfcbea
🎨 Remove useless consecutive call
2019-09-27 09:24:20 +02:00
Eric
3f165c9803
N°2456 - Deadlock during concurrent updates
2019-09-26 18:18:52 +02:00
Eric
85971ea9f3
N°2272 - OQL performance (hierarchical keys)
2019-09-26 08:30:57 +02:00
Eric
ff3ec219ef
N°2272 - OQL performance (empty class alias)
2019-09-25 17:43:20 +02:00
Eric
e0374dd186
N°2272 - OQL performance (unit tests)
2019-09-25 14:39:12 +02:00
Eric
51ee3b31cb
N°2272 - OQL performance (SQL Generation)
2019-09-25 10:57:35 +02:00
Eric
496ea830c5
N°2272 - OQL performance (unit tests)
2019-09-24 13:20:55 +02:00
Eric
1e911b5094
N°2272 - OQL performance (SQL Generation)
2019-09-24 11:40:08 +02:00
Eric
6073be25de
N°2272 - OQL performance (OQL class tree optimizer)
2019-09-19 13:44:15 +02:00
Eric
93a736e42a
N°2272 - OQL performance (OQL class tree wip)
2019-09-19 13:44:15 +02:00
Eric
128afc8a56
N°2272 - OQL performance (comments)
2019-09-19 13:44:15 +02:00
Stephen Abello
a8d5630030
N°967 Portal: Browse brick actions are now correctly ordered even without a rank tag
2019-09-19 10:53:42 +02:00
Pierre Goiffon
d83a256b9d
N°2293 DBUpdate changes finalisation
...
* ListChanges are back where they were (extra precaution to prevent AfterUpdate callback impl regressions)
* aChanges reset is done after the reentrance test
2019-09-17 15:06:47 +02:00
Pierre Goiffon
5af33ffe0a
N°2293 Saves changes in DBObjet::DBUpdate, just before the AfterUpdate call
...
This will allow to get changes made in ComputeValues, OnUpdate, etc
2019-09-17 11:59:17 +02:00
Pierre Goiffon
ffd37d7802
🎨 cmdbAbstract : add missing visibility keywords for some function
2019-09-13 11:32:31 +02:00
Stephen Abello
31a34c247c
N°2482 Regression on mandatory external field with only 1 value
2019-09-13 10:42:55 +02:00
Eric
4ccd842bdf
N°2272 - OQL performance (unit tests)
2019-09-13 10:35:41 +02:00
Eric
f186c9e242
N°2272 - OQL performance (code refactor)
2019-09-13 08:39:50 +02:00
Pierre Goiffon
4e66c9fc23
N°2478 clearer comment
2019-09-12 15:52:13 +02:00
Pierre Goiffon
99e21652a0
🎨 clarify \Config::UpdateIncludes with $sModulesDir=null
2019-09-12 09:54:06 +02:00
Pierre Goiffon
24a0cc2f64
N°2478 Fix install not working anymore when having no env-*
2019-09-12 09:29:24 +02:00
Pierre Goiffon
e9dee86b7c
Remove unecessary require() calls in utils class
...
We still need manual require() for LoginForm and associated
2019-09-11 18:03:44 +02:00
Pierre Goiffon
42d7901828
🎨 some code formatting in utils class
2019-09-11 17:51:23 +02:00
Pierre Goiffon
7f156e961d
N°2478 Fix unattended install
...
* remove require() calls (now we have an autoloader \o/)
* change cache policy in utils::GetConfig
* set config in utils class from ApplicationInstaller
2019-09-11 16:41:50 +02:00
bruno DA SILVA
d71b3b1893
N°1455 - obsolescence: show hint in the search bar
2019-09-10 15:45:57 +02:00
Pierre Goiffon
cb1488c17f
👷 Jenkins : no composer install needed anymore
2019-09-10 14:28:35 +02:00
Pierre Goiffon
a625733885
👷 Jenkins : fix jenkinsfile filename case
2019-09-10 14:23:36 +02:00
Eric
e13bcba89a
N°2311 - Login Page extensibility (constant used for application name)
2019-09-10 13:42:37 +02:00
Eric
7d8e8df0c5
N°2272 - OQL performance (fix 2.5 regression)
2019-09-10 13:06:47 +02:00
Pierre Goiffon
0e5c0ff46d
👷 Jenkins : fix toolkit unzip
2019-09-10 12:06:28 +02:00
Pierre Goiffon
67bff3e19d
Jenlinks : change toolkit URL (http to https)
2019-09-10 11:46:55 +02:00
Eric
19d9c69fb8
N°2311 - Login Page extensibility (CSS reworked)
2019-09-10 08:40:28 +02:00
Eric
cb772a9527
N°2311 - Login Page extensibility (CAS button)
2019-09-06 17:54:02 +02:00
Eric
ee621c1b92
N°2311 - Login Page extensibility
2019-09-06 17:40:29 +02:00
Eric
20aa1bfdd6
cleanup warnings
2019-09-06 15:06:08 +02:00
Eric
9c52f6b949
N°2272 - OQL performance (add finalclass on all intermediate tables)
2019-09-06 14:56:37 +02:00
Eric
0f890ad228
N°2272 - OQL performance (Expression cache is configurable)
2019-09-06 14:30:42 +02:00
Eric
aac6ab0fc6
N°2272 - OQL performance (testability)
2019-09-06 14:30:42 +02:00
Eric
3fde778c0c
N°2311 - Login Page extensibility
2019-09-06 14:30:42 +02:00
bruno DA SILVA
348bdbdc0d
typo
2019-09-05 16:38:40 +02:00
Eric
3e9223a0bc
N°2311 - Preferences extensibility
2019-09-02 17:55:55 +02:00
Eric
a905a8a3c1
N°2311 - Dictionary
2019-09-02 11:39:06 +02:00
Eric
b2ab07aa69
N°2311 - Login Page extensibility
2019-08-30 15:07:51 +02:00
Eric
9bd1da95e0
N°2456 - Deadlock during concurrent updates
2019-08-27 09:34:50 +02:00
Eric
83c0df2157
N°2456 - Deadlock during concurrent updates
2019-08-26 15:50:40 +02:00
Eric
8d7c64be66
N°2455 - Wrong Request Template query validation
...
Avoid blocking a form if a RequestTemplate reference a bad attribute (e.g. :this->id)
2019-08-23 17:30:54 +02:00
Eric
0625a01a4f
Force MySQL port to int (for MySQL connector)
2019-08-23 15:13:29 +02:00
Pierre Goiffon
208a8723ff
🎨 Code formatting for iApplicationObjectExtension
2019-08-23 10:24:48 +02:00
Pierre Goiffon
f4c2a9ca7d
N°2293 Some PHPDoc (@since for changes availability)
2019-08-23 10:18:22 +02:00
Pierre Goiffon
c97fd63e6d
N°2293 Object update hooks now have access to object changes
...
* new \cmdbAbstractObject::$m_aChanges for \iApplicationObjectExtension::OnDBUpdate calls
* calling ListChanges() from within \DBObject::AfterUpdate will now give the right informations
* update PHPDoc in iApplicationObjectExtension
2019-08-23 10:13:44 +02:00
Eric
58402cdda8
N°2311 - User Provisioning API documentation
2019-08-22 14:38:07 +02:00
Eric
59fa3e10a3
N°2311 - User Provisioning API
2019-08-22 14:00:54 +02:00
Eric
0831a427cc
N°2311 - authent-cas compatibility with 2.6 configuration
2019-08-22 14:00:53 +02:00
Pierre Goiffon
08517f0c7e
📝 Some PHPDoc in ExternalKey field rendering
2019-08-22 11:01:59 +02:00
Eric
97e58c2d79
N°2311 - combodo-cas renamed authent-cas
2019-08-21 12:21:24 +02:00
Eric
6693ec48a0
N°2311 - Add combodo-cas
2019-08-21 10:46:58 +02:00
Eric
9a13d4ce04
N°2311 - Code cleanup
2019-08-20 18:04:44 +02:00
Pierre Goiffon
51bbe1f79d
Handle nested transactions ( #90 )
...
* starting a new transaction will send nothing in the DB (only one global transaction : merge nested transactions)
* same for COMMIT or ROLLBACK if more than 1 transaction is opened
* transactions are kept inside \DBObject::DBInsertNoReload, but they can be disabled using config flag db_core_transactions_enabled=false (true by default, hidden by default)
2019-08-20 10:47:29 +02:00
Eric
5dd92ab506
N°2311 - Add logs to logout
2019-08-20 10:26:43 +02:00
Eric
7120201469
N°2311 - Extend logout/error page
2019-08-20 09:53:11 +02:00
Stephen Abello
046eeb03f2
N°1671 Portal: Fix Aggregate Brick when user profile is not allowed to see one of the sub-brick
2019-08-19 11:28:53 +02:00
Eric
ce22dc9309
N°2311 - HybridAuth Extension
2019-08-16 18:42:04 +02:00
Eric
953c9e588e
N°2311 - CAS Extension
2019-08-16 17:39:48 +02:00
Eric
2ceb4068ad
N°2311 - Refactor Login FSM Extensions
2019-08-16 17:39:48 +02:00
Eric
11f62063a6
N°2311 - Debug login FSM
2019-08-16 17:39:47 +02:00
Eric
7885d712a6
N°2311 - Authentication extensibility in iTop
2019-08-16 17:39:47 +02:00
Molkobain
a6ca282ff4
Internal: Remove unused function in portal form handler
2019-08-16 17:05:37 +02:00
Molkobain
8ef67dee3b
N°1881.1 Portal: Add DOM attribute (and widget helper) on object form that fields have been touched
2019-08-16 17:02:40 +02:00
Molkobain
fb1b730bd5
N°2435.8 Manage TCPDF lib using composer
2019-08-16 10:38:30 +02:00
Stephen Abello
af9c45849e
N°1320: Add option to show/hide linkedsets out of user's scopes in portal
2019-08-16 10:05:45 +02:00
Pierre Goiffon
a711a67f4c
Fix throw inside transaction without rollback
2019-08-14 14:43:40 +02:00
Molkobain
b743b7e2fb
N°2435.7 Manage ArchiveTar lib using composer
2019-08-14 14:06:56 +02:00
Molkobain
3db92359e5
N°2435.6 Add .gitignore to remove non necessary folders from dependancies (eg. examples, tests, docs, ...)
2019-08-14 14:06:56 +02:00
Stephen Abello
088f08b315
N°967 Portal: Browse brick actions are now ordered following a rank tag
2019-08-14 12:39:32 +02:00
Molkobain
71cd61dfe4
Internal: Remove ClassLoader affectation from bootstrap.inc.php as we don't use it yet.
2019-08-14 10:30:43 +02:00
Molkobain
947e26d864
Internal: Change how the bootstrap.inc.php file is included in endpoints (This completes commit ec095896)
2019-08-13 17:38:51 +02:00
Molkobain
e3995a130f
PHPDoc
2019-08-13 17:25:04 +02:00
Molkobain
384641e274
N°895 Portal: Filter linkedsets on remote object scopes
2019-08-13 16:59:25 +02:00
Molkobain
0985415e11
N°2435.5 Manage SwiftMailer lib using composer
2019-08-13 14:09:16 +02:00
Molkobain
3e13c9e825
N°2435.4 Manage SwiftMailer lib using composer
2019-08-13 13:51:41 +02:00
Molkobain
ec09589646
N°2439 Add real autoloader for framework files (not modules)
2019-08-13 13:46:19 +02:00
Molkobain
83e3321a48
N°2435.3 Security hardening: Avoid direct access to lib directory
2019-08-13 10:52:15 +02:00
Molkobain
bb4c8ea52d
N°2435.2 Manage SCSSPHP lib using composer
2019-08-13 10:50:54 +02:00
Molkobain
5960dc6245
N°2435.1 Portal: Split portal composer.json in 2
...
- Autoloader for portal files in the itop-portal-base module
- Dependencies moved to root composer.json
- Add autoloader for /core and /application content
2019-08-13 10:34:22 +02:00
Molkobain
ca92316e7d
N°919 Portal: Make portal denial based on user profiles work again
2019-08-12 16:15:09 +02:00
Molkobain
b096472ccf
PHPDoc
2019-08-12 11:45:33 +02:00
Molkobain
261498d225
Internal: Move expression cache files in a dedicated directory
2019-08-12 11:45:33 +02:00
Stephen Abello
320a6b8a16
N°2238 Portal: Track in object's history attachments addition and deletion
2019-08-09 15:37:52 +02:00
Stephen Abello
b3cadaf314
PHP doc + typo
2019-08-09 10:49:55 +02:00
Stephen Abello
660852115e
Portal: Rename an endpoint with a typo
2019-08-09 10:49:55 +02:00
Stephen Abello
543e57ed7d
N°2432 Portal: Manage and Browse brick filters now apply on subclasses fields in lazy mode
2019-08-09 10:49:55 +02:00
Pierre Goiffon
4d78b7ca13
📝 add comment on prefill API call
2019-08-08 09:44:17 +02:00
Pierre Goiffon
a32bdf3f2f
📝 fix phpdoc (see call in UI.php operation=new)
2019-08-07 18:10:20 +02:00
Pierre Goiffon
5382d2006c
N°2429 change visibility of \DBObject::GetReferencingObjects internal method
...
In iTop, only called by \DBObject::MakeDeletionPlan which is private
Not called in our extensions
Not called/redefined in any client customization
2019-08-07 16:08:59 +02:00
Pierre Goiffon
ae1d60d11e
📝 little PHPDoc modification
2019-08-07 11:50:59 +02:00
Stephen Abello
e8c0bcfbb2
N°769 Portal: Add parameter to set default list length in ManageBrick and BrowseBrick
2019-08-07 10:28:25 +02:00
Molkobain
b8a04cb842
Create README.md
2019-08-07 10:12:46 +02:00
Pierre Goiffon
b4ffa8c045
📝 Fix wrong phpdoc
2019-08-06 15:27:32 +02:00
Pierre Goiffon
7e540f16f9
🎨 \DBObject::DBDeleteSingleObject : isolate exit condition at the top
2019-08-06 14:45:05 +02:00
Stephen Abello
e69275c6c5
N°956 Portal: Add an icon to copy object name and url next to the form title
...
* Add a generic utility to build iTop clipboard widget
* Can be used in portal, console and extensions
2019-08-06 12:29:18 +02:00
Stephen Abello
16c123df49
Trigger bootstrap modal loaded event in 66287757 refactor
2019-08-06 12:29:18 +02:00
Pierre Goiffon
446eee79fc
🎨 Unwrap useless else statement
2019-08-06 11:49:19 +02:00
Pierre Goiffon
cbc96d8a58
📝 Attachment : add some @var on object init
2019-08-05 11:04:26 +02:00
Stephen Abello
d2015b7d7b
N°1232 Portal: Harmonize right checks for external url in forms
2019-08-02 11:04:32 +02:00
Stephen Abello
305b236f41
N°2060: Add portal's ContextTag lost in Symfony migration
2019-08-02 10:58:52 +02:00
Pierre Goiffon
e172bd13df
N°2211 DataSynchro : remove DBUpdate() arguments for future 2.7.0
2019-08-01 17:04:01 +02:00
Stephen Abello
94cb4a2bb4
N°2060: Fix regression introduced in migration
2019-08-01 14:37:50 +02:00
Pierre Goiffon
7abbbf6b7b
📝 PHPDoc for BackgroundTask
2019-08-01 09:54:47 +02:00
Molkobain
66287757b3
Portal: Refactor creation of modal dialog through a common helper (CreatePortalModal(oOptions))
2019-07-31 15:51:25 +02:00
Molkobain
661ecc57c5
PHPDoc
2019-07-31 15:51:25 +02:00
Molkobain
15f9f79a24
Fix unit test to be used in the ITSM Designer (Shame shame shame 🔔 🙈 )
2019-07-31 15:51:25 +02:00
Molkobain
286374fe7c
N°1232 Portal: Allow external keys to be opened in object forms (only if user has permissions)
...
- Created new JS method to handle modals (bootstrap-portal-modal.js > CreatePortalModal)
- Moved from global modal hacks to the same file
2019-07-31 15:51:25 +02:00
Pierre Goiffon
ea288c2194
🌐 Fix english label
...
Many thanks @jbostoen who suggested the change in 60863c5fcf
2019-07-31 09:04:38 +02:00
Molkobain
927cd60ad2
N°1736.2 Fix sBrickSubtitle not being defined by default in most bricks
2019-07-30 17:41:09 +02:00
Molkobain
fb6e47e42a
N°1736 Portal: Add option to display ManageBrick's current tab description as the brick subtitle
...
Actually, every brick can now display a subtitle if they populate the sBrickSubtitle variable for the template.
2019-07-30 17:19:07 +02:00
Pierre Goiffon
34d4f6b1f9
N°2240 add /.maintenance in ignore
2019-07-30 08:59:52 +02:00
Stephen Abello
f7170953fb
N°2353: Typo in French dictionary
2019-07-29 15:33:48 +02:00
Pierre Goiffon
e80d52cc0f
N°2416 fix datepicker not opening anymore
...
This was brought by PR #40 integration in 06592d7d37
2019-07-29 12:12:34 +02:00
Pierre Goiffon
75da1ce7a7
🎨 iTopWebPage : some syntax highlighting in HEREDOC JS
2019-07-29 11:09:33 +02:00
Pierre Goiffon
7894c872dc
N°2414 Remove \DBObject::RegisterCallback
...
This was experimental and never used. The official way is to use iApplicationObjectExtension !
2019-07-26 16:24:06 +02:00
Pierre Goiffon
14b2d2ed4c
🔧 Update EditorConfig file with idea specific options
...
Available since PHPStorm 2019.2
@see https://blog.jetbrains.com/phpstorm/2019/07/phpstorm-2019-2-release/#editorconfig
2019-07-26 12:05:08 +02:00
Pierre Goiffon
a7b5077e0c
N°2010 \SetupUtils::MYSQL_NOT_VALIDATED_VERSION is now empty
2019-07-25 17:33:41 +02:00
Pierre Goiffon
de2b88b707
📝 PHPDoc for archiving remove @api
...
Public API is currently under review, we shouldn't change the review perimeter !
2019-07-25 17:33:41 +02:00
Stephen Abello
130734bec7
Merge branch 'master' into develop
...
# Conflicts:
# setup/backup.class.inc.php
2019-07-25 17:18:49 +02:00
Stephen Abello
d7fad4b646
Merge branch 'support/2.6.2'
2019-07-25 17:07:49 +02:00
Stephen Abello
db4c241cba
N°680 Fix 'G', 'd', 'j' DateTime format in regexp generation
2019-07-25 15:12:44 +02:00
Pierre Goiffon
be09909976
📝 PHPDoc for archiving : rephrase for clarity
...
Thanks @bruno-ds !!
2019-07-24 17:04:10 +02:00
Stephen Abello
f4d538ef6c
N°2410 Fix regression in mysqldump call introduced in 2.6.2
2019-07-24 16:02:20 +02:00
Molkobain
a6b1da393b
N°2269 Font Awesome v5: Fix files integration in portal
2019-07-23 18:10:00 +02:00
Pierre Goiffon
501c20a34d
📝 Some PHPDoc on object archiving
2019-07-23 18:05:05 +02:00
Molkobain
b858ba3786
N°1268 Add support for abstract classes creation in browse brick
...
* Refactored parts of the create brick into the object controller
2019-07-23 11:45:33 +02:00
Molkobain
60863c5fcf
🌐 Fix English dictionary entries
2019-07-23 11:45:33 +02:00
Pierre Goiffon
1ee3f4a984
Merge remote-tracking branch 'origin/master' into develop
2019-07-22 15:59:21 +02:00
Pierre Goiffon
aadb605dec
Merge remote-tracking branch 'origin/support/2.6.0'
2019-07-22 15:58:58 +02:00
Pierre Goiffon
f63f2bd445
N°1802 backup : remove old itop_root config parameter
...
Was renamed to itop_backup_incident in 2.6.0
2019-07-22 15:57:30 +02:00
Molkobain
0205f150a3
N°902.3 Portal: Extract column sorting helper to a specific service
2019-07-22 11:45:31 +02:00
Pierre Goiffon
cdbdf580c8
📝 CONTRIBUTING : small changes
...
* security wasn't in bold
* more explanations on branches, ask to base always on develop
2019-07-22 11:34:48 +02:00
Pierre Goiffon
e4ba2b0828
N°2366 Remove unused iTopArchive class
2019-07-22 09:02:45 +02:00
Pierre Goiffon
28d00cc7c9
N°2366 Remove zip from mandatory PHP ext
2019-07-22 09:02:44 +02:00
Pierre Goiffon
b897da8f6f
N°2404 remove charset/collation DB parameters
...
Are constants since N°1001 (iTop 2.5.0)
2019-07-19 16:58:25 +02:00
Pierre Goiffon
dc868b16ab
N°2366 remove DBBackup::CreateZip
...
* remove method and its dependencies
* create \utils::GetFileMimeType
* in \DBBackup::DownloadBackup mime type isn't hardcoded anymore
2019-07-19 15:51:05 +02:00
Pierre Goiffon
ee2e109769
N°2269 Font Awesome v5 : kept old CSS name for compat
2019-07-19 10:43:58 +02:00
Pierre Goiffon
2b955ddd53
N°2269 Font Awesome v5 : move back lib from /lib to /css
...
Thanks to the team, yeah you're right, this wasn't a good idea (did because there is a way to use Font Awesome in JS, but we'll see if we do so in the future, for now we don't :) )
2019-07-19 10:16:22 +02:00
Molkobain
33cb4fd42b
N°902.2 Portal: Add support for columns sorting in BrowseBrick's "lazy" mode
...
(And start refactoring in ManageBrick)
2019-07-18 12:11:09 +02:00
Pierre Goiffon
a03af7e9ef
🐛 N°2240 Fix startup.inc.php cannot be called alone anymore
2019-07-17 16:50:48 +02:00
Molkobain
90dbc35d41
N°902 Portal: Add support for columns sorting in ManageBrick's "lazy" mode
2019-07-17 15:40:44 +02:00
Molkobain
66e9fc2068
N°2396 Autocomplete: Harmonize accent handling
2019-07-17 15:40:43 +02:00
Molkobain
0a9b376684
N°2324 Remove legacy portal security check
2019-07-17 15:40:43 +02:00
Molkobain
83ba909c08
N°2112 Remove legacy end-user portal
...
- Accessing the /portal URL redirects to the new portal (/pages/exec.php?exec_module=itop-portal-base&...)
- Removed /itop_design/portals/portal[@id="legacy_portal"] from standard datamodel, adapt your XML accordingly
- Removed /itop_design/constants/constant[@id^="PORTAL_"] from standard datamodel, adapt your XML accordingly
- Removed PortalWebPage & TransactionException classes
- Added a warning in setup when no portal is selected
2019-07-17 15:40:43 +02:00
Pierre Goiffon
9ed33f16dd
N°2269 Font Awesome v5 : fix new lines breaking code :(
...
Those regressions were introduced in a4743901
Saw with a JS error in schema.php
2019-07-17 11:02:26 +02:00
Pierre Goiffon
e9fdb61bb5
N°2269 Font Awesome v5 : remove unused CSS
2019-07-17 10:24:07 +02:00
Pierre Goiffon
073b1cd303
N°2018 Backup : fix version check for MySQL8
...
Now uses \CMDBSource::GetDBVersion instead of mysqldump -V
2019-07-16 18:05:31 +02:00
Pierre Goiffon
e712791f43
Merge remote-tracking branch 'origin/master' into develop
2019-07-16 17:45:24 +02:00
Pierre Goiffon
fefd9aae95
N°2399 backup : throw exception and log error if cannot create archive
...
(before error was silently ignored)
2019-07-16 17:44:56 +02:00
Pierre Goiffon
a4743901a3
N°2269 Font Awesome : update iTop for new v5 icons
...
* remove useless css in light-grey (weren't used)
* change icons class names from v4 to v5
2019-07-16 12:20:59 +02:00
Pierre Goiffon
ced9489643
N°2269 Add Font-Awesome v5.9.0
...
Also add v4-shims for compatibility. Will be removed with N°2393
2019-07-16 09:57:51 +02:00
Pierre Goiffon
0c45a0ca49
N°2269 Remove Font-Awesome v4
2019-07-16 09:57:51 +02:00
Pierre Goiffon
f3572e82ec
N°2060 fix portal crash if css not yet compiled
...
Was using services.yaml parameters before they were defined
2019-07-16 09:57:30 +02:00
Pierre Goiffon
dd620022a8
📝 new iTop security policy ( #85 )
2019-07-16 08:47:30 +02:00
Molkobain
2237ec581c
N°2323.7 Fix images display in browse brick as a list
2019-07-15 13:41:36 +02:00
Eric
a0cd70ae71
N°2240 - Supportability - Maintenance mode (setup)
2019-07-12 16:13:13 +02:00
Eric
80fce579a0
N°2240 - Supportability - Maintenance mode (soap message removed)
2019-07-12 15:35:20 +02:00
Pierre Goiffon
1313484ebe
💄 setup : update progress bar if error occurs
2019-07-12 11:14:53 +02:00
Pierre Goiffon
95aa541293
N°2150 Archive_Tar update : fix warnings on overloaded methods
...
In Archive_Tar the methods signatures did change... But the overrides were useless (same code or direct call to parent)
2019-07-12 10:34:23 +02:00
Molkobain
c4702f6a87
Merge remote-tracking branch 'origin/develop' into develop
2019-07-12 10:25:17 +02:00
Molkobain
5c0fc0bec5
N°2323.6 Reintegrate fixes in the new Symfony portal
2019-07-12 10:17:58 +02:00
Stephen Abello
d8de7b19cb
N°2226: Add missing files for Scss v1.0.0
2019-07-12 10:13:00 +02:00
Molkobain
38640b01a8
Merge branch 'feature/b2060-migrate-silex-to-symfony' into develop
...
# Conflicts:
# core/dbsearch.class.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/userprofilebrickcontroller.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/helpers/applicationhelper.class.inc.php
# datamodels/2.x/itop-portal/module.itop-portal.php
2019-07-12 09:57:16 +02:00
Eric
a11e783867
N°2240 - Supportability - Maintenance mode (soap message)
2019-07-12 09:04:10 +02:00
Molkobain
8ca2fffa78
N°2060 [WIP] Initialisation of the portal application: Remove Silex framework files from embedded libs
2019-07-11 17:50:36 +02:00
Molkobain
3f3cbd17ed
N°2060 [WIP] Initialisation of the portal application: Remove Silex portal files
2019-07-11 17:50:31 +02:00
Molkobain
5a18769336
N°2060 [WIP] Initialisation of the portal application: Make AggregatePageBrick work again
2019-07-11 17:45:43 +02:00
Molkobain
cd6fe171cd
N°2060 [WIP] Initialisation of the portal application: Refactor way brick controllers forward actions between each others
2019-07-11 17:45:21 +02:00
Molkobain
ee45e546a8
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-11 16:44:22 +02:00
Molkobain
c8be217a1d
N°2060 [WIP] Initialisation of the portal application: Make CreateBrick work again
2019-07-11 16:04:06 +02:00
Molkobain
618df6de1d
N°2060 [WIP] Initialisation of the portal application: Fix class extended by ObjectController
2019-07-11 16:03:44 +02:00
Pierre Goiffon
e6e79df8db
N°2150 update Archive_Tar to 1.4.7
...
Now we don't have anymore some Combodo specific code inside the lib \o/
2019-07-11 14:30:30 +02:00
Eric
509ca47b36
N°2240 - Supportability - Maintenance mode
2019-07-11 12:04:11 +02:00
Eric
066353e1e7
N°2240 - Supportability - Maintenance mode
2019-07-11 12:00:15 +02:00
Eric
a6737afb2f
N°2240 - Supportability - Maintenance mode
2019-07-11 10:22:39 +02:00
Molkobain
d5b3a62df5
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-10 11:55:47 +02:00
Eric
7f82faefe1
N°679 - DB inconsistency protection
2019-07-10 11:49:44 +02:00
Molkobain
08731857e5
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-10 11:45:47 +02:00
Molkobain
90062acc35
N°2060 [WIP] Initialisation of the portal application: Fix typo
2019-07-10 11:38:22 +02:00
Molkobain
030d912820
Code cleanup
...
- Format code accordingly to coding conventions
- Add / update PHPDoc all over the place
- Suppress most of the warnings that did not have a big impact on code's logic
2019-07-09 19:10:16 +02:00
Molkobain
9e9187b169
N°2060 [WIP] Initialisation of the portal application: Huge code cleanup
...
- Rename variables and methods in iTop files to match coding conventions
- Format code accordingly to coding conventions
- Add / update PHPDoc all over the place
- Suppress most of the warnings that did not have a big impact on code's logic
2019-07-09 19:08:40 +02:00
Molkobain
c1258d0527
N°2060 [WIP] Initialisation of the portal application:
...
- Fix attachment download: Controller's action was still using the Silex\Application object to return a response.
- Push all cleanup modifications as well by mistake...
2019-07-09 17:54:37 +02:00
Molkobain
b7039c81ba
N°2060 [WIP] Initialisation of the portal application: Object's routes
...
- Fix autocomplete search route path was incorrect (missing parameters)
- Fix generic search route by removing the default controller as it didn't exist
- Remove regular search route as it was never used / implemented
2019-07-09 16:15:14 +02:00
Molkobain
7088b96c16
N°2060 [WIP] Initialisation of the portal application: Enable webprofiler for easier debug!
2019-07-08 16:59:46 +02:00
Molkobain
d31273dff5
N°2060 [WIP] Initialisation of the portal application: PHPDoc
2019-07-08 16:04:25 +02:00
Molkobain
85460ef6e2
N°2060 [WIP] Initialisation of the portal application:
...
- Remove old composer.json that was not necessary
- Add empty model.itop-portal-base.php file for future XML snippets to be loaded
- Increase module version number to 2.7.0
2019-07-08 15:49:07 +02:00
Molkobain
5ab059c404
N°2060 [WIP] Initialisation of the portal application:
...
- Simplify PortalUrlMaker to avoid necessity to copy most of the code. Drawback: BC break, check migration notes.
- Fix multiple portal instances (in the same running process)
- Refactor portal constants into env. vars
- Fix cache path for services (ScopeValidator & LifecycleValidator)
- Change evalution order of the portal id ($_ENV['PORTAL_ID'] > $_GET('portal_id'] > PORTAL_ID)
2019-07-08 15:44:39 +02:00
Molkobain
322ea1870d
N°2060 [WIP] Initialisation of the portal application:
...
- Refactor kernel bootstrapping:
- Make bin/console from SF work
- Make iTopPortalEditUrlMaker / iTopPortalViewUrlMaker work again
- Add classmap to /application in composer.json
2019-07-05 15:53:05 +02:00
Pierre Goiffon
878b87b68c
N°2349 fix GroupBy dashlet on classes with ExternalField to ExternalField
2019-07-05 12:10:04 +02:00
Molkobain
ab3024d98a
N°2060 [WIP] Initialisation of the portal application: Restore ApplicationHelper.php history
2019-07-05 11:42:39 +02:00
Molkobain
d447c96385
N°2060 [WIP] Initialisation of the portal application: Temporary delete ApplicationHelper.php in order to restore history
2019-07-05 11:36:02 +02:00
Molkobain
e3ac4d1039
N°2060 [WIP] Initialisation of the portal application:
...
- Make ManageBrick work again!
- Make ObjectController::CreateFromFactory() work again
- Refactor object form rendering from Twig string (in memory) in the "object_form_handler" service
- Fix ApplicationHelper::GetLoadedListFromClass()
2019-07-05 11:30:08 +02:00
Molkobain
8fc4aa7240
N°2060 [WIP] Initialisation of the portal application: Fix template paths in ObjectController
2019-07-04 17:12:53 +02:00
Molkobain
aff9d8cbca
N°2060 [WIP] Initialisation of the portal application:
...
- Fix object_brick.yaml actions path (Double slashes)
- Add declaration for "security_helper" service
- Refactor ObjectFormManager and ObjectFormHandlerHelper for SF
2019-07-04 17:06:58 +02:00
Molkobain
260c15c6b6
N°2060 [WIP] Initialisation of the portal application:
...
- Refactor of BrickCollection to store properties at the root level, hence having easier API
- Code cleanup (Coding conventions, PHPDoc)
- Extract ObjectController::HandleForm() into new "object_form_handler" service
- Migrate ObjectController and UserProfileBrickController to SF
- Remove route/action "Search hierarchy" from ObjectController as it was never implemented
2019-07-04 15:14:46 +02:00
Purple Grape
dab48146bf
Update zh_cn.dict.itop-config-mgmt.php
...
translation correction
2019-07-03 08:42:10 +02:00
Pierre Goiffon
14ae9f0809
Merge remote-tracking branch 'origin/support/2.5'
...
# Conflicts:
# css/css-variables.scss
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/itop-attachments/module.attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
2019-07-02 15:09:11 +02:00
Pierre Goiffon
b3369c8b0e
Update version number for 2.5.3 beta
2019-07-02 14:54:36 +02:00
Molkobain
1115cdd2ec
Portal: Fix sidebar menu entries being to narrow when only "Home" displayed
2019-07-01 22:33:15 +02:00
Molkobain
44673b9fd2
N°2060 [WIP] Initialisation of the portal application: Replace SF default UrlGenerator with our own
2019-07-01 17:50:25 +02:00
Molkobain
faf9b32176
N°2060 [WIP] Initialisation of the portal application
2019-07-01 17:47:45 +02:00
Molkobain
a93c1092fc
N°2060 [WIP] Initialisation of the portal application:
...
- Refactor SecurityHelper into SF service (DI)
- Make BrowseBrick work (again!)
- Extract methods from BrowseBrickController to a dedicated service (BrowseBrickHelper)
2019-07-01 17:41:12 +02:00
Pierre Goiffon
6c81163d20
Merge remote-tracking branch 'origin/master' into develop
2019-07-01 17:30:21 +02:00
Molkobain
f71edbf45b
N°2060 [WIP] Initialisation of the portal application: Refactor to make services 'combodo.current_user' and 'combodo.current_contact.photo_url' work
2019-06-28 17:26:30 +02:00
Molkobain
0d3e48475e
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-06-28 17:26:30 +02:00
Molkobain
ae8451e837
N°2060 [WIP] Initialisation of the portal application:
...
- Default env. is now production.
- Debug mode through url param. is now available like in Silex version
2019-06-28 17:26:24 +02:00
Pierre Goiffon
33903f570b
N°2174 ExternalField to friendlyname : restore behavior without dict key
...
* displaying "class -> field" was breaking exports (columns labels for ext fields to friendlynames in default datamodel, for example UserRequest.agent_id_friendlyname)
* dict key is always searched first, so a custom label can always be set
2019-06-28 15:13:15 +02:00
Molkobain
123e734046
N°2060 [WIP] Initialisation of the portal application: Fix file format (tab used instead of spaces)
2019-06-28 15:09:06 +02:00
Molkobain
008261e918
N°2060 [WIP] Initialisation of the portal application: Part of the "brick_collection" service refactoring
2019-06-28 15:08:30 +02:00
Molkobain
d388086baa
N°2060 [WIP] Initialisation of the portal application: Fix composer.json file
...
- Reupgrade Symfony/* to v3.4.* instead of v3.4.12 thanks to symfony/polyfill-php70
- Remove "replace" key that was necessary for Flex
- Add "classmap" key to auload all classes from <itop>/core (eg. \ModuleDesign)
2019-06-28 15:07:12 +02:00
Stephen Abello
f7af705bb5
Fix scss and css errors
2019-06-28 14:25:25 +02:00
Stephen Abello
a827cb7546
N°2226: Upgrade ScssPHP to v1.0.0
2019-06-28 14:24:56 +02:00
Stephen Abello
c7fe6f388a
N°2270: Upgrade bootstrap to v3.4.1
2019-06-28 14:22:35 +02:00
Molkobain
a04080a93e
N°2060 [WIP] Initialisation of the portal application: Migrate routes to YAML format
2019-06-27 17:11:04 +02:00
Molkobain
04158f5589
N°2060 [WIP] Initialisation of the portal application: Fix of the composer.json file
...
- Temporary downgrade Symfony/* from v3.4.* to v3.4.12 because of a PHP7 dependency in Symfony/http-foundation
- Remove Flex as it was only compatible with PHP7
- Remove auto scripts relying on Flex (post update and post install)
- Rename rogue itop-portal-base/composer.json that should not be used (will be removed later)
2019-06-27 16:32:45 +02:00
bruno DA SILVA
127809a836
Merge remote-tracking branch 'origin/support/2.5'
2019-06-26 15:41:13 +02:00
bruno DA SILVA
6c948873ff
N°2323.6 Fix regression introduced in previous commit
2019-06-26 15:38:42 +02:00
Stephen Abello
a93be39aeb
N°2166: Fix regression introduced in b157fad
2019-06-26 14:15:04 +02:00
Stephen Abello
6de6c38834
N°2268: Upgrade jQuery to v3.4.1 and jQuery migrate to v3.1.0. Remove version number from both libraries filename
2019-06-26 10:36:40 +02:00
Pierre Goiffon
a5745ba72d
N°2345 privUITransactionFile : avoid create dir race condition
2019-06-26 10:17:47 +02:00
Eric
7c93d116ec
2.6.2 fix module version
2019-06-25 16:56:15 +02:00
Molkobain
0867d8a3c4
N°2060 [WIP] Initialisation of the portal application
2019-06-25 11:58:38 +02:00
Stephen Abello
71f5d29cba
N°2271: Upgrade CKEditor to v4.11.4
2019-06-24 15:52:26 +02:00
Stephen Abello
f948d6e026
N°2336: Set right parameter for --ssl-mode
2019-06-21 14:37:48 +02:00
Stephen Abello
a222ead43c
N°2336: Use --ssl-mode instead of --ssl with MySQL >= 5.7.0
2019-06-21 13:59:36 +02:00
Stephen Abello
d6bfbbcd30
N°1529: Allow parameter OpenSSLMcryptCompatibility to be used
2019-06-21 11:08:23 +02:00
Molkobain
17df9d0f9d
Merge remote-tracking branch 'origin/support/2.5'
2019-06-21 10:03:17 +02:00
Molkobain
93099ea3c7
N°2323.5 Fix regression introduced in previous commit
...
Could not upload images in HTML field anymore
2019-06-21 10:01:31 +02:00
Molkobain
2f9e050e2b
N°2323.4 Fix regression introduced in previous commit
...
Current user picture was no longer displayed in the portal
(cherry picked from commit 56b9eb6cf3 )
2019-06-20 17:52:26 +02:00
Eric
e68340273b
Merge branch 'master' into develop
...
# Conflicts:
# core/config.class.inc.php
# core/htmlsanitizer.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/version.xml
# dictionaries/zh_cn.dictionary.itop.ui.php
# synchro/synchrodatasource.class.inc.php
2019-06-20 16:11:38 +02:00
Eric
5c341138e1
N°2129 - Fix lost dict. entries by toolkit updating script
2019-06-20 15:48:41 +02:00
Molkobain
56b9eb6cf3
N°2323.4 Fix regression introduced in previous commit
...
Current user picture was no longer displayed in the portal
2019-06-20 10:34:10 +02:00
Pierre Goiffon
db20244212
N°2174 External field label retrieval : fix default value
...
\AttributeDefinition::GetLabel with default null was returning att code !! Added PHPDoc and changed default value
2019-06-19 16:13:29 +02:00
Pierre Goiffon
6f9f74e72f
N°2230 BR translations
...
Many thanks to our client Pimkie !
2019-06-19 15:55:05 +02:00
Eric
8070d5b9b7
2.6.2-beta
2019-06-19 15:08:40 +02:00
Molkobain
6197ecbaf4
Update version number for 2.6.2 beta
2019-06-19 14:43:21 +02:00
Eric
ca585d3f42
N°2044 - Search Form Prefill not effective when searching objects to add to an AttributeLinkedSet (n:1)
2019-06-18 15:53:48 +02:00
Eric
02c78d4044
N°2278 - Object-copier: Fix n:n link attributes set to default on copy
...
(cherry picked from commit 6564d84a2f )
2019-06-18 14:57:45 +02:00
Pierre Goiffon
9e5d668c02
N°2328 TagSet : allow to create codes with 3 characters
...
(was wrongly 4 min before)
2019-06-18 14:36:47 +02:00
Pierre Goiffon
051656f295
N°2174 External field : change label retrieval
...
* Now the dict entry will be used even for friendly names
* If no dict keys exists, then the class path plus field name will be returned
2019-06-18 11:27:02 +02:00
Eric
9a51a44549
Merge remote-tracking branch 'origin/support/2.5'
2019-06-18 10:50:04 +02:00
Eric
5102b113ed
N°2323 - Fix calls to ajax endpoints
...
(cherry picked from commit c723d19e01 )
2019-06-18 10:45:50 +02:00
Eric
f1e4d94499
N°2323 - Fix calls to ajax endpoints for portal
2019-06-18 10:43:45 +02:00
Pierre Goiffon
d04102bab3
N°2243 IT translations : final versions
2019-06-18 08:56:06 +02:00
Eric
c723d19e01
N°2323 - Fix calls to ajax endpoints
2019-06-17 15:59:43 +02:00
Eric
b0414748cb
Typo
2019-06-13 11:55:10 +02:00
Eric
dac77e0606
Revert id in select
2019-06-13 10:24:01 +02:00
Eric
02b98543d9
Fix Bad db_key_field definition
2019-06-13 10:06:52 +02:00
Eric
519aaadd9a
N°2157 - Fix backup manual warning
2019-06-13 09:44:40 +02:00
bruno DA SILVA
fe27fef530
Merge remote-tracking branch 'origin/master'
2019-06-12 18:27:11 +02:00
bruno DA SILVA
72dbb6f937
N°1373 - supportability: log stack trace on DBObject::Reload error
2019-06-12 18:26:35 +02:00
Pierre Goiffon
ccb29d10ae
N°2243 IT translations : keys in parent classes
2019-06-12 18:09:41 +02:00
Pierre Goiffon
e479775833
N°2243 IT translations
...
Thanks to our client Pimkie !
2019-06-12 18:09:41 +02:00
Stephen Abello
86a7192f5a
N°2160: Correctly initialize fields depending on a select field with only 1 value
2019-06-12 14:39:29 +02:00
Pierre Goiffon
4a1be13904
N°2208 new IT translations
2019-06-12 11:02:49 +02:00
Pierre Goiffon
0f3347f64d
📝 Fix some PhpDoc
2019-06-12 10:39:30 +02:00
Eric
6564d84a2f
N°2278 - Object-copier: Fix n:n link attributes set to default on copy
2019-06-12 10:17:19 +02:00
Eric
f4747c5cef
PHPStorm
2019-06-12 09:46:21 +02:00
Eric
1e92c2f28a
Sanitize error message
2019-06-11 17:18:36 +02:00
Eric
e4b097b196
Add KPIs to search
2019-06-11 17:18:35 +02:00
Eric
85653c9ffc
Sanityzation:
...
- no use of cache to build queries when the flag is set
- Use class key instead of 'id' for default select column
2019-06-11 17:18:35 +02:00
Pierre Goiffon
b1761e04b2
🎨 DataSynchro : remove some warnings, code formating
...
(cherry picked with small modifications from commit 26dcaa0ded : it was reverted on master as this branch contains a fix only version, ok to commit it on develop though)
2019-06-11 17:01:08 +02:00
Stephen Abello
da5d8b20fa
N°2044: Enable Search form prefill when adding objects to 1:n
2019-06-11 16:59:27 +02:00
Molkobain
9a5a5f858f
N°2235.2 Fix emptied URLs on object modification when URL starts with a placeholder
2019-06-11 16:13:53 +02:00
Pierre Goiffon
d6b194b0aa
📝 Change back CONTRIBUTING file name to uppercase
2019-06-11 14:53:56 +02:00
Pierre Goiffon
50ed52bacc
Fix ticket ref uniqueness rule declaration (many thanks @jbostoen !)
2019-06-11 09:08:36 +02:00
Thomas Casteleyn
daa906a697
Only set Ticket ref if not yet present via import or synchro ( #82 )
...
New non blocking uniqueness rule on Ticket.ref to warn when having ref duplicates
2019-06-10 11:28:24 +02:00
Stephen Abello
a0cd281c42
⬆️ iTop >=2.6.1 supports PHP 7.3.x
2019-06-07 16:16:23 +02:00
Pierre Goiffon
ecd8f40c0f
🔧 Create a .editorconfig
...
See https://editorconfig.org/
2019-06-07 15:22:21 +02:00
Pierre Goiffon
616c1b9b73
🔧 Update PhpStorm formatter
2019-06-07 15:21:59 +02:00
Stephen Abello
6bb5606c00
N°2216: Set the mandatory icon inline with its field
2019-06-06 15:56:05 +02:00
Eric
a6ceb88fca
N°2216 - Request Template Mandatory fields are not marked as "Mandatory"
2019-06-06 15:14:31 +02:00
Eric
7bb7a94fbc
N°2291 - Fix blinking of warning image on mandatory HTML field
2019-06-06 15:14:31 +02:00
Pierre Goiffon
e4324cedb4
N°2235 Enable notification placeholders in hyperlinks
...
(cherry picked from commit bc55bfbee1 )
2019-06-06 10:59:44 +02:00
Eric
07781c7c9d
1023 - Email Outlook : Fix iTop page broken by tag <o:p>
2019-06-06 09:56:31 +02:00
Stephen Abello
ea58a807fc
N°2044: Forgot to add a variable in 7c1290f
2019-06-06 09:44:20 +02:00
Pierre Goiffon
fb6806a1c1
🎨 DataSynchro : some phpdoc and formatting
2019-06-05 17:26:00 +02:00
Pierre Goiffon
d24870e0ae
Merge remote-tracking branch 'origin/master' into develop
2019-06-04 16:23:58 +02:00
Pierre Goiffon
166451c4e9
N°532 autocomplete : fix regressions introduced in ebb541e4
...
* multiple separator
* XSS filter
* search field value reset
2019-06-04 11:32:08 +02:00
Stephen Abello
7c1290f684
N°2044: Enable Search form prefill when adding objects to 1:n
2019-06-04 11:18:30 +02:00
Stephen Abello
179c774ba8
N°2207: Copy the content from the right source file into production.delta.prev.xml
2019-06-03 12:36:05 +02:00
Guy Couronné
b57c224052
📈 Add KPI on API Rest ( #67 )
2019-06-03 09:07:25 +02:00
Stephen Abello
e886d80de6
N°2215: Set autocomplete minimum width (instead of its width) to its parent field width
2019-05-31 12:14:41 +02:00
Pierre Goiffon
3791b2dd24
📝 Change return type for \MetaModel::GetObject
2019-05-28 17:18:07 +02:00
Pierre Goiffon
12c916f4e5
📝 Add @var for iApplicationUIExtension loops
2019-05-28 17:16:02 +02:00
Pierre Goiffon
ba7e00e130
N°2211 DataSynchro : rollback oChange remove in DBUpdate() + added log
...
Be conservative : this is a fix only release... oChange will be done in the future, it's a work that should be done everywhere in iTop and not only DataSynchro
2019-05-28 17:16:02 +02:00
Molkobain
895abde39c
N°2060 [WIP] Renamed Silex portal dir before starting Symfony integration
2019-05-28 12:04:34 +02:00
Eric
bada955725
N°2211 - DataSynchro : fix delete rules
...
- code review bug fixes and comments
2019-05-28 10:40:00 +02:00
Molkobain
b6418d95e7
Add PHPDoc for type hinting as iTop replaces \DOMDocument with \MFDocument
2019-05-28 10:36:18 +02:00
Stephen Abello
f9e18675f3
N°2062: When a table displaying all rows is rebuilt (eg: by adding a column), reordering using columns now works
2019-05-24 16:20:31 +02:00
bruno DA SILVA
22416cc0be
:note: PhpDoc generation for the public API
...
- typo (tunning => tuning)
- rework of the README.md
2019-05-24 14:05:22 +02:00
Pierre Goiffon
ec086ad94a
📝 Fix /doc readme (thanks @jbostoen !)
2019-05-23 18:25:26 +02:00
Pierre Goiffon
17d4b570e8
N°2211 DataSynchro fix regression in DoJob2 method (create new iTop objects)
...
The \SynchroExecution::$m_oLastFullLoadStartDate is also used in DoJob2... So move back its instantiation in \SynchroExecution::PrepareProcessing, but with more variables and comment : the attribute is null until PrepareProcessing()
2019-05-23 18:15:50 +02:00
Pierre Goiffon
2dfad12553
Revert " 🎨 DataSynchro : remove some warnings, code formating"
...
This reverts commit 26dcaa0ded .
Such modifications does not belong to a fix only branch !!
2019-05-23 11:58:10 +02:00
Pierre Goiffon
b7dc55604e
🎨 DataSynchro : rename DoJob1/2/3 methods
2019-05-23 11:19:18 +02:00
Pierre Goiffon
991bc359cb
Merge remote-tracking branch 'origin/master' into develop
2019-05-23 10:52:34 +02:00
Pierre Goiffon
26dcaa0ded
🎨 DataSynchro : remove some warnings, code formating
2019-05-23 10:48:54 +02:00
Pierre Goiffon
b5d3ddb7e3
N°2211 DataSynchro : fix deletion rules regression when using synchro_exec.php
...
* fix regression : no update if exec phase only and full load interval <= 0
* fix regression : update if exec phase only and full load interval > 0
* some PHPDoc
* move back \SynchroExecution::$m_oLastFullLoadStartDate init to constructor
* add a boolean member to indicate if LastFullLoadStartDate was passed by caller
* factorize database current datetime retrieval
2019-05-23 10:48:54 +02:00
Pierre Goiffon
8b178914b3
Fix \DBObject::DBDelete PHPDoc
2019-05-22 14:46:53 +02:00
OИUЯd da silva
ce6fd4d775
bugfix: remove lower cased version of the README.md
2019-05-22 11:44:45 +02:00
Molkobain
bc55bfbee1
N°2235 Enable notification placeholders in hyperlinks
2019-05-21 17:38:28 +02:00
OИUЯd da silva
9c75cb4537
:note: PhpDoc generation for the public API ( #63 )
...
- generate phpdoc to a dokuwiki compatible format
- add/update the phpdoc of a selection of class methods
2019-05-21 12:05:52 +02:00
bruno DA SILVA
633fa343a5
N°775 - request template : fix mandatory field list with only one possible value
2019-05-20 17:47:15 +02:00
bruno DA SILVA
a1d01e252b
N°2191 - Stopwatch sub-items no more available as search criteria
2019-05-20 17:03:25 +02:00
Stephen Abello
e9119e95ac
N°1164, SF#1491: Add code snippets with syntax highlighting to CaseLog/HTML fields
2019-05-17 15:59:01 +02:00
Molkobain
af332a34d6
♻️ Make ticket reference generation working with new sub-classes ( #78 )
2019-05-17 11:21:24 +02:00
Molkobain
2d6251e5df
💄 Add warning message CSS class (like error message)
2019-05-15 17:53:48 +02:00
Stephen Abello
b157fad0b6
N°2166: Portal: fields in CKEditor modals are inactive
2019-05-15 15:41:38 +02:00
Stephen Abello
70d2bb163c
N°2179: Strengthen data/setup directory creation
2019-05-15 11:27:53 +02:00
Pierre Goiffon
d9bf3339d2
linkswidget : remove dead (unreachable) code
2019-05-13 09:57:24 +02:00
Pierre Goiffon
b4ee5cd59c
Merge branch 'master' into develop
2019-05-13 08:54:00 +02:00
Pierre Goiffon
fae6c89e9a
Merge remote-tracking branch 'origin/support/2.5'
2019-05-13 08:53:50 +02:00
Pierre Goiffon
89d310258b
N°2198 ReloadBlock call and parameter escaping improvements
...
Use an anonymous function instead of a string to get rid of a useless level of escaping
Use json_encode instead of addslashes
(many thanks for the tips @bruno-ds !!)
2019-05-09 10:37:34 +02:00
Pierre Goiffon
a58529f46c
N°2198 Fix "invalid filter" error when refreshing "Requests assigned to me"
2019-05-07 18:39:38 +02:00
Pierre Goiffon
12a2035791
N°2192 table-selectable-lines : add forgotten param
2019-05-07 11:53:39 +02:00
Pierre Goiffon
b1ff7f0e9b
N°2192 table-selectable-lines : replace another :has selector, and use existing constant
2019-05-07 11:44:41 +02:00
OИUЯd da silva
23cf2b91f4
make demo_mode effect more expressive
...
closes #71
2019-05-06 11:42:27 +02:00
Pierre Goiffon
3c4fe338b6
N°2192 fix freeze when lots of lines in a table with selectable lines
...
Many thanks to Jeffrey Bostoen (@jbostoen) for the bug report !
2019-05-03 17:43:36 +02:00
Pierre Goiffon
6159ab33b7
🔊 DBSearch ajax update : better handling of invalid queries
2019-05-02 17:33:41 +02:00
Molkobain
91f410a85c
💄 Fix images being too large in icon selector (dashboards and Designer)
...
Note: The widget still needs a more aggressive refactoring to render nicely...
2019-05-02 16:42:21 +02:00
Pierre Goiffon
58ffd37f9e
N°1283 Add option to open WebPageMenuNode in new window
2019-04-30 16:11:29 +02:00
Eric
0a48696cd8
Carbon: N°1855 - Fix: Cannot remove last 'dependencies' with UI
...
Note that multi-select value when no entry is selected is "" and not []
in order to be posted, so multi-select values are not always arrays.
2019-04-30 15:46:44 +02:00
Eric
2f71570390
Carbon: N°1855 - fix "depends on" displaying fields from children
2019-04-30 12:02:13 +02:00
Thomas Casteleyn
5c9d98d12c
Fix cron crash when MySQL connection lost ( #80 )
2019-04-30 11:02:02 +02:00
Pierre Goiffon
15362df69a
Merge branch 'master' into develop
2019-04-29 11:26:52 +02:00
Pierre Goiffon
77f757995e
Merge remote-tracking branch 'origin/support/2.5'
2019-04-29 11:26:37 +02:00
Thomas Casteleyn
2858d13fd5
🐛 Fix default usage of iTopMutex when TLS is enabled
...
See R-021467
2019-04-29 11:18:54 +02:00
Thomas Casteleyn
ab0c97621a
Add support to optionally mention username in password reset mail ( #76 )
...
Can now use login in reset password email dict keys
* UI:ResetPwd-EmailSubject
* UI:ResetPwd-EmailBody
2019-04-29 11:12:19 +02:00
Molkobain
78b6c03af7
💡 Add some PHPDoc
2019-04-25 12:46:57 +02:00
Molkobain
22342cdc05
🐛 N°2184 Fix validation issue when several label fiels in a dashlet/designer form
2019-04-25 12:42:16 +02:00
Stephen Abello
99f398a87e
N°1529: Correct wrong constant name for Mcrypt, handle iv generation fails to avoid data corruption
2019-04-24 11:44:43 +02:00
Molkobain
dccdd84c25
♻️ Fix unit tests for compatibility with CI
2019-04-17 14:52:58 +02:00
Guy Couronné
d4d16f43ac
✨ Add status.php for getting iTop's status ( #56 )
...
Allow for HAProxy and monitoring to get iTop's status
✅ Add tests for status
Signed-off-by: Guy Couronné <gcouronne:@sapiens.biz>
2019-04-17 09:21:45 +02:00
Molkobain
dcf4963e0c
N°2152 Fix bad XML generation when adding a dashboard attribute on a new class
2019-04-16 17:15:15 +02:00
Pierre Goiffon
a773a4957a
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# README.md
2019-04-10 16:26:37 +02:00
Pierre Goiffon
87ee731dbe
📝 Update readme for 2.6.1
2019-04-10 16:24:34 +02:00
Eric
9ec36a76f6
Carbon: N°1589 - Check migration
2019-04-10 12:12:31 +02:00
Pierre Goiffon
5dc8283229
💡 Some doc for Config::GetModule* methods
2019-04-10 11:27:11 +02:00
Eric
09b470e6c7
Better output
2019-04-09 10:43:39 +02:00
Molkobain
40151c7a43
N°2147 Fix non working impact relation when based on default value
2019-04-05 16:25:26 +02:00
Molkobain
34c030b501
N°2070 Extend ModelFactory implementations to optionally check meta classes (PHP) along with regular XML classes
2019-04-05 15:48:29 +02:00
Pierre Goiffon
e9a2528b13
📝 CONTRIBUTING : use emoji codes instead of characters
2019-04-03 15:33:15 +02:00
Pierre Goiffon
e9d72bd022
💡 Fix some PhpDoc for \utils::DoPostRequest
2019-04-03 15:29:06 +02:00
Pierre Goiffon
b166686a15
📝 CONTRIBUTING : add a note on datamodel modifications ( #68 )
...
* %memo% CONTRIBUTING : suggest use SF tickets for default datamodel modifications
2019-04-02 09:02:02 +02:00
Molkobain
c59d3cc624
Fix unreachable log message on exception
2019-04-01 16:52:22 +02:00
Pierre Goiffon
ca95060b05
idea update for 2019.1
2019-03-29 16:38:02 +01:00
Molkobain
f2380ae354
🌐 Add slovak dictionary files in all modules for future translation
2019-03-28 11:07:18 +01:00
Molkobain
2d039af278
🎨 Format dictionary entries
2019-03-28 11:05:15 +01:00
Molkobain
831879fe37
🐛 N°2122 Fix missing dictionary entries for "Service families" menu of "Service Mgmt Provider" module
2019-03-28 10:31:48 +01:00
Pierre Goiffon
0451ae07c8
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# dictionaries/sk.dictionary.itop.core.php
2019-03-27 16:33:43 +01:00
Molkobain
ea1dfd8933
👥 Add Martin Kincel to the contributors. Thanks for the slovak translations!
2019-03-27 11:43:35 +01:00
Molkobain
24519c69a4
🌐 Add new language for main features thanks to Martin Kincel!
2019-03-27 11:43:35 +01:00
Molkobain
3e55693bfa
👥 Add Martin Kincel to the contributors. Thanks for the slovak translations!
2019-03-27 11:34:32 +01:00
Molkobain
f5d0947b27
🌐 Add new language for main features thanks to Martin Kincel!
2019-03-27 11:33:08 +01:00
Pierre Goiffon
2da181a399
Combodo PHPStorm settings : some accessibility inspections are now weak warns instead of warns
2019-03-22 18:00:54 +01:00
Thomas Casteleyn
6e8bcf7b69
Make setup backup location and name similar as other backups ( #61 )
2019-03-22 16:02:17 +01:00
Pierre Goiffon
da6791d75f
💄 Setup wizard backup path : larger input widget
2019-03-22 15:38:18 +01:00
Pierre Goiffon
2a0928b4be
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/version.xml
2019-03-21 17:46:30 +01:00
Thomas Casteleyn
9bb365e60d
Added example php location argument
2019-03-20 10:14:54 +01:00
Thomas Casteleyn
b3c80e6ecf
Added changes as requested
2019-03-20 10:14:54 +01:00
Thomas Casteleyn
e5c77f64aa
Update cron.cmd to have better defaults and remove references to old php version
2019-03-20 10:14:54 +01:00
Pierre Goiffon
c313ed2efc
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# composer.json
2019-03-19 11:18:18 +01:00
Thomas Casteleyn
d8f75495fe
Don't display organization name in menu bar if it's the only one
2019-03-18 11:12:05 +01:00
Pierre Goiffon
2240743100
%memo% README : fix iTop Hub docs links (from 2.5.0 to latest)
2019-03-15 17:39:59 +01:00
Pierre Goiffon
a6a2410c50
Merge branch 'master' into develop
...
# Conflicts:
# datamodels/2.x/itop-attachments/nl.dict.itop-attachments.php
2019-03-15 17:23:04 +01:00
Thomas Casteleyn
34751a52a8
Replaced first name by last name in default person list view
2019-03-15 16:16:59 +01:00
Lars Hippler
cb7c382b99
Secure the server: prevent the users from browsing/getting files from the conf directories.
...
With Apache, it is still a must to enable htaccess with the spec "AllowOverride All". The index.php files are here to prevent from browsing whatever the HTTP server config.
2019-03-15 14:32:43 +01:00
Pierre Goiffon
76c3f640db
Merge remote-tracking branch 'origin/master' into develop
2019-03-08 14:35:35 +01:00
Eric
f5b56d9855
composer warnings
2019-03-08 09:10:35 +01:00
Pierre Goiffon
b25a8b4c9f
💡 add missing @var
2019-03-08 09:06:12 +01:00
Pierre Goiffon
7ad9b9dd08
🎨 Use finally instead of duplicating lines
...
see http://php.net/manual/fr/language.exceptions.php#language.exceptions.finally : finally was added in PHP 5.5
2019-03-07 16:03:51 +01:00
Pierre Goiffon
bc841dd239
N°1921 Process InlineImage from another iTop as external images
...
* Notifications : do not embed InlineImage with wrong secret
* HtmlSanitizer : remove data-img-* attributes if not the same iTop (using approot from Config)
* move \HTMLDOMSanitizer::ProcessImage to \InlineImage::ProcessImageTag
* data-img-* attributes name are now InlineImage class constants
(cherry picked from commit 0aab80917a )
2019-03-04 14:59:38 +01:00
Pierre Goiffon
065895aa73
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/zh_cn.dict.itop-portal-base.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
2019-03-04 09:21:14 +01:00
Pierre Goiffon
06592d7d37
🐛 Fix datepicker locale not set correctly for ZH CN and PT BR
...
Reused code made by @annProg in PR #40 , many thanks !
2019-02-27 12:53:37 +01:00
Pierre Goiffon
49e31ddb3d
🎨 REST service : change var names for new pagination params (thanks @jbostoen !)
2019-02-27 09:43:38 +01:00
Dennis Lassiter
fd55bdf9a8
Allow params "limit" and "page" in REST-API
...
PR #25 , code author Dennis Lassiter, many thanks !
2019-02-26 17:06:44 +01:00
Pierre Goiffon
6eb3a243df
Merge remote-tracking branch 'origin/master' into develop
2019-02-25 12:11:15 +01:00
Pierre Goiffon
b52e972a39
🐛 Fix login page in chinese instead of english
...
Introduced by PR #39 (commit 6ad27b43 )
2019-02-22 09:54:56 +01:00
Pierre Goiffon
2d344e0209
Fix merge error again.........
2019-02-21 17:38:47 +01:00
Pierre Goiffon
519252efd4
Fix merge error (wooops)
2019-02-21 17:29:53 +01:00
Pierre Goiffon
e59e62fb1b
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# core/expressioncache.class.inc.php
2019-02-21 17:24:37 +01:00
Pierre Goiffon
a35690d13c
📌 Identify & remove Combodo code from ArchiveTar lib
2019-02-21 17:07:31 +01:00
Pierre Goiffon
4857569813
🔧 PhpStorm settings : disallow php short open tags
2019-02-21 15:39:13 +01:00
Eric
acf80b4b92
Merge branch 'master' into develop
2019-02-15 17:44:59 +01:00
Eric
084d12bb45
Merge branch 'master' into develop
2019-02-14 10:58:42 +01:00
Eric
1587218c6d
Merge tag 'N941-2' into develop
...
Tagging hotfix N941-2 N941-2
2019-02-14 09:48:50 +01:00
Eric
12d3e36887
Merge tag 'N941' into develop
...
Tagging hotfix N941 N941
2019-02-13 17:45:46 +01:00
Stephen Abello
456b51d7f8
Merge branch 'master' into develop
2019-02-13 15:03:50 +01:00
Eric
6f0effcc66
Merge tag 'N2016' into develop
...
Tagging hotfix N2016 N2016
2019-02-13 14:04:27 +01:00
Eric
3dd8f214bf
Merge tag 'N2011' into develop
...
Tagging hotfix N2011 N2011
2019-02-13 12:49:27 +01:00
Eric
d3700ac9f8
Merge tag 'N1963' into develop
...
Tagging hotfix N1963 N1963
2019-02-13 11:01:42 +01:00
Pierre Goiffon
7aa5d84ff4
💡 Fix PHPDoc for \CMDBSource::GetSqlStringColumnDefinition
2019-02-07 15:06:57 +01:00
Molkobain
46e99bfb40
🐛 Fix notifications tab in objects no longer displaying items (regression introduced by a9bd5a8)
2019-02-07 14:06:06 +01:00
Molkobain
fb5f59e72e
🚨 Fix wrong method visiblity
2019-02-07 14:06:06 +01:00
Molkobain
8af1a53721
💡 PHPDoc
2019-02-07 14:06:06 +01:00
Pierre Goiffon
7034ffea39
N°2010 Fix case for information_schema column names
...
In MySQL 8, we need to use same case as column declaration, or use an alias
2019-02-07 11:17:19 +01:00
Pierre Goiffon
94ed0354c2
Merge branch 'master' into develop
2019-01-31 18:43:31 +01:00
Pierre Goiffon
2cf3408023
💡 add PhpDoc to AttributeImage methods
2019-01-29 11:08:01 +01:00
Molkobain
3b16d33775
N°1990 Fix setup crash when class has an empty zlist tag (eg. <details />)
...
Compiler crashed due to PHP warning being output depending on the error reporting level.
2019-01-29 10:36:17 +01:00
Pierre Goiffon
3ff6374ace
Merge branch 'master' into develop
2019-01-28 16:04:44 +01:00
Pierre Goiffon
0ea2fed481
💡 fix phpdoc on \utils::GetCurrentModuleDir
2019-01-28 15:58:59 +01:00
Pierre Goiffon
6bbc543ac1
🚸 Change AttributeImage methods visibility to allow overrides
2019-01-28 13:56:20 +01:00
Eric
1ca4f993b0
💚 Fix apc-emulation
2019-01-24 18:07:50 +01:00
Eric Espié
44f448fec4
faster directory creation
2019-01-24 17:22:49 +01:00
Eric
abf7e65816
Avoid unnecessary warnings
2019-01-24 17:22:49 +01:00
Molkobain
55bce63cea
Internal: Update compiled CSS file for administration console that seems to not have been committed correctly someday
...
Fixes:
* Browser dev. tools error about "data:0" on navigation menu
* Newsroom menu
2019-01-24 16:30:36 +01:00
Pierre Goiffon
710e5afe08
🔥 Remove iTopPDF::SetFontSize as there is TCPDF::SetFontSize
2019-01-23 17:36:05 +01:00
Pierre Goiffon
cbf37677cb
📝 README little improvements
2019-01-23 12:06:49 +01:00
Pierre Goiffon
efb98c6414
🔧 Fix invalid composer.json
2019-01-23 12:00:51 +01:00
Pierre Goiffon
01fbcb7044
🎨 replace TCPPDF:SetFont calls by iTopPDF::SetFontParams
...
This ensures that the same font is used in every caller
2019-01-23 11:46:52 +01:00
Pierre Goiffon
53d2f6320b
💡 Some comments on TCPPDF fonts
2019-01-23 11:44:23 +01:00
Pierre Goiffon
9d02da9d9c
🎨 PDF : new helper method to set only font size
2019-01-23 11:05:12 +01:00
Molkobain
a0841d76db
💄 Portal: Improve modal backdrop UX
2019-01-21 16:03:51 +01:00
Pierre Goiffon
e3c4d611c3
New InvalidConfigParamException
...
To be used for example in extensions like notify-on-expiration
2019-01-18 11:05:29 +01:00
Pierre Goiffon
79e8c48824
📝 README : update release section
2019-01-18 09:54:35 +01:00
Pierre Goiffon
9ef298608e
🎨 README : move links to corresponding sections
2019-01-18 09:54:35 +01:00
Eric
3ee8d5125b
✅ Support for extensions unit tests (scans env-production/*/test)
2019-01-15 11:52:05 +01:00
Eric
59c490fcea
✅ Add test for search with 'NOT LIKE'
2019-01-15 11:51:03 +01:00
Eric
b8b468195c
PR#39 Fix support of expressions (friendlyname) in different languages context (use class name by language for the expression caches)
2019-01-15 11:24:48 +01:00
Pierre Goiffon
d873a5e68b
➖ Remove php ext from composer.json
...
Not really mandatory, can cause trouble when really using composer !
2019-01-15 09:18:58 +01:00
Eric
6ad27b43ab
PR#39 Fix support of expressions (friendlyname) in different language contexts
2019-01-14 11:30:01 +01:00
purplegrape
1df19f65c4
small translation improvement for chinese
...
1 symbols should not be translated
2 small improvement
2019-01-11 17:31:36 +01:00
Pierre Goiffon
c22a20c1ef
Finish readme_2.5.1
2019-01-10 10:29:18 +01:00
Pierre Goiffon
c140ab970e
Finish 2.6.0
...
# Conflicts:
# core/dbobject.class.php
# install.txt
2019-01-09 17:27:07 +01:00
Pierre Goiffon
5723e9a77e
🎨 PDF : new helper method to set only font weight and size
2019-01-09 09:25:40 +01:00
Pierre Goiffon
bdedd83368
🔧 New "export_pdf_font" config param
2019-01-09 09:25:40 +01:00
Pierre Goiffon
2f5f92ddca
➕ Adding DroidSansFallback font to TCPDF
...
Modification proposed by @purplegrape with PR #49 , many thanks !
2019-01-09 09:24:07 +01:00
Denis Flaven
87a98fe382
🐛 N°1946 - newsroom cache shared between users
...
The cache should be per user, even if two users share the same
machine/browser.
2019-01-08 15:16:50 +01:00
Stephen Abello
8894ff0fda
N°1909: PHP 7.3 compatibility
2019-01-07 13:56:42 +01:00
Eric
488d2ed886
Debug OQL for search is accessible directly for the administrators
2019-01-07 09:43:44 +01:00
Molkobain
48f190447c
🐛 N°1939 REST/JSON: Fix must_exists flag for remote object of indirect linkedset
2019-01-04 17:36:26 +01:00
Duarte Sotto-Mayor Ribeirinho
63184d0bf5
Update link to always reflect latest version
...
This way there is no need for further updates of version number on link
2019-01-04 11:36:34 +01:00
Eric
a9bd5a8bb0
⚡ Avoid scalar values in OQL, replace them with variables
2019-01-02 17:41:56 +01:00
Eric
6c9850b8f6
1814 - Search with criteria : always add default criteria
2019-01-02 14:19:48 +01:00
Eric
e89b4e070c
Security update
2019-01-02 10:11:03 +01:00
Pierre Goiffon
911d84d513
➕ N°1885 add php-gd as a mandatory extension
...
(was made on release/2.6 branch but then rollbacked as this is an infrastructure change that needs to be in the release notes)
2018-12-26 11:05:25 +01:00
Pierre Goiffon
1a3f836a5a
Merge remote-tracking branch 'origin/release/2.6' into develop
...
# Conflicts:
# application/itopwebpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/itop-attachments/nl.dict.itop-attachments.php
# datamodels/2.x/itop-incident-mgmt-itil/nl.dict.itop-incident-mgmt-itil.php
# datamodels/2.x/version.xml
2018-12-21 10:26:17 +01:00
Pierre Goiffon
bb0e797cee
Remove Config deprecated methods in v2.7
2018-11-27 15:48:47 +01:00
Molkobain
05d866f0f7
Add chifu1324 to the contributors list! Thanks ✌
2018-11-13 13:46:29 +01:00
Denis Flaven
e7fbb2273d
N°1718 Make attribute image zoomable
2018-11-09 16:56:26 +01:00
chifu1234
91f159841b
Update metamodel.class.php
...
Update metamodel.class.php
2018-11-07 11:05:53 +01:00
Pierre Goiffon
905dba67c3
Some PhpDoc to document api (just a start !)
2018-11-05 17:15:44 +01:00
Thomas Casteleyn
676b83519a
Fix typo Incident Impact
2018-11-05 09:43:32 +01:00
Molkobain
0e2c8ff220
Merge pull request #7 from Super-Visions/feature/dutch-dict
...
Another update for Dutch dictionary
2018-10-29 12:08:15 +01:00
Eric
e39a6b96bd
Fixed execution warning in search (not visible in production)
2018-10-26 10:59:21 +02:00
Pierre Goiffon
da1268fc05
update versions
2018-10-24 10:35:01 +02:00
Molkobain
fb07d19a64
Merge branch 'develop' into feature/dutch-dict
2018-10-22 17:28:55 +02:00
Thomas Casteleyn
487e0c8769
Improved error message translation
2018-10-22 10:39:16 +02:00
Thomas Casteleyn
5ee125c593
Actually, kilo should be lowercase
2018-10-18 17:27:14 +02:00
Thomas Casteleyn
4876ae7c22
The use of Bytes instead of octets is more common in Dutch
2018-10-18 17:09:55 +02:00
Thomas Casteleyn
e9b04b923e
Merge develop into feature/dutch-dict
2018-09-26 11:22:07 +02:00
Thomas Casteleyn
5d8b9fd4db
Added Dutch dictionary for incident management
2018-09-20 16:39:37 +02:00