Commit Graph

3523 Commits

Author SHA1 Message Date
Krishan a7b9475660 Update default server list in config.json (#1467)
* Remove halogen.city

* Update config.json

* Update config.json
2023-10-21 16:06:13 +05:30
Krishan 9fcd1a0d23 Update default server list in config.json (#1467)
* Remove halogen.city

* Update config.json

* Update config.json
2023-10-21 16:06:13 +05:30
Ajay Bura 25d924aa81 fix backward delete with previous empty line (#1469) 2023-10-21 15:46:36 +05:30
Ajay Bura 9200e22a7e fix backward delete with previous empty line (#1469) 2023-10-21 15:46:36 +05:30
Ajay Bura 50dbd81d2d Fix hotkeys (#1468)
* use hotkey using key instead of which (default)

* remove shift from block formatting hotkeys

* smartly exit formatting with backspace

* set markdown to off by default

* exit formatting with escape
2023-10-21 12:44:33 +05:30
Ajay Bura d5ff55e23e Fix hotkeys (#1468)
* use hotkey using key instead of which (default)

* remove shift from block formatting hotkeys

* smartly exit formatting with backspace

* set markdown to off by default

* exit formatting with escape
2023-10-21 12:44:33 +05:30
Ajay Bura a1a019b6db Fix auto read (#1466)
* add height to bottom anchor

* add width to bottom anchor

* add make bottom anchor inline-block

* try mark as read on focus receive
2023-10-21 12:44:21 +05:30
Ajay Bura 5dc613cd79 Fix auto read (#1466)
* add height to bottom anchor

* add width to bottom anchor

* add make bottom anchor inline-block

* try mark as read on focus receive
2023-10-21 12:44:21 +05:30
Ajay Bura 009d1893b1 fix wrong following member count on message sent (#1464) 2023-10-20 14:09:47 +05:30
Ajay Bura 03af183fb3 fix wrong following member count on message sent (#1464) 2023-10-20 14:09:47 +05:30
Ajay Bura 64fe4c99d0 Add text reaction (#1462) 2023-10-19 22:20:38 +11:00
Ajay Bura 144cf71368 Add text reaction (#1462) 2023-10-19 22:20:38 +11:00
Ajay Bura 5d83be2a9e Change loading session message (#1461) 2023-10-19 21:41:31 +11:00
Ajay Bura 5eafa37cdd Change loading session message (#1461) 2023-10-19 21:41:31 +11:00
Ajay Bura a9be0a6628 remove twemoji & katex usage (#1460) 2023-10-19 17:44:18 +11:00
Ajay Bura 1d86c6da01 remove twemoji & katex usage (#1460) 2023-10-19 17:44:18 +11:00
Ajay Bura f5079300b8 Fix room mention (#1459)
* create room mention with alias if possible

* display room mention text as they were sent
2023-10-19 17:43:54 +11:00
Ajay Bura a2692e1469 Fix room mention (#1459)
* create room mention with alias if possible

* display room mention text as they were sent
2023-10-19 17:43:54 +11:00
Ajay Bura cb7fd4ddd4 fix recursive state updates (#1458) 2023-10-19 17:43:37 +11:00
Ajay Bura ed3d14b131 fix recursive state updates (#1458) 2023-10-19 17:43:37 +11:00
Ajay Bura 192c21c108 Member drawer filter (#1457)
* save member drawer sort filter in local storage

* render member drawer with key

* improve member search
2023-10-19 17:43:16 +11:00
Ajay Bura 50429a3513 Member drawer filter (#1457)
* save member drawer sort filter in local storage

* render member drawer with key

* improve member search
2023-10-19 17:43:16 +11:00
Ajay Bura 498263025e use aria-react for message hover & focus hooks (#1456) 2023-10-19 17:42:35 +11:00
Ajay Bura b4e1ced3ed use aria-react for message hover & focus hooks (#1456) 2023-10-19 17:42:35 +11:00
Ajay Bura 59eb93cfac Fix Boken Image & Sticker (#1455)
* fix image without info rendered as broken

* fix enc msg appear as decrypting after deletion
2023-10-19 17:41:49 +11:00
Ajay Bura b92b281050 Fix Boken Image & Sticker (#1455)
* fix image without info rendered as broken

* fix enc msg appear as decrypting after deletion
2023-10-19 17:41:49 +11:00
Ajay Bura dbc63c51d1 Fix unread bug (#1454)
* remove unread info on mark as read

* fix roomId is not provided to markAsRead

* fix auto mark as read
2023-10-19 17:40:01 +11:00
Ajay Bura c980fddfa1 Fix unread bug (#1454)
* remove unread info on mark as read

* fix roomId is not provided to markAsRead

* fix auto mark as read
2023-10-19 17:40:01 +11:00
Ajay Bura a0585d040a Editor Commands (#1450)
* add commands hook

* add commands in editor

* add command auto complete menu

* add commands in room input

* remove old reply code from room input

* fix video component css

* do not auto focus input on android or ios

* fix crash on enable block after selection

* fix circular deps in editor

* fix autocomplete return focus move editor cursor

* remove unwanted keydown from room input

* fix emoji alignment in editor

* test ipad user agent

* refactor isAndroidOrIOS to mobileOrTablet

* update slate & slate-react

* downgrade slate-react to 0.98.4
0.99.0 has breaking changes with ReactEditor.focus

* add sql to readable ext mimetype

* fix empty editor formatting gets saved as draft

* add option to use enter for newline

* remove empty msg draft from atom family

* prevent msg ctx menu from open on text selection
2023-10-18 07:45:30 +05:30
Ajay Bura 613e6d6503 Editor Commands (#1450)
* add commands hook

* add commands in editor

* add command auto complete menu

* add commands in room input

* remove old reply code from room input

* fix video component css

* do not auto focus input on android or ios

* fix crash on enable block after selection

* fix circular deps in editor

* fix autocomplete return focus move editor cursor

* remove unwanted keydown from room input

* fix emoji alignment in editor

* test ipad user agent

* refactor isAndroidOrIOS to mobileOrTablet

* update slate & slate-react

* downgrade slate-react to 0.98.4
0.99.0 has breaking changes with ReactEditor.focus

* add sql to readable ext mimetype

* fix empty editor formatting gets saved as draft

* add option to use enter for newline

* remove empty msg draft from atom family

* prevent msg ctx menu from open on text selection
2023-10-18 07:45:30 +05:30
Krishan cd4709899a Fix verification notice not to display when CS is not setup (#1451) 2023-10-18 07:45:08 +05:30
Krishan 4d0b6b93bc Fix verification notice not to display when CS is not setup (#1451) 2023-10-18 07:45:08 +05:30
Ajay Bura 46e3cb901a Edit option (#1447)
* add func to parse html to editor input

* add  plain to html input function

* re-construct markdown

* fix missing return

* fix falsy condition

* fix reading href instead of src of emoji

* add message editor - WIP

* fix plain to editor input func

* add save edit message functionality

* show edited event source code

* focus message input on after editing message

* use del tag for strike-through instead of s

* prevent autocomplete from re-opening after esc

* scroll out of view msg editor in view

* handle up arrow edit

* handle scroll to message editor without effect

* revert prev commit: effect run after editor render

* ignore relation event from editable

* allow data-md tag for del and em in sanitize html

* prevent edit without changes

* ignore previous reply when replying to msg

* fix up arrow edit not working sometime
2023-10-14 10:38:43 +05:30
Ajay Bura f5bcc9b851 Edit option (#1447)
* add func to parse html to editor input

* add  plain to html input function

* re-construct markdown

* fix missing return

* fix falsy condition

* fix reading href instead of src of emoji

* add message editor - WIP

* fix plain to editor input func

* add save edit message functionality

* show edited event source code

* focus message input on after editing message

* use del tag for strike-through instead of s

* prevent autocomplete from re-opening after esc

* scroll out of view msg editor in view

* handle up arrow edit

* handle scroll to message editor without effect

* revert prev commit: effect run after editor render

* ignore relation event from editable

* allow data-md tag for del and em in sanitize html

* prevent edit without changes

* ignore previous reply when replying to msg

* fix up arrow edit not working sometime
2023-10-14 10:38:43 +05:30
Ajay Bura b1a89f92bc Render file as readable with ext (#1446) 2023-10-10 11:37:28 +05:30
Ajay Bura 152576e85d Render file as readable with ext (#1446) 2023-10-10 11:37:28 +05:30
Ajay Bura bedac23b47 show missing member in read receipt (#1445) 2023-10-10 11:37:15 +05:30
Ajay Bura 609b132106 show missing member in read receipt (#1445) 2023-10-10 11:37:15 +05:30
Ajay Bura ec5d676911 make file, image viewer wide (#1444) 2023-10-10 11:37:03 +05:30
Ajay Bura d0f2a865bc make file, image viewer wide (#1444) 2023-10-10 11:37:03 +05:30
Ajay Bura 20e11f665a Inline markdown in editor (#1442)
* add inline markdown in editor

* send markdown re-generative data in tags

* enable vscode format on save

* fix match italic and diff order

* prevent formatting in code block

* make code md rule highest

* improve inline markdown parsing

* add comment

* improve code logic
2023-10-09 16:56:54 +05:30
Ajay Bura 5940cf24a0 Inline markdown in editor (#1442)
* add inline markdown in editor

* send markdown re-generative data in tags

* enable vscode format on save

* fix match italic and diff order

* prevent formatting in code block

* make code md rule highest

* improve inline markdown parsing

* add comment

* improve code logic
2023-10-09 16:56:54 +05:30
Ajay Bura e3882f39d7 consider membership change with reason change (#1441) 2023-10-08 11:05:16 +05:30
Ajay Bura 60b5b5d312 consider membership change with reason change (#1441) 2023-10-08 11:05:16 +05:30
Ajay Bura eba69b3f0a Fix-jump-latest-senstivity (#1440)
* fix jump to latest sensitivity

* select mention space as tab
2023-10-08 00:09:43 +11:00
Ajay Bura bffd27ae5b Fix-jump-latest-senstivity (#1440)
* fix jump to latest sensitivity

* select mention space as tab
2023-10-08 00:09:43 +11:00
Ajay Bura b35bb8d830 Fix space mention (#1439)
* open space on space mention click

* fix styles

* fix message options sticks

* revert last changes
2023-10-07 14:51:35 +05:30
Ajay Bura 13573f4b3f Fix space mention (#1439)
* open space on space mention click

* fix styles

* fix message options sticks

* revert last changes
2023-10-07 14:51:35 +05:30
Ajay Bura d0aeb24bad Timeline-refactor-fixes (#1438)
* fix type

* fix missing member from reaction

* stop context menu event propagation in msg modal

* prevent encode blur hash from freezing app

* replace roboto font with inter and fix weight

* add recent emoji when selecting emoji

* fix room latest evt hook

* add option to drop typing status
2023-10-07 18:19:01 +11:00
Ajay Bura 1bdb7f4e3a Timeline-refactor-fixes (#1438)
* fix type

* fix missing member from reaction

* stop context menu event propagation in msg modal

* prevent encode blur hash from freezing app

* replace roboto font with inter and fix weight

* add recent emoji when selecting emoji

* fix room latest evt hook

* add option to drop typing status
2023-10-07 18:19:01 +11:00