Commit Graph

12835 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a5cc5372cb Merge branch 'master' into develop 2023-07-15 20:05:27 -04:00
Barış Soner Uşaklı
05c9cca7c4 fix: version alert in acp 2023-07-15 18:59:58 -04:00
Barış Soner Uşaklı
a4dba8d3fa fix: #11804, fix direction of dropdown on rtl 2023-07-15 18:54:50 -04:00
Barış Soner Uşaklı
f6b1f36b7f use rtl version of css on admin 2023-07-15 18:51:29 -04:00
Barış Soner Uşaklı
a766f74f0e fix: on leave/kick remove matching sockets from rooms 2023-07-15 18:08:31 -04:00
Barış Soner Uşaklı
539a4d437c Merge branch 'master' into develop 2023-07-15 15:52:49 -04:00
Barış Soner Uşaklı
562e4d6e43 fix: #11802, fix anchor ids in acp settings 2023-07-15 15:07:09 -04:00
Barış Soner Uşaklı
a0478c7049 fix: #11803, fix rtl in acp 2023-07-15 15:06:12 -04:00
Barış Soner Uşaklı
f0775651b9 only update user list if its open 2023-07-14 13:01:41 -04:00
Barış Soner Uşaklı
cfa00ece35 on disconnect update chat rooms 2023-07-14 12:19:33 -04:00
Barış Soner Uşaklı
1e38a16bdb fix: lint 2023-07-14 11:36:02 -04:00
Barış Soner Uşaklı
911ef0581c feat: show online users at the top of userlist and update
when they enter/leave
2023-07-14 11:19:57 -04:00
Barış Soner Uşaklı
887333478a move load on restore 2023-07-13 21:47:07 -04:00
Barış Soner Uşaklı
3bf16f1c75 no need to store 0 for all messages
for deleted and system, if its missing it defaults to 0
2023-07-13 21:25:32 -04:00
Barış Soner Uşaklı
bc8dbc2084 add roomId class to body 2023-07-13 20:01:39 -04:00
Barış Soner Uşaklı
5c2086107e fix: always return empty array if its not set 2023-07-13 11:31:56 -04:00
Barış Soner Uşaklı
857fe16878 use same code in load room 2023-07-12 21:20:30 -04:00
Barış Soner Uşaklı
f8e30c6d52 add icon to rooms based on visibility 2023-07-12 21:13:11 -04:00
Barış Soner Uşaklı
2f8c301aba fix groups reference 2023-07-12 20:43:53 -04:00
Barış Soner Uşaklı
43060f3cde perf: faster upgrade script 2023-07-12 19:54:46 -04:00
Barış Soner Uşaklı
4782764aee fix mobile mobile bar
fix user count if user just joined
2023-07-12 19:36:30 -04:00
Barış Soner Uşaklı
954db1ee19 chore: remove log 2023-07-12 17:07:58 -04:00
Barış Soner Uşaklı
e03fdcd6fc fix: clear cache on sort 2023-07-12 16:49:55 -04:00
Barış Soner Uşaklı
547bde8939 cache fixes
on newRoom and deleteRooms clear cache
add some checks for empty groups list
2023-07-12 16:35:46 -04:00
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
2023-07-12 13:03:54 -04:00
Barış Soner Uşaklı
edd8ca997f Merge branch 'master' into develop 2023-07-12 10:59:39 -04:00
Barış Soner Uşaklı
f2152953cd add displayname to parent posts 2023-07-12 10:40:25 -04:00
Barış Soner Uşaklı
e8b40b5884 fix persona defaults
fix missing theme:id
2023-07-12 10:20:20 -04:00
Barış Soner Uşaklı
796730dc54 test no escape on canonical 2023-07-10 16:20:06 -04:00
Barış Soner Uşaklı
7c588fe9a3 test no escape on canonical 2023-07-10 16:13:26 -04:00
Barış Soner Uşaklı
0fe7e831f4 dont show pid 2023-07-08 20:24:05 -04:00
Barış Soner Uşaklı
0ff1f82b5c make meta desc 160 chars 2023-07-08 14:55:29 -04:00
Barış Soner Uşaklı
0a7f52475e fix member IS 2023-07-08 03:02:51 -04:00
Barış Soner Uşaklı
5a42d37e0f fix reconnect logic 2023-07-07 23:58:12 -04:00
Barış Soner Uşaklı
9044e10e64 change description length to 160 2023-07-07 00:38:30 -04:00
Barış Soner Uşaklı
f938a2d940 Merge branch 'master' into develop 2023-07-05 15:25:23 -04:00
Barış Soner Uşaklı
1bda90731a fix: #11766, allow privileged users to vote and chat
even if they don't have enough reputation
2023-07-05 15:24:34 -04:00
Barış Soner Uşaklı
ee9962e4db Merge branch 'master' into develop 2023-07-05 09:18:32 -04:00
Barış Soner Uşaklı
0183e5f8d2 fix: #11775, trim -rtl from targetSkin 2023-07-03 18:50:09 -04:00
Barış Soner Uşaklı
f367d65a03 remove timeagoCutoff=1 2023-07-02 17:26:58 -04:00
Barış Soner Uşaklı
4971610cc6 Merge branch 'master' into develop 2023-06-30 20:51:19 -04:00
Barış Soner Uşaklı
4045681aa7 fix: add ?page= to canonical urls
#11770
for spiders to use pagination
2023-06-30 20:51:03 -04:00
Barış Soner Uşaklı
a352031388 double static:app.load timeout 2023-06-30 14:48:22 -04:00
Barış Soner Uşaklı
7d5fe20b10 fix: group membership methods for guests/spiders
add tests to cover different combinations
2023-06-28 20:55:25 -04:00
Barış Soner Uşaklı
2791eb8aac fix: group membership methods for guests/spiders
add tests to cover different combinations
2023-06-28 20:55:01 -04:00
Barış Soner Uşaklı
fe9b87808b Merge branch 'master' into develop 2023-06-27 13:58:02 -04:00
Barış Soner Uşaklı
01c36f8bfb fix: #11761, don't escape topic title twice
if a reply is being edited topicData.title is already escaped
2023-06-27 13:57:44 -04:00
Barış Soner Uşaklı
aefef763db fix: use btn instead of icon 2023-06-27 10:49:36 -04:00
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
2023-06-26 20:33:28 -04:00
Barış Soner Uşaklı
cc1672882c add the pending email so it is displayed in acp 2023-06-26 12:27:21 -04:00