Commit Graph

21 Commits

Author SHA1 Message Date
Ben Lubar
fc387111e2 make keeping avatar versions an option in the ACP that is turned off by default 2016-07-28 13:16:38 -05:00
Ben Lubar
0d40542f93 Keep old versions of avatars in the filesystem. Change the avatar URL each time a new one is uploaded to avoid caching problems. Closes #4722. 2016-07-28 12:21:37 -05:00
Ben Lubar
7540fb54ac fix avatar upload crash discovered by @AccaliaDeElementia 2016-05-04 09:53:06 -05:00
Ben Lubar
74a5a70969 fix convert-avatars-to-png option not being honored 2016-04-28 00:32:37 -05:00
barisusakli
c50d655922 closes #4325 2016-03-08 19:01:45 +02:00
Barış Soner Uşaklı
88e4591f88 closes #4194 2016-02-16 18:04:02 +02:00
Julian Lam
10024d7b93 fixed #4186 2016-02-15 15:32:01 -05:00
Julian Lam
119930131d fixed errors when uploading files 2016-02-10 15:23:56 -05:00
Julian Lam
3a6ad52ac8 closes #4164 2016-02-09 09:45:16 -05:00
Julian Lam
051a8e22df Removed allowedFileExtensions meta config
Now, when NodeBB needs to determine file compatibility, jimp
will attempt to open the file for reading. If it fails, file is
considered to be of an invalid type.
2015-11-09 14:39:00 -05:00
barisusakli
323cc165b6 closes #3851
dont use post file upload for cover uploads
check cover upload file size against new setting
store cover uploads in profile folder
use `uid-profilecover` filename for cover uploads
2015-11-07 18:34:40 -05:00
Julian Lam
f1412b6e9b Fixed cover loading for subdirs and added removal
re: #3832
2015-11-05 15:49:41 -05:00
psychobunny
f19043d046 profile cover photos 2015-10-28 17:42:42 -04:00
Julian Lam
ebed9d641c Add new ACP option to upload Touch Icon, #3668
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.

This commit also creates a new template helper for link tags.
2015-09-24 12:05:45 -04:00
barisusakli
9787e6c3df dont download images to local, pass to upload plugin 2015-09-14 13:36:02 -04:00
barisusakli
cf193581e4 check and log all fs.unlink errors 2015-09-06 00:49:47 -04:00
APXEOLOG
1ae0077810 Change error message to localized one 2015-07-02 18:29:46 +03:00
APXEOLOG
93b6b6ba5f Fixed two bugs:
1. filename cannot contain ':' (at least on windows), nodebb crashes with such filename
2. lwip cannot define image type without file extension

Also added image extension check to prevent security issues
2015-07-02 13:03:43 +03:00
Julian Lam
e523ef7c17 added plugin hooks so that imagemagick can still be called, as a plugin, for image manipulation tasks, falling back to using lwip 2015-06-04 12:32:39 -04:00
barisusakli
d5dd48ecc8 closes #3013 2015-04-14 14:27:42 -04:00
barisusakli
5501c0c759 closes #3005 2015-04-13 15:01:38 -04:00