47 Commits (5b2a674a4f3ca38c455a28b306964dd13294d44c)

Author SHA1 Message Date
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
7 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Barış Soner Uşaklı c9d502320f file.delete method 8 years ago
barisusakli 33e8ecc1f4 closes #5404 8 years ago
Peter Jaszkowiak 8f8babf90b Fix tests 8 years ago
Peter Jaszkowiak 8c45411ccc Fix #5491 8 years ago
barisusakli 531df7bd09 closes #5504 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
barisusakli ef90702049 closes #5459 8 years ago
Peter Jaszkowiak 23540afaeb Resolve merge conflicts 8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
barisusakli b33d34f7cf refactor user/picture.js 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
pichalite aacd8a2422 Fix return and tests 8 years ago
pichalite 8dab8864f6 Add extensions for cropped images 8 years ago
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route 8 years ago
Peter Jaszkowiak d31499a860 Fix tests rewriting `logo.png` 8 years ago
pichalite de28ff5d43 Ability to crop profile images before uploading 8 years ago
pichalite 8a68e1d918 Delete cover position data when cover photo is deleted 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli b6ac809a7d moved sync code out of async 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Ben Lubar fc387111e2 make keeping avatar versions an option in the ACP that is turned off by default 9 years ago
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. 9 years ago
Ben Lubar 7540fb54ac fix avatar upload crash discovered by @AccaliaDeElementia 9 years ago
Ben Lubar 74a5a70969 fix convert-avatars-to-png option not being honored 9 years ago
barisusakli c50d655922 closes #4325 9 years ago
Barış Soner Uşaklı 88e4591f88 closes #4194 9 years ago
Julian Lam 10024d7b93 fixed #4186 9 years ago
Julian Lam 119930131d fixed errors when uploading files 9 years ago
Julian Lam 3a6ad52ac8 closes #4164 9 years ago
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.
9 years ago
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
9 years ago
Julian Lam f1412b6e9b Fixed cover loading for subdirs and added removal
re: #3832
9 years ago
psychobunny f19043d046 profile cover photos 9 years ago
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.
10 years ago
barisusakli 9787e6c3df dont download images to local, pass to upload plugin 10 years ago
barisusakli cf193581e4 check and log all fs.unlink errors 10 years ago
APXEOLOG 1ae0077810 Change error message to localized one 10 years ago
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
10 years ago
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 10 years ago
barisusakli d5dd48ecc8 closes #3013 10 years ago
barisusakli 5501c0c759 closes #3005 10 years ago