Commit Graph

6 Commits

Author SHA1 Message Date
Mikael Nordfeldth
0e0a92638f Profile banner and background uploads with MediaFile::fromFilehandle 2016-03-05 02:27:58 +01:00
Mikael Nordfeldth
3bbfabfd4b Don't keep $this->img in memory the whole time 2016-03-05 01:52:16 +01:00
Mikael Nordfeldth
04eefb7836 MediaFile::fromFilehandle on profile avatar upload
This is mainly because I in GNU social want to change the constructor of
MediaFile and thus use fromFilehandle in Qvitter, so we don't have to sync
the changes as much.

This also will make sure that uploaded files can be reused if they match a
SHA256 hash of the avatar we want to set. Parts of my rewriting also provide
a pretty good example of how we can reuse existing File entries as Avatar sources.
2016-03-05 01:35:18 +01:00
Hannes Mannerheim
7285e3a8b4 set api format so client errors work 2016-02-01 18:22:35 +01:00
Hannes Mannerheim
33bf3e2912 new url 2016-01-18 01:24:37 +01:00
Hannes Mannerheim
2950f0a23b v4. design, img upload, avatar, bg img, etc etc 2014-11-24 13:47:45 +01:00