Vjacheslav Trushkin
3e64c1b5d7
[ticket/11010] Fixes for number input in acp
...
PHPBB3-11010
2013-05-20 18:42:11 +02:00
Nathan Guse
14f1340903
[ticket/11335] (avatars) Make php_ext 'php' not '.php'
...
PHPBB3-11335
2013-04-24 17:45:46 -05:00
Marc Alexander
3cc4746ad3
[feature/avatars] Use "Main" as category for avatars in root of gallery
...
Before this change the whole avatar gallery path would show as category.
Additionally, the avatars that were selected like that had an incorrect
path and didn't show up correctly.
With this patch it'll display "Main" as category and properly work.
PHPBBB3-10018
2013-02-19 12:45:08 +01:00
Marc Alexander
a9e0aea4b1
[feature/avatars] Remove trailing whitespace from avatar code
...
PHPBB3-10018
2013-02-19 12:30:14 +01:00
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
f09e6865f7
[feature/avatars] Document the use of the allowed extensions array
...
PHPBB3-10018
2013-02-13 01:07:02 +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
cb08bf3c0c
[feature/avatars] Strictly check if avatar list is empty and cache result
...
PHPBB3-10018
2013-01-08 21:46:43 +01:00
Marc Alexander
9e001153d6
[feature/avatars] Pass phpbb_user object to prepare_form_acp()
...
The phpbb_user object might be used for language variables. Pass it as a
function argument to prepare_form_acp() instead of using globals.
PHPBB3-10018
2013-01-08 15:42:30 +01:00
Marc Alexander
8778c9c945
[feature/avatars] Pass phpbb_user object to get_custom_html()
...
Pass the phpbb_user object to function get_custom_html(). This object is
used in that method. Also fixed incorrect arguments to get_custom_html()
in phpbb_get_avatar().
PHPBB3-10018
2013-01-08 15:34:20 +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
8f8527a416
[feature/avatars] Improve handling of incorrect input for avatars
...
The upload avatar driver will now inform the user if insufficient data has
been entered for both remote and local avatar uploads.
The local avatar driver (gallery avatar) will also inform the user if he
didn't select a category and/or file before submitting.
PHPBB3-10018
2013-01-04 17:32:04 +01:00
Marc Alexander
8e756ad890
[feature/avatars] Let the server handle http or https for gravatars
...
PHPBB3-10018
2012-12-27 21:40:35 +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
f4ad60e2cf
[feature/avatars] Get list of enabled drivers from avatar manager
...
This shouldn't be done in the avatar drivers. We need to force the
display all avatar drivers in the ACP or it won't be possible to enable
avatars after they have been disabled.
PHPBB3-10018
2012-11-30 01:07:10 +01:00
Marc Alexander
81a1a21185
[feature/avatars] Properly implement custom HTML in the interface
...
Previously the driver class added a variable that defined wether an avatar
driver would return custom HTML. The existence of this variable was
implied in the interface. It's also not needed which is why it has been
removed.
PHPBB3-10018
2012-11-29 23:08:29 +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
8a01bc1718
[feature/avatars] Use RecursiveDirectoryIterator for gallery avatar
...
RecursiveDirectoryIterator is now used for populating the avatar list
array of the gallery avatar.
PHPBB3-10018
2012-11-21 21:42:42 +01:00
Marc Alexander
24ac039336
[feature/avatars] Get rid of array_keys() in gallery avatar
...
PHPBB3-10018
2012-11-21 20:01:50 +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
9b61204a17
[feature/avatars] Check if gravatar is within min/max width/height
...
PHPBB3-10018
2012-11-21 16:27:20 +01:00
Marc Alexander
b7b14f9a05
[feature/avatars] Use constant for URL and fix usage of getimagesize
...
We now use a constant for the gravatar URL. Additionally the usage of
getimagesize() was reduced. It should only be run if the user didn't
specify both the width and height of the avatar.
PHPBB3-10018
2012-11-21 16:20:14 +01:00
Marc Alexander
858c59279c
[feature/avatars] Use protected instead of private
...
PHPBB3-10018
2012-11-19 23:50:34 +01:00
Marc Alexander
8d0c667dce
[feature/avatars] Fix the docs and small naming fixes
...
PHPBB3-10018
2012-11-19 00:30:18 +01:00
Marc Alexander
bea6e845d3
[feature/avatars] Use https for gravatar
...
PHPBB3-10018
2012-11-19 00:27:22 +01:00
Marc Alexander
c2ba24558f
[feature/avatars] Fix local and upload avatar in the ACP
...
PHPBB3-10018
2012-11-18 23:11:40 +01:00
Marc Alexander
1c3b3621db
[feature/avatars] Add missing assign_block_vars() for avatar options
...
This is needed for selecting the gallery avatar while using subsilver2.
PHPBB3-10018
2012-11-18 20:45:51 +01:00
Marc Alexander
072615dc6e
[feature/avatars] Use request class in upload avatar
...
PHPBB3-10018
2012-11-17 13:55:47 +01:00
Marc Alexander
0a8d1220a3
[feature/avatars] Small fixes after transition to service containers
...
PHPBB3-10018
2012-11-17 13:53:24 +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
Marc Alexander
60b4c907b2
[feature/avatars] Add service containers for avatars
...
PHPBB3-10018
2012-11-15 18:10:54 +01:00
Marc Alexander
076785d76a
[feature/avatars] Add support for custom avatar HTML code
...
PHPBB3-10018
2012-11-14 20:04:02 +01:00
Marc Alexander
b91702665a
[feature/avatars] Add barebone gravatar driver
...
PHPBB3-10018
2012-11-13 23:22:56 +01:00
Marc Alexander
940d768592
[feature/avatars] Fix coding guidelines infractions
2012-11-12 16:27:45 +01:00
Igor Wiedler
df16bd1c49
[feature/avatars] Rewrite drivers to use full class name
...
* Use full driver class name as avatar_type value
* Move avatar drivers to core namespace
* Make avatars installable through extensions
PHPBB3-10018
2012-06-27 21:02:07 +02:00
Igor Wiedler
d104866992
[feature/avatars] Remove unneeded argument for driver prepare_form()
...
PHPBB3-10018
2012-06-27 16:59:38 +02:00
Igor Wiedler
3b71e81cfb
[feature/avatars] Simplify clean_row, move it to avatar manager
...
PHPBB3-10018
2012-04-08 21:29:52 +02:00
Igor Wiedler
81fb4268cd
[feature/avatars] Introduce an avatar driver interface
...
PHPBB3-10018
2012-04-08 16:40:19 +02:00
Igor Wiedler
e861bb0e04
[feature/avatars] Use request object in avatar drivers
...
PHPBB3-10018
2012-04-07 19:20:11 +02:00