Commit Graph

3464 Commits

Author SHA1 Message Date
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
Julian Lam
086ebb7e5a closed #1874 2014-07-25 15:37:57 -04:00
barisusakli
3829019bfa removed optional params 2014-07-24 23:33:33 -04:00
barisusakli
c7de38f28e closes #1902
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
2014-07-24 22:38:35 -04:00
Julian Lam
a79bb29216 partial fix to #1874 2014-07-24 22:04:41 -04:00
barisusakli
3bfad766b3 closes #1900 2014-07-24 21:11:46 -04:00
Aure77
965d6a0d66 Allow cookie domain customization from meta config 2014-07-25 00:45:36 +02:00
barisusakli
d7bd35ab08 #1741 2014-07-25 00:45:34 +02:00
Aure77
e28ed490ee Allow session cookie domain customization 2014-07-24 22:26:19 +02:00
psychobunny
b604a4961c thanks @barisusakli 2014-07-24 16:17:49 -04:00
barisusakli
e459592ac9 closes #1893 2014-07-24 16:12:57 -04:00
psychobunny
47a86662de adding timestamp to topic action hooks 2014-07-24 16:04:22 -04:00
psychobunny
788b16fa62 adding uid to the topic hooks, so plugins can know the user that did the action 2014-07-24 16:04:18 -04:00
psychobunny
2e7d1f33dc action:topic.lock, action:topic.pin, action:topic.move 2014-07-24 14:22:48 -04:00
psychobunny
1a37176a9d filter:topic.get, surprisingly never implemented till today 2014-07-24 14:16:41 -04:00
barisusakli
8dce99250b final fix for #1884
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
2014-07-24 12:41:22 -04:00
barisusakli
fa8fcc00ec fix tag counts
if a tag is removed from a topic, update number of topics in that tag
2014-07-24 03:46:45 -04:00
barisusakli
bc2f7339ee getLatestUndeletedPid will return string #1884 2014-07-24 03:30:17 -04:00
psychobunny
685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 2014-07-23 18:23:03 -04:00