Commit Graph

35 Commits

Author SHA1 Message Date
Peter Jaszkowiak
23540afaeb Resolve merge conflicts 2017-02-18 19:14:39 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
pichalite
8dab8864f6 Add extensions for cropped images 2017-02-17 19:42:02 +00:00
Peter Jaszkowiak
aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
2017-02-08 11:41:34 -07:00
Peter Jaszkowiak
186209a0a3 Build plugin staticDirs
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
2017-01-21 18:57:27 -07:00
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
2017-01-15 12:38:16 -07:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
a0ef96a6e1 dont treat url as path, closes #5006 2016-09-02 19:01:46 +03:00
barisusakli
aac0313f2e closes #4917 2016-08-08 13:21:05 +03:00
Ben Lubar
f5009b1a11 add a hook for plugins like nodebb-plugin-imagemagick that don't want to replace the entire upload system 2016-04-21 14:09:10 -05:00
barisusakli
c50d655922 closes #4325 2016-03-08 19:01:45 +02:00
Julian Lam
3a6ad52ac8 closes #4164 2016-02-09 09:45:16 -05:00
Julian Lam
95fb0075c6 re-added missing base64ToLocal method in file lib 2016-02-04 10:13:05 -05:00
barisusakli
99d64db9e0 closes #4011
allow both `.png` and `png`
2015-12-28 15:38:02 +02:00
Julian Lam
96afd13155 Removed mmmagic from dependencies, closes #3836 2015-11-09 15:32:04 -05:00
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.
2015-11-09 14:39:00 -05:00
psychobunny
bc2bf6ef37 fix list of allowed filetypes 2015-10-13 16:18:54 -04:00
barisusakli
ca294fc6ec closes #3663 2015-09-29 18:22:47 -04:00
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.
2015-09-22 14:27:44 -04:00
barisusakli
69ebe7679d removed console .log 2015-09-18 11:22:55 -04:00
barisusakli
c98bd87334 better checks for file extensions
jpg allows jpeg
dots dont break extensions
2015-09-18 11:07:43 -04:00
psychobunny
3ed3612047 file upload with spaces / general file upload fix wrt ajaxiy 2015-03-18 13:54:43 -04:00
barisusakli
909fe660a9 decodeURIComponent for uploaded file/image 2015-03-17 20:19:24 -04:00
barisusakli
dc94fe2b6c move admin upload routes to api namespace
move usrrs/csv to api namespace
2015-03-07 20:19:00 -05:00
barisusakli
aa94dafac1 closes #725 2015-02-18 21:09:33 -05:00
Julian Lam
cfcfc8e0b1 Revert "fixed #2681"
This reverts commit a46aaf2c87.
2015-02-01 20:03:48 -05:00
Julian Lam
a46aaf2c87 fixed #2681 2015-02-01 20:01:41 -05:00
barisusakli
61c73b7761 fix urls 2014-10-08 14:04:48 -04:00
barisusakli
1d1625f5c4 closes #2157 2014-10-08 13:46:36 -04:00
psychobunny
6f1a795f0e upload_url shouldn't use path.join 2014-04-17 13:22:03 -04:00
psychobunny
51a7d163be fixes #1396 2014-04-17 13:12:01 -04:00
Baris Soner Usakli
695891ffd7 added missing file 2014-02-13 20:43:19 -05:00