Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
6 years ago
Julian Lam
f95308bf33
move sharp require into the method it is used in src/file.js
6 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
6 years ago
Julian Lam
1f8b4bf820
closes #6576
7 years ago
Barış Soner Uşaklı
5d2a7106f6
change upload storage
7 years ago
Barış Soner Uşaklı
b35bfb81ce
ability to delete uploads from account page #6431
7 years ago
Barış Soner Uşaklı
04979f86a8
delete users uploads on account delete
...
store uid:<uid>:uploads
7 years ago
Barış Soner Uşaklı
c7506d77b0
closes #6247
7 years ago
Peter Jaszkowiak
c47c47f7e3
Use less memory to build translation files ( #6070 )
...
* Change languages build to use less memory
Add graceful-fs so no ned to worry about fs limits
* Specify encoding for fs.readFile
Use eachLimit since graceful-fs handles that now
7 years ago
Peter Jaszkowiak
adc47fd053
Use relative linking ( #6011 )
...
* Use relative linking
* Add copyFile method and tests
Closes #5988
* Fix relative linking on Windows
Hard links and junctions don't work with relative paths
* Fix tests
* Revert ghange to gitignore
7 years ago
Julian Lam
103d9a91a9
Revert "sanitizing uploaded filename without using slugify, in composer, re comment in: #6011"
...
This reverts commit 9f670fe586
.
7 years ago
Julian Lam
9f670fe586
sanitizing uploaded filename without using slugify, in composer, re comment in: #6011
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
7 years ago
Barış Soner Uşaklı
c9d502320f
file.delete method
8 years ago
Barış Soner Uşaklı
29135dfed3
timeago locale test
8 years ago
Barış Soner Uşaklı
13a04123e0
closes #5641
8 years ago
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam
6e7b505ea7
more linting
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Julian Lam
62e0f5f883
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
23540afaeb
Resolve merge conflicts
8 years ago
Peter Jaszkowiak
a038c66549
ESlint quotes
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
pichalite
8dab8864f6
Add extensions for cropped images
8 years ago
Julian Lam
7f124a3ccf
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
aaacdb8413
Fix #5416 , uploads path config setting
...
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
Julian Lam
8a0a74d95e
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
186209a0a3
Build plugin `staticDirs`
...
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
8 years ago
Peter Jaszkowiak
8c86b2e32c
Build pipeline improvements
...
- Refactor meta/css
- `fs.link` usage consolidated to `file.link`
- rimraf built modules directory to fix error
- Remove `local-assets` flag
8 years ago
Peter Jaszkowiak
ec544518e8
Use async v2
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
a0ef96a6e1
dont treat url as path, closes #5006
9 years ago
barisusakli
aac0313f2e
closes #4917
9 years ago
Ben Lubar
f5009b1a11
add a hook for plugins like nodebb-plugin-imagemagick that don't want to replace the entire upload system
9 years ago
barisusakli
c50d655922
closes #4325
9 years ago
Julian Lam
3a6ad52ac8
closes #4164
9 years ago
Julian Lam
95fb0075c6
re-added missing base64ToLocal method in file lib
9 years ago
barisusakli
99d64db9e0
closes #4011
...
allow both `.png` and `png`
9 years ago
Julian Lam
96afd13155
Removed mmmagic from dependencies, closes #3836
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
psychobunny
bc2bf6ef37
fix list of allowed filetypes
9 years ago
barisusakli
ca294fc6ec
closes #3663
10 years ago
Julian Lam
78863a438f
Firing new hook `filter:auth.list`
...
This new plugins allows SSO services to list whether a
user has authenticated via that service, and will display
as such in the user's profile editing screen.
10 years ago
barisusakli
69ebe7679d
removed console .log
10 years ago
barisusakli
c98bd87334
better checks for file extensions
...
jpg allows jpeg
dots dont break extensions
10 years ago
psychobunny
3ed3612047
file upload with spaces / general file upload fix wrt ajaxiy
10 years ago
barisusakli
909fe660a9
decodeURIComponent for uploaded file/image
10 years ago