You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Barış Soner Uşaklı 9b901783fa
Chat refactor (#11779)
* first part of chat refactor

remove per user chat zsets & store all mids in chat:room:<roomId>:mids
reverse uids in getUidsInRoom

* feat: create room button

public groups wip

* feat: public rooms

create chats:room zset
chat room deletion

* join socket.io room

* get rid of some calls that load all users in room

* dont load all users when loadRoom is called

* mange room users infinitescroll

dont load all members in api call

* IS for user list

ability to change groups field for public rooms
update groups field if group is renamed

* test: test fixes

* wip

* keep 150 messages

* fix extra awaits

fix dupe code in chat toggleReadState

* unread state for public rooms

* feat: faster push unread

* test: spec

* change base to harmony

* test: lint fixes

* fix language of chat with message

* add 2 methods for perf

messaging.getTeasers and getUsers(roomIds)
instead of loading one by one

* refactor: cleaner conditional

* test fix upgrade script fix

save timestamp of room creation in room object

* set progress.total

* don't check for guests/spiders

* public room unread fix

* add public unread counts

* mark read on send

* ignore instead of throwing

* doggy.gif

* fix: restore delete

* prevent entering chat rooms with

meta.enter

* fix self message causing mark unread

* ability to sort public rooms

* dont init sortable on mobile

* move chat-loaded class to core

* test: fix spec

* add missing keys

* use ajaxify

* refactor: store some refs

* fix: when user is deleted remove from public rooms as well

* feat: change how unread count is calculated

* get rid of cleaned content

get rid of mid

* add help text

* test: fix tests, add back mid

to prevent breaking change

* ability to search members of chat rooms

* remove

* derp

* perf: switch with  partial data

fix tests

* more fixes

if user leaves a group leave public rooms is he is no longer part of any of the groups that have access

fix the cache key used to get all public room ids

dont allow joining chat socket.io room if user is no longer part of group

* fix: lint

* fix: js error when trying to delete room after switching

* add isRoomPublic
2 years ago
..
admin
api Chat refactor (#11779) 2 years ago
cache feat: update lru-cache to 9.x, closes #11454 2 years ago
categories Acp redesign (#11639) 2 years ago
cli Merge branch 'master' into develop 2 years ago
controllers Chat refactor (#11779) 2 years ago
database Chat refactor (#11779) 2 years ago
groups Chat refactor (#11779) 2 years ago
messaging Chat refactor (#11779) 2 years ago
meta change to console.error 2 years ago
middleware Chat refactor (#11779) 2 years ago
navigation fix: filter null nav items 2 years ago
plugins double static:app.load timeout 2 years ago
posts fix: #11766, allow privileged users to vote and chat 2 years ago
privileges feat: add vote privs to topic (#11734) 2 years ago
rewards
routes Chat refactor (#11779) 2 years ago
socket.io Chat refactor (#11779) 2 years ago
topics add displayname to parent posts 2 years ago
upgrades Chat refactor (#11779) 2 years ago
user Chat refactor (#11779) 2 years ago
views Chat refactor (#11779) 2 years ago
widgets feat: expiration date for widgets 2 years ago
als.js
analytics.js fix: #11756, fix unique visitor stats in acp table 2 years ago
batch.js
cache.js
cacheCreate.js
constants.js
coverPhoto.js
emailer.js
events.js Chat refactor (#11779) 2 years ago
file.js feat: update mkdirp to 3.x, closes #11455 2 years ago
flags.js fix: closes #11466 2 years ago
helpers.js
image.js
install.js feat: add option to autoinstall plugins on setup 2 years ago
languages.js
logger.js
notifications.js
pagination.js
password.js
prestart.js fix: #11396, removal of base_templates_path variable 2 years ago
promisify.js
pubsub.js
search.js test: fix tests again 2 years ago
settings.js
sitemap.js feat: add sitemap filter hooks for categories/topic pages 2 years ago
slugify.js
social.js Acp redesign (#11639) 2 years ago
start.js Bootstrap5 (#10894) 2 years ago
translator.js Bootstrap5 (#10894) 2 years ago
upgrade.js
utils.js Bootstrap5 (#10894) 2 years ago
webserver.js feat: add req and socket to als, closes https://github.com/NodeBB/NodeBB/pull/10304 2 years ago