Commit Graph

29 Commits

Author SHA1 Message Date
barisusakli
5b87af4389 closes #3447
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
2015-08-18 14:17:25 -04:00
barisusakli
759bdd55f0 closes #3065 2015-04-20 15:41:08 -04:00
Barış Soner Uşaklı
f71c82f653 closes #3046 2015-04-17 12:32:08 -04:00
barisusakli
3de083208d closes #3002 2015-04-12 22:12:27 -04:00
barisusakli
8069cbda69 closes #2979
if all is selected search in all categories
2015-04-09 18:15:31 -04:00
barisusakli
ec7caea368 fix search on mongo 2015-03-15 01:45:24 -04:00
barisusakli
31da62ab2d removed console.log 2015-03-15 00:13:26 -04:00
barisusakli
e2196af8ab part 2 of search changes 2015-03-15 00:12:52 -04:00
barisusakli
c7128bcc98 part 1 of search change 2015-03-14 23:00:24 -04:00
Barış Soner Uşaklı
abf27954d3 use topic.getMainPids 2015-03-13 16:33:00 -04:00
Barış Soner Uşaklı
e2b535dfaf closes #1973 2015-02-25 12:44:04 -05:00
Barış Soner Uşaklı
61b1251a73 removed sort methods 2015-02-20 16:34:31 -05:00
barisusakli
b6125b1674 toString pid 2015-02-09 18:00:02 -05:00
barisusakli
5cc728994b dont need hidePostedBy 2015-02-07 20:55:57 -05:00
barisusakli
eff1256dfb search sort, search in posts, titles, posts& titles 2015-02-07 20:00:07 -05:00
Julian Lam
957415463f Merge branch '0.7.0'
Conflicts:
	package.json
	src/search.js
2015-02-07 17:07:48 -05:00
barisusakli
38dd3d4281 search newer/older than and better pagination 2015-02-06 19:47:27 -05:00
barisusakli
832430ed37 dont crash if post.user or post.category doesn't exist 2015-02-05 18:07:17 -05:00
barisusakli
5c0bcd7e5d proper qs, pagination on search results 2015-02-05 18:02:30 -05:00
barisusakli
161b934827 reply count filter atleast/atmost 2015-02-05 17:21:01 -05:00
barisusakli
def600e927 search in categories and children 2015-02-05 14:55:40 -05:00
barisusakli
b54f2de504 pass uid to getUsers and getUsersFromSets 2015-01-29 17:02:20 -05:00
barisusakli
ce9c17f8e5 ability to search posts by user 2015-01-07 17:27:13 -05:00
barisusakli
60f1b9679a search filters 2015-01-07 16:10:11 -05:00
barisusakli
bc00d7d159 check just in case 2014-09-05 13:51:02 -04:00
barisusakli
ca90afd544 #1992
(drunk) not even done yet
2014-08-16 21:33:42 -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
5497b8c419 striptags 2014-07-07 17:56:58 -04:00
barisusakli
64d04f7aa6 closes #1803 2014-07-07 17:36:14 -04:00