Commit Graph

238 Commits (eeffb9d978b30f90738565d63775596d7ed3c0e2)

Author SHA1 Message Date
Julian Lam eeffb9d978 feat: `POST /api/v3/chats/:roomId`
Julian Lam 09cf9c7770 feat: `GET /api/v3/chats/:roomId`
Julian Lam 55e68e2fd5 docs: openAPI documentation for routes
Julian Lam 40b4544e70 feat: `POST /api/v3/chats`, chat room creation, plus openAPI docs update
Barış Soner Uşaklı c4042c70de feat: , allow seeing and editing your queued posts
allow regular users access to post queue
allow regular users to edit their queued post/topic title
allow regular users to remove their post from post queue
ability to send a notification to user without removing from post queue
allow accessing single post queue items from notifications
Julian Lam bc7707aa88 fix: show user history only to admins and gmods
Barış Soner Uşaklı cc3f82bc83 breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings')
Julian Lam 5b42b6b369
API route for returning tracked analytics keys ()
* feat: track metrics saved by NodeBB (and assoc. plugins), 

* feat: route to retrieve analytics keys, closes 
Julian Lam 591424cea1 chore: fix type.yaml example and summary
Julian Lam 0ee85d5a0b fix: , rename account export routes to remove `uid/` prefix
Barış Soner Uşaklı f4cf482a87 feat: show popular searches
Julian Lam 7ef5214ef9 test: fix broken openapi3 schema
Julian Lam 806a1e50d2 feat: utilities login API route now starts an actual login session, if requested
Julian Lam 94c4f87b2f docs: update verbiage re: login API route
Julian Lam 0a41741b7e refactor: deprecate picture update socket call, new API routes for picture update
gasoved 3df79683f5
feat: create folders in ACP uploads ()
* feat: create folders in ACP uploads 

* fix: openapi

* test: missing tests

* fix: eslint

* fix: tests
Barış Soner Uşaklı 358ad74054 feat: closes , allow event deletion
fix: topic events appearing before necro messages
feat: add move topic event
feat: add ability to delete specific topic events via events.purge
Julian Lam 81611ae1c4 fix(emails): broken test for api/user/email/:email
+ fixed broken tests due to unexpected behaviour for email confirmation
Julian Lam ab9b671693 fix(emails): broken test due to sticky registration interstitial
Julian Lam 69c96dd23c refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
Julian Lam cc6cbfcdc4
Flags API ()
* feat: new routes for flags API

+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag

* feat: tests for new flags API

added missing files for schema update

* fix: flag tests to use Write API instead of sockets

* feat: flag notes API + tests

* chore: remove debug line

* test: fix breaking test on mongo
Barış Soner Uşaklı 39e1359142 fix: schema
psychobunny 2db77b0cd2 docs: add undoTimeout
Julian Lam d2960aeb09 feat: added GET user route for api v3
Julian Lam 6ef0c8e950 docs: update API docs to better outline authentication options
Julian Lam d08d0c42e9 docs: update API authentication verbiage
gasoved 8faa6e4515
feat: filter flags by username ()
* feat: filter flags by username 

* feat: toggle flag filter text
Barış Soner Uşaklı d09cdc0436 fix: spec
gasoved 077330b764
feat: scheduled topics ()
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
Barış Soner Uşaklı e42b152f16 fix: , use posts:view_deleted
Barış Soner Uşaklı 1e1127bd20 fix: spec
Julian Lam 2a939aad8d fix: regression via c1b3079d93
Also refactored privilege render logic so that it no longer needs a server-side hack to render column count
Julian Lam e755067387 docs: fixed typo
Julian Lam c1b3079d93 feat: category privilege API routes
closes 
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes
Julian Lam d3a9e76ae2 test(user): added additional tests for icon background colour
Julian Lam 4c078084dc test: fix spec for topic thumbs
Julian Lam 1d9ade4c36 test: added missing properties to topicObject
Julian Lam b31f6dd24a test: added missing test file
Julian Lam ad54b174a4 test: topic reordering tests
Barış Soner Uşaklı ab0ef44289 fix: spec
Barış Soner Uşaklı 47299ea587
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

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: 

* fix: index 0

* fix: spec

* feat: , add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
gasoved cabec378f4 fix: openapi test specs
gasoved 72b050b4a8 test: post diff deletion tests
Barış Soner Uşaklı 833c73e81b fix: example
Barış Soner Uşaklı cc560ca3f9 feat: doc add description
Barış Soner Uşaklı ed11e17129 feat: add doc for query param
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ı 4c12e0aaf8 fix: update docs
Barış Soner Uşaklı faeb637353 fix: tests remove old routes