odain
890a2568c8
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 15:39:53 +01:00
Romain Quetiez
380512dcbe
N°7845 Suppress risky syntax with DateTime::modify (at best, just a bad example, at worst, just a result that will vary wether PHP > 8.2 or not)
2024-09-26 17:51:52 +02:00
Romain Quetiez
baf85e7a80
N°7629 Deprecate utils::GetClassesForInterface in favor of InterfaceDiscovery::FindItopClasses
...
Improve caching strategy and robustness
2024-07-16 10:13:13 +02:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Molkobain
b716a3965c
N°7008 - Fix missing background tasks in CRON when autoloaded and NOT in "developer_mode" ( #578 )
2024-02-16 17:14:53 +01:00
Stephen Abello
135d410a6b
N°2039 - Fix some issues with content type, bg task and typos
2024-01-03 11:46:38 +01:00
Benjamin Dalsass
34f0053db7
N°7059 - Symfony 6.4 - Add missing namespaces to match PSR-4 convention ( #589 )
2023-12-21 10:18:11 +01:00
odain
57671f336c
N°6901 - Enable tracking of iTop active sessions (monitoring)
2023-11-27 12:34:19 +01:00
odain-cbd
9a59bc7890
N°6901 - Enable tracking of iTop active sessions (monitoring) ( #568 )
...
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2023-11-22 17:46:00 +01:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Thomas Casteleyn
fc97491708
N°6105 - Cleanup unnecessary use of dirname(__FILE__) ( #453 )
2023-03-14 18:51:01 +01:00
Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +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
Stephen Abello
93c6cfffda
N°4931 Fix background tasks max duration being set to 3 times its periodicity
2022-03-14 09:35:46 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01: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
Pierre Goiffon
4badb90344
N°2214 Cron : remove :void to keep compatibility with PHP < 7.1
...
see https://www.php.net/manual/fr/migration71.new-features.php#migration71.new-features.void-functions
2020-09-14 11:02:18 +02:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +02:00
odain
3c299654e3
N°3265 - Log stacktrace when cron exception raised with debug enabled
2020-09-07 16:57:27 +02:00
Eric
5df7c8bb07
Add Async tasks info
2020-08-26 16:12:22 +02:00
Eric
bf142e5e07
Add Async tasks info
2020-08-26 13:11:04 +02:00
Eric
761c2a46a3
N°3234 - Cron rework
...
* some timezone refactors occurred
2020-08-25 11:20:17 +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
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
Pierre Goiffon
07bd6b8539
N°3219 cron : reset CMDBChange for each process
2020-08-04 09:44:20 +02:00
Pierre Goiffon
b7136c0b7a
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)
(cherry picked from commit c768e18e2b : no risk taken for 2.7.1, so cherry picked for 2.8.0)
2020-06-15 15:20:17 +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
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
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
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
Eric
900e8ac6d7
N°985 - Add applicable contexts on Trigger
2020-01-20 15:50:08 +01:00
Eric
5be800cfce
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 15:48:54 +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
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
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
Eric
5e7ae930c5
N°2240 - Supportability - Maintenance mode
2019-11-07 12:36:35 +01:00
Eric
9054dcb9ff
N°2517 - Supportability : system report (user name)
2019-11-04 12:06:49 +01:00
Eric
68895551b2
N°2517 - Supportability - system report (Added cron user)
2019-10-09 12:11:17 +02:00
Eric
0dd1f26b39
N°2311 - Authentication extensibility in iTop
2019-10-08 15:23:24 +02:00
Eric
afe760a8bc
N°2240 - Supportability - Maintenance mode
2019-10-01 13:53:34 +02:00
Eric
044623309c
N°2240 - Supportability - Maintenance mode
2019-09-27 17:13:25 +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
ec09589646
N°2439 Add real autoloader for framework files (not modules)
2019-08-13 13:46:19 +02:00
Eric
a6737afb2f
N°2240 - Supportability - Maintenance mode
2019-07-11 10:22:39 +02:00
Thomas Casteleyn
5c9d98d12c
Fix cron crash when MySQL connection lost ( #80 )
2019-04-30 11:02:02 +02:00
Denis Flaven
65409373eb
Enhancement: automatic re-ordering of the background tasks at each execution of cron.php so that one single task cannot use all the CPU time.
...
SVN:trunk[5734]
2018-04-24 12:12:36 +00:00
Pierre Goiffon
08c5d0e4c1
N°1342 cron : fix iScheduledProcess implementations that were rescheduled on every cron start and so never processed :( (was introduced in r5371)
...
SVN:trunk[5374]
2018-02-27 16:38:38 +00:00
Pierre Goiffon
79381d7fd2
N°1342 cron : previous commit was to handle BackgroundTask pointing to non existing class (can happen after an extension removal)
...
add comment reflecting the class_exists() test purpose
SVN:trunk[5372]
2018-02-27 15:49:03 +00:00