Commit Graph

174 Commits

Author SHA1 Message Date
Mikael Nordfeldth
2dbd6c539c FileNotFoundException won't be thrown if MediaFile works as it should
In newer GNU social MediaFile will make sure the local file exists, if
we're trying to upload something that matches by hash in the File table.
For the current 'master' when I'm pushing this that won't be handled
correctly, but then again it would only be a problem if something has
been f'd already and you're missing files from the filesystem that are
listed in the File table.
2016-03-05 02:30:28 +01:00
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
9bf92d11aa mute and bugfixes 2016-03-04 23:07:15 +01:00
Hannes Mannerheim
c3aed808ba silence & sandbox in user cog wheel menu and stream item ellipsis menu 2016-03-01 01:08:55 +01:00
Hannes Mannerheim
876b15a5cd silence&sandbox api 2016-02-29 19:37:06 +01:00
Hannes Mannerheim
11186c14b8 silenced & sandboxed flags and streams, only show notifications from people you follow, ghost notification fix, mentions no longer default stream, block stream link in menu, etc 2016-02-26 23:18:02 +01:00
Mikael Nordfeldth
4592c65939 rel="me" links for the IndieWeb audience 2016-02-23 22:14:58 +01:00
Hannes Mannerheim
0f9ec45a06 removes error in blocked-feed when we haven't blocked anyone 2016-02-16 19:20:44 +01:00
Hannes Mannerheim
f82589398b updated favicons 2016-02-16 13:37:29 +01:00
Mikael Nordfeldth
92611273c3 Also set selectVerbs so we don't ignore Shares for example. 2016-02-14 20:42:26 +01:00
Mikael Nordfeldth
b442f365a1 Need to call parent construct in order to set selectVerbs stuff 2016-02-14 20:33:28 +01:00
Mikael Nordfeldth
2a75c0b31c align code with newer GNU social 2016-02-14 20:33:06 +01:00
Hannes Mannerheim
2816507545 twitter cards and opengraph 2016-02-11 17:48:57 +01:00
Hannes Mannerheim
97fa39126b terms for logged in users 2016-02-07 14:17:31 +01:00
Hannes Mannerheim
7285e3a8b4 set api format so client errors work 2016-02-01 18:22:35 +01:00
Hannes Mannerheim
7d4ed44ff9 return empty array instead of 404 for twitter v1.1 APIs that twidere use. maybe makes twidere work better? 2016-01-28 23:15:32 +01:00
Hannes Mannerheim
1b7a9c507b update profile banner (twidere support) 2016-01-28 21:12:34 +01:00
Hannes Mannerheim
e49964458c admins can set any qvitternotice 2016-01-28 19:08:58 +01:00
Hannes Mannerheim
a47ea60100 fixes issue #4 2016-01-24 13:58:57 +01:00
Hannes Mannerheim
2348f803f2 fixes 2016-01-23 01:50:00 +01:00
Hannes Mannerheim
98f831dd20 thumbnails in oembed response and better looking rendering of oembed coming from other qvitter instances 2016-01-21 20:01:43 +01:00
Hannes Mannerheim
607c309d4a don't do http request 2016-01-21 16:11:25 +01:00
Hannes Mannerheim
3b39b3fc43 handle twitter oembed in same way as quotes 2016-01-21 02:16:39 +01:00
Hannes Mannerheim
11df93fcb5 oembed discovery closer to spec (not working yet) 2016-01-20 20:56:50 +01:00
Hannes Mannerheim
d614b9fca8 oembed discovery 2016-01-20 20:39:50 +01:00
Hannes Mannerheim
bcb88e5239 oembed 2016-01-20 17:39:34 +01:00
Hannes Mannerheim
74c52babc2 ask users to help with translation 2016-01-18 15:26:54 +01:00
Hannes Mannerheim
33bf3e2912 new url 2016-01-18 01:24:37 +01:00
Hannes Mannerheim
a2102eadd1 fixes #343, value column in config table is converted to text now 2016-01-09 00:50:30 +01:00
Hannes Mannerheim
cc950a4cf0 removes php warnings/notices 2016-01-07 16:39:46 +01:00
Hannes Mannerheim
7554706792 quoted notices 2016-01-07 03:03:18 +01:00
Hannes Mannerheim
f0786ee8fe fixes for quitter.se https setup 2015-12-29 16:35:09 +01:00
Hannes Mannerheim
02eced7291 check if email is already in use when registering + some rtl css fixes 2015-12-14 21:01:27 +01:00
Hannes Mannerheim
7534937fb7 login cleanup and fixes #322 2015-12-03 16:06:02 +01:00
Hannes Mannerheim
4b66bcfe04 lists 2015-11-29 20:19:23 +01:00
Hannes Mannerheim
10b5e76295 better handling of the small not-seen disc 2015-11-25 20:11:59 +01:00
Hannes Mannerheim
072c411ac2 big change in how streams are changed, and lots of bugfixes 2015-11-23 00:24:33 +01:00
Hannes Mannerheim
cff9c53f78 small fixes 2015-11-19 18:32:46 +01:00
Hannes Mannerheim
4a70176da0 bugfix 2015-11-18 20:08:25 +01:00
Hannes Mannerheim
14ae286aeb semi-hide notices form profiles we're blocking 2015-11-18 16:38:19 +01:00
Hannes Mannerheim
25447c2527 API for getting a profile's blocked profiles 2015-11-18 15:32:20 +01:00
Hannes Mannerheim
5ed9d729ea notifications marked as seen when faving, repeating and expanding an notice #306 2015-11-18 00:24:57 +01:00
Hannes Mannerheim
fd43133f0f stream menus, mark all notifications as read, opt-out from certain notifications 2015-11-17 22:48:28 +01:00
Hannes Mannerheim
8a71ee5b7e cleaner image upload without canvas, also possible to upload any attachment, plus error message when upload fails 2015-11-16 20:27:40 +01:00
Hannes Mannerheim
819504224b enable javascript message 2015-11-16 16:54:54 +01:00
Hannes Mannerheim
111f57a269 browser detection library and no basicauth popup hack in microsoft browsers 2015-11-16 16:09:01 +01:00
Hannes Mannerheim
b85621c76a fix 2015-11-16 15:42:53 +01:00
Hannes Mannerheim
b12bad0ebd set logged in user data server side 2015-11-05 12:34:12 +01:00