Marc Alexander
2302cd7a42
[feature/avatars] Pass phpbb_user to prepare and process form functions
...
The phpbb_user object might be used for language variables and other
things.
PHPBB3-10018
2013-02-19 12:24:21 +01:00
Marc Alexander
5a4da46f9b
[feature/avatars] Use array for allowed extensions and implode if needed
...
PHPBB3-10018
2013-02-07 00:08:53 +01:00
Marc Alexander
f322f4eac9
[feature/avatars] Correct license, copyright and package info
...
PHPBB3-10018
2013-02-03 23:02:35 +01:00
Marc Alexander
9c3538eb0e
[feature/avatars] Move list of supported formats to avatar driver class
...
Using the regex and turning it into an array if necessary seemed like the
cleanest approach to achieve this.
PHPBB3-10018
2013-01-25 01:24:15 +01:00
Marc Alexander
023d7a972d
[feature/avatars] Remove $request property and pass as argument if needed
...
Remove the $request property from the phpbb_avatar_driver class and rather
pass it as function argument if it's needed in a function. Currently this
is only the case for the class methods prepare_form() and process_form().
PHPBB3-10018
2013-01-07 23:02:07 +01:00
Marc Alexander
c865f98dcf
[feature/avatars] Some more miscellaneous changes
...
PHPBB3-10018
2012-12-27 20:42:05 +01:00
Marc Alexander
2f47c99432
[feature/avatars] Add more consistency to codebase
...
PHPBB3-10018
2012-12-11 21:02:37 +01:00
Marc Alexander
d439f47710
[feature/avatars] Fix docblocks and minor cosmetic issues
...
PHPBB3-10018
2012-12-01 00:27:52 +01:00
Marc Alexander
081440f6c4
[feature/avatars] Create setting for enabling avatar in manager
...
PHPBB3-10018
2012-11-30 23:11:44 +01:00
Marc Alexander
d5cbedaaa2
[feature/avatars] Let avatar manager handle $ignore_config
...
The avatar manager already handles if avatars are enabled. It should also
handle ignoring the config settings.
PHPBB3-10018
2012-11-30 15:12:34 +01:00
Marc Alexander
cb1d98ab7f
[feature/avatars] Check for existing functions rather than using _once
...
PHPBB3-10018
2012-11-26 23:06:38 +01:00
Marc Alexander
f851d763f9
[feature/avatars] Even more fixes to docblocks
...
PHPBB3-10018
2012-11-25 21:14:05 +01:00
Marc Alexander
6522190ff1
[feature/avatars] Docblock fixes and small change for php_ext
...
PHPBB3-10018
2012-11-25 20:50:31 +01:00
Marc Alexander
ce5e2f1677
[feature/avatars] Miscellaneous fixes
...
PHPBB3-10018
2012-11-25 01:18:27 +01:00
Marc Alexander
ce44e3908e
[feature/avatars] Remove unnecessary abbreviations
...
PHPBB3-10018
2012-11-25 00:54:34 +01:00
Marc Alexander
726d1a16d7
[feature/avatars] Move avatar specific settings to drivers
...
PHPBB3-10018
2012-11-21 17:15:35 +01:00
Marc Alexander
517d3f56ac
[feature/avatars] Use correct names of input fields
...
The name of the avatar input fields seem to have been copied from the local
avatar (gallery avatar). Since the input fields have different names in
the template files of the remote and gravatar avatars this will not
properly default to the entered values.
Additionally, the focused driver wasn't correctly filtered causing use to
always default to no avatar.
PHPBB3-10018
2012-11-16 17:39:32 +01:00
Marc Alexander
0a5d54cc9b
[feature/avatars] Shorten avatar driver's class name
...
The addition of "core_" that was used until now would require additional
avatar drivers (e.g. in extensions) to also include that in their class
name which would be incorrect.
PHPBB3-10018
2012-11-16 17:19:04 +01:00