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
Pierre Goiffon
d8c141b1c9
N°1342 cron task validity checks :
...
* checks are now made one by one
* new class_exists() test
SVN:trunk[5371]
2018-02-27 15:20:55 +00:00
Guillaume Lajarige
333411535e
N°1132 Add ContextTag on CRON background tasks (eg. "CRON:Task:<CLASS_NAME_OF_THE_CURRENT_TASK>").
...
Introduced for the "Mail to ticket automation" extension, so we know when a Ticket is created/updated from an email.
SVN:trunk[5181]
2017-12-29 09:55:36 +00:00
Pierre Goiffon
28efea7ac1
N°1195 exception handling in cron.php
...
* cron.php : use exit(n°) instead of exit n°, and extract codes to constants
* CMDBSource : new MySQLHasGoneAwayException
* exits cron.php on MySQLHasGoneAwayException
* fix backgroundprocess PHPDoc
* new ProcessException and ProcessFatalException
* new cron.php catch blocks
SVN:trunk[5148]
2017-12-04 15:07:15 +00:00
Pierre Goiffon
3cd28d1559
Some PHPDoc and small reformat
...
SVN:trunk[5139]
2017-11-23 17:42:24 +00:00
Romain Quetiez
80121b89c3
Obsolescence: background task setting (or resetting) the obsolescence date for obsolete data. The periodicity can be tuned by the mean of obsolescence.date_update_interval, defaulting to 10 minutes. Also renamed show_obsolete_data into obsolescence.show_obsolete_data for consistency.
...
SVN:trunk[4745]
2017-05-19 09:20:13 +00:00
Denis Flaven
18de167d5e
Internal: context tags to (programmatically) identify the context of the execution.
...
SVN:trunk[4259]
2016-06-23 14:57:37 +00:00
Romain Quetiez
95ca14b05c
#1165 backup with errors fills up tmp-directories with lots of backup-files.
...
SVN:trunk[3868]
2016-01-21 14:55:31 +00:00
Denis Flaven
1aa489890c
Make sure that the SQL mutexes are specific to the current iTop instance, but still preserving the capability for the setup to detect an already running cron job with or without a valid config file.
...
SVN:trunk[3591]
2015-06-12 17:00:41 +00:00
Denis Flaven
54769aa2d1
Oops, rollback of the previous (unexpected) commit...
...
SVN:trunk[2954]
2013-10-24 09:28:25 +00:00
Denis Flaven
272a249d14
#805 Use a mutex to turn the insertion of a new ticket into an atomic operation
...
SVN:trunk[2953]
2013-10-24 09:15:41 +00:00
Romain Quetiez
564ba105eb
CRON: report that CRON is already running BEFORE saying that the DB is read-only (re-entrance during an operation done in the background)
...
SVN:trunk[2837]
2013-08-27 14:20:12 +00:00
Romain Quetiez
abae2129ad
CRON: protection against re-entrance now relies on a bullet-proof mutex. Also added the option 'debug=1' to output the call stack in case an exception occurs (not always because of passwords being shown in the call stack)
...
SVN:trunk[2834]
2013-08-26 15:29:32 +00:00
Denis Flaven
b2e4cf2c09
Add a carriage return to the error message output when iTop is NOT yet installed.
...
SVN:trunk[2823]
2013-08-19 14:59:41 +00:00
Romain Quetiez
08fa8362e3
CRON: reschedule at startup IIF the task is inactive or it is planned in the future
...
SVN:trunk[2822]
2013-08-14 15:01:53 +00:00
Romain Quetiez
447736f585
CRON to exit gracefully if iTop not yet installed
...
SVN:trunk[2821]
2013-08-14 13:21:41 +00:00
Romain Quetiez
98a1242050
New capability for CRON: handle tasks scheduled at given date/time (as opposed to a task being executed more or less continuously).
...
SVN:trunk[2816]
2013-08-08 15:23:05 +00:00
Denis Flaven
48d740da25
#727 : prevent a crash in cron.php
...
SVN:trunk[2743]
2013-05-16 14:05:38 +00:00
Romain Quetiez
7cae338e6d
#723 Cron locking is too restrictive
...
SVN:trunk[2724]
2013-05-14 09:34:08 +00:00
Denis Flaven
6d66969ff3
Better display of empty dates in the status report
...
SVN:trunk[2660]
2013-03-28 10:01:21 +00:00
Denis Flaven
eee8d71381
Enhancement: take into account the "periodicity" of the background processes.
...
Bug fix: fixed a warning in CheckStopWatchThresholds
SVN:trunk[2609]
2013-03-01 17:14:54 +00:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Denis Flaven
b02021a4ff
Still fixing regressions caused by Trac#446: XSS vulnerabilities...
...
SVN:trunk[1450]
2011-08-12 10:06:33 +00:00
Romain Quetiez
cc35e41028
Ooooops -removed debugging traces
...
SVN:trunk[1258]
2011-05-02 08:48:46 +00:00
Romain Quetiez
374858ef73
Fixed bug: Web services in CLI mode failing with an error when attempting to include APPROOT
...
SVN:trunk[1243]
2011-04-28 07:28:40 +00:00
Romain Quetiez
88a29fd8d1
#370 standard argument for CLI/REST services: param_file
...
SVN:trunk[1220]
2011-04-19 15:48:39 +00:00
Romain Quetiez
a222b33566
CRON - admin only + queues with timer (field 'planned')
...
SVN:trunk[1139]
2011-03-21 15:17:08 +00:00
Romain Quetiez
78396eafe3
Cron - enabled mode CLI
...
SVN:trunk[1138]
2011-03-21 11:41:08 +00:00
Romain Quetiez
de5ccf5908
Background processes - API ready for periodicity management
...
SVN:trunk[1137]
2011-03-21 11:17:42 +00:00
Romain Quetiez
736247f6e1
Email sent in asynchronous mode: forgot cron.php
...
SVN:trunk[1135]
2011-03-18 12:17:04 +00:00