Commit Graph

47 Commits

Author SHA1 Message Date
barisusakli
bce1208e2f make uploadFile public 2017-03-02 20:51:03 +03:00
Julian Lam
e71bd7a27f Merge branch 'master' into styleguide 2017-02-24 11:45:04 -05:00
barisusakli
04b07e292c thumb tests 2017-02-24 17:34:34 +03:00
Peter Jaszkowiak
23540afaeb Resolve merge conflicts 2017-02-18 19:14:39 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
52f2028206 ESlint no-multiple-empty-lines 2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
pichalite
7f4e4c8e2e Fix styling 2017-02-17 20:02:26 +00:00
pichalite
4d755bad0c Use typeToExtension from file.js 2017-02-17 19:57:18 +00:00
barisusakli
51981ffb99 get extention from content type 2017-01-31 22:18:22 +03:00
Anil Mandepudi
619ca48403 remove shims for IE8 (#5157) 2016-10-26 14:36:26 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
aac0313f2e closes #4917 2016-08-08 13:21:05 +03:00
pichalite
2cd709418b fix resizeImage on upload 2016-07-19 03:06:33 +00:00
barisusakli
d2cbd7e6dc new priv for uploads 2016-07-12 19:59:04 +03:00
barisusakli
630dd66cf6 closes #4645 2016-05-15 21:18:05 +03:00
barisusakli
acc030e6da added filter:image.size
fix uploading of gifs if imagemagick plugin is installed but no image
upload plugins are present.
2016-05-09 22:25:56 +03:00
barisusakli
9b54ce7235 fix uploads with no extensions 2016-05-03 16:14:52 +03:00
barisusakli
fea18a050f closes #4590 2016-05-01 12:44:43 +03:00
barisusakli
e9d548d057 closes #4580 removed path.parse 2016-05-01 12:26:57 +03:00
pichalite
f154853b39 add extension after filename trim 2016-04-27 14:46:03 +00:00
pichalite
821d723541 fix image upload in post 2016-04-26 23:22:19 +00:00
Julian Lam
4f913d3f19 fixed issue with missing base in path.format 2016-04-20 14:15:38 -04:00
Julian Lam
5858d914bf closes #4550 2016-04-20 13:58:31 -04:00
barisusakli
7ab55b0e95 closes #4392 2016-03-23 12:19:29 +02:00
barisusakli
c50d655922 closes #4325 2016-03-08 19:01:45 +02:00
barisusakli
cf00371892 closes #4295 2016-03-02 16:04:16 +02:00
Julian Lam
119930131d fixed errors when uploading files 2016-02-10 15:23:56 -05:00
barisusakli
59c350e63c closes #4019 2016-01-11 19:15:43 +02:00
barisusakli
3ea453e8a0 closes #4006 2016-01-11 10:27:39 +02:00
Julian Lam
1660e13aed #3695 2015-12-31 11:36:28 -05:00
barisusakli
99d64db9e0 closes #4011
allow both `.png` and `png`
2015-12-28 15:38:02 +02:00
Julian Lam
37b13b4879 Re-added file extension restriction ACP option
Closes #3918
2015-12-14 14:57:19 -05:00
Julian Lam
dbe5b963bd fixes #3863 :trollface: 2015-11-11 13:52:29 -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
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
cf193581e4 check and log all fs.unlink errors 2015-09-06 00:49:47 -04:00
Barış Soner Uşaklı
3f92984be2 fix image url in relative_path install in post 2015-04-07 15:37:20 -04:00
Barış Soner Uşaklı
767816e669 #2738 2015-02-19 16:46:00 -05:00
Barış Soner Uşaklı
c1ce0a9e1d closes #2738 2015-02-19 16:37:56 -05:00
barisusakli
aa94dafac1 closes #725 2015-02-18 21:09:33 -05:00
Julian Lam
675968f0f3 cover photo for groups, #2588 2015-01-12 20:34:15 -05:00
barisusakli
1caddb6182 uploads controller 2015-01-10 16:40:54 -05:00