1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

10700 Commits

Author SHA1 Message Date
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 3afd2c6948e777fde2f43f00bff1659f2691f4d8.

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
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
Igor Wiedler
0588ba25cb Merge branch 'ticket/bantu/9805' into develop-olympus
* ticket/bantu/9805:
  [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:55:40 +01:00
Igor Wiedler
53b97b57a0 Merge branch 'ticket/p/10013' into develop
* ticket/p/10013:
  [ticket/10013] Use mkdir to create directory trees.
  [ticket/10013] Fixed cache test to create intermediate directories.
  [ticket/10013] Changed cache test to use tests/tmp/cache as cache directory
2011-02-12 14:45:14 +01:00
Oleg Pudeyev
0765f9ba7f [ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
2011-02-12 14:44:53 +01:00
Oleg Pudeyev
4e446277a5 [ticket/10013] Fixed cache test to create intermediate directories.
PHPBB3-10013
2011-02-12 14:44:53 +01:00
Oleg Pudeyev
8de411cc25 [ticket/10013] Changed cache test to use tests/tmp/cache as cache directory
This is the first step of making the test suite use a single directory
for writing files to, this directory being tests/tmp.

The cache test, instead of tests/cache/tmp, now writes to tests/tmp/cache.

Also remove cache directory in setUp method, in case an earlier test run
did not complete successfully and the cache directory was not cleaned up.

Finally, this change makes the cache test take responsibility over the entire
contents of its cache directory.

PHPBB3-10013
2011-02-12 14:44:53 +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
3c04e6db97 [ticket/9949] Unit tests for user::lang()
PHPBB3-9949
2011-02-07 16:29:53 +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
Andreas Fischer
7dc2932321 [ticket/9823] Replace 0x80000000 with -2147483648 in tests.
See 181f2551cfc82e119d73f462268813d18de06097

PHPBB3-9823
2011-02-04 00:28:33 +01:00
Andreas Fischer
4aafe4b422 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/10020] Fix 32-bit php braindamage around INT_MIN.
  [ticket/10020] Replaced (int) 0x80000000 with portable equivalent.
2011-02-04 00:08:35 +01:00
Andreas Fischer
181f2551cf Merge branch 'ticket/p/10020' into develop-olympus
* ticket/p/10020:
  [ticket/10020] Fix 32-bit php braindamage around INT_MIN.
  [ticket/10020] Replaced (int) 0x80000000 with portable equivalent.
2011-02-04 00:05:52 +01:00
Oleg Pudeyev
d13efa41c5 [ticket/10020] Fix 32-bit php braindamage around INT_MIN.
On 32-bit php, -2147483648, despite fitting in the int type,
is for some reason made into a floating-point value. Use an
explicit cast to make it an integer.

PHPBB3-10020
2011-02-04 00:02:38 +01:00
Oleg Pudeyev
15992ceff9 [ticket/10020] Replaced (int) 0x80000000 with portable equivalent.
PHPBB3-10020
2011-02-04 00:01:49 +01:00
Andreas Fischer
50bdb5da89 [ticket/9805] Setup security repository for developers.
PHPBB3-9805
2011-02-03 11:12:48 +01:00
Andreas Fischer
67fe441f7e [ticket/9805] Move check lower down.
PHPBB3-9805
2011-02-03 11:12:48 +01:00
Andreas Fischer
e1ae8c6a71 [ticket/9805] Better support for already existing repositories.
PHPBB3-9805
2011-02-03 11:12:48 +01:00
Andreas Fischer
8eee36dc0f [ticket/9805] Add dry-run option.
PHPBB3-9805
2011-02-03 11:12:48 +01:00
Andreas Fischer
57bd0c74e5 [ticket/9805] Use getopt(), add a few options, extend show_usage().
PHPBB3-9805
2011-02-03 11:12:41 +01:00
Joas Schilling
9846d806f3 [ticket/9823] Move mock file into the mock/ folder.
PHPBB3-9823
2011-02-01 14:54:29 +01:00
Joas Schilling
6b00d7aa09 [ticket/9823] Update Unit tests to the new system and correct some minor issues
PHPBB3-9823
2011-02-01 14:09:52 +01:00
Joas Schilling
2b70f3d0e2 [ticket/9823] Update copyright year and add newline at the end of the file.
PHPBB3-9823
2011-02-01 13:38:46 +01:00
Joas Schilling
1dd5058d51 [ticket/9823] Correct unit-tests to use self:: instead of the class-name.
PHPBB3-9823
2011-02-01 13:38:45 +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
11e3804f97 [ticket/9823] Unit tests for build_cfg_template.
PHPBB3-9823
2011-02-01 13:38:43 +01:00
Joas Schilling
c80afb555e [ticket/9823] Unit tests for validate_rang.
PHPBB3-9823
2011-02-01 13:38:42 +01:00
Joas Schilling
d59327a9c4 [ticket/9823] Unit tests for h_radio.
PHPBB3-9823
2011-02-01 13:38:41 +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
270a0020ab Merge branch 'ticket/erikfrerejean/10011' into develop
* ticket/erikfrerejean/10011:
  [ticket/10011] Tests can't be ran on PHP < 5.3
2011-02-01 07:54:27 +01:00