barisusakli
59d4d2880f
fixed markAsUnreadForAll permissions
2014-08-05 23:47:17 -04:00
barisusakli
906e1a3846
removed unused meta
2014-08-05 23:29:49 -04:00
barisusakli
90ac399f6d
fix topics.loadMore so it checks read permission
2014-08-05 23:22:21 -04:00
barisusakli
805e6934b9
derp this function should only return err
2014-08-05 23:10:45 -04:00
barisusakli
f55d1897c8
fix categories.loadMore so it checks read permission
2014-08-05 22:59:29 -04:00
barisusakli
100328ef06
shorter markAsUnread
2014-08-05 22:52:33 -04:00
barisusakli
f49c95c16f
closes #1950
2014-08-05 18:18:39 -04:00
psychobunny
d4dc716acd
filter:templates.get_config, allows you to modify template config
...
as found here
https://github.com/NodeBB/nodebb-theme-vanilla/blob/master/templates/config.json
@Schamper
2014-08-05 17:17:13 -04:00
psychobunny
a880ac6e9f
do one api call for template configs rather than two on cold load
2014-08-05 17:17:13 -04:00
psychobunny
631edc92d3
extra var
2014-08-05 17:17:12 -04:00
barisusakli
5ce0ebb4ac
single socket call on topic enter
2014-08-05 17:09:56 -04:00
psychobunny
bb48bdb008
closes #1942
2014-08-05 15:12:23 -04:00
barisusakli
95979d9d97
closes #1947
2014-08-05 13:38:50 -04:00
barisusakli
473310d42d
use empty string if referer is undefined
2014-08-05 10:12:09 -04:00
barisusakli
b4182f57fe
simplified callback
2014-08-04 13:00:42 -04:00
barisusakli
b0b78c3092
minor fix to prevent err when trying to mark null nid
2014-08-03 12:40:46 -04:00
barisusakli
e420ee5fb6
privilege fix for single category check
2014-08-02 19:45:13 -04:00
barisusakli
e7700a3fde
minor refactor
2014-08-02 16:53:42 -04:00
barisusakli
c6c23aad5e
eachLimit on move all topics
2014-08-02 16:48:34 -04:00
barisusakli
115598f382
minor refactor
2014-08-02 16:41:44 -04:00
barisusakli
62681c36ef
if notif is deleted don't push, prevent crash
2014-08-02 15:10:32 -04:00
barisusakli
97909a6cac
err checks
2014-08-01 18:21:39 -04:00
psychobunny
e14a1e90c3
linting emitter.js
2014-08-01 17:02:07 -04:00
psychobunny
533659e2fd
unnecessary property check
2014-08-01 16:56:35 -04:00
psychobunny
be21e11b69
cleanup / lint
2014-08-01 16:55:35 -04:00
barisusakli
3424288f0a
actually set url #1926
2014-08-01 15:57:46 -04:00
psychobunny
53ae0c586d
closes #1926
2014-08-01 15:41:50 -04:00
barisusakli
3163f70ef2
add tid to post notification so its marked read on entry
2014-08-01 14:07:01 -04:00
barisusakli
0773f51260
closes #1932
2014-07-31 23:16:12 -04:00
barisusakli
76ad2b8fb2
fixed to account header
2014-07-31 20:15:11 -04:00
barisusakli
c217834165
fixed typo
2014-07-31 17:44:13 -04:00
barisusakli
1398937dd8
early outs for privs
...
no need to check if empty array is passed in, happens if there are no
unread topics
remove dupe cids before checking for privileges
2014-07-31 17:29:20 -04:00
barisusakli
7bfec99df1
permission fix for popular page
2014-07-31 16:32:17 -04:00
barisusakli
de6e74c50e
#1914
2014-07-31 08:57:27 -04:00
barisusakli
3ff91b8c50
closes #1912
2014-07-31 08:23:07 -04:00
barisusakli
d9a0af712d
group null and err check
2014-07-31 08:01:11 -04:00
barisusakli
dc68dce27f
check err
2014-07-31 07:38:19 -04:00
root---
f2d07d3182
fix fatal error when renaming group with no users
2014-07-31 01:39:41 -04:00
barisusakli
38b6c4ce55
#1925
2014-07-30 18:52:58 -04:00
barisusakli
d97af5020a
small cleanup to postSummary
2014-07-30 18:40:00 -04:00
barisusakli
9312675a77
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2014-07-30 17:45:20 -04:00
barisusakli
5a2b02e798
fix var name, #1925
2014-07-30 17:45:12 -04:00
Julian Lam
89a9d4b7f2
logic for #1837
2014-07-30 17:12:11 -04:00
barisusakli
cfc67d4e90
closes #1924
2014-07-30 15:14:04 -04:00
barisusakli
7e82d3d9a5
fix guest priv
2014-07-30 14:47:04 -04:00
barisusakli
efdd795084
closes #1922
2014-07-30 14:29:48 -04:00
barisusakli
8caedc935b
online users fix
...
and jshint cleanup
2014-07-29 23:49:49 -04:00
Julian Lam
bb7a71389e
using websocketAddress config if supplied
2014-07-29 22:24:57 -04:00
barisusakli
fed8cc6d53
optimize privileges and assorted fixes.
...
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter
they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing async.filter and calling the db for each id.
* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
2014-07-29 21:51:46 -04:00
barisusakli
eeb4c9f487
optimize getPostSummaryByPids
2014-07-29 17:33:28 -04:00