Commit Graph

45 Commits

Author SHA1 Message Date
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
barisusakli
bdc23b4a8d add reputation to app.user 2016-05-25 20:17:02 +03:00
pichalite
c5e62f9a58 fixes #4454 2016-03-23 21:41:04 +00:00
barisusakli
c156d1cb34 closes #4344 2016-03-11 13:24:42 +02:00
barisusakli
d7df6c0b06 remove more from config 2016-02-10 12:53:39 +02:00
psychobunny
f94cd21f83 #3875 filter:scripts.get now acts like filter:admin.scripts.get; does not get minified 2016-01-18 15:32:49 -05:00
barisusakli
f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
2015-10-29 16:35:53 -04:00
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
2015-10-25 07:33:59 -04:00
barisusakli
751a6c6839 got rid of extra call to user.getSettings 2015-10-23 14:07:09 -04:00
barisusakli
f2d6f931af closes #3505 2015-10-16 18:43:40 -04:00
barisusakli
94129287d0 moved non-async code 2015-10-11 23:20:57 -04:00
barisusakli
da4034a10a middleware refactor 2015-10-11 23:05:33 -04:00