Commit Graph

51 Commits (777d9aeee672cac1935d6dc861fcce9ed6d13615)

Author SHA1 Message Date
Julian Lam 777d9aeee6 implement proper file sorting by mtime in ACP uploads
Julian Lam 388765bdf9 added post usage column to uploads ACP page
re: 
Julian Lam 90a99fe158 closes
Baris Usakli a5cceabc89 dont go below 0
Barış Soner Uşaklı ac1f7eefe5 closes
Barış Soner Uşaklı c7506d77b0 closes
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
Julian Lam d06f114705 comma DANGLE
Julian Lam f77f17dc20 just use emailLogo instead of doing logo with x50.png suffix
Julian Lam c40b11aa6e updated site upload logic so that site logo is resized for email header, implemented site logo in email header
Barış Soner Uşaklı c9d502320f file.delete method
Barış Soner Uşaklı 873801e9f3 fix test on nodev4 remove console.logs
Barış Soner Uşaklı 90018a7aab fix lint
Barış Soner Uşaklı 66dee3452f more tests for admin uploads
Peter Jaszkowiak 1ac14a466e Reject non-audio upload requests to the sounds route
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
Peter Jaszkowiak c75391f9f5 Sound system improvements
- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
Peter Jaszkowiak aaacdb8413 Fix , uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
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 05b68391dd Use `/assets` for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
Mathias Schreck ce9ee62fa0 Handle callback errors
barisusakli b3fa5583f8 closes
psychobunny d85a8d068d consolidate allowed image types in ACP
Barış Soner Uşaklı 5556c49f74 removed extra next
psychobunny e069150625 closes
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
psychobunny 8ef46ebc7d found some other places with the same problem
Julian Lam 896abb59d3 Update default gravatar admin option to defaultAvatar
Julian Lam ebed9d641c Add new ACP option to upload Touch Icon,
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.

This commit also creates a new template helper for link tags.
barisusakli cf193581e4 check and log all fs.unlink errors
Julian Lam 08fb30378a Closes
- Fixes issue where the served path for the favicon was incorrect (included relative path when one was not needed)
- Also fixes issue where favicons were just plain not served for subfolder installations
- Fixed unsemantic HTML in ACP/General regarding Site Logo and Favicon fieldsets
Barış Soner Uşaklı e0996d67ca more rel_path upload fixes
Barış Soner Uşaklı 9915e31bc5 closes
psychobunny 0611b7e1ea closes
barisusakli 456b844e61 closes
barisusakli 0305ad989c match uploader return
barisusakli f74383bba4 changed userPhoto to files[]
barisusakli f8cfd82667 less code in uploadimage
barisusakli 39b679705b closes
barisusakli 9a21e9646f only use multipart on upload routes,
delete temp files if there is an error in admin,
admin/mods should see topic reply
barisusakli 1d1625f5c4 closes
barisusakli ee12b4fd3e removed duplication in uploads
barisusakli c9551abc5d closes
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
frissdiegurke 993b745f1c Added svg-support for category pictures