Julian Lam
745a9589e9
Use topics:read privilege for topic filtering use cases ( #7462 )
...
* fix: use topics:read privilege for topic filtering use cases
* fix: tests
* fix: more broken tests
6 years ago
Barış Soner Uşaklı
eb7ae54f81
Category watch state ( #7109 )
...
* feat: wip, category watch change
* feat: pass data to client
* feat: allow changing state
* fix: account page categories
* fix: show in unread if topic is followed or category is watched
* feat: add default watch state to acp
* feat: save user category watch state
* feat: update unread recent pages
* fix: remove dupe code
* fix: flip conditions
* fix: handle empty arrays
* fix: ignore/watch on others profile
* feat: upgrade script for category states
if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers
* fix: upgrade
* fix: tests
* fix: redis count
* fix: more tests
6 years ago
Barış Soner Uşaklı
96e986a865
optimize suggested topics/search
6 years ago
Barış Soner Uşaklı
973b5fcfe0
closes #6932
6 years ago
Baris Usakli
2c5157aeaa
use max.min
6 years ago
Baris Usakli
2ee743d65c
add itemsPerPage to search api
6 years ago
Barış Soner Uşaklı
ac39112271
remove more parseInts
6 years ago
Barış Soner Uşaklı
da1a90a470
add search test
6 years ago
Barış Soner Uşaklı
87b6808c4e
refactor to use getCidsByPrivilege
...
switch to .includes
7 years ago
Barış Soner Uşaklı
f3c8074668
closes #6552
7 years ago
Barış Soner Uşaklı
749b282cdd
add matchwords to search api
7 years ago
Barış Soner Uşaklı
c38edb1fd4
more changes to suggested topics
7 years ago
Barış Soner Uşaklı
ea83be50a1
closes #6161
7 years ago
Baris Usakli
875672522e
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
...
# Conflicts:
# src/search.js
8 years ago
Julian Lam
e0862be3c8
added new search hook to allow for enumeration after query
8 years ago
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.
8 years ago
Barış Soner Uşaklı
e6cbaf6d85
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
8 years ago
Barış Soner Uşaklı
38af651072
use _.uniq
8 years ago
Baris Usakli
1f5b3ba636
closes #5771
8 years ago
Baris Usakli
bcf2156028
check sortBy
8 years ago
Baris Usakli
f6ba79287b
get full topic data
8 years ago
Baris Usakli
deecf04454
add filter:search.filterAndSort
8 years ago
Barış Soner Uşaklı
f1b8492164
remove unnecessary checks
8 years ago
Barış Soner Uşaklı
dcf3db104b
search style
8 years ago
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