Commit Graph
100 Commits
Author SHA1 Message Date
Ajay BuraandGitHub 563b8f5089 Add code block language header and improve styles (#2403)
* add code block language header and improve styles

* improve codeblock fallback text

* move floating expand button to code block header

* reduce code font size
2025-07-27 22:21:09 +10:00
Ajay BuraandGitHub 29364b2e92 Fix menus congestion and improve thread reply layout (#2402)
* make menus more spacious

* improve threaded reply layout

* fix search filter button spacing
2025-07-27 22:20:23 +10:00
Ajay BuraandGitHub 748952a2a4 Render room avatar as fallback for dm group chat (#2398)
* render room avatar for dm group chat

* remove extra conditions
2025-07-23 21:00:02 +05:30
Ajay BuraandGitHub 5114333067 Fix small height image half clickable view button (#2397) 2025-07-23 20:59:32 +05:30
Ajay BuraandGitHub 0da301ef12 Support oidc action param for login and register page (#2389) 2025-07-16 20:49:13 +10:00
Ajay BuraandGitHub f674cc7505 Jump to time option in room timeline (#2377)
* add time and date picker components

* add time utils

* add jump to time in room timeline

* fix typo causing crash in safari
2025-07-15 22:41:33 +10:00
Ajay BuraandGitHub 589370f1bd Link device account management with OIDC (#2390)
* load auth metadata configs on startup

* deep-link cross-signing reset button with oidc

* deep-link manage devices and delete device with oidc

* fix import typo
2025-07-15 22:40:16 +10:00
Ajay BuraandGitHub e6f6e2117c Stop parsing servername from roomId (#2391) 2025-07-15 22:33:45 +10:00
Ajay BuraandGitHub 6bec8aa2bb improve parent selection when opening a room (#2388)
when a room has more than one orphan parent, we will select parent which has highest number of special users who have special powers in selected room.
2025-07-11 21:03:55 +10:00
Ajay BuraandGitHub 348240fbc3 fix room not opening when two rooms has same alias (#2387) 2025-07-11 21:00:30 +10:00
Ajay BuraandGitHub 4a230cbfc1 Fix new direct message showing with room (#2386)
as we were mutating the content of m.direct the sdk was comparing old value with new one and preventing update if found equal
2025-07-05 21:31:15 +10:00
Ajay BuraandGitHub e6a86f4c4f Release v4.8.1 (#2360) 2025-06-10 23:48:55 +10:00
Ajay BuraandGitHub 8a072b1290 Add allow from currently selected space if no m.space.parent found (#2359) 2025-06-10 23:47:46 +10:00
Ajay BuraandGitHub b84927e49b Fix space navigation & view space timeline dev-option (#2358)
* fix inaccessible space on alias change

* fix new room in space open in home

* allow opening space timeline

* hide event timeline feature behind dev tool

* add navToActivePath to clear cache function
2025-06-10 14:44:17 +10:00
Ajay BuraandGitHub fef143dced Update folds to v2.2.0 (#2341) 2025-05-27 14:10:27 +05:30
Ajay BuraandGitHub 066ec99699 Fix rate limit when reordering in space lobby (#2254)
* move can drop lobby item logic to hook

* add comment

* resolve rate limit when reordering space children
2025-05-26 14:21:27 +05:30
Ajay BuraandGitHub 744d1efe6f Release v4.8.0 (#2337) 2025-05-24 21:22:39 +05:30
Ajay Bura 8d0c569207 hide decline all public invite button when no invite 2025-05-24 21:19:35 +05:30
Ajay BuraandGitHub 4e64d821f2 Better invites management (#2336)
* move block users to account settings

* filter invites and add more options

* add better rate limit recovery in rateLimitedActions util function
2025-05-24 20:07:56 +05:30
Ajay BuraandGitHub 6e2a5c786a Release v4.7.1 (#2332) 2025-05-21 17:28:38 +05:30
Ajay BuraandGitHub e1f10d7c98 Fix crash on malformed blurhash (#2331) 2025-05-21 17:28:13 +05:30
Ajay BuraandGitHub 49f0ab46fa Release v4.7.0 (#2328) 2025-05-18 11:45:12 +05:30
Ajay BuraandGitHub 4ffc591983 upgrade to matrix-js-sdk v37.5.0 (#2327)
* upgrade to js-sdk 37

* fix server crypto wasm locally
2025-05-18 10:53:56 +05:30
Ajay Bura d8fa649745 update kick command example 2025-05-13 16:58:43 +05:30
Ajay BuraandGitHub 3e31bfa11b Update commands (#2325)
* kick-ban all members by servername

* Add command for deleting multiple messages

* remove console logs and improve ban command description

* improve commands description

* add server acl command

* fix code highlight not working after editing in dev tools
2025-05-13 16:16:22 +05:30
Ajay BuraandGitHub 770da845ce fix room setting crash in knock_restricted join rule (#2323)
* fix room setting crash in knock_restricted join rule

* only show knock & space member join rule for space children

* fix knock restricted icon and label
2025-05-13 14:18:52 +05:30
Ajay BuraandGitHub f775b3151a remove libolm related code (#2300) 2025-03-31 19:10:24 +11:00
Ajay BuraandGitHub 2f77807ebd Remove old settings components (#2296) 2025-03-28 20:16:01 +11:00
Ajay BuraandGitHub 55ea5a4080 Display no members when changing filter in room members (#2297) 2025-03-28 20:15:31 +11:00
Ajay BuraandGitHub bc3f2ac438 Add new space settings (#2293) 2025-03-27 19:54:13 +11:00
Ajay BuraandGitHub 3d945ec74a Fix DM rooms are not being encrypted (#2286)
* force check user device before creating dm

* fix getUserDeviceInfo doesn't exist on MatrixClient
2025-03-24 20:08:11 +11:00
Ajay BuraandGitHub 56a0ce78ad Fix displayname input controlled/uncontrolled error (#2287) 2025-03-24 20:07:15 +11:00
Ajay BuraandGitHub 4e8f81fa80 Change username color in chat with power level color (#2282)
* add active theme context

* add chroma js library

* add hook for accessible tag color

* disable reply user color - temporary

* render user color based on tag in room timeline

* remove default tag icons

* move accessible color function to plugins

* render user power color in reply

* increase username weight in timeline

* add default color for member power level tag

* show red slash in power color badge with no color

* show power level color in room input reply

* show power level username color in notifications

* show power level color in notification reply

* show power level color in message search

* render power level color in room pin menu

* add toggle for legacy username colors

* drop over saturation from member default color

* change border color of power color badge

* show legacy username color in direct rooms
2025-03-23 22:09:29 +11:00
Ajay BuraandGitHub 4c9641c278 Add room notification mode switcher in room header menu (#2284) 2025-03-22 19:22:29 +11:00
Ajay BuraandGitHub 5fb90a6516 Add margin top on media caption (#2283) 2025-03-22 19:21:49 +11:00
Ajay BuraandGitHub 0ac8179ed2 Add option to change room notification settings (#2281) 2025-03-20 20:27:00 +11:00
Ajay BuraandGitHub 4e1c4f6872 Add publish to directory toggle in room settings (#2279) 2025-03-20 20:25:31 +11:00
Ajay BuraandGitHub c4af5f2909 Add room upgrade option in room settings (#2280)
* add room upgrade option in room settings

* update upgrade room dialog styles
2025-03-20 20:23:16 +11:00
Ajay Bura ef925f6e7f fix error when editing room profile 2025-03-20 09:57:57 +05:30
Ajay BuraandGitHub 411e4f52c6 New room settings, add customizable power levels and dev tools (#2222)
* WIP - add room settings dialog

* join rule setting - WIP

* show emojis & stickers in room settings - WIP

* restyle join rule switcher

* Merge branch 'dev' into new-room-settings

* add join rule hook

* open room settings from global state

* open new room settings from all places

* rearrange settings menu item

* add option for creating new image pack

* room devtools - WIP

* render room state events as list

* add option to open state event

* add option to edit state event

* refactor text area code editor into hook

* add option to send message and state event

* add cutout card component

* add hook for room account data

* display room account data - WIP

* refactor global account data editor component

* add account data editor in room

* fix font style in devtool

* show state events in compact form

* add option to delete room image pack

* add server badge component

* add member tile component

* render members in room settings

* add search in room settings member

* add option to reset member search

* add filter in room members

* fix member virtual item key

* remove color from serve badge in room members

* show room in settings

* fix loading indicator position

* power level tags in room setting - WIP

* generate fallback tag in backward compatible way

* add color picker

* add powers editor - WIP

* add props to stop adding emoji to recent usage

* add beta feature notice badge

* add types for power level tag icon

* refactor image pack rooms code to hook

* option for adding new power levels tags

* remove console log

* refactor power icon

* add option to edit power level tags

* remove power level from powers pill

* fix power level labels

* add option to delete power levels

* fix long power level name shrinks power integer

* room permissions - WIP

* add power level selector component

* add room permissions

* move user default permission setting to other group

* add power permission peek menu

* fix weigh of power switch text

* hide above for max power in permission switcher

* improve beta badge description

* render room profile in room settings

* add option to edit room profile

* make room topic input text area

* add option to enable room encryption in room settings

* add option to change message history visibility

* add option to change join rule

* add option for addresses in room settings

* close encryption dialog after enabling
2025-03-19 23:14:54 +11:00
Ajay BuraandGitHub 3d9b266c71 Stop showing notification from invite/left rooms (#2267) 2025-03-12 22:50:23 +11:00
Ajay BuraandGitHub 4a03b33442 add option to download audio/video file (#2253)
* add option to download audio file

* add button to download video
2025-03-06 14:29:23 +11:00
Ajay BuraandGitHub 1abda8056b fix crash on emoji selection from emojiboard (#2249)
* fix crash on emoji select

* fix crash in message editor on emoji select
2025-03-05 13:23:28 +11:00
Ajay BuraandGitHub 697182519e fix backslash inserted in links upon edit (#2246)
* fix backslash appear in url with inline markdown sequences

* fix markdown chars not escaping on edit
2025-03-04 17:32:13 +11:00
Ajay BuraandGitHub 459773e532 Hide deleted events by default (#2237) 2025-03-01 18:48:11 +11:00
Ajay BuraandGitHub d3a8f09766 Hide existing messages from ignored users (#2236)
* add ignored users hook

* remove messages from timeline for ignored users
2025-02-28 18:47:23 +11:00
Ajay BuraandGitHub a2e651c869 open account data in same window instead of popup (#2234)
* refactor TextViewer Content component

* open account data inside setting window

* close account data edit window on cancel when adding new
2025-02-27 19:34:55 +11:00
Ajay BuraandGitHub 9bacdd1018 Hidden Typing & Read Receipts (#2230)
* add hide activity toggle

* stop sending/receiving typing status

* send private read receipt when setting toggle is activated

* prevent showing read-receipt when feature toggle in on
2025-02-26 21:44:53 +11:00
Ajay BuraandGitHub 96074475fb Show image preview in upload window (#2231)
* memoize metadata callback properly

* add image preview on upload

* show spoiler image button inside image preview
2025-02-26 21:43:43 +11:00
Ajay BuraandGitHub cb44815ca2 Fix editor focus after autocomplete (#2233)
* upgrade slatejs

* collapse autocomplete on escape

* make FN_KEYS_REGEX const in module scope
2025-02-26 21:42:42 +11:00
Ajay BuraandGitHub 1771d5de88 Fix unknown rooms in space lobby (#2224)
* add hook to fetch one level of space hierarchy

* add enable param to level hierarchy hook

* improve HierarchyItem types

* fix type errors in lobby

* load space hierarachy per level

* fix menu item visibility

* fix unknown spaces over federation

* show inaccessible rooms only to admins

* fix unknown room renders loading content twice

* fix unknown room visible to normal user if space all room are unknown

* show no rooms card if space does not have any room
2025-02-22 19:24:33 +11:00
Ajay BuraandGitHub b8b58bcf5d Escape markdown sequences (#2208)
* escape inline markdown character

* fix typo

* improve document around custom markdown plugin and add escape sequence utils

* recover inline escape sequences on edit

* remove escape sequences from plain text body

* use `s` for strike-through instead of del

* escape block markdown sequences

* fix remove escape sequence was not removing all slashes from plain text

* recover block sequences on edit
2025-02-21 19:19:24 +11:00
Ajay BuraandGitHub 3e2eca7ea1 scroll to bottom in unfocused window but stop sending read receipt (#2214)
* scroll to bottom in unfocused window but stop sending read receipt

* send read-receipt when new message are in view after regaining focus
2025-02-21 19:18:02 +11:00
Ajay BuraandGitHub 97cd12cdfe Add email notification toggle (#2223)
* refactor system notification to dedicated file

* add hook for email notification status

* add toogle for email notifications in settings
2025-02-21 19:15:47 +11:00
Ajay BuraandGitHub 3c0d633f87 Improve search result counts (#2221)
* remove limit from emoji autocomplete

* remove search limit from user mention

* remove limit from room mention autocomplete

* increase user search limit to 1000

* better search string selection for emoticons
2025-02-21 19:14:38 +11:00
Ajay BuraandGitHub 5242912910 fix autocomplete menu flickering issue (#2220) 2025-02-20 18:32:44 +11:00
Ajay BuraandGitHub 040168e4df sanitize string before used in regex to prevent crash (#2219) 2025-02-20 18:30:54 +11:00
Ajay BuraandGitHub 7fe2b6eac5 add button to select all room pack as global pack (#2218) 2025-02-19 22:13:29 +11:00
Ajay BuraandGitHub 96c329a482 fix room activity indicator appearing on self typing (#2217) 2025-02-19 22:08:58 +11:00
Ajay BuraandGitHub e3708b0dd6 Fix link visible inside spoiler (#2215)
* hide links in spoiler

* prevent link click inside spoiler
2025-02-19 22:07:33 +11:00
Ajay Bura 4773c07692 add order algorithm in search result 2025-02-19 11:23:32 +05:30
Ajay BuraandGitHub 1e3892641a fix message does not appear after decryption complete (#2209)
* fix message does not appear after decryption complete

* update when event get decrypted before subscribing
2025-02-15 18:58:57 +11:00
Ajay BuraandGitHub 6c5498bf40 fix editor exit button appears on room switch (#2207) 2025-02-15 18:58:02 +11:00
Ajay BuraandGitHub a94ba68cf9 fix edits does not reflect in pinned messages (#2107)
* fix pinned message edits does not reflect in pinned messages

* fix all pinned message show edited

* remove console log
2025-02-10 21:16:01 +11:00
Ajay BuraandGitHub f364fd4408 fix notification crash on ios (#2192)
* fix notification crash for ios

* access notification from window variable

* fix Notification check

* catch notification variable error

* fix missing check for Notification
2025-02-10 21:02:33 +11:00
Ajay BuraandGitHub dfe108eb96 fix reply placeholder overflow (#2193) 2025-02-10 20:47:21 +11:00
Ajay BuraandGitHub a2ca3195ea fix left/banned member showing in autocomplete (#2194) 2025-02-10 20:36:49 +11:00
Ajay BuraandGitHub 87cc753366 redesigned app settings and switch to rust crypto (#1988)
* rework general settings

* account settings - WIP

* add missing key prop

* add object url hook

* extract wide modal styles

* profile settings and image editor - WIP

* add outline style to upload card

* remove file param from bind upload atom hook

* add compact variant to upload card

* add  compact upload card renderer

* add option to update profile avatar

* add option to change profile displayname

* allow displayname change based on capabilities check

* rearrange settings components into folders

* add system notification settings

* add initial page param in settings

* convert account data hook to typescript

* add push rule hook

* add notification mode hook

* add notification mode switcher component

* add all messages notification settings options

* add special messages notification settings

* add keyword notifications

* add ignored users section

* improve ignore user list strings

* add about settings

* add access token option in about settings

* add developer tools settings

* add expand button to account data dev tool option

* update folds

* fix editable active element textarea check

* do not close dialog when editable element in focus

* add text area plugins

* add text area intent handler hook

* add newline intent mod in text area

* add next line hotkey in text area intent hook

* add syntax error position dom utility function

* add account data editor

* add button to send new account data in dev tools

* improve custom emoji plugin

* add more custom emojis hooks

* add text util css

* add word break in setting tile title and description

* emojis and sticker user settings - WIP

* view image packs from settings

* emoji pack editing - WIP

* add option to edit pack meta

* change saved changes message

* add image edit and delete controls

* add option to upload pack images and apply changes

* fix state event type when updating image pack

* lazy load pack image tile img

* hide upload image button when user can not edit pack

* add option to add or remove global image packs

* upgrade to rust crypto (#2168)

* update matrix js sdk

* remove dead code

* use rust crypto

* update setPowerLevel usage

* fix types

* fix deprecated isRoomEncrypted method uses

* fix deprecated room.currentState uses

* fix deprecated import/export room keys func

* fix merge issues in image pack file

* fix remaining issues in image pack file

* start indexedDBStore

* update package lock and vite-plugin-top-level-await

* user session settings - WIP

* add useAsync hook

* add password stage uia

* add uia flow matrix error hook

* add UIA action component

* add options to delete sessions

* add sso uia stage

* fix SSO stage complete error

* encryption - WIP

* update user settings encryption terminology

* add default variant to password input

* use password input in uia password stage

* add options for local backup in user settings

* remove typo in import local backup password input label

* online backup - WIP

* fix uia sso action

* move access token settings from about to developer tools

* merge encryption tab into sessions and rename it to devices

* add device placeholder tile

* add logout dialog

* add logout button for current device

* move other devices in component

* render unverified device verification tile

* add learn more section for current device verification

* add device verification status badge

* add info card component

* add index file for password input component

* add types for secret storage

* add component to access secret storage key

* manual verification - WIP

* update matrix-js-sdk to v35

* add manual verification

* use react query for device list

* show unverified tab on sidebar

* fix device list updates

* add session key details to current device

* render restore encryption backup

* fix loading state of restore backup

* fix unverified tab settings closes after verification

* key backup tile - WIP

* fix unverified tab badge

* rename session key to device key in device tile

* improve backup restore functionality

* fix restore button enabled after layout reload during restoring backup

* update backup info on status change

* add backup disconnection failures

* add device verification using sas

* restore backup after verification

* show option to logout on startup error screen

* fix key backup hook update on decryption key cached

* add option to enable device verification

* add device verification reset dialog

* add logout button in settings drawer

* add encrypted message lost on logout

* fix backup restore never finish with 0 keys

* fix setup dialog hides when enabling device verification

* show backup details in menu

* update setup device verification body copy

* replace deprecated method

* fix displayname appear as mxid in settings

* remove old refactored codes

* fix types
2025-02-10 16:49:47 +11:00
Ajay BuraandGitHub 85c9febe91 fix threaded reply not working in encrypted rooms (#2172) 2025-01-26 22:56:33 +11:00
Ajay BuraandGitHub b8b4483cc0 fix word overflow in text file viewer (#2179) 2025-01-26 22:55:09 +11:00
Ajay BuraandGitHub 60faedd466 fix crash on membership change with invalid data (#2182)
* fix membership change with  invalid data crash

* add more checks around membership change

* fix displayname condition
2025-01-26 22:53:16 +11:00
Ajay BuraandGitHub b822870006 fix style issue of reply placeholder (#2181) 2025-01-26 22:52:10 +11:00
Ajay BuraandGitHub 2e50a87f8c Disable dependabot (#2140) 2025-01-08 22:35:46 +11:00
Ajay BuraandGitHub f9de1e276b Pinned Messages (#2081)
* add pinned room events hook

* room pinned message - WIP

* add room event hook

* fetch pinned messages before displaying

* use react-query in room event hook

* disable staleTime and gc to 1 hour in room event hook

* use room event hook in reply component

* render pinned messages

* add option to pin/unpin messages

* remove message base from message placeholders and add variant

* display message placeholder while loading pinned messages

* render pinned event error

* show no pinned message placeholder

* fix message placeholder flickering
2024-12-16 16:25:15 +05:30
Ajay BuraandGitHub aa94195184 fix font-weight in dark theme with unsupported fonts (#1964) 2024-09-22 22:31:32 +10:00
Ajay BuraandGitHub 62d6b8e582 Fix authenticated media download (#1947)
* remove dead function

* fix media download in room timeline

* authenticate remaining media endpoints
2024-09-11 17:07:02 +10:00
Ajay BuraandGitHub e2f1089766 render matrix room and event link content (#1938) 2024-09-09 20:51:52 +10:00
Ajay BuraandGitHub e1c2430db9 Improve-auth-media (#1933)
* fix set power level broken after sdk update

* add media authentication hook

* fix service worker types

* fix service worker not working in dev mode

* fix env mode check when registering sw
2024-09-09 14:15:20 +05:30
Ajay BuraandGitHub 49e038e23b fix mention url is encoded wrong (#1936) 2024-09-08 22:53:59 +10:00
Ajay BuraandGitHub c60ea57f3b fix escape to mark as read (#1935) 2024-09-08 22:53:17 +10:00
Ajay BuraandGitHub cc9a7b1620 fix sso login without identity providers (#1934) 2024-09-08 22:51:43 +10:00
Ajay BuraandGitHub 71bde10887 fix type to focus not working after room switch (#1866) 2024-08-04 16:04:11 +10:00
Ajay BuraandGitHub 4ad15af141 fix crash when decoding malformed urls (#1865) 2024-08-04 15:38:20 +10:00
Ajay BuraandGitHub e7d7160f6f fix notification not working for selected room (#1864) 2024-08-04 15:37:28 +10:00
Ajay BuraandGitHub 72dadb0a07 fix page up/down button not working (#1863) 2024-08-04 15:36:42 +10:00
Ajay BuraandGitHub a0ea330c07 show unverified tab indicator on sidebar (#1862) 2024-08-04 14:19:37 +10:00
Ajay BuraandGitHub fee8ad1c09 add back btn for mobile view (#1861) 2024-08-03 23:47:53 +10:00
Ajay BuraandGitHub 4d742d11bc fix tombstone replacement room open previous room (#1856) 2024-07-30 22:19:51 +10:00
Ajay BuraandGitHub 99c8030322 support matrix.to links (#1849)
* support room via server params and eventId

* change copy link to matrix.to links

* display matrix.to links in messages as pill and stop generating url previews for them

* improve editor mention to include viaServers and eventId

* fix mention custom attributes

* always try to open room in current space

* jump to latest remove target eventId from url

* add create direct search options to open/create dm with url
2024-07-30 22:18:59 +10:00
Ajay BuraandGitHub b19a630e90 fix room opens at home after leave rejoin (#1848) 2024-07-28 23:40:21 +10:00
Ajay BuraandGitHub 34a307adfd add ngnix conf file for docker build (#1837) 2024-07-24 22:51:03 +10:00
Ajay BuraandGitHub cb011cecd2 Add setting for page zoom (#1835)
* add setting for page zoom

* parse integer in zoom change listener

* fix zoom input width

* fix null gets saved as page zoom
2024-07-23 23:52:53 +10:00
Ajay BuraandGitHub 2de4f88c96 Load room member even when member drawer is closed (#1825) 2024-07-23 15:15:17 +10:00
Ajay BuraandGitHub 4539c1e6e2 Fix unread reset and notification settings (#1824)
* reset unread with client sync state change

* fix notification toggle setting not working

* revert formatOnSave vscode setting
2024-07-23 15:14:32 +10:00
Ajay BuraandGitHub ee0cba97ad handle error in loading screen (#1823)
* handle client boot error in loading screen

* use sync state hook in client root

* add loading screen options

* removed extra condition in loading finish

* add sync connection status bar
2024-07-22 20:47:19 +10:00
Ajay BuraandGitHub 1843001172 Update color theme to match with new design (#1821)
* update silver theme

* update unread badge style to look more slim

* update nav item style to look less sharp

* fix type focus message input typo

* decrease navigation drawer width to bring main chat layout to little more center

* increase sidebar width to make it less congested

* fix sidebar item style

* decrease dark theme contrast

* improve dark theme

* revert sidebar width change

* add join with address option in home context menu

* match legacy theme with latest themes
2024-07-21 15:43:33 +10:00
Ajay BuraandGitHub d9747596b9 Fix selecting tombstone room opens replacement room (#1820) 2024-07-18 23:20:51 +10:00
Ajay BuraandGitHub 853e64cbe5 Make hotkeys work again (#1819) 2024-07-18 23:20:20 +10:00
Ajay BuraandGitHub fbc87f7f15 fix crash when adding existing room to space (#1806) 2024-07-15 00:21:19 +10:00
Ajay Bura c24f184cac fix space lobby button shrink 2024-07-10 18:44:28 +05:30