12811 Commits (50fd242b694d620f80ccddbb8fd29857df3b0238)

Author SHA1 Message Date
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
Barış Soner Uşaklı edd8ca997f Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2152953cd add displayname to parent posts 2 years ago
Barış Soner Uşaklı e8b40b5884 fix persona defaults
fix missing theme:id
2 years ago
Barış Soner Uşaklı 796730dc54 test no escape on canonical 2 years ago
Barış Soner Uşaklı 7c588fe9a3 test no escape on canonical 2 years ago
Barış Soner Uşaklı 0fe7e831f4 dont show pid 2 years ago
Barış Soner Uşaklı 0ff1f82b5c make meta desc 160 chars 2 years ago
Barış Soner Uşaklı 0a7f52475e fix member IS 2 years ago
Barış Soner Uşaklı 5a42d37e0f fix reconnect logic 2 years ago
Barış Soner Uşaklı 9044e10e64 change description length to 160 2 years ago
Barış Soner Uşaklı f938a2d940 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 1bda90731a fix: #11766, allow privileged users to vote and chat
even if they don't have enough reputation
2 years ago
Barış Soner Uşaklı ee9962e4db Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 0183e5f8d2 fix: #11775, trim -rtl from targetSkin 2 years ago
Barış Soner Uşaklı f367d65a03 remove timeagoCutoff=1 2 years ago
Barış Soner Uşaklı 4971610cc6 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 4045681aa7 fix: add ?page= to canonical urls
#11770
for spiders to use pagination
2 years ago
Barış Soner Uşaklı a352031388 double static:app.load timeout 2 years ago
Barış Soner Uşaklı 7d5fe20b10 fix: group membership methods for guests/spiders
add tests to cover different combinations
2 years ago
Barış Soner Uşaklı 2791eb8aac fix: group membership methods for guests/spiders
add tests to cover different combinations
2 years ago
Barış Soner Uşaklı fe9b87808b Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 01c36f8bfb fix: #11761, don't escape topic title twice
if a reply is being edited topicData.title is already escaped
2 years ago
Barış Soner Uşaklı aefef763db fix: use btn instead of icon 2 years ago
Barış Soner Uşaklı daa5ac85e9 refactor: show both emails in user list
if user has a confirmed email and a pending email change show both in the acp
2 years ago
Barış Soner Uşaklı cc1672882c add the pending email so it is displayed in acp 2 years ago
Barış Soner Uşaklı 9e75068da2 expand json buttons 2 years ago
Barış Soner Uşaklı 2386c8e0bf Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı e45f513bfe fix: #11756, fix unique visitor stats in acp table 2 years ago
Barış Soner Uşaklı e56e44ab23 refactor: move async call to promise.all 2 years ago
Barış Soner Uşaklı d549d07381 remove await 2 years ago
Barış Soner Uşaklı 4b11cd0da5 feat: closes #11747, add pagination to tokens page 2 years ago
Barış Soner Uşaklı c21d7dbc7e fix: dont overwrite postIndex
if its not on the current page
2 years ago
Barış Soner Uşaklı cbd98c1b28 fix: closes #11731, set postIndex on pagination 2 years ago
Barış Soner Uşaklı ad1da0218a Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2fe7c0686 fix: #11735, crash when making guest reply
to /api/compose route
2 years ago
Barış Soner Uşaklı 86faed6fd3
feat: add vote privs to topic (#11734)
* feat: add vote privs to topic

* add missing awaits
2 years ago
Barış Soner Uşaklı 5e696c9046 change to console.error 2 years ago
Barış Soner Uşaklı 090a792168 fix: #11729, only check registered users
ignore guests(uid 0) & spiders(uid -1)
2 years ago
Barış Soner Uşaklı 1abe1d5e01
testing thumb fix (#11727)
* testing thumb fix

* one more test

* remove logs
2 years ago
Barış Soner Uşaklı 0f29ae5568 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 4e146eb50b fix: #11723, fix pagination on following/follower page 2 years ago
Barış Soner Uşaklı 4768d06b27 lint: fix whitespace 2 years ago
Barış Soner Uşaklı 556fd65d51 feat: custom skins panel in acp 2 years ago
Barış Soner Uşaklı 68ddca1e02 feat: add req and socket to als, closes https://github.com/NodeBB/NodeBB/pull/10304 2 years ago
Barış Soner Uşaklı 9ee1d7b063 fix: if reply is in different topic dont hide in parent 2 years ago
Barış Soner Uşaklı 8812e08b10 fix key in upgrade script 2 years ago
Barış Soner Uşaklı 9198a95173 add again 2 years ago
Barış Soner Uşaklı a7375a85ba Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 8620a2cd0a fix: #11717 prevent crash in messaging 2 years ago