61 Commits (adc705439079175306fb3a1d81819e75840d88f1)

Author SHA1 Message Date
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
7 years ago
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 7 years ago
Barış Soner Uşaklı fb97ff2265 canChat should be false if chat is globally disabled 7 years ago
Peter Jaszkowiak be00a1c013 Support for using yarn instead of npm, include unread counts on cold load (#6179)
* Close #6178

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
7 years ago
Baris Usakli 4a73621dca chat privilege 7 years ago
Barış Soner Uşaklı 41fbf7117d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 056e4f0601 #6004 7 years ago
Barış Soner Uşaklı ce3e1f31ab fix for #6004 7 years ago
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop 7 years ago
Baris Usakli 68bcfb2883 closes #5975 7 years ago
Julian Lam cd6dcff38b Split up customJS into customHTML and customJS for better organisation (#5981)
* WIP

* fixed customJS not actually working in footer

* Moving scripts to footer, #5980

* Added upgrade scripts for #5980
7 years ago
Barış Soner Uşaklı 0498832317 closes #5888 8 years ago
Barış Soner Uşaklı 493cd16f39 closes #5848 8 years ago
Baris Usakli dc110e2e3f closes #5818 8 years ago
Baris Usakli 7538210b07 #5772
load correct timeago settings on cold load instead of after page load
8 years ago
Barış Soner Uşaklı b64ba40c67 closes #5772 8 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
psychobunny b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert 8 years ago
Barış Soner Uşaklı 4900f21dd5 fix crash in header 8 years ago
barisusakli 33e8ecc1f4 closes #5404 8 years ago
Peter Jaszkowiak 64bf542d17 Fix HTML `lang` attribute using the `defaultLang`
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
8 years ago
barisusakli 27b030a71c test for #5523 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Barış Soner Uşaklı 9079ee5b14 style 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
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=`
8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
barisusakli ce9be7e694 closes #5132 8 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 8 years ago
Julian Lam 1f10e0b287 fixed #5166 8 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 8 years ago
Barış Soner Uşaklı 041022db63 #5145
dont crash if res.locals.config is undefined
8 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 8 years ago
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 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 98fff29869 closes #5082 8 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 8 years ago
barisusakli 478da29423 closes #5020 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
barisusakli f7540a7edc closes #4811 9 years ago
barisusakli 514c12aa68 closes #4885 9 years ago
Ben Lubar 40b57d6cbe add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts (#4882) 9 years ago