1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 03:29:23 +02:00

10774 Commits

Author SHA1 Message Date
Joas Schilling
ad05f32c49 [ticket/9549] Throw an error when the given field-name is invalid.
Also the code now only appends an adm_back_link, when we are in the ACP.

PHPBB3-9549
2011-02-16 18:22:30 +01:00
Joas Schilling
8d12838aed [ticket/9549] Make the class non static and extend delete_group function.
delete_group() can now be used, so it does not update the actual group.
This can save a query, when you update the group anyway.

PHPBB3-9549
2011-02-16 18:22:29 +01:00
Joas Schilling
750fc3aca8 [ticket/9549] Add template changes for subsilver2.
PHPBB3-9549
2011-02-16 18:21:49 +01:00
Joas Schilling
663220418e [ticket/9549] Enhance teampage and legend functionality
PHPBB3-9549
2011-02-16 18:21:49 +01:00
Joas Schilling
4f2b0d9d42 [ticket/9549] Add the module and files for the ACP.
PHPBB3-9549
2011-02-16 18:21:48 +01:00
Joas Schilling
023a102082 [ticket/9549] Update database with the new config values and columns
PHPBB3-9549
2011-02-16 18:21:47 +01:00
Joas Schilling
b7d3d57b70 [ticket/9549] Enhance teampage functionality with a new class, group_positions.
PHPBB3-9549
2011-02-16 18:19:51 +01:00
Igor Wiedler
19a0c16ed6 Merge branch 'ticket/nickvergessen/10045' into develop
* ticket/nickvergessen/10045:
  [ticket/10045] Update version in some more files.
  [ticket/10045] Database updater version for 3.1-changes should be 3.1.0-dev
2011-02-16 16:13:37 +01:00
Joas Schilling
59454ccd99 [ticket/10045] Update version in some more files.
I did not include the docs/INSTALL.html, because we need to do a bit more on that file before releasing 3.1 (Add section how to update from 3.0 to 3.1, ...)

PHPBB3-10045
2011-02-16 16:06:23 +01:00
Nils Adermann
bd51bbda4e Merge branch 'develop-olympus' into develop
* develop-olympus:
  [task/refactor-db-testcase] Further improve error messages.
  [task/refactor-db-testcase] Do not show db password on connect error
  [task/refactor-db-testcase] Improve error message of db tests
  [task/refactor-db-testcase] Refactor phpbb_database_test_case
2011-02-16 11:55:43 +01:00
Nils Adermann
f3a3ec438f Merge branch 'task/refactor-db-testcase' into develop-olympus
* task/refactor-db-testcase:
  [task/refactor-db-testcase] Further improve error messages.
  [task/refactor-db-testcase] Do not show db password on connect error
  [task/refactor-db-testcase] Improve error message of db tests
  [task/refactor-db-testcase] Refactor phpbb_database_test_case
2011-02-16 11:53:54 +01:00
Joas Schilling
528c54f0f7 [ticket/10045] Database updater version for 3.1-changes should be 3.1.0-dev
PHPBB3-10045
2011-02-16 11:29:49 +01:00
Oleg Pudeyev
bd8e5ff79e [task/refactor-db-testcase] Further improve error messages.
PHPBB3-10043
2011-02-15 21:08:33 -05:00
Igor Wiedler
d3718bf5d4 [task/refactor-db-testcase] Do not show db password on connect error
PHPBB3-10043
2011-02-14 15:25:05 +01:00
Igor Wiedler
17b17bc939 [task/refactor-db-testcase] Improve error message of db tests
If database tests cannot be run the error message is ambigous. This
commit makes it clearer:

- whether the supplied dbms is supported by us
- which dbms are supported by us
- whether the required PDO extension is loaded

PHPBB3-10043
2011-02-14 14:48:42 +01:00
Igor Wiedler
6c7f49f561 [task/refactor-db-testcase] Refactor phpbb_database_test_case
Move most of the methods to a separate connection manager class. The
test case creates a manager to handle database creation, schema loading
and more. Most of the methods could be simplified because they can
access shared pdo, config and dbms data.

PHPBB3-10043
2011-02-14 00:24:55 +01:00
Igor Wiedler
1cc5087c36 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/8904] Show default value for numeric custom profile fields when editing
2011-02-13 18:33:27 +01:00
Igor Wiedler
ecb29e6027 Merge branch 'ticket/hammerhead/8904' into develop-olympus
* ticket/hammerhead/8904:
  [ticket/8904] Show default value for numeric custom profile fields when editing
2011-02-13 18:33:15 +01:00
Niklas Schmidtmer
c717e44094 [ticket/8904] Show default value for numeric custom profile fields when editing
When displaying the default value for a numeric custom profile field, only use
request_var to obtain the value on creation. When editing, it will always
override the actual value with an empty string, as this is request_var's default
return value.

PHPBB3-8904
2011-02-13 18:32:11 +01:00
Igor Wiedler
04bd2e640e Merge branch 'feature/system-cron' into develop
* feature/system-cron: (67 commits)
  [feature/system-cron] More tests for cron manager.
  [feature/system-cron] Added documentation for cron manager constructor.
  [feature/system-cron] Remove an unecessary assignment and an unecessary comment
  [feature/system-cron] Clarify comments about flush() call in cron.
  [feature/system-cron] preg_match returns int so cast to bool, fix comment
  [feature/system-cron] Rename lock() to acquire and unlock() to release.
  [feature/system-cron] Cache cron's task names.
  [feature/system-cron] Use a RecursiveDirectoryIterator instead of readdir.
  [feature/system-cron] Add array type hints if appropriate and remove globals.
  [feature/system-cron] Make use of the new config class in locks.
  [feature/system-cron] Fix duplicate instantiation of class loader in tests.
  [feature/system-cron] Abstract the database locking mechanism out of cron.
  [feature/system-cron] Move tests to phpunit.xml and always load class loader
  [feature/system-cron] Basic tests for cron manager.
  [feature/system-cron] Added @param/@return documentation
  [feature/system-cron] Add phpDoc documentation for everything else.
  [feature/system-cron] Cast result in cron_manager::is_valid_name() to bool.
  [feature/system-cron] Add phpDoc documentation for phpbb_cron_manager class.
  [feature/system-cron] Add phpDoc documentation for phpbb_cron_lock class.
  [feature/system-cron] Adjust SQL query style to follow coding guidelines.
  ...
2011-02-13 15:54:42 +01:00
Oleg Pudeyev
1fd8d6de7f [feature/system-cron] More tests for cron manager.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Oleg Pudeyev
4e689c522f [feature/system-cron] Added documentation for cron manager constructor.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
92c278d39a [feature/system-cron] Remove an unecessary assignment and an unecessary comment
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
c6a8abb409 [feature/system-cron] Clarify comments about flush() call in cron.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
7a2c5e618b [feature/system-cron] preg_match returns int so cast to bool, fix comment
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
2e47409e80 [feature/system-cron] Rename lock() to acquire and unlock() to release.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
09b136272b [feature/system-cron] Cache cron's task names.
Instead of using a path relative to phpbb_root_path the path to the task
directory is directly passed to the cron manager. Dummy tasks are now
in the tests directory directly.

PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
7a8233020b [feature/system-cron] Use a RecursiveDirectoryIterator instead of readdir.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
Nils Adermann
9bc62056b2 [feature/system-cron] Add array type hints if appropriate and remove globals.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Nils Adermann
165b0ec0b2 [feature/system-cron] Make use of the new config class in locks.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Nils Adermann
311a7ff753 [feature/system-cron] Fix duplicate instantiation of class loader in tests.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Nils Adermann
3a3a8bb96d [feature/system-cron] Abstract the database locking mechanism out of cron.
Added a number of tests for the locking mechanism which can now lock
arbitrary config variables.

PHPBB3-9596
2011-02-12 22:05:53 -05:00
Nils Adermann
6e5e4721d8 [feature/system-cron] Move tests to phpunit.xml and always load class loader
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Oleg Pudeyev
4fbf3fbd40 [feature/system-cron] Basic tests for cron manager.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Oleg Pudeyev
53dd847dd5 [feature/system-cron] Added @param/@return documentation
Also adjusted some function descriptions for greater informativity.

PHPBB3-9596
2011-02-12 22:05:53 -05:00
Andreas Fischer
47702b8ca7 [feature/system-cron] Add phpDoc documentation for everything else.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
Andreas Fischer
3c0561b68f [feature/system-cron] Cast result in cron_manager::is_valid_name() to bool.
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Andreas Fischer
f4f8523ca3 [feature/system-cron] Add phpDoc documentation for phpbb_cron_manager class.
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Andreas Fischer
134afe36e2 [feature/system-cron] Add phpDoc documentation for phpbb_cron_lock class.
PHPBB3-9596
2011-02-12 22:05:52 -05:00
Andreas Fischer
6fc11184e7 [feature/system-cron] Adjust SQL query style to follow coding guidelines.
PHPBB3-9596
2011-02-12 22:05:52 -05:00
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