Barış Soner Uşaklı
54b497258f
feat: add missing name to profile image upload
5 years ago
Barış Soner Uşaklı
e53a18f219
fix : #8437 , #8433
5 years ago
Barış Soner Uşaklı
48b41debe6
fix: vulnerability in cover and admin uploads ( #8419 )
...
* fix: vulnerability in cover and admin uploads
* fix: remove old test
* fix: update tests
5 years ago
Barış Soner Uşaklı
c5ffd8cc74
refactor: async/await image.js
5 years ago
Barış Soner Uşaklı
9a7560049a
feat: bypass cropper for gifs
5 years ago
Barış Soner Uşaklı
96ab8d05aa
fix: only allow png/jpg/bmp in cover/profile images
6 years ago
Barış Soner Uşaklı
5505628c8d
refactor: change to const
6 years ago
Barış Soner Uşaklı
cd80c2638c
feat: #7743
...
user/password
user/picture
6 years ago
Barış Soner Uşaklı
7e828404f6
fix : #7116
...
dont save relative_path in db for group covers
6 years ago
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
6 years ago
Barış Soner Uşaklı
71ccd67665
closes #6722
...
calculate size of base64 image from buffer, still not perfect but better than string.length
7 years ago
Barış Soner Uşaklı
b7ead6dc9c
Replace jimp with sharp ( #6774 )
...
* add probe image size and max image size
* replace jimp and image-probe with sharp
* better name for test
* resize with just path
* resize thumb inplace
* use filename
7 years ago
Julian Lam
88b47f357b
removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite
7 years ago
Barış Soner Uşaklı
108c3c980a
show invalid url error if request.head fails
7 years ago
Julian Lam
bc6364f4c0
fixed #6082
7 years ago
Barış Soner Uşaklı
18f4f27fe0
closes #6024
7 years ago
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
8 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