Barış Soner Uşaklı
06d1539137
test: fix tests again
2022-10-29 17:40:33 -04:00
Barış Soner Uşaklı
c833d3cdc4
test: fix test
2022-10-29 17:05:16 -04:00
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
2021-11-16 16:24:17 -05:00
Barış Soner Uşaklı
bda5d14425
test: empty query params for search
2021-10-27 14:40:42 -04:00
Barış Soner Uşaklı
a592ebd1ff
feat: category search test
2021-02-19 11:39:10 -05:00
Barış Soner Uşaklı
bbaaead09c
feat: add category search test, #9307
2021-02-17 13:03:14 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
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
2020-05-26 21:57:38 -04:00
Baris Usakli
62787368c6
add searchonly option to searh api
2018-11-09 15:09:47 -05:00
Barış Soner Uşaklı
250e8c01ff
closes #5008
2018-10-18 15:15:54 -04:00
Barış Soner Uşaklı
da1a90a470
add search test
2018-10-18 12:50:24 -04:00
Barış Soner Uşaklı
a7267df404
closes #6464
2018-05-28 11:29:41 -04:00
Barış Soner Uşaklı
ea83be50a1
closes #6161
2017-12-11 11:21:22 -05:00
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
2017-05-26 17:16:59 -06: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
b09b3aef7f
ESlint no-undef, remove global comments
2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
1fed01fe43
ability to filter search by tags
2016-12-19 21:40:16 +03:00
barisusakli
f683a1fe62
added categories to search test
2016-10-17 23:54:06 +03:00
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
2016-10-17 23:34:14 +03:00