Commit Graph

5434 Commits

Author SHA1 Message Date
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
925cd99afb Merge branch 'master' into topic_searching 2014-07-30 17:14:57 -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
barisusakli
1a68fe5a26 possible fix for #1909 2014-07-29 17:12:02 -04:00
barisusakli
68cf064b1e cleaned up a bit 2014-07-29 02:37:33 -04:00
barisusakli
d0a0d02d31 mongodb list fix 2014-07-29 02:34:55 -04:00
barisusakli
e8b767d0dd get recent poster uids 2014-07-29 01:36:33 -04:00
barisusakli
783926687c reduced active users 2014-07-29 00:50:53 -04:00
barisusakli
96b0b449b9 closes #1911 2014-07-29 00:42:33 -04:00
barisusakli
f31978aa2c moved core notifications all the way to the end 2014-07-28 19:09:08 -04:00
barisusakli
6e335ff29a removed debug 2014-07-28 18:18:23 -04:00
barisusakli
f71bd41408 more fixes 2014-07-28 18:18:22 -04:00
barisusakli
dfb6606432 one more fix 2014-07-28 18:18:21 -04:00
barisusakli
08ba683c7d fix callback 2014-07-28 18:18:21 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
Julian Lam
4d73a563c5 closed #1850 2014-07-28 15:25:04 -04:00
Julian Lam
e5be1d2840 closed #1910 2014-07-28 14:40:02 -04:00
psychobunny
3f9e6e7d86 closes #1901 2014-07-28 14:23:25 -04:00
psychobunny
60e74cc2c3 LTRIM support for mongo 2014-07-28 14:20:29 -04:00
psychobunny
7327730252 LTRIM support for redis 2014-07-28 14:20:24 -04:00
psychobunny
cf031be904 better error handling for custom langauge files 2014-07-27 23:21:42 -04:00
barisusakli
2d94df93b8 isArray is enough 2014-07-26 14:55:17 -04:00
barisusakli
0792731873 new hook filter:topics.get 2014-07-25 19:58:44 -04:00
Julian Lam
0b01a780f8 registering static:app.load in core 2014-07-25 19:28:27 -04:00
Julian Lam
0bad6198d4 firing new third type of hook, static. New hook: static:app.load, closed #1812 2014-07-25 19:16:06 -04:00
barisusakli
eea987d8dd removed console.log 2014-07-25 19:02:10 -04:00
barisusakli
5a0e99956e some cleanup 2014-07-25 18:35:33 -04:00
Julian Lam
b7d27fe48b god damnit @barisusakli :P 2014-07-25 16:57:36 -04:00
Julian Lam
91ce3634fc fixed #1904 2014-07-25 16:46:04 -04:00