Commit Graph

12819 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
9e75068da2 expand json buttons 2023-06-26 09:46:36 -04:00
Barış Soner Uşaklı
2386c8e0bf Merge branch 'master' into develop 2023-06-26 09:22:50 -04:00
Barış Soner Uşaklı
e45f513bfe fix: #11756, fix unique visitor stats in acp table 2023-06-26 09:03:29 -04:00
Barış Soner Uşaklı
e56e44ab23 refactor: move async call to promise.all 2023-06-25 22:08:20 -04:00
Barış Soner Uşaklı
d549d07381 remove await 2023-06-23 14:35:51 -04:00
Barış Soner Uşaklı
4b11cd0da5 feat: closes #11747, add pagination to tokens page 2023-06-22 23:38:57 -04:00
Barış Soner Uşaklı
c21d7dbc7e fix: dont overwrite postIndex
if its not on the current page
2023-06-22 22:26:08 -04:00
Barış Soner Uşaklı
cbd98c1b28 fix: closes #11731, set postIndex on pagination 2023-06-22 21:16:11 -04:00
Barış Soner Uşaklı
ad1da0218a Merge branch 'master' into develop 2023-06-20 18:52:36 -04:00
Barış Soner Uşaklı
f2fe7c0686 fix: #11735, crash when making guest reply
to /api/compose route
2023-06-20 18:51:46 -04:00
Barış Soner Uşaklı
86faed6fd3 feat: add vote privs to topic (#11734)
* feat: add vote privs to topic

* add missing awaits
2023-06-20 14:16:17 -04:00
Barış Soner Uşaklı
5e696c9046 change to console.error 2023-06-19 16:37:24 -04:00
Barış Soner Uşaklı
090a792168 fix: #11729, only check registered users
ignore guests(uid 0) & spiders(uid -1)
2023-06-18 18:42:49 -04:00
Barış Soner Uşaklı
1abe1d5e01 testing thumb fix (#11727)
* testing thumb fix

* one more test

* remove logs
2023-06-17 19:23:36 -04:00
Barış Soner Uşaklı
0f29ae5568 Merge branch 'master' into develop 2023-06-16 20:30:55 -04:00
Barış Soner Uşaklı
4e146eb50b fix: #11723, fix pagination on following/follower page 2023-06-16 20:30:44 -04:00