Commit Graph

36 Commits (8e5a2276afe929fa321574db80b99643e1ad5bb0)

Author SHA1 Message Date
Barış Soner Uşaklı 8c6a7954cf fix: delete upload
Barış Soner Uşaklı ffe3670ff5 feat: deprecate file.isFileTypeAllowed
use image.isFileTypeAllowed, this function was always meant for images
Barış Soner Uşaklı 96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images
renovate[bot] 8a64667ff8 fix(deps): update dependency sharp to v0.21.3 ()
* fix(deps): update dependency sharp to v0.21.3

* fix: tests for new sharp version errors
Barış Soner Uşaklı 1f918ca8f8
Home route ()
* fix: WIP home fix

* remove console.log

* fix: 

on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing
Barış Soner Uşaklı 1bea247748 add username/email to user-delete event
Barış Soner Uşaklı 59b988a205 change test so it checks url
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp ()
* 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
Barış Soner Uşaklı 229e49cf8f closes , closes
Barış Soner Uşaklı 04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads
Baris Usakli 9b78b95c47 fix tests
Barış Soner Uşaklı ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
Barış Soner Uşaklı 18f4f27fe0 closes
Barış Soner Uşaklı 5d45f9fff2 fix lint
Barış Soner Uşaklı 6a2019c646 closes
Marc-Aurèle DARCHE 6248e5562f Fix /apple-touch-icon not sending uploaded file
This fixes the following error:

$ wget https://nodebb.yourdomain/apple-touch-icon

28/6 09:57:06 [28332] - error: /apple-touch-icon
 Error: ENOENT: no such file or directory, stat '/home/sweet/nodebb/public/assets/uploads/system/touchicon-orig.png'
    at Error (native)
Barış Soner Uşaklı 4f31dec82c reduce usage of io.emit in tests
Peter Jaszkowiak b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
Barış Soner Uşaklı 73f31640d7 more tests
Barış Soner Uşaklı 873801e9f3 fix test on nodev4 remove console.logs
Barış Soner Uşaklı 66dee3452f more tests for admin uploads
barisusakli da7bc5bb7a test fix
Peter Jaszkowiak 8f8babf90b Fix tests
barisusakli 0e7740af32 fix tests for subfolder installs
Julian Lam e71bd7a27f Merge branch 'master' into styleguide
barisusakli 04b07e292c thumb tests
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files
barisusakli ef90702049 closes
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
Peter Jaszkowiak aaacdb8413 Fix , uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
barisusakli 2cc2e7688a more tests
barisusakli 64a662ce50 some upload tests