Commit Graph

68 Commits (6d57d8446a5fdf21ef73f50ee8dd8fd39a1c227e)

Author SHA1 Message Date
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>
Baris Usakli 4d66978338 fix: , configurable necroThreshold
Barış Soner Uşaklı 1cedc4a0d6 feat: , allow post queue based on group
allow multiple select in ACP pages
Barış Soner Uşaklı 0843497dd4 fix: , check private upload setting
Baris Usakli 2abe244b6e fix: newPostEditDuration
Barış Soner Uşaklı 6a289fbac9 fix:
Julian Lam 8a6a58ee43
feat: added new admin option newbiePostEditDuration ()
* feat: added new admin option newbiePostEditDuration

Also:
  - Grammar-checked a couple language strings
  - Moved a couple form inputs around in new user restrictions
  - Added a test for the new option
  - fix: 'defore' typo
Barış Soner Uşaklı 5fa5e999f8
Plugin metrics ()
* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
Barış Soner Uşaklı 4b843ba16f fix: , allow invite and approval at the same time
Barış Soner Uşaklı 157b921e14 fix: , make strip exif configurable
Baris Usakli cf5aeace6b feat: closes
Julian Lam 63e16ec0a2 fix: , email throttling options set
Barış Soner Uşaklı 70d9c6c4ce fix:
Barış Soner Uşaklı cd1209906d fix: give default privs on new install to guests/spiders
Barış Soner Uşaklı eb7ae54f81
Category watch state ()
* 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
Barış Soner Uşaklı ec0c50d4e0 fix:
Barış Soner Uşaklı 94e10c8c32 closes
Barış Soner Uşaklı f0dead7aba more tooltip work
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
Barış Soner Uşaklı 116866d53a double default post cache
Barış Soner Uşaklı 2e579ee0f9 closes
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing
Barış Soner Uşaklı 7a44424214 parse '123' to 123 if it has no default
Barış Soner Uşaklı 4fff5e9baf closes
Barış Soner Uşaklı 9c022afae1
Parse int ()
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes ()
* WIP

* reset groups cache after every suite
Barış Soner Uşaklı 1c286e4536 not even used
Barış Soner Uşaklı a7267df404 closes
Barış Soner Uşaklı df770aed8e closes
Barış Soner Uşaklı 2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99
Aziz Khoury dc83e85bb4 add maximumChatMessageLength to defaults.json ()
Barış Soner Uşaklı 723f31a362 closes
Barış Soner Uşaklı 72140e5338 closes , closes
Baris Usakli a19537dc25 closes
Barış Soner Uşaklı 3a1eba2537 merge
barisusakli 33e8ecc1f4 closes
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection
barisusakli e63559b6fd closes
barisusakli 25f3a31ff1 closes
Julian Lam 8eaff1492a Added ACP option to customise recent post
Before, could either be OP or last reply.

Now, you can choose between OP, last reply, or last post (which
includes OP)
pichalite 8947ac74a4 bookmarkThreshold
pichalite 43a3a81cf7 add missing ACP defaults for new install
pichalite 2cf300f0e1 set default option for allowPrivateGroups on setup
barisusakli d7df6c0b06 remove more from config
barisusakli 323cc165b6 closes
dont use post file upload for cover uploads
check cover upload file size against new setting
store cover uploads in profile folder
use `uid-profilecover` filename for cover uploads
yariplus 853aa37cd2 Add user home pages.
barisusakli fba6e1dfe2 added min/max tags setting to defaults.json
barisusakli 072d287183 closes
barisusakli 57c2418157 closes