Marc Alexander
fb139a8820
[feature/avatars] Fix behavior of avatar manager and variables
...
The $force_all variable was only partially removed and the behavior was
not consistent in all files.
PHPBB3-10018
2012-12-04 15:12:04 +01:00
Marc Alexander
8aaa3e055f
[feature/avatars] Use seperate function for retrieving the config name
...
PHPBB3-10018
2012-12-04 15:11:14 +01:00
Marc Alexander
fc4069f81d
[feature/avatars] Use seperate function for retrieving all drivers
...
PHPBB3-10018
2012-12-04 00:59:37 +01:00
Marc Alexander
215ac6a0da
[feature/avatars] Removed unneeded dependencies
...
PHPBB3-10018
2012-12-01 21:28:44 +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
33b98dc5ba
[feature/avatars] Fix variable names
...
PHPBB3-10018
2012-11-30 16:46:11 +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
06639729ea
[feature/avatars] Add static methods for handling driver names
...
PHPBB3-10018
2012-11-25 16:05:57 +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
01b313ea26
[feature/avatars] Use isset() instead of in_array()
...
PHPBB3-10018
2012-11-21 19:20:39 +01:00
Marc Alexander
8c782122c1
[feature/avatars] Use in_array() and fix tabbing
...
PHPBB3-10018
2012-11-21 17:24:02 +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
6d994380d7
[feature/avatars] Fix error in avatar_manager::clean_row
...
PHPBB3-10018
2012-06-27 14:48:51 +02:00
Igor Wiedler
f273ab16ae
[feature/avatars] Fix clean_row regex, thanks to chris
...
PHPBB3-10018
2012-04-08 22:28:40 +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
0898d11457
[feature/avatars] Fix CS
...
PHPBB3-10018
2012-04-07 20:27:11 +02:00
Igor Wiedler
e861bb0e04
[feature/avatars] Use request object in avatar drivers
...
PHPBB3-10018
2012-04-07 19:20:11 +02:00
Igor Wiedler
3b0e0dba32
[feature/avatars] Remove unneeded require (class is now autoloaded)
...
PHPBB3-10018
2012-04-07 19:08:54 +02:00
Igor Wiedler
c7976279e1
[feature/avatars] Fix avatar driver filename for autoloading
...
PHPBB3-10018
2012-04-07 18:59:24 +02:00
Cullen Walsh
48e61b1b45
[feature/avatars] Support editing of group avatars in ACP
...
Edited templates for group avatars so they can be properly modified in ACP
PHPBB3-10018
2012-03-18 22:22:41 +00:00
Cullen Walsh
8416bf3dc9
[feature/avatars] Made ACP avatar gallery in Manage Users prettier
...
Added row/column information so avatars can be displayed nicely in
the ACP
PHPBB3-10018
2012-03-18 22:21:36 +00:00
Cullen Walsh
a06380c69a
[feature/avatars] Make avatars generic
...
Adding a cleaning function for data coming from the users/groups
tables so drivers only deal with clean data (ideally). Refactored
get_user_avatar() and get_group_avatar() to use an underlying
get_avatar() function.
PHPBB3-10018
2012-03-18 22:21:36 +00:00
Cullen Walsh
d0bb14ded1
[feature/avatars] Update ACP manage users, fix gallery focus issue
...
Updated ACP to match UCP with dropdown. Correctly determe which
avatar to focus on by checking if the form was submitted and
avatar_driver is set.
PHPBB3-10018
2012-03-18 22:21:36 +00:00