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
Stephen Abello
46b4990252
N°3632 Move tab's layout preference to preferences page
2021-01-22 10:30:12 +01:00
Pierre Goiffon
09e531f11c
N°3623 new \utils::EscapeHtml method
2021-01-13 16:10:43 +01:00
Eric
2dea5447b4
N°2677 - Add style definition for enums (Default values)
2021-01-05 11:07:18 +01:00
Thomas Casteleyn
42354ba794
Improve secure connection detection ( #161 )
...
The previous code broke the setup page when the iTop server is behind a proxy that handles SSL termination.
Now the detection also checks the `HTTP_X_FORWARDED_PROTO` and `HTTP_X_FORWARDED_PROTOCOL` HTTP headers.
For any other page than the setup, the check is unchanged.
Many thanks @Hipska !
2020-12-16 15:37:48 +01:00
Molkobain
97c77b612e
N°2875 - Add config. param. 'mentions.allowed_classes' to choose which classes (eg. Person / FunctionalCI) can be mentioned through which char. (eg. @ / #)
2020-12-10 10:27:34 +01:00
Molkobain
e96400c43b
N°2875 - Improve global implementation and integration with the trigger system
2020-12-09 23:19:39 +01:00
Molkobain
a8431c5810
N°2875 - Update branch to current develop branch state
2020-12-09 20:06:40 +01:00
acognet
5ccb12453a
N°3123 : Improved JavaScript management in web pages and ajax pages
2020-12-08 08:59:25 +01:00
Stephen Abello
13d2699011
N°2629 Allow user to choose default expanded/collapsed toolbar for richtext editors
2020-12-04 10:53:22 +01:00
Eric
15aa9e508c
N°3123 - Refactor Directories
2020-12-02 13:18:01 +01:00
Eric
d2d5a90637
N°3123 - Fix popup menus for lists
2020-11-30 16:47:27 +01:00
Pierre Goiffon
c944cd29b1
📝 Fix \utils::Sanitize_Internal phpdoc
...
Thanks @Molkobain !
2020-11-30 15:01:09 +01:00
Pierre Goiffon
5d5a3183c0
📝 more PHPDoc for \utils::Sanitize_Internal
...
added more details about const that were introduced in e911290b3d
2020-11-30 14:27:52 +01:00
Eric
4099a8ef5a
N°3123 - Moved Popup Menu Items JS parts to UIBlocks
2020-11-27 17:25:50 +01:00
Eric
c5942a3ddd
N°2847 - Code refactor
2020-11-25 15:24:27 +01:00
Stephen Abello
aef77d8f93
N°2847 Add message on alpha/development fatal error pages 🤫
2020-11-19 13:39:04 +01:00
Eric
291041610b
set_time_limit accept only int in PHP7.4
2020-11-12 10:57:13 +01:00
Pierre Goiffon
548342159b
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-10-14 11:41:58 +02:00
Pierre Goiffon
2221e0541c
🐛 Fix version methods throwing exceptions with version 3.0.0
2020-10-14 11:31:02 +02:00
Molkobain
b15ed80732
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:16:49 +02:00
Molkobain
986c08aa81
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-10-14 10:09:14 +02:00
Molkobain
8e6351d346
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:04:10 +02:00
Pierre Goiffon
5b2c279eac
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# js/components/breadcrumbs.js
2020-10-12 12:51:05 +02:00
Thomas Casteleyn
eb3ad0999a
Cleanup utils::GetSessionLog() ( #172 )
2020-10-09 15:59:24 +02:00
Stephen Abello
7770cb31fb
N°2847 Add vertical tab options to object details
2020-10-07 17:01:44 +02:00
Molkobain
e48d257b00
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/displayblock.class.inc.php
# application/itopwebpage.class.inc.php
# application/utils.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
# datamodels/2.x/itop-knownerror-light/datamodel.itop-knownerror-light.xml
# datamodels/2.x/itop-service-mgmt/datamodel.itop-service-mgmt.xml
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# js/components/breadcrumbs.js
# pages/navigator.php
# test/core/DBSearchTest.php
2020-10-07 11:36:15 +02:00
Pierre Goiffon
7d26b6092e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# .idea/codeStyles/codeStyleConfig.xml
# .idea/inspectionProfiles/Combodo.xml
2020-10-06 10:42:55 +02:00
Molkobain
0691fca412
Add @since to newly created constants
2020-10-05 13:22:29 +02:00
Molkobain
e911290b3d
Improve utils::Sanitize()
...
- Add class constants for $sSanitizationFilter values (You should use them instead of hard-coding the value, for example: utils::ENUM_SANIZATION_FILTER_XXX)
- Fix "element_identifier" filter of utils::Sanitize() to keep "-" character
- Add 'sanitize_identifier' filter to TWIG
2020-10-05 11:03:22 +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
745e4aa424
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# webservices/import.php
2020-09-18 10:48:34 +02:00
Eric
f100e9bd09
N°2957 - allow empty class parameter
2020-09-16 17:57:38 +02:00
Eric
410a637598
N°2847 - Tab Management - iTop Pages refactoring - introduction of UIContentBlock as base block
2020-09-16 12:00:48 +02:00
rquetiez
f5a3bb2baa
N°3251 - Null in data synchro (fixes the regression introduced in a1f5d80)
...
- restore the initial behavior, thanks to hipska through PR#166
- refactor so as to make it clear that no SQL injection is possible (and will never be)
- add PHPUnit tests on the data synchronization => up to 20s to execute
- fix utils::ExeciTopScript to alow its usage within the automated test
2020-09-09 22:41:13 +02:00
Molkobain
7f3c10b69d
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-08-26 16:09:23 +02:00
Eric
761c2a46a3
N°3234 - Cron rework
...
* some timezone refactors occurred
2020-08-25 11:20:17 +02:00
Molkobain
83ef7cff8a
N°3267 - Webservices: Fix optional headers not being taken into account
2020-08-21 16:55:03 +02:00
Molkobain
c5b8d3fa72
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/datamodel.application.xml
# application/itopwebpage.class.inc.php
# css/light-grey.scss
2020-08-19 10:20:37 +02:00
Pierre Goiffon
c69e83f779
Merge remote-tracking branch 'origin/support/2.7' into develop
2020-08-18 17:50:39 +02:00
Eric
f74c78d61c
N°3248 - code hardening
2020-08-18 17:02:46 +02:00
Pierre Goiffon
71848cb56b
Merge branch 'support/2.7' into develop
...
# Conflicts:
# .jenkins/bin/tests/phpunit.sh
# Jenkinsfile
# core/config.class.inc.php
# core/dbobjectsearch.class.php
# core/ormlinkset.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# dictionaries/nl.dictionary.itop.ui.php
2020-08-17 09:36:43 +02:00
odain-cbd
7b8c390a80
Revert "Faster compilation of themes"
2020-08-07 16:20:12 +02:00
odain-cbd
e907c7825a
Merge branch 'develop' into feature/fast-theme-compilation
2020-08-07 16:12:47 +02:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Molkobain
1f0211b45a
N°2847 - Rework iTopWebPage layout (WIP Part VI)
...
- iTopWebPage: Restore "open search" feature
- iTopWebPage: Change all resources URL to absolute in order to benefit from the "duplicate removal" benefits
- iTopWebPage: Remove obsolete method IsMenuPaneVisible()
- Config: Add new parameters quick_create.enabled / global_search.enabled / breadcrumb.enabled
- utils: Add new GetAppRevisionNumber() method
- Introduce iUIBlock interface for UI layouts, components, ...
- Introduce BlockRenderer to properly render blocks
- Add "render_block" function to TwigHelper to render blocks directly from TWIG
- Refactor layouts and components into proper block classes to fit the new architecture
2020-07-30 15:22:17 +02:00
Molkobain
c9b80074f4
Add helper to know if we currently are in "debug" mode
...
Can be used to enable more features / debugging tools throughout the application.
2020-07-27 15:09:32 +02:00
Eric
b1fa429234
N°2957 - Better check of the class parameter in requests
2020-07-10 14:41:38 +02:00
odain
31482ccef7
make sure GetCompiledModuleVersion returns timestamp
2020-06-08 09:34:45 +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