Commit Graph

127 Commits (2a03012e2cb60ea03402ccf81f206ab1f27e5dab)

Author SHA1 Message Date
Barış Soner Uşaklı 0e07f3c9ba feat: allow defining a list of system tags
Barış Soner Uşaklı d1364c3130
Categories refactor ()
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft
Barış Soner Uşaklı c1ecfd1ebf feat: , don't try to reconnect forever
Julian Lam 9342d611be fix: enable topic thumbnails across the board [breaking]
Julian Lam 37c367d6ff feat: raise maximum thumb size to 512
psychobunny c1a7968d23 feat: user notification settings for group.leave event
Barış Soner Uşaklı 0cba269165 feat: add defaults for composer help
Barış Soner Uşaklı 0f1fc10f6c fix: , add default value for dailyDigestFreq
Barış Soner Uşaklı 1eb5fabdb1 feat: , postQueue setting for category
Barış Soner Uşaklı bf171adc83 fix:
Barış Soner Uşaklı fdca8b16ca fix: , dont show wrong message on register queue
configs don't support booleans
Barış Soner Uşaklı 9ca44e6f54
feat: add displayname into user obj ()
* feat: add displayname into user obj 

* fix: spec

* perf: dont load settings if acp setting is turned off
Barış Soner Uşaklı 4e9b10ab76 feat:
Barış Soner Uşaklı fb567a7a33 feat:
Barış Soner Uşaklı b44ddecdf8 feat: , separate notification type for group chats
Barış Soner Uşaklı 1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147
Opliko 04f4429f72
Resolve - optional timer for registration queue ()
* feat:  Optional timer for registration queue

* feat: show minutes in average time

* fix: don't show total number of minutes

* feat: implement requested changes

* fix: just store minutes instead of milliseconds

* feat: set default values
Barış Soner Uşaklı 9e3eb5d41a feat: , allow guest topic views
Barış Soner Uşaklı 6ac73ccb7e feat: , disable express compression by default
cryptoethic b3ed26ac2c
feat: revoke user sessions above threshold ()
* feat: revoke user sessions above threshold

* fix: removed translations from en-US

* fix: defined default maxUserSessions in install\data\defaults.json
Kyle Farris 2b785628e7
fix: removed invalid options for the sendmail transport ()
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
Julian Lam e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
Barış Soner Uşaklı c513b88dff feat: , daily downvote limits
Barış Soner Uşaklı e09ab3dc19 feat: closes , allow configuring max topic count
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
Julian Lam 01bff2ae05 fix: add txt to list of default allowed file extensions
Barış Soner Uşaklı a73c755b05 feat: closes , edit post notif for watched topic posts
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ı b6771836cf closes
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