Commit Graph

40 Commits (ddea9f534e85a3a2ed2cfecf1abf5ba297d7e8b0)

Author SHA1 Message Date
Julian Lam 72e77772db Merge branch 'master' into develop
Julian Lam 62e0f5f883 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak 23540afaeb Resolve merge conflicts
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
pichalite 8dab8864f6 Add extensions for cropped images
Julian Lam 7f124a3ccf Merge branch 'master' into develop
Peter Jaszkowiak aaacdb8413 Fix , uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak 186209a0a3 Build plugin `staticDirs`
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
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
Peter Jaszkowiak ec544518e8 Use async v2
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
barisusakli a0ef96a6e1 dont treat url as path, closes
barisusakli aac0313f2e closes
Ben Lubar f5009b1a11 add a hook for plugins like nodebb-plugin-imagemagick that don't want to replace the entire upload system
barisusakli c50d655922 closes
Julian Lam 3a6ad52ac8 closes
Julian Lam 95fb0075c6 re-added missing base64ToLocal method in file lib
barisusakli 99d64db9e0 closes
allow both `.png` and `png`
Julian Lam 96afd13155 Removed mmmagic from dependencies, closes
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.
psychobunny bc2bf6ef37 fix list of allowed filetypes
barisusakli ca294fc6ec closes
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.
barisusakli 69ebe7679d removed console .log
barisusakli c98bd87334 better checks for file extensions
jpg allows jpeg
dots dont break extensions
psychobunny 3ed3612047 file upload with spaces / general file upload fix wrt ajaxiy
barisusakli 909fe660a9 decodeURIComponent for uploaded file/image
barisusakli dc94fe2b6c move admin upload routes to api namespace
move usrrs/csv to api namespace
barisusakli aa94dafac1 closes
Julian Lam cfcfc8e0b1 Revert "fixed #2681"
This reverts commit a46aaf2c87.
Julian Lam a46aaf2c87 fixed
barisusakli 61c73b7761 fix urls
barisusakli 1d1625f5c4 closes
psychobunny 6f1a795f0e upload_url shouldn't use path.join
psychobunny 51a7d163be fixes
Baris Soner Usakli 695891ffd7 added missing file