Marc Alexander
44303aa425
Merge branch '3.1.x' into 3.2.x
2016-07-17 10:46:51 +02:00
Jakub Senko
9ca3cd519a
[ticket/14615] Fix HTML5 validation errors on avatar deletion
...
PHPBB3-14615
2016-05-16 22:21:31 +02:00
Marc Alexander
2a6e8f3668
Merge branch '3.1.x' into 3.2.x
2016-03-24 11:49:31 +01:00
Jakub Senko
795ce6ccf1
[ticket/14471] Add $filedata to core.avatar_driver_upload_move_file_before event
...
PHPBB3-14471
2016-03-10 13:25:43 +01:00
Marc Alexander
ea6bcdff52
Merge branch '3.1.x'
2016-01-06 13:26:23 +01:00
javiexin
06f4b6926b
[ticket/14387] Extend avatar-driver by extension in ACP not possible
...
Create two driver methods to provide the driver config name and the
driver ACP template name, and use them within the manager method.
Default driver config name and template name are the same as now.
But new drivers are able to override the config name and template
name with their own, including @vendor_extension.
PHPBB3-14387
2016-01-02 17:16:14 +01:00
javiexin
14dc274e9e
[ticket/14387] Extend avatar-driver by extension in ACP not possible
...
Create a driver method to provide the driver config name, and use it
within the manager method. Default driver config name is the same as now.
But new drivers are able to override the config name with their own.
PHPBB3-14387
2016-01-02 17:16:03 +01:00
Tristan Darricau
9ea44abf38
Merge branch '3.1.x'
...
* 3.1.x:
[ticket/13799] Split lines in HTML files for better readability
[ticket/13799] Add missing space before checked attribute
[ticket/13799] Correctly urlencode category and show selected avatar
[ticket/13799] Do not rawurlencode category in gallery avatar
2015-10-19 14:40:07 +02:00
Tristan Darricau
a6fd55db35
Merge pull request #3647 from marc1706/ticket/13799
...
[ticket/13799] Do not rawurlencode category in gallery avatar
* marc1706/ticket/13799:
[ticket/13799] Split lines in HTML files for better readability
[ticket/13799] Add missing space before checked attribute
[ticket/13799] Correctly urlencode category and show selected avatar
[ticket/13799] Do not rawurlencode category in gallery avatar
2015-10-19 14:39:14 +02:00
Tristan Darricau
af1597ae25
Merge branch '3.1.x'
...
* 3.1.x:
[ticket/14191] Add core.get_gravatar_url_after event
2015-10-12 11:32:05 +02:00
Jakub Senko
d5f625382b
[ticket/14191] Add core.get_gravatar_url_after event
...
PHPBB3-14191
2015-09-23 18:45:15 +02:00
Marc Alexander
40e614f564
[ticket/13904] Fix tests after changes to factory
...
PHPBB3-13904
2015-09-09 12:58:22 +02:00
Marc Alexander
57ccfe0c48
[ticket/13904] Move remote upload to its own type class
...
PHPBB3-13904
2015-09-09 08:28:02 +02:00
Marc Alexander
f9b69e73d4
[ticket/13904] Fix minor coding issues and don't use form_upload anymore
...
PHPBB3-13904
2015-09-09 08:27:57 +02:00
Marc Alexander
f32a94ae5d
[ticket/13904] Pass filesystem to upload avatar again
...
PHPBB3-13904
2015-09-09 08:27:44 +02:00
Marc Alexander
57de896286
[ticket/13904] Remove unneeded parameters from avatars and fix tests
...
PHPBB3-13904
2015-09-09 08:27:42 +02:00
Marc Alexander
a96e7a8ec6
[ticket/13904] Get rid of useless parameters and variables
...
PHPBB3-13904
2015-09-09 08:27:40 +02:00
Marc Alexander
1af6f052d8
[ticket/13904] Load upload class using factory
...
PHPBB3-13904
2015-09-09 08:27:37 +02:00
Tristan Darricau
dccc0877c1
Merge pull request #3891 from marc1706/ticket/14150
...
[ticket/14150] Update fast-image-size to newest version
* marc1706/ticket/14150:
[ticket/14150] Update fast-image-size to newest version
2015-09-09 00:16:22 +02:00
Marc Alexander
9d18b3d1ee
Merge branch '3.1.x'
2015-09-08 13:35:04 +02:00
Marc Alexander
58286171f1
[ticket/14150] Update fast-image-size to newest version
...
PHPBB3-14150
2015-09-08 12:59:55 +02:00
Matt Friedman
076807c63a
[ticket/14142] Remove unused ignore_configs from avatar drivers
...
PHPBB3-14142
2015-09-04 13:38:14 -07:00
Marc Alexander
47b32f1da9
Merge branch '3.1.x'
...
Conflicts:
phpBB/phpbb/avatar/driver/upload.php
tests/avatar/manager_test.php
2015-08-08 22:23:03 +02:00
Marc Alexander
b7e4d0b0a5
Merge pull request #3738 from javiexin/ticket/13981
...
[ticket/13981] Add events to capture avatar deletion or overwriting
2015-08-08 22:21:11 +02:00
javiexin
c3d77edd83
[ticket/13981] Add events to capture avatar deletion or overwriting
...
An event to capture new avatar moving in place (and maybe overwriting
existing avatar), and another to capture deletion. Includes better error
processing. Rename event.
PHPBB3-13981
2015-07-24 10:52:00 +02:00
javiexin
11256cd167
[ticket/13981] Add events to capture avatar deletion or overwriting
...
An event to capture overwriting, and another to capture deletion.
Includes better error processing. Replaced global by dependency injection.
Fix typo.
PHPBB3-13981
2015-07-17 23:03:19 +02:00
javiexin
4d3188ba57
[ticket/13981] Add events to capture avatar deletion or overwriting
...
An event to capture overwriting, and another to capture deletion.
Includes better error processing. Replaced global by dependency injection.
PHPBB3-13981
2015-07-17 19:40:33 +02:00
Marc Alexander
f1df8e2688
Merge branch '3.1.x'
2015-07-15 13:44:24 +02:00
javiexin
4b54df8d45
[ticket/13981] Add events to capture avatar deletion or overwriting
...
An event to capture overwriting, and another to capture deletion.
Includes better error processing.
PHPBB3-13981
2015-07-09 16:33:56 +02:00
javiexin
d0cdc5553a
[ticket/13980] Uploaded avatar not removed when new is uploaded
...
Remove the previously uploaded avatar when a new one with a different
extension is uploaded, using existing delete method
PHPBB3-13980
2015-07-09 15:31:28 +02:00
javiexin
e0efd5ee57
[ticket/13981] Add events to capture avatar deletion or overwriting
...
PHPBB3-13981
2015-07-03 21:39:36 +02:00
javiexin
352e995674
[ticket/13980] Uploaded avatar not removed when new is uploaded
...
Remove the previously uploaded avatar when a new one with a different
extension is uploaded
PHPBB3-13980
2015-07-03 19:40:09 +02:00
Marc Alexander
1ba86eaa8e
[ticket/13799] Correctly urlencode category and show selected avatar
...
PHPBB3-13799
2015-05-30 11:54:54 +02:00
Marc Alexander
ed064ce0f1
[ticket/13799] Do not rawurlencode category in gallery avatar
...
Otherwise the directory seperator will incorrectly be transformed to its
HTML replacement.
PHPBB3-13799
2015-05-28 15:36:27 +02:00
Marc Alexander
39d6180c68
[ticket/8672] Use fastImageSize in classes
...
PHPBB3-8672
2015-04-24 13:33:14 +02:00
Marc Alexander
2fa99602c6
[ticket/8672] Add class for retrieving imagesize without download
...
getimagesize() always downloads the complete file before checking
the actual image dimensions. This class will be able to do the same
without having to download possibly large files.
PHPBB3-8672
2015-04-24 13:31:36 +02:00
Tristan Darricau
f077b72d0d
Merge pull request #3487 from MateBartus/ticket/13697
...
[ticket/13697] Moving filesystem related functions to filesystem service
2015-04-16 20:44:02 +02:00
MateBartus
4bdef6fd21
[ticket/13697] Moving filesystem related functions to filesystem service
...
* Moving filesystem service to \phpbb\filesystem namespace
* Wraping Symfony's Filesystem component
* Moving filesystem related functions from includes/functions.php
into \phpbb\filesystem\filesystem
Functions moved (and deprecated):
- phpbb_chmod
- phpbb_is_writable
- phpbb_is_absolute
- phpbb_own_realpath
- phpbb_realpath
* Adding interface for filesystem service
PHPBB3-13697
2015-04-16 13:24:10 +02:00
Marc Alexander
558d604d83
Merge pull request #3518 from marc1706/ticket/13703
...
[ticket/13703] Use correct avatar path for PHPBB_USE_BOARD_URL_PATH
2015-04-04 11:04:29 +02:00
Kevin Roy
ddff81c21f
[ticket/13742] Use correct avatar path for local avatar
...
Prior to this change, the path might have been incorrect when using
PHPBB_USE_BOARD_URL_PATH.
PHPBB3-13742
2015-04-03 23:08:26 +02:00
Kevin Roy
a875802c06
[ticket/13703] Use correct avatar path for PHPBB_USE_BOARD_URL_PATH
...
This change makes the uploaded avatars use the PHPBB_USE_BOARD_URL_PATH
constant, which is needed when trying to use the get_user_avatar()
function in a listener for index changes.
PHPBB3-13703
2015-04-03 23:04:52 +02:00
Joas Schilling
679559ce18
Merge branch 'naderman-ticket/13232' into prep-release-3.1.0
2014-10-28 10:02:33 +01:00
Nils Adermann
4e4c3de103
[ticket/13227] Properly handle curlwrapper headers in remote avatars
...
Read a bit of the file to ensure header values are populated and then
handle headers in the nested array structure too.
PHPBB3-13227
2014-10-27 16:49:30 -07:00
Joas Schilling
6380aea647
[ticket/13232] Fix more issues with TTL and global cache file
...
PHPBB3-13232
2014-10-28 00:34:51 +01:00
Nils Adermann
bad90dafbf
Merge remote-tracking branch 'github-marc1706/ticket/12822' into develop-ascraeus
...
* github-marc1706/ticket/12822:
[ticket/12822] Fix test runs of avatar manager_test
[ticket/12822] Add method for deleting avatars and use confirm_box
[ticket/12822] Remove "None" option from avatar select boxes
2014-08-11 17:37:56 +02:00
Andreas Fischer
076d4ddd7f
[ticket/12941] Fix remaining Sami complaints.
...
PHPBB3-12941
2014-08-09 18:08:49 +02:00
Marc Alexander
e0c2013bb9
[ticket/12822] Add method for deleting avatars and use confirm_box
...
The method will take care of the actual deletion process in the avatar manager.
Additionally, we'll be using a confirm box while deleting the avatar to prevent
users from accidentally deleting their avatars.
PHPBB3-12822
2014-08-07 17:29:33 +02:00
Marc Alexander
4f23bb711c
[ticket/12822] Remove "None" option from avatar select boxes
...
This option is just used for deleting avatars for which we already have
a checkbox.
PHPBB3-12822
2014-08-07 17:28:21 +02:00
Marc Alexander
c22983cbdb
[ticket/11148] Use mimetype guesser for uploaded avatars
...
PHPBB3-11148
2014-06-23 21:39:24 +02:00
Tristan Darricau
09fc008e62
[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
...
PHPBB3-12721
2014-06-16 22:35:41 +02:00