Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
8 years ago
Peter Jaszkowiak
57f89663aa
ESlint radix
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
barisusakli
387110fecc
closes #5315
8 years ago
barisusakli
1fed01fe43
ability to filter search by tags
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
9 years ago
barisusakli
5d5b74f3ed
if no sorting specificed let search plugins handle
9 years ago
barisusakli
d52a0ad87a
closes #4366
9 years ago
barisusakli
2fd121dc15
#4154
9 years ago
Barış Soner Uşaklı
056bc2f382
closes https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/17
9 years ago
barisusakli
6ae8bacbab
removed unused code
9 years ago
barisusakli
9ac4704848
more search cleanup
9 years ago
barisusakli
c8fb68c2d5
shorter sort methods
9 years ago
barisusakli
c22d018617
shorter sort
9 years ago
barisusakli
5950f97f96
more refactors
9 years ago
barisusakli
6e66b32fe1
dont escape the query that is send to search escape on the way out
10 years ago
barisusakli
5b87af4389
closes #3447
...
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
barisusakli
759bdd55f0
closes #3065
10 years ago
Barış Soner Uşaklı
f71c82f653
closes #3046
10 years ago
barisusakli
3de083208d
closes #3002
10 years ago
barisusakli
8069cbda69
closes #2979
...
if all is selected search in all categories
10 years ago
barisusakli
ec7caea368
fix search on mongo
10 years ago
barisusakli
31da62ab2d
removed console.log
10 years ago
barisusakli
e2196af8ab
part 2 of search changes
10 years ago
barisusakli
c7128bcc98
part 1 of search change
10 years ago
Barış Soner Uşaklı
abf27954d3
use topic.getMainPids
10 years ago
Barış Soner Uşaklı
e2b535dfaf
closes #1973
10 years ago
Barış Soner Uşaklı
61b1251a73
removed sort methods
10 years ago
barisusakli
b6125b1674
toString pid
10 years ago
barisusakli
5cc728994b
dont need hidePostedBy
10 years ago
barisusakli
eff1256dfb
search sort, search in posts, titles, posts& titles
10 years ago
Julian Lam
957415463f
Merge branch '0.7.0'
...
Conflicts:
package.json
src/search.js
10 years ago
barisusakli
38dd3d4281
search newer/older than and better pagination
10 years ago
barisusakli
832430ed37
dont crash if post.user or post.category doesn't exist
10 years ago
barisusakli
5c0bcd7e5d
proper qs, pagination on search results
10 years ago
barisusakli
161b934827
reply count filter atleast/atmost
10 years ago
barisusakli
def600e927
search in categories and children
10 years ago
barisusakli
b54f2de504
pass uid to getUsers and getUsersFromSets
10 years ago
barisusakli
ce9c17f8e5
ability to search posts by user
10 years ago
barisusakli
60f1b9679a
search filters
10 years ago
barisusakli
bc00d7d159
check just in case
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
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.
11 years ago
barisusakli
5497b8c419
striptags
11 years ago