Barış Soner Uşaklı
06d1539137
test: fix tests again
2 years ago
Barış Soner Uşaklı
c833d3cdc4
test: fix test
2 years ago
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
3 years ago
Barış Soner Uşaklı
bda5d14425
test: empty query params for search
3 years ago
Barış Soner Uşaklı
a592ebd1ff
feat: category search test
4 years ago
Barış Soner Uşaklı
bbaaead09c
feat: add category search test, #9307
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Barış Soner Uşaklı
ec5582b53c
feat: add privilege give/rescind hooks ( #8336 )
...
* feat: add privilege give/rescind hooks
action:privileges.categories.give/rescind
action:privileges.global.give/rescind
breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`
* fix: tests, privileges renamed
5 years ago
Baris Usakli
62787368c6
add searchonly option to searh api
6 years ago
Barış Soner Uşaklı
250e8c01ff
closes #5008
6 years ago
Barış Soner Uşaklı
da1a90a470
add search test
6 years ago
Barış Soner Uşaklı
a7267df404
closes #6464
7 years ago
Barış Soner Uşaklı
ea83be50a1
closes #6161
7 years ago
Peter Jaszkowiak
b171f3072b
Fix many "duplicate key" errors
...
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
b09b3aef7f
ESlint no-undef, remove global comments
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
barisusakli
1fed01fe43
ability to filter search by tags
8 years ago
barisusakli
f683a1fe62
added categories to search test
8 years ago
barisusakli
4a0f67afdc
search tests
...
new method emptydb
use emptydb instead of flushdb, flushdb removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
8 years ago