]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Properly unlink all old avatars when deleting/uploading a new
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 1 Oct 2013 09:37:59 +0000 (11:37 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 1 Oct 2013 15:00:10 +0000 (17:00 +0200)
commitb0dfc70a54e5e184023ed982dfaf5439041e9708
tree4bf49ec951b7ffa0ba461c4de748397d687ffa2d
parenta7e748479c273ddecfe9fdbd72670fe1abe766bf
Properly unlink all old avatars when deleting/uploading a new

We're also now using $config['image']['jpegquality'] to determine the
quality setting for resized images.

To set Avatar max size, adjust $config['avatar']['maxsize']

The getAvatar call now throws exceptions too. Related changes applied.
Now let's move Profile->avatarUrl to the Avatar class!
47 files changed:
actions/allrss.php
actions/apitimelinefavorites.php
actions/apitimelinefriends.php
actions/apitimelinehome.php
actions/apitimelinementions.php
actions/apiuserprofileimage.php
actions/avatarbynickname.php
actions/avatarsettings.php
actions/foaf.php
actions/repliesrss.php
actions/shownotice.php
actions/tagprofile.php
actions/userrss.php
classes/Avatar.php
classes/Managed_DataObject.php
classes/Memcached_DataObject.php
classes/Profile.php
lib/accountprofileblock.php
lib/activityobject.php
lib/apiaction.php
lib/atomusernoticefeed.php
lib/default.php
lib/defaultprofileblock.php
lib/imagefile.php
lib/jsonsearchresultslist.php
lib/messagelistitem.php
lib/noresultexception.php
lib/noticelistitem.php
lib/noticesection.php
lib/peopletaglist.php
lib/profilelist.php
lib/profileminilist.php
lib/profilesection.php
lib/router.php
lib/togglepeopletag.php
lib/util.php
plugins/Autocomplete/actions/autocomplete.php
plugins/Bookmark/actions/apitimelinebookmarks.php
plugins/EmailSummary/lib/useremailsummaryhandler.php
plugins/GNUsocialProfileExtensions/actions/bio.php
plugins/GroupPrivateMessage/actions/showgroupmessage.php
plugins/GroupPrivateMessage/lib/groupmessagelistitem.php
plugins/OStatus/actions/ostatussub.php
plugins/QnA/actions/qnashowanswer.php
plugins/QnA/actions/qnashowquestion.php
plugins/SubMirror/forms/editmirror.php
plugins/TwitterBridge/lib/twitterimport.php