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
2018-01-03 13:27:34 -05:00
Barış Soner Uşaklı
2b6410f201
Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
2018-01-03 10:51:18 -05:00
Barış Soner Uşaklı
fb97ff2265
canChat should be false if chat is globally disabled
2017-12-21 14:24:29 -05:00
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
2017-12-20 15:56:14 -05:00
Baris Usakli
4a73621dca
chat privilege
2017-12-18 15:43:57 -05:00
Barış Soner Uşaklı
41fbf7117d
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2017-10-25 18:21:54 -04:00
Barış Soner Uşaklı
056e4f0601
#6004
2017-10-25 09:08:03 -04:00
Barış Soner Uşaklı
ce3e1f31ab
fix for #6004
2017-10-24 17:55:45 -04:00
Julian Lam
9cbf1597cd
Merge remote-tracking branch 'origin/master' into develop
2017-10-12 14:01:14 -04:00
Baris Usakli
68bcfb2883
closes #5975
2017-10-12 13:54:53 -04:00
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
2017-10-12 13:38:27 -04:00
Barış Soner Uşaklı
0498832317
closes #5888
2017-08-22 10:28:35 -04:00
Barış Soner Uşaklı
493cd16f39
closes #5848
2017-07-31 16:48:28 -04:00
Baris Usakli
dc110e2e3f
closes #5818
2017-07-11 13:44:51 -04:00
Baris Usakli
7538210b07
#5772
...
load correct timeago settings on cold load instead of after page load
2017-07-06 14:09:59 -04:00
Barış Soner Uşaklı
b64ba40c67
closes #5772
2017-06-26 17:27:48 -04:00
Barış Soner Uşaklı
08aaabd33c
closes #5642
2017-05-27 23:32:55 -04:00
Barış Soner Uşaklı
3a1eba2537
merge
2017-05-08 13:49:35 -04:00
psychobunny
b3bd70235a
refactor ban messaging; add ban duration to message; use bootbox instead of alert
2017-05-05 19:31:49 -04:00
Barış Soner Uşaklı
4900f21dd5
fix crash in header
2017-04-24 13:30:01 -04:00
barisusakli
33e8ecc1f4
closes #5404
2017-04-22 19:07:57 -04:00
Peter Jaszkowiak
64bf542d17
Fix HTML lang attribute using the defaultLang
...
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
2017-04-21 23:56:19 -06:00
barisusakli
27b030a71c
test for #5523
2017-03-11 16:43:31 +03:00
barisusakli
992e3128bd
closes #5499
2017-03-07 13:09:19 +03:00
barisusakli
e85e35cf0c
closes #5497
2017-03-05 00:46:18 +03:00
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only .js files
2017-02-23 18:31:49 -07:00
Barış Soner Uşaklı
9079ee5b14
style
2017-02-23 20:44:23 +03:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
52f2028206
ESlint no-multiple-empty-lines
2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
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=`
2017-01-14 22:38:40 -07:00
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
2016-11-23 11:50:49 -05:00
barisusakli
ce9be7e694
closes #5132
2016-11-10 15:59:08 +03:00
Julian Lam
663f05b972
adding back banReason to header rendering, as it regressed in 1f10e0b
2016-10-31 11:35:15 -04:00
Julian Lam
1f10e0b287
fixed #5166
2016-10-29 09:35:05 -04:00
Julian Lam
f97f45a138
logic to show a modal to banned users when they try to log in via SSO
2016-10-27 14:16:37 -04:00
Barış Soner Uşaklı
041022db63
#5145
...
dont crash if res.locals.config is undefined
2016-10-22 10:41:45 +03:00
Julian Lam
ead4de6c6f
Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint
2016-10-13 14:43:28 -04:00
Julian Lam
eb16eb318e
exposing links to moderator tools pages in user logged-in dropdown, closes #5113
2016-10-13 14:13:48 -04: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
98fff29869
closes #5082
2016-10-05 15:22:35 +03:00
barisusakli
15409f92cd
escape history data, hide moderation note in api
2016-09-30 18:42:29 +03:00
barisusakli
478da29423
closes #5020
2016-09-12 15:59:42 +03:00
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
2016-08-27 15:45:15 +03:00
barisusakli
8f408faf46
organize middlewares
...
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
barisusakli
f7540a7edc
closes #4811
2016-08-25 21:56:17 +03:00
barisusakli
514c12aa68
closes #4885
2016-07-29 16:26:32 +03:00
Ben Lubar
40b57d6cbe
add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts ( #4882 )
2016-07-25 10:56:29 -04:00