Commit Graph

903 Commits (65c0adc7207c41edb83a89f60a2be5b7a6fa0368)

Author SHA1 Message Date
Barış Soner Uşaklı 02ac44cc5a fix: dont allow searching by ip/banned/flagged for regular users
Barış Soner Uşaklı e95cd28f6f
Zscan ()
* feat: zscan

* fix: mongodb tests

* feat: scan, ip search starts with
Barış Soner Uşaklı 723fe8e8e0
feat: zscan ()
* feat: zscan

* fix: mongodb tests
Barış Soner Uşaklı f0ce309d03 fix: test
Barış Soner Uşaklı c718b7293e feat: , min/max tags per category
Barış Soner Uşaklı 6aecc1770c feat: increase wait
Barış Soner Uşaklı f03ca0867b fix: tests
Barış Soner Uşaklı 48b41debe6
fix: vulnerability in cover and admin uploads ()
* fix: vulnerability in cover and admin uploads

* fix: remove old test

* fix: update tests
Barış Soner Uşaklı bef37e27cb
fix: test lock for user create ()
* fix: test lock for user create

* fix: redis hdel with undefined

* feat: add test for undefined key in deleteObjectFields
Julian Lam f909ed2541 feat: show editor in post diffs if available
Julian Lam d5578c9906 fix: tests breaking due to
Barış Soner Uşaklı 18d892398f fix: add timestamp to initial username history
Barış Soner Uşaklı bb3aa54006 feat: merge changes
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
Barış Soner Uşaklı 3be4d5f7d5 feat: redirect /me to user profile
Julian Lam 6b1d1acb48 fix(style): more switch..case
Barış Soner Uşaklı 75b3a81dad fix: clear error log before checking
fix intermittent test failure due to analytics being written every 10 seconds
Peter Jaszkowiak de7ec47f13
fix: , remove webfonts ()
Julian Lam da90fd562e fix: more tests
Julian Lam a51fff8bd1
refactor: remove general menu from ACP ()
* refactor: remove general menu from ACP

* fix: incorrect translation keys, fixed tests
Julian Lam a66fe01377 fix: test breakages from 8d995d1eb6
Barış Soner Uşaklı 0009f54e6e feat: add getSortedSetMembers
Barış Soner Uşaklı ec5582b53c
feat: add privilege give/rescind hooks ()
* 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
Barış Soner Uşaklı 3b6d57e497 refactor: move code
Barış Soner Uşaklı 4ee3543ea4 feat: tweak intersection code, add tests
Julian Lam 6f504c4142
Remove allowFileUploads ACP option ()
* feat: allow awaitable upgrade scripts

* feat: allowFileUploads removal upgrade script

* refactor: remove unnecessary ACP option `allowFileUploads`

* fix: updated upgrade script template to not use callback arg

* fix: upgrade script as per @baris

* fix: add missing await

* fix: add missing await
Barış Soner Uşaklı f2907908c9 fix: another test fix
Barış Soner Uşaklı feb748a44d fix: tests
Barış Soner Uşaklı 12c6bc2e07 feat: convert queries so they used indices directly
Barış Soner Uşaklı 7a801abade fix: tests on redis
Barış Soner Uşaklı a032e12b7e fix: tests
Barış Soner Uşaklı 81e33b9391 fix:
Barış Soner Uşaklı bfad457275 feat: add methods for adding/removing tags from topics
Barış Soner Uşaklı 97c086aba9 fix: missing await
Barış Soner Uşaklı edf9fe3b7f feat: add null tests for sorted sets
Barış Soner Uşaklı aad0880f7c feat: add filter:categories.getRecentTopicReplies
pass req.query to getRecentTopicReplies
Barış Soner Uşaklı a969c5cec9 feat: allow activating additional plugins for testing via config.json
Barış Soner Uşaklı 3a23ddaba5 feat: move plugin tests to separate file
Barış Soner Uşaklı a6bb9f4364 fix: , run plugin tests for installed plugins
Barış Soner Uşaklı 3d0db9630f fix: remove deprecated mocha.opts
Barış Soner Uşaklı 9d153fd388 fix: , dont readd user after deletion
don't add user uid back to users:* sorted sets if they are deleted
upgrade script to fix users:* sorted sets
Barış Soner Uşaklı 0391856d7d fix: , rescind notif when its resolved/rejected
Julian Lam ccc6118d30
Testing suite integration for openapi spec ()
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Julian Lam 6edf02d4a5 fix: remove upload picture test (avatars)
Julian Lam 442fe65f5a fix: remove tests related to group covers, as route is gone
Julian Lam 8387178b25 feat(openapi): merging openapi-test branch into master
Barış Soner Uşaklı 8e23dec84b fix: lint
Barış Soner Uşaklı e72a29b3fd fix: return null if field does not exist
Andrew Rodrigues 3c9689a5ac
feat: settings sorted list ()
* feat: settings sorted list

see https://github.com/NodeBB/nodebb-plugin-quickstart/pull/9/files for sample
Barış Soner Uşaklı 067034082f fix: , update deleted/restored messages
Barış Soner Uşaklı 4d0636f847 fix: , prevent account deletion