Barış Soner Uşaklı
ac39112271
remove more parseInts
2018-10-21 19:33:46 -04:00
Barış Soner Uşaklı
da1a90a470
add search test
2018-10-18 12:50:24 -04:00
Barış Soner Uşaklı
87b6808c4e
refactor to use getCidsByPrivilege
...
switch to .includes
2018-07-20 14:34:53 -04:00
Barış Soner Uşaklı
f3c8074668
closes #6552
2018-06-05 13:43:34 -04:00
Barış Soner Uşaklı
749b282cdd
add matchwords to search api
2018-03-27 20:32:57 -04:00
Barış Soner Uşaklı
c38edb1fd4
more changes to suggested topics
2018-02-02 11:55:55 -05:00
Barış Soner Uşaklı
ea83be50a1
closes #6161
2017-12-11 11:21:22 -05:00
Baris Usakli
875672522e
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
...
# Conflicts:
# src/search.js
2017-07-28 14:19:09 -04:00
Julian Lam
e0862be3c8
added new search hook to allow for enumeration after query
2017-07-28 14:10:11 -04:00
Julian Lam
533b044ad1
Added new hook "filter:search.inContent"
...
This hook is fired after the search query returns a collection of
pids, but before those pids' summaries are retrieved. It is
useful to add a hook in here if you want to enumerate over the
matched results before they are truncated in the response payload.
2017-07-27 14:22:32 -04:00
Barış Soner Uşaklı
e6cbaf6d85
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2017-06-26 15:38:31 -04:00
Barış Soner Uşaklı
38af651072
use _.uniq
2017-06-25 20:00:05 -04:00
Baris Usakli
1f5b3ba636
closes #5771
2017-06-23 15:57:23 -04:00
Baris Usakli
bcf2156028
check sortBy
2017-06-08 14:29:14 -04:00
Baris Usakli
f6ba79287b
get full topic data
2017-06-08 14:12:07 -04:00
Baris Usakli
deecf04454
add filter:search.filterAndSort
2017-06-07 14:21:03 -04:00
Barış Soner Uşaklı
f1b8492164
remove unnecessary checks
2017-05-27 00:30:07 -04:00
Barış Soner Uşaklı
dcf3db104b
search style
2017-05-26 22:28:12 -04:00
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
72e77772db
Merge branch 'master' into develop
2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
57f89663aa
ESlint radix
2017-02-18 14:29:52 -07: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
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
387110fecc
closes #5315
2017-02-08 18:23:34 +03:00
barisusakli
1fed01fe43
ability to filter search by tags
2016-12-19 21:40:16 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
2016-08-27 15:45:15 +03:00
barisusakli
5d5b74f3ed
if no sorting specificed let search plugins handle
2016-08-23 19:59:25 +03:00
barisusakli
d52a0ad87a
closes #4366
2016-03-15 10:53:10 +02:00
barisusakli
2fd121dc15
#4154
2016-02-13 09:37:26 +02:00
Barış Soner Uşaklı
056bc2f382
closes https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/17
2016-01-19 10:48:03 +02:00
barisusakli
6ae8bacbab
removed unused code
2016-01-15 23:56:16 +02:00
barisusakli
9ac4704848
more search cleanup
2015-10-11 22:27:53 -04:00
barisusakli
c8fb68c2d5
shorter sort methods
2015-10-11 21:56:28 -04:00
barisusakli
c22d018617
shorter sort
2015-09-27 14:56:27 -04:00
barisusakli
5950f97f96
more refactors
2015-09-25 17:38:58 -04:00
barisusakli
6e66b32fe1
dont escape the query that is send to search escape on the way out
2015-09-17 19:03:03 -04:00
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