Andreas Fischer
6235957aa1
[feature/system-cron] Fix indention in phpbb_cron_manager::load_tasks()
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Andreas Fischer
afc538366b
[feature/system-cron] Remove $Id$ from PHP file header
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
4302dab5fa
[feature/system-cron] coding guidelines adjustments
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
e48b850ab5
[feature/system-cron] use phpbb_request instead of plain superglobals
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
5a95340ee8
[feature/system-cron] fix remaining missing phpbb_ prefix in cron.php
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
b50e486567
[feature/system-cron] adjust some comments to reflect phpbb_ prefix
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
4f86b4d205
[feature/system-cron] add spaces to comply with coding guidelines
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
132d2c2bd8
[feature/system-cron] adjust some last filenames to make autoloading work
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
bd58fa49c0
[feature/system-cron] make parameterized interface autoloadable
...
also extract it to a separate file
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Igor Wiedler
a9e0f9947d
[feature/system-cron] add phpbb_ prefix to all class names
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
0aa491ffa2
[feature/system-cron] rewrite cron manager to use autoloading
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
5a075c3dca
[feature/system-cron] remove more includes, adjust path
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
c9bd1b392d
[feature/system-cron] remove conditional includes in favour of autoloading
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
1bfbcb8b7e
[feature/system-cron] remove cron_ prefix from files
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
794d376be4
[feature/system-cron] rename tasks to task
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
1c7d29783b
[feature/system-cron] Added use_system_cron to schema_data.sql.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
fb461c57ed
[feature/system-cron] Removed generate_generic_task_code function
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
8c8211d15a
[feature/system-cron] Added missing visibility keywords.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Igor Wiedler
652372bdb1
[feature/system-cron] Add debug information
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
3e707cf266
[feature/system-cron] Replaced intval with (int) cast as requested.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
f345662b21
[feature/system-cron] Use intval() to convert to int.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
ccf5902c50
[feature/system-cron] Fixed instantiate_task to work correctly.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
Oleg Pudeyev
071472a6fd
[feature/system-cron] Use complete cron task class name as cron task name
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
8cc2819610
[feature/system-cron] Require cron task wrapper constructor to be a cron task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
72699b72fb
[feature/system-cron] Updated prune forum task name in viewforum.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
be087826b0
[feature/system-cron] Added missing include to prune all forums task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
5c03040ddd
[feature/system-cron] Try to work around stealth cron locks
...
Try to work around stealth cron locks resulting from fatal errors during cron processing.
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
d6fcea23a4
[feature/system-cron] Note that releasing a released cron lock is harmless.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
562bbc885e
[feature/system-cron] Use interface_exists to check for interface existence.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
451198b467
[feature/system-cron] Set use_system_cron config value during upgrade.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
f07aeba9c0
[feature/system-cron] Added acp ui for use_system_cron config setting.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
ce5204dcfd
[feature/system-cron] Comment about shutdown function safety in queue cron task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
c25736ca25
[feature/system-cron] Changed !! to (bool) as requested.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
bb7496bac2
[feature/system-cron] Changed stray include_once to include.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
Oleg Pudeyev
763dc86c16
[feature/system-cron] Fixes to make cron actually run.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
ea3b98ab49
[feature/system-cron] Changed include_once to *_exists/include.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
fe72fe9878
[feature/system-cron] Added includes for class dependencies.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
e151741fb6
[feature/system-cron] Added missing implements declaration to cron task base.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
8f567a21a3
[feature/system-cron] Updated includes after moving files.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
b620f29937
[feature/system-cron] Wrap cron tasks in cron manager.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
0cfbdcc744
[feature/system-cron] Reorganized cron task parametrization.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
0f9b3bcc27
[feature/system-cron] Refactored cron task naming, loading and running.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
61e0285da8
[feature/system-cron] Reformatted cron, includes/cron and includes/cron_lock.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
3956e9f533
[feature/system-cron] Added implementations for run methods in prune cron tasks.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
0532048292
[feature/system-cron] WIP on reorganizing cron tasks into classes.
...
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
9be4f438eb
[feature/system-cron] Private instance variable as cron id
...
Changed cron lock to use a private instance variable for cron id instead of a constant.
PHPBB3-9596
2011-02-12 22:05:49 -05:00
Oleg Pudeyev
77d7238eef
[feature/system-cron] WIP on making cron tasks runnable via system cron
...
PHPBB3-9596
2011-02-12 22:05:48 -05:00
Igor Wiedler
8f0e9aee5c
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10038] Use request_var() in the avatar code path of download/file.php
Conflicts:
phpBB/download/file.php
2011-02-12 19:55:23 +01:00
Igor Wiedler
42707053a2
Merge branch 'ticket/bantu/10038' into develop-olympus
...
* ticket/bantu/10038:
[ticket/10038] Use request_var() in the avatar code path of download/file.php
2011-02-12 19:51:21 +01:00
Andreas Fischer
23d2798b6d
[ticket/10038] Use request_var() in the avatar code path of download/file.php
...
There is no reason not to use request_var() here because it is available anyway
since 3afd2c6948
.
This change especially prevents submitting an array which might then throw an
error in one of the string functions substr() or strpos() later on.
PHPBB3-10038
2011-02-12 19:22:51 +01:00