1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

4472 Commits

Author SHA1 Message Date
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
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
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
be087826b0 [feature/system-cron] Added missing include to prune all forums task.
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
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
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
2e31dd56df Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/10029] Use $_SERVER['SERVER_PROTOCOL'] for determining HTTP version.
  [ticket/9805] Setup security repository for developers.
  [ticket/9805] Move check lower down.
  [ticket/9805] Better support for already existing repositories.
  [ticket/9805] Add dry-run option.
  [ticket/9805] Use getopt(), add a few options, extend show_usage().
  [ticket/9805] Script for easily cloning a whole github network.
2011-02-12 14:56:05 +01:00
Andreas Fischer
5c009997b2 Merge branch 'ticket/p/10029' into develop-olympus
* ticket/p/10029:
  [ticket/10029] Use $_SERVER['SERVER_PROTOCOL'] for determining HTTP version.
2011-02-10 00:20:34 +01:00
Oleg Pudeyev
0e861ac3ab [ticket/10029] Use $_SERVER['SERVER_PROTOCOL'] for determining HTTP version.
PHPBB3-10029
2011-02-09 02:19:50 -05:00
Andreas Fischer
f50d74506a Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/9949] Unit tests for user::lang()
  [ticket/9949] $user->lang() uses last int-value to get the key not first
2011-02-07 16:32:25 +01:00
Andreas Fischer
df78a3a62d Merge branch 'ticket/nickvergessen/9949' into develop-olympus
* ticket/nickvergessen/9949:
  [ticket/9949] Unit tests for user::lang()
  [ticket/9949] $user->lang() uses last int-value to get the key not first
2011-02-07 16:30:43 +01:00
Andreas Fischer
ec143edaf1 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/9966] Language download in ACP creates index.html and misses captcha_*
2011-02-04 17:41:39 +01:00
Andreas Fischer
36a4c410ce Merge branch 'ticket/nickvergessen/9966' into develop-olympus
* ticket/nickvergessen/9966:
  [ticket/9966] Language download in ACP creates index.html and misses captcha_*
2011-02-04 17:36:14 +01:00
Andreas Fischer
bdc590aac8 Merge branch 'ticket/nickvergessen/9823' into develop
* ticket/nickvergessen/9823:
  [ticket/9823] Replace 0x80000000 with -2147483648 in tests.
  [ticket/9823] Move mock file into the mock/ folder.
  [ticket/9823] Update Unit tests to the new system and correct some minor issues
  [ticket/9823] Update copyright year and add newline at the end of the file.
  [ticket/9823] Correct unit-tests to use self:: instead of the class-name.
  [ticket/9823] Unit tests for validate_config_vars.
  [ticket/9823] Unit tests for build_cfg_template.
  [ticket/9823] Unit tests for validate_rang.
  [ticket/9823] Unit tests for h_radio.
  [ticket/9823] Moving the functions. Unit tests for build_select.

Conflicts:
	phpBB/adm/index.php
2011-02-04 00:32:10 +01:00
Joas Schilling
737849bc23 [ticket/9823] Unit tests for validate_config_vars.
Fix some documentations and use the $max-var instead of the magic-number
in validate_config_vars.

PHPBB3-9823
2011-02-01 13:38:44 +01:00
Joas Schilling
eb2de91e7b [ticket/9823] Moving the functions. Unit tests for build_select.
PHPBB3-9823
2011-02-01 13:38:40 +01:00
Andreas Fischer
8376bf2807 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/10014] Clearly indicate fatal errors in file acm.
2011-02-01 07:42:51 +01:00
Andreas Fischer
b414a4d107 Merge branch 'ticket/p/10014' into develop-olympus
* ticket/p/10014:
  [ticket/10014] Clearly indicate fatal errors in file acm.
2011-02-01 07:41:21 +01:00
Joas Schilling
b526fb9678 [ticket/8065] Add an option to lock topics while moving them.
PHPBB3-8065
2011-01-30 01:23:20 +01:00
Andreas Fischer
bafe3d9484 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/9985] 3D Wave CAPTCHA: Pass min/max in the correct order to mt_rand().
  [ticket/9989] Skip PM popup in overall_header.html, if there are no new PMs.
2011-01-30 01:17:06 +01:00
Joas Schilling
b32bf5aa35 [ticket/9985] 3D Wave CAPTCHA: Pass min/max in the correct order to mt_rand().
PHPBB3-9985
2011-01-30 00:49:53 +01:00
Joas Schilling
92f99c97f4 [ticket/9949] $user->lang() uses last int-value to get the key not first
The comment in the code says: "We now get the first number passed and will
select the key based upon this number". But the loop over the arguments is not
left and therefore it uses the last int-value not the first one.

PHPBB3-9949
2011-01-29 17:22:55 +01:00
Joas Schilling
72fbd4dffa [ticket/9966] Language download in ACP creates index.html and misses captcha_*
The language pack download page includes index.html files instead of index.htm. It also does not include the new captcha_*.php files which are included since 3.0.6.

PHPBB3-9966
2011-01-29 17:08:20 +01:00
Oleg Pudeyev
5e97dd74c7 [ticket/10014] Clearly indicate fatal errors in file acm.
If acm_file cannot open the cache file for writing, it prints a message
to that effect and calls die(). The message itself does not indicate that
it is a fatal error, and someone seeing the message might expect that
inability to write to cache is not fatal.

Make it clear that the error is fatal by printing the word "Fatal" before
the message.

PHPBB3-10014
2011-01-28 15:31:41 -05:00
Nils Adermann
1196b96462 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/8779] Slow search for 'View unread posts'
2011-01-23 18:35:10 +01:00
rxu
ab9d4b3b63 [ticket/8779] Slow search for 'View unread posts'
Adjust SQL query to speedup search for unread posts (thanks naderman).

PHPBB3-8779
2011-01-24 00:01:18 +07:00
Igor Wiedler
40cf8b1c0a Merge branch 'ticket/bantu/9790' into develop
* ticket/bantu/9790:
  [ticket/9790] Support for lighttpd's X-Sendfile header for attachments.
  [ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.
  [ticket/9790] Always call file_gc(false) before sending the file.
  [ticket/9790] Add $exit parameter to file_gc().
2011-01-18 21:09:13 +01:00
Andreas Fischer
f6a14cbcef [ticket/9790] Support for lighttpd's X-Sendfile header for attachments.
PHPBB3-9790
2011-01-18 21:04:49 +01:00