Commit Graph

12827 Commits (c838782816815ef687474ce0bd00975fe1502ee0)

Author SHA1 Message Date
Barış Soner Uşaklı f0775651b9 only update user list if its open
Barış Soner Uşaklı cfa00ece35 on disconnect update chat rooms
Barış Soner Uşaklı 1e38a16bdb fix: lint
Barış Soner Uşaklı 911ef0581c feat: show online users at the top of userlist and update
when they enter/leave
Barış Soner Uşaklı 887333478a move load on restore
Barış Soner Uşaklı 3bf16f1c75 no need to store 0 for all messages
for deleted and system, if its missing it defaults to 0
Barış Soner Uşaklı bc8dbc2084 add roomId class to body
Barış Soner Uşaklı 5c2086107e fix: always return empty array if its not set
Barış Soner Uşaklı 857fe16878 use same code in load room
Barış Soner Uşaklı f8e30c6d52 add icon to rooms based on visibility
Barış Soner Uşaklı 2f8c301aba fix groups reference
Barış Soner Uşaklı 43060f3cde perf: faster upgrade script
Barış Soner Uşaklı 4782764aee fix mobile mobile bar
fix user count if user just joined
Barış Soner Uşaklı 954db1ee19 chore: remove log
Barış Soner Uşaklı e03fdcd6fc fix: clear cache on sort
Barış Soner Uşaklı 547bde8939 cache fixes
on newRoom and deleteRooms clear cache
add some checks for empty groups list
Barış Soner Uşaklı 9b901783fa
Chat refactor ()
* 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
Barış Soner Uşaklı edd8ca997f Merge branch 'master' into develop
Barış Soner Uşaklı f2152953cd add displayname to parent posts
Barış Soner Uşaklı e8b40b5884 fix persona defaults
fix missing theme:id
Barış Soner Uşaklı 796730dc54 test no escape on canonical
Barış Soner Uşaklı 7c588fe9a3 test no escape on canonical
Barış Soner Uşaklı 0fe7e831f4 dont show pid
Barış Soner Uşaklı 0ff1f82b5c make meta desc 160 chars
Barış Soner Uşaklı 0a7f52475e fix member IS
Barış Soner Uşaklı 5a42d37e0f fix reconnect logic
Barış Soner Uşaklı 9044e10e64 change description length to 160
Barış Soner Uşaklı f938a2d940 Merge branch 'master' into develop
Barış Soner Uşaklı 1bda90731a fix: , allow privileged users to vote and chat
even if they don't have enough reputation
Barış Soner Uşaklı ee9962e4db Merge branch 'master' into develop
Barış Soner Uşaklı 0183e5f8d2 fix: , trim -rtl from targetSkin
Barış Soner Uşaklı f367d65a03 remove timeagoCutoff=1
Barış Soner Uşaklı 4971610cc6 Merge branch 'master' into develop
Barış Soner Uşaklı 4045681aa7 fix: add ?page= to canonical urls

for spiders to use pagination
Barış Soner Uşaklı a352031388 double static:app.load timeout
Barış Soner Uşaklı 7d5fe20b10 fix: group membership methods for guests/spiders
add tests to cover different combinations
Barış Soner Uşaklı 2791eb8aac fix: group membership methods for guests/spiders
add tests to cover different combinations
Barış Soner Uşaklı fe9b87808b Merge branch 'master' into develop
Barış Soner Uşaklı 01c36f8bfb fix: , don't escape topic title twice
if a reply is being edited topicData.title is already escaped
Barış Soner Uşaklı aefef763db fix: use btn instead of icon
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
Barış Soner Uşaklı cc1672882c add the pending email so it is displayed in acp
Barış Soner Uşaklı 9e75068da2 expand json buttons
Barış Soner Uşaklı 2386c8e0bf Merge branch 'master' into develop
Barış Soner Uşaklı e45f513bfe fix: , fix unique visitor stats in acp table
Barış Soner Uşaklı e56e44ab23 refactor: move async call to promise.all
Barış Soner Uşaklı d549d07381 remove await
Barış Soner Uşaklı 4b11cd0da5 feat: closes , add pagination to tokens page
Barış Soner Uşaklı c21d7dbc7e fix: dont overwrite postIndex
if its not on the current page
Barış Soner Uşaklı cbd98c1b28 fix: closes , set postIndex on pagination