rainny.git
19 months agoBump actions/upload-artifact from 3.1.2 to 4.3.3 (#1698)
dependabot[bot] [Thu, 25 Apr 2024 12:26:46 +0000 (22:26 +1000)]
Bump actions/upload-artifact from 3.1.2 to 4.3.3 (#1698)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.2...v4.3.3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 months agoBump nginx from 1.25.1-alpine to 1.25.5-alpine (#1700)
dependabot[bot] [Wed, 24 Apr 2024 14:34:04 +0000 (00:34 +1000)]
Bump nginx from 1.25.1-alpine to 1.25.5-alpine (#1700)

Bumps nginx from 1.25.1-alpine to 1.25.5-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 months agoBump actions/checkout from 3.5.3 to 4.1.3 (#1699)
dependabot[bot] [Wed, 24 Apr 2024 14:32:24 +0000 (00:32 +1000)]
Bump actions/checkout from 3.5.3 to 4.1.3 (#1699)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v4.1.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 months agoUpdate node to latest LTS (#1687)
Krishan [Wed, 24 Apr 2024 14:31:01 +0000 (00:31 +1000)]
Update node to latest LTS (#1687)

* Update node to latest LTS

* Update node in Dockerfile

19 months agoFix placement of emoji/sticker buttons (#1693)
Arnaldo Gabriel [Wed, 24 Apr 2024 12:44:32 +0000 (08:44 -0400)]
Fix placement of emoji/sticker buttons (#1693)

19 months agofix negative audio duration info crash react-range (#1701)
Ajay Bura [Wed, 24 Apr 2024 12:42:52 +0000 (18:12 +0530)]
fix negative audio duration info crash react-range (#1701)

20 months agochore(deps): update dependency vite to v5.0.13 [security] (#1680)
renovate[bot] [Mon, 8 Apr 2024 05:18:29 +0000 (15:18 +1000)]
chore(deps): update dependency vite to v5.0.13 [security] (#1680)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
20 months agofix(deps): update dependency katex to v0.16.10 [security] (#1654)
renovate[bot] [Sat, 30 Mar 2024 01:57:56 +0000 (12:57 +1100)]
fix(deps): update dependency katex to v0.16.10 [security] (#1654)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
22 months agofix: login with sso when app using hash router (#1631)
Ajay Bura [Tue, 23 Jan 2024 13:07:22 +0000 (00:07 +1100)]
fix: login with sso when app using hash router (#1631)

* fix login with sso when app using hash router

* disable hash router

22 months agofeat: check IndexedDB support (#1630)
Ajay Bura [Tue, 23 Jan 2024 13:06:55 +0000 (00:06 +1100)]
feat: check IndexedDB support (#1630)

* check indexed db support and display message

* fix typo

22 months agoLoad assets from relative path (#1588)
aceArt-GmbH [Tue, 23 Jan 2024 13:05:50 +0000 (14:05 +0100)]
Load assets from relative path (#1588)

22 months agofeat: URL navigation in auth (#1603)
Ajay Bura [Sun, 21 Jan 2024 12:50:56 +0000 (23:50 +1100)]
feat: URL navigation in auth (#1603)

* bump to react 18 and install react-router-dom

* Upgrade to react 18 root

* update vite

* add cs api's

* convert state/auth to ts

* add client config context

* add auto discovery context

* add spec version context

* add auth flow context

* add background dot pattern css

* add promise utils

* init url based routing

* update auth route server path as effect

* add auth server hook

* always use server from discovery info in context

* login - WIP

* upgrade jotai to v2

* add atom with localStorage util

* add multi account sessions atom

* add default IGNORE res to auto discovery

* add error type in async callback hook

* handle password login error

* fix async callback hook

* allow password login

* Show custom server not allowed error in mxId login

* add sso login component

* add token login

* fix hardcoded m.login.password in login func

* update server input on url change

* Improve sso login labels

* update folds

* fix async callback batching state update in safari

* wrap async callback set state in queueMicrotask

* wip

* wip - register

* arrange auth file structure

* add error codes

* extract filed error component form password login

* add register util function

* handle register flow - WIP

* update unsupported auth flow method reasons

* improve password input styles

* Improve UIA flow next stage calculation
complete stages can have any order so we will look for first stage which is not in completed

* process register UIA flow stages

* Extract register UIA stages component

* improve register error messages

* add focus trap & step count in UIA stages

* add reset password path and path utils

* add path with origin hook

* fix sso redirect url

* rename register token query param to token

* restyle auth screen header

* add reset password component - WIP

* add reset password form

* add netlify rewrites

* fix netlify file indentation

* test netlify redirect

* fix vite to include netlify toml

* add more netlify redirects

* add splat to public and assets path

* fix vite base name

* add option to use hash router in config and remove appVersion

* add splash screen component

* add client config loading and error screen

* fix server picker bug

* fix reset password email input type

* make auth page small screen responsive

* fix typo in reset password screen

23 months agoUp-mx-js-sdk-29 (#1533)
Ajay Bura [Sun, 24 Dec 2023 14:08:17 +0000 (01:08 +1100)]
Up-mx-js-sdk-29 (#1533)

* update matrix-js-sdk

* replace deprecated resolveRoomAlias

2 years agoUpdate default server list (#1571)
Krishan [Sun, 3 Dec 2023 03:58:01 +0000 (14:58 +1100)]
Update default server list (#1571)

Remvoe 0wnz.at from list as it seems to need registeration token which we don't support.

2 years agoMake small images not scale up in image viewer (#1554)
Jan Jurzitza [Tue, 28 Nov 2023 14:52:20 +0000 (15:52 +0100)]
Make small images not scale up in image viewer (#1554)

Instead show them in real resolution

2 years agoRelease v3.2.0 (#1531) v3.2.0
Krishan [Tue, 31 Oct 2023 10:20:49 +0000 (21:20 +1100)]
Release v3.2.0 (#1531)

* Release v3.2.0

* Update cons.js

2 years agofix typo in codeblock markdown output
Ajay Bura [Tue, 31 Oct 2023 03:27:59 +0000 (08:57 +0530)]
fix typo in codeblock markdown output

2 years agoFix blockcode with empty lines not rendered (#1524)
Ajay Bura [Tue, 31 Oct 2023 03:18:30 +0000 (14:18 +1100)]
Fix blockcode with empty lines not rendered (#1524)

2 years agoRender reaction with string only key (#1522)
Ajay Bura [Tue, 31 Oct 2023 03:17:57 +0000 (14:17 +1100)]
Render reaction with string only key (#1522)

2 years agoTimeline Perf Improvement (#1521)
Ajay Bura [Mon, 30 Oct 2023 05:58:47 +0000 (16:58 +1100)]
Timeline Perf Improvement (#1521)

* emojify msg txt find&replace instead of recursion

* move findAndReplace func in its own file

* improve find and replace

* move markdown file to plugins

* make find and replace work without g flag regex

* fix pagination stop on msg arrive

* render blurhash in small size

2 years agoFix grammer in membership event messages (#1520)
Krishan [Mon, 30 Oct 2023 05:58:30 +0000 (16:58 +1100)]
Fix grammer in membership event messages (#1520)

2 years agoAdd URL preview (#1511)
Ajay Bura [Sun, 29 Oct 2023 20:14:58 +0000 (07:14 +1100)]
Add URL preview (#1511)

* URL preview - WIP

* fix url preview regex

* update url match regex

* add url preview components

* add scroll btn url preview holder

* add message body component

* add url preview toggle in settings

* update url regex

* improve url regex

* increase thumbnail size in url preview

* hide url preview in encrypted rooms

* add encrypted room url preview toggle

2 years agoFix regex to ignore html tag in editor output (#1515)
Ajay Bura [Sun, 29 Oct 2023 11:42:05 +0000 (22:42 +1100)]
Fix regex to ignore html tag in editor output (#1515)

2 years agoFix broken emoji with md pattern in shortcode (#1514)
Ajay Bura [Sun, 29 Oct 2023 10:53:44 +0000 (21:53 +1100)]
Fix broken emoji with md pattern in shortcode (#1514)

* fix broken emoji with md pattern in shortcode

* fix html regex when generating editor output

2 years agoRelease v3.1.0 (#1510) v3.1.0
Krishan [Fri, 27 Oct 2023 11:11:08 +0000 (22:11 +1100)]
Release v3.1.0 (#1510)

* Update package.json

* Update cons.js

* Update package-lock.json

2 years agoImprove Editor related bugs and add multiline md (#1507)
Ajay Bura [Fri, 27 Oct 2023 10:27:22 +0000 (21:27 +1100)]
Improve Editor related bugs and add multiline md (#1507)

* remove shift from editor hotkeys

* fix inline markdown not working

* add block md parser - WIP

* emojify and linkify text without react-parser

* no need to sanitize text when emojify

* parse block markdown in editor output - WIP

* add inline parser option in block md parser

* improve codeblock regex

* ignore html tag when parsing inline md in block md

* add list markdown rule in block parser

* re-generate block markdown on edit

* change copy from inline markdown to markdown

* fix trim reply from body regex

* fix jumbo emoji in reply message

* fix broken list regex in block markdown

* enable markdown by defualt

2 years agoFix-timeline-loading (#1506)
Ajay Bura [Thu, 26 Oct 2023 05:21:55 +0000 (16:21 +1100)]
Fix-timeline-loading (#1506)

* fix timeline jump to search item after markAsRead

* improve pagination logic

* add jumbo emoji support in msg rendering

2 years agoFix emoji and other related bugs (#1504)
Ajay Bura [Wed, 25 Oct 2023 22:09:27 +0000 (09:09 +1100)]
Fix emoji and other related bugs (#1504)

* make system-emoji default & twitter emoji optional

* add mozilla twemoji-colr credit

* fix wrong audio duration

* set locales to empty in member count millify

* render system emoji as same size of custom emoji

2 years agoRoom input improvements (#1502)
Ajay Bura [Wed, 25 Oct 2023 05:50:38 +0000 (16:50 +1100)]
Room input improvements (#1502)

* prevent context menu when editing message

* send sticker body (#1479)

* update emojiboard search text reaction input label

* stop generating upload image thumbnail (#1475)

* maintain upload order

* Fix message options spinner variant

* add markdown toggle in editor toolbar

* fix heading toggle icon update with cursor move

* add hotkeys for heading

* change editor markdown btn style

* use Ctrl + Enter to send message (#1470)

* fix reaction tooltip word-break

* add shift in editor hokeys with number

* stop parsing markdown in link

2 years agoFix reply username overflow (#1501)
Ajay Bura [Tue, 24 Oct 2023 11:21:39 +0000 (22:21 +1100)]
Fix reply username overflow (#1501)

* fix reply overflow

* fix shrinkable typing indicator

* fix message avatar hover & cursor

2 years agoBump nwtgck/actions-netlify from 2.0.0 to 2.1.0 (#1402)
dependabot[bot] [Mon, 23 Oct 2023 11:05:38 +0000 (22:05 +1100)]
Bump nwtgck/actions-netlify from 2.0.0 to 2.1.0 (#1402)

Bumps [nwtgck/actions-netlify](https://github.com/nwtgck/actions-netlify) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/nwtgck/actions-netlify/releases)
- [Changelog](https://github.com/nwtgck/actions-netlify/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/nwtgck/actions-netlify/compare/5da65c9f74c7961c5501a3ba329b8d0912f39c03...7a92f00dde8c92a5a9e8385ec2919775f7647352)

---
updated-dependencies:
- dependency-name: nwtgck/actions-netlify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump actions/setup-node from 3.6.0 to 3.8.1 (#1401)
dependabot[bot] [Mon, 23 Oct 2023 11:03:00 +0000 (22:03 +1100)]
Bump actions/setup-node from 3.6.0 to 3.8.1 (#1401)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.6.0...v3.8.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump thollander/actions-comment-pull-request from 2.4.0 to 2.4.3 (#1480)
dependabot[bot] [Mon, 23 Oct 2023 10:49:38 +0000 (21:49 +1100)]
Bump thollander/actions-comment-pull-request from 2.4.0 to 2.4.3 (#1480)

Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 2.4.0 to 2.4.3.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases)
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/dadb7667129e23f12ca3925c90dc5cd7121ab57e...1d3973dc4b8e1399c0620d3f2b1aa5e795465308)

---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agofix thread fallback (#1478)
Ajay Bura [Mon, 23 Oct 2023 10:43:07 +0000 (21:43 +1100)]
fix thread fallback (#1478)

2 years agoFix edit related bugs (#1477)
Ajay Bura [Mon, 23 Oct 2023 10:42:27 +0000 (21:42 +1100)]
Fix edit related bugs (#1477)

* fix missing empty line on edit

* fix edit save after adding formatting to plaintext

* fix reading edit content with wrong key

2 years agoRelease v3.0.0 (#1463) v3.0.0
Krishan [Sat, 21 Oct 2023 10:37:30 +0000 (21:37 +1100)]
Release v3.0.0 (#1463)

* Release v3.0.0

* Update package-lock.json

* Update cons.js

2 years agoUpdate default server list in config.json (#1467)
Krishan [Sat, 21 Oct 2023 10:36:13 +0000 (21:36 +1100)]
Update default server list in config.json (#1467)

* Remove halogen.city

* Update config.json

* Update config.json

2 years agofix backward delete with previous empty line (#1469)
Ajay Bura [Sat, 21 Oct 2023 10:16:36 +0000 (21:16 +1100)]
fix backward delete with previous empty line (#1469)

2 years agoFix hotkeys (#1468)
Ajay Bura [Sat, 21 Oct 2023 07:14:33 +0000 (18:14 +1100)]
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

2 years agoFix auto read (#1466)
Ajay Bura [Sat, 21 Oct 2023 07:14:21 +0000 (18:14 +1100)]
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

2 years agofix wrong following member count on message sent (#1464)
Ajay Bura [Fri, 20 Oct 2023 08:39:47 +0000 (19:39 +1100)]
fix wrong following member count on message sent (#1464)

2 years agoAdd text reaction (#1462)
Ajay Bura [Thu, 19 Oct 2023 11:20:38 +0000 (22:20 +1100)]
Add text reaction (#1462)

2 years agoChange loading session message (#1461)
Ajay Bura [Thu, 19 Oct 2023 10:41:31 +0000 (21:41 +1100)]
Change loading session message (#1461)

2 years agoremove twemoji & katex usage (#1460)
Ajay Bura [Thu, 19 Oct 2023 06:44:18 +0000 (17:44 +1100)]
remove twemoji & katex usage (#1460)

2 years agoFix room mention (#1459)
Ajay Bura [Thu, 19 Oct 2023 06:43:54 +0000 (17:43 +1100)]
Fix room mention (#1459)

* create room mention with alias if possible

* display room mention text as they were sent

2 years agofix recursive state updates (#1458)
Ajay Bura [Thu, 19 Oct 2023 06:43:37 +0000 (17:43 +1100)]
fix recursive state updates (#1458)

2 years agoMember drawer filter (#1457)
Ajay Bura [Thu, 19 Oct 2023 06:43:16 +0000 (17:43 +1100)]
Member drawer filter (#1457)

* save member drawer sort filter in local storage

* render member drawer with key

* improve member search

2 years agouse aria-react for message hover & focus hooks (#1456)
Ajay Bura [Thu, 19 Oct 2023 06:42:35 +0000 (17:42 +1100)]
use aria-react for message hover & focus hooks (#1456)

2 years agoFix Boken Image & Sticker (#1455)
Ajay Bura [Thu, 19 Oct 2023 06:41:49 +0000 (17:41 +1100)]
Fix Boken Image & Sticker (#1455)

* fix image without info rendered as broken

* fix enc msg appear as decrypting after deletion

2 years agoFix unread bug (#1454)
Ajay Bura [Thu, 19 Oct 2023 06:40:01 +0000 (17:40 +1100)]
Fix unread bug (#1454)

* remove unread info on mark as read

* fix roomId is not provided to markAsRead

* fix auto mark as read

2 years agoEditor Commands (#1450)
Ajay Bura [Wed, 18 Oct 2023 02:15:30 +0000 (13:15 +1100)]
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

2 years agoFix verification notice not to display when CS is not setup (#1451)
Krishan [Wed, 18 Oct 2023 02:15:08 +0000 (13:15 +1100)]
Fix verification notice not to display when CS is not setup (#1451)

2 years agoEdit option (#1447)
Ajay Bura [Sat, 14 Oct 2023 05:08:43 +0000 (16:08 +1100)]
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

2 years agoRender file as readable with ext (#1446)
Ajay Bura [Tue, 10 Oct 2023 06:07:28 +0000 (17:07 +1100)]
Render file as readable with ext (#1446)

2 years agoshow missing member in read receipt (#1445)
Ajay Bura [Tue, 10 Oct 2023 06:07:15 +0000 (17:07 +1100)]
show missing member in read receipt (#1445)

2 years agomake file, image viewer wide (#1444)
Ajay Bura [Tue, 10 Oct 2023 06:07:03 +0000 (17:07 +1100)]
make file, image viewer wide (#1444)

2 years agoInline markdown in editor (#1442)
Ajay Bura [Mon, 9 Oct 2023 11:26:54 +0000 (22:26 +1100)]
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

2 years agoconsider membership change with reason change (#1441)
Ajay Bura [Sun, 8 Oct 2023 05:35:16 +0000 (16:35 +1100)]
consider membership change with reason change (#1441)

2 years agoFix-jump-latest-senstivity (#1440)
Ajay Bura [Sat, 7 Oct 2023 13:09:43 +0000 (00:09 +1100)]
Fix-jump-latest-senstivity (#1440)

* fix jump to latest sensitivity

* select mention space as tab

2 years agoFix space mention (#1439)
Ajay Bura [Sat, 7 Oct 2023 09:21:35 +0000 (20:21 +1100)]
Fix space mention (#1439)

* open space on space mention click

* fix styles

* fix message options sticks

* revert last changes

2 years agoTimeline-refactor-fixes (#1438)
Ajay Bura [Sat, 7 Oct 2023 07:19:01 +0000 (18:19 +1100)]
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

2 years agoPrompt to send command as message (#1435)
Cadence Ember [Fri, 6 Oct 2023 02:48:48 +0000 (15:48 +1300)]
Prompt to send command as message (#1435)

2 years agoRefactor timeline (#1346)
Ajay Bura [Fri, 6 Oct 2023 02:44:06 +0000 (13:44 +1100)]
Refactor timeline (#1346)

* fix intersection & resize observer

* add binary search util

* add scroll info util

* add virtual paginator hook - WIP

* render timeline using paginator hook

* add continuous pagination to fill timeline

* add doc comments in virtual paginator hook

* add scroll to element func in virtual paginator

* extract timeline pagination login into hook

* add sliding name for timeline messages - testing

* scroll with live event

* change message rending style

* make message timestamp smaller

* remove unused imports

* add random number between util

* add compact message component

* add sanitize html types

* fix sending alias in room mention

* get room member display name util

* add get room with canonical alias util

* add sanitize html util

* render custom html with new styles

* fix linkifying link text

* add reaction component

* display message reactions in timeline

* Change mention color

* show edited message

* add event sent by function factory

* add functions to get emoji shortcode

* add component for reaction msg

* add tooltip for who has reacted

* add message layouts & placeholder

* fix reaction size

* fix dark theme colors

* add code highlight with prismjs

* add options to configure spacing in msgs

* render message reply

* fix trim reply from body regex

* fix crash when loading reply

* fix reply hover style

* decrypt event on timeline paginate

* update custom html code style

* remove console logs

* fix virtual paginator scroll to func

* fix virtual paginator scroll to types

* add stop scroll for in view item options

* fix virtual paginator out of range scroll to index

* scroll to and highlight reply on click

* fix reply hover style

* make message avatar clickable

* fix scrollTo issue in virtual paginator

* load reply from fetch

* import virtual paginator restore scroll

* load timeline for specific event

* Fix back pagination recalibration

* fix reply min height

* revert code block colors to secondary

* stop sanitizing text in code block

* add decrypt file util

* add image media component

* update folds

* fix code block font style

* add msg event type

* add scale dimension util

* strict msg layout type

* add image renderer component

* add message content fallback components

* add message matrix event renderer components

* render matrix event using hooks

* add attachment component

* add attachment content types

* handle error when rendering image in timeline

* add video component

* render video

* include blurhash in thumbnails

* generate thumbnails for image message

* fix reactToDom spoiler opts

* add hooks for HTMLMediaElement

* render audio file in timeline

* add msg image content component

* fix image content props

* add video content component

* render new image/video component in timeline

* remove console.log

* convert seconds to milliseconds in video info

* add load thumbnail prop to video content component

* add file saver types

* add file header component

* add file content component

* render file in timeline

* add media control component

* render audio message in room timeline

* remove moved components

* safely load message reply

* add media loading hook

* update media control layout

* add loading indication in audio component

* fill audio play icon when playing audio

* fix media expanding

* add image viewer - WIP

* add pan and zoom control to image viewer

* add text based file viewer

* add pdf viewer

* add error handling in pdf viewer

* add download btn to pdf viewer

* fix file button spinner fill

* fix file opens on re-render

* add range slider in audio content player

* render location in timeline

* update folds

* display membership event in timeline

* make reactions toggle

* render sticker messages in timeline

* render room name, topic, avatar change and event

* fix typos

* update render state event type style

* add  room intro in start of timeline

* add power levels context

* fix wrong param passing in RoomView

* fix sending typing notification in wrong room

Slate onChange callback was not updating with react re-renders.

* send typing status on key up

* add typing indicator component

* add typing member atom

* display typing status in member drawer

* add room view typing member component

* display typing members in room view

* remove old roomTimeline uses

* add event readers hook

* add latest event hook

* display following members in room view

* fetch event instead of event context for reply

* fix typo in virtual paginator hook

* add scroll to latest btn in timeline

* change scroll to latest chip variant

* destructure paginator object to improve perf

* restore forward dir scroll in virtual paginator

* run scroll to bottom in layout effect

* display unread message indicator in timeline

* make component for room timeline float

* add timeline divider component

* add day divider and format message time

* apply message spacing to dividers

* format date in room intro

* send read receipt on message arrive

* add event readers component

* add reply, read receipt, source delete opt

* bug fixes

* update timeline on delete & show reason

* fix empty reaction container style

* show msg selection effect on msg option open

* add report message options

* add options to send quick reactions

* add emoji board in message options

* add reaction viewer

* fix styles

* show view reaction in msg options menu

* fix spacing between two msg by same person

* add option menu in other rendered event

* handle m.room.encrypted messages

* fix italic reply text overflow cut

* handle encrypted sticker messages

* remove console log

* prevent message context menu with alt key pressed

* make mentions clickable in messages

* add options to show and hidden events in timeline

* add option to disable media autoload

* remove old emojiboard opener

* add options to use system emoji

* refresh timeline on reset

* fix stuck typing member in member drawer

2 years agoFix notifications not displaying when document is not focused (#1425)
Alliegaytor [Sun, 24 Sep 2023 04:31:02 +0000 (14:31 +1000)]
Fix notifications not displaying when document is not focused (#1425)

Allows notifications from the active room while app is not focused (e.g. tabbed out)

2 years agoFix permission detection for updating emojis (#1125)
Emi [Fri, 1 Sep 2023 04:49:34 +0000 (00:49 -0400)]
Fix permission detection for updating emojis (#1125)

2 years agoPrevent `manifest.json` from being inlined (#1359)
greentore [Thu, 3 Aug 2023 04:23:28 +0000 (06:23 +0200)]
Prevent `manifest.json` from being inlined (#1359)

* Disable asset inlining

* Prevent `manifest.json` from being inlined

* Update backtick to single quote in vite.config.js

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2 years agoFix Profile Viewer text (#1357)
ts [Thu, 27 Jul 2023 03:55:10 +0000 (20:55 -0700)]
Fix Profile Viewer text (#1357)

If you only had a single session open, the Profile Viewer would've said "View 1 sessions" instead of "View 1 session."

2 years agoPassive private receipt support (#1108)
greentore [Mon, 24 Jul 2023 04:40:43 +0000 (06:40 +0200)]
Passive private receipt support (#1108)

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2 years agoFix editor custom html output (#1348)
Ajay Bura [Sun, 23 Jul 2023 08:12:09 +0000 (18:12 +1000)]
Fix editor custom html output (#1348)

* replace paragraph with line breaks

* stop sending plain msg as custom html

* removes console log

* fix false negative for sanitized customHtml

* fix customHtmlEqualsPlainText doc

2 years agoUse sticker body for searching (#1347)
greentore [Sun, 23 Jul 2023 08:11:36 +0000 (10:11 +0200)]
Use sticker body for searching (#1347)

2 years agofix msg event permission check (#1315)
Ajay Bura [Wed, 28 Jun 2023 11:57:28 +0000 (17:27 +0530)]
fix msg event permission check (#1315)

2 years agoUpdate member drawer icons (#1312)
Ajay Bura [Sun, 25 Jun 2023 03:10:48 +0000 (08:40 +0530)]
Update member drawer icons (#1312)

* update folds

* update member drawer icons

2 years agoFix member panel filter layout (#1307)
Ajay Bura [Thu, 22 Jun 2023 23:46:04 +0000 (09:46 +1000)]
Fix member panel filter layout (#1307)

* fix member panel filter layout

* make member role text lowercase

2 years agoImprove Members Right Panel (#1286)
Ajay Bura [Wed, 21 Jun 2023 23:14:50 +0000 (09:14 +1000)]
Improve Members Right Panel (#1286)

* fix room members hook

* fix resize observer hook

* add intersection observer hook

* install react-virtual lib

* improve right panel - WIP

* add filters for members

* fix bug in async search

* categories members and add search

* show spinner on room member fetch

* make invite member btn clickable

* so no member text

* add line between room view and member drawer

* fix imports

* add screen size hook

* fix set setting hook

* make member drawer responsive

* extract power level tags hook

* fix room members hook

* fix use async search api

* produce search result on filter change

2 years agoUpdate project link (#1302)
Krishan [Wed, 21 Jun 2023 12:26:27 +0000 (22:26 +1000)]
Update project link (#1302)

2 years agofix global pack showing all room packs (#1303)
Ajay Bura [Wed, 21 Jun 2023 10:59:02 +0000 (20:59 +1000)]
fix global pack showing all room packs (#1303)

2 years agoImprove verification instructions (#1301)
ZeroAurora [Wed, 21 Jun 2023 00:00:43 +0000 (08:00 +0800)]
Improve verification instructions (#1301)

2 years agoBump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#1293)
dependabot[bot] [Mon, 19 Jun 2023 23:10:12 +0000 (09:10 +1000)]
Bump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#1293)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump cla-assistant/github-action from 2.2.1 to 2.3.0 (#1294)
dependabot[bot] [Mon, 19 Jun 2023 23:09:25 +0000 (09:09 +1000)]
Bump cla-assistant/github-action from 2.2.1 to 2.3.0 (#1294)

Bumps [cla-assistant/github-action](https://github.com/cla-assistant/github-action) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/cla-assistant/github-action/releases)
- [Commits](https://github.com/cla-assistant/github-action/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: cla-assistant/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/metadata-action from 4.5.0 to 4.6.0 (#1292)
dependabot[bot] [Mon, 19 Jun 2023 23:09:06 +0000 (09:09 +1000)]
Bump docker/metadata-action from 4.5.0 to 4.6.0 (#1292)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/build-push-action from 4.1.0 to 4.1.1 (#1290)
dependabot[bot] [Mon, 19 Jun 2023 23:08:37 +0000 (09:08 +1000)]
Bump docker/build-push-action from 4.1.0 to 4.1.1 (#1290)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#1295)
dependabot[bot] [Mon, 19 Jun 2023 23:08:08 +0000 (09:08 +1000)]
Bump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#1295)

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/login-action from 2.1.0 to 2.2.0 (#1289)
dependabot[bot] [Mon, 19 Jun 2023 23:07:34 +0000 (09:07 +1000)]
Bump docker/login-action from 2.1.0 to 2.2.0 (#1289)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump nginx from 1.25.0-alpine to 1.25.1-alpine (#1288)
dependabot[bot] [Mon, 19 Jun 2023 23:07:04 +0000 (09:07 +1000)]
Bump nginx from 1.25.0-alpine to 1.25.1-alpine (#1288)

Bumps nginx from 1.25.0-alpine to 1.25.1-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoAdd editor history (#1284)
Ajay Bura [Fri, 16 Jun 2023 01:11:03 +0000 (11:11 +1000)]
Add editor history (#1284)

* add slate editor history

* reset mark on editor reset

2 years agoAdd ESC btn to toolbar to quickly exit formatting (#1283)
Ajay Bura [Fri, 16 Jun 2023 01:09:09 +0000 (11:09 +1000)]
Add ESC btn to toolbar to quickly exit formatting (#1283)

* Add ESC btn to toolbar to quickly exit formatting

* add horizontal scroll to toolbar item

* make editor toolbar usable in touch device

* fix editor hotkeys not working in window

* remove unused import

2 years agoFix editor bugs (#1281)
Ajay Bura [Tue, 13 Jun 2023 17:47:18 +0000 (03:47 +1000)]
Fix editor bugs (#1281)

* focus editor on reply click

* fix emoji and sticker img object-fit

* fix cursor not moving with autocomplete

* stop sanitizing sending plain text body

* improve autocomplete query parsing

* add escape to turn off active editor toolbar item

2 years agoBump docker/build-push-action from 3.2.0 to 4.1.0 (#1275)
dependabot[bot] [Mon, 12 Jun 2023 23:29:18 +0000 (09:29 +1000)]
Bump docker/build-push-action from 3.2.0 to 4.1.0 (#1275)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.2.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/setup-buildx-action from 2.2.1 to 2.6.0 (#1274)
dependabot[bot] [Mon, 12 Jun 2023 23:28:39 +0000 (09:28 +1000)]
Bump docker/setup-buildx-action from 2.2.1 to 2.6.0 (#1274)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.2.1 to 2.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.2.1...v2.6.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump thollander/actions-comment-pull-request from 2.3.1 to 2.4.0 (#1272)
dependabot[bot] [Mon, 12 Jun 2023 23:28:07 +0000 (09:28 +1000)]
Bump thollander/actions-comment-pull-request from 2.3.1 to 2.4.0 (#1272)

Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases)
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/632cf9ce90574d125be56b5f3405cda41a84e2fd...dadb7667129e23f12ca3925c90dc5cd7121ab57e)

---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump docker/metadata-action from 4.1.1 to 4.5.0 (#1271)
dependabot[bot] [Mon, 12 Jun 2023 23:26:54 +0000 (09:26 +1000)]
Bump docker/metadata-action from 4.1.1 to 4.5.0 (#1271)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.1.1 to 4.5.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.1.1...v4.5.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump nginx from 1.23.3-alpine to 1.25.0-alpine (#1254)
dependabot[bot] [Mon, 12 Jun 2023 23:25:20 +0000 (09:25 +1000)]
Bump nginx from 1.23.3-alpine to 1.25.0-alpine (#1254)

Bumps nginx from 1.23.3-alpine to 1.25.0-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agofix(deps): update dependency matrix-js-sdk to v24.1.0 [security] (#1251)
renovate[bot] [Mon, 12 Jun 2023 23:24:17 +0000 (09:24 +1000)]
fix(deps): update dependency matrix-js-sdk to v24.1.0 [security] (#1251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agoBump actions/checkout from 3.2.0 to 3.5.3 (#1276)
dependabot[bot] [Mon, 12 Jun 2023 23:21:07 +0000 (09:21 +1000)]
Bump actions/checkout from 3.2.0 to 3.5.3 (#1276)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump dawidd6/action-download-artifact from 2.24.2 to 2.27.0 (#1202)
dependabot[bot] [Mon, 12 Jun 2023 11:38:53 +0000 (21:38 +1000)]
Bump dawidd6/action-download-artifact from 2.24.2 to 2.27.0 (#1202)

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.24.2 to 2.27.0.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/e6e25ac3a2b93187502a8be1ef9e9603afc34925...246dbf436b23d7c49e21a7ab8204ca9ecd1fe615)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump thollander/actions-comment-pull-request from 2.0.0 to 2.3.1 (#1081)
dependabot[bot] [Mon, 12 Jun 2023 11:36:13 +0000 (21:36 +1000)]
Bump thollander/actions-comment-pull-request from 2.0.0 to 2.3.1 (#1081)

Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 2.0.0 to 2.3.1.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases)
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/c22fb302208b7b170d252a61a505d2ea27245eff...632cf9ce90574d125be56b5f3405cda41a84e2fd)

---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump actions/setup-node from 3.5.1 to 3.6.0 (#1057)
dependabot[bot] [Mon, 12 Jun 2023 11:34:23 +0000 (21:34 +1000)]
Bump actions/setup-node from 3.5.1 to 3.6.0 (#1057)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.5.1...v3.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump actions/upload-artifact from 3.1.1 to 3.1.2 (#1055)
dependabot[bot] [Mon, 12 Jun 2023 11:32:10 +0000 (21:32 +1000)]
Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#1055)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump vite from 4.0.1 to 4.3.9 (#1256)
dependabot[bot] [Mon, 12 Jun 2023 11:29:33 +0000 (21:29 +1000)]
Bump vite from 4.0.1 to 4.3.9 (#1256)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.1 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoRefactor state & Custom editor (#1190)
Ajay Bura [Mon, 12 Jun 2023 11:15:23 +0000 (21:15 +1000)]
Refactor state & Custom editor (#1190)

* Fix eslint

* Enable ts strict mode

* install folds, jotai & immer

* Enable immer map/set

* change cross-signing alert anim to 30 iteration

* Add function to access matrix client

* Add new types

* Add disposable util

* Add room utils

* Add mDirect list atom

* Add invite list atom

* add room list atom

* add utils for jotai atoms

* Add room id to parents atom

* Add mute list atom

* Add room to unread atom

* Use hook to bind atoms with sdk

* Add settings atom

* Add settings hook

* Extract set settings hook

* Add Sidebar components

* WIP

* Add bind atoms hook

* Fix init muted room list atom

* add navigation atoms

* Add custom editor

* Fix hotkeys

* Update folds

* Add editor output function

* Add matrix client context

* Add tooltip to editor toolbar items

* WIP - Add editor to room input

* Refocus editor on toolbar item click

* Add Mentions - WIP

* update folds

* update mention focus outline

* rename emoji element type

* Add auto complete menu

* add autocomplete query functions

* add index file for editor

* fix bug in getPrevWord function

* Show room mention autocomplete

* Add async search function

* add use async search hook

* use async search in room mention autocomplete

* remove folds prefer font for now

* allow number array in async search

* reset search with empty query

* Autocomplete unknown room mention

* Autocomplete first room mention on tab

* fix roomAliasFromQueryText

* change mention color to primary

* add isAlive hook

* add getMxIdLocalPart to mx utils

* fix getRoomAvatarUrl size

* fix types

* add room members hook

* fix bug in room mention

* add user mention autocomplete

* Fix async search giving prev result after no match

* update folds

* add twemoji font

* add use state provider hook

* add prevent scroll with arrow key util

* add ts to custom-emoji and emoji files

* add types

* add hook for emoji group labels

* add hook for emoji group icons

* add emoji board with basic emoji

* add emojiboard in room input

* select multiple emoji with shift press

* display custom emoji in emojiboard

* Add emoji preview

* focus element on hover

* update folds

* position emojiboard properly

* convert recent-emoji.js to ts

* add use recent emoji hook

* add io.element.recent_emoji to account data evt

* Render recent emoji in emoji board

* show custom emoji from parent spaces

* show room emoji

* improve emoji sidebar

* update folds

* fix pack avatar and name fallback in emoji board

* add stickers to emoji board

* fix bug in emoji preview

* Add sticker icon in room input

* add debounce hook

* add search in emoji board

* Optimize emoji board

* fix emoji board sidebar divider

* sync emojiboard sidebar with scroll & update ui

* Add use throttle hook

* support custom emoji in editor

* remove duplicate emoji selection function

* fix emoji and mention spacing

* add emoticon autocomplete in editor

* fix string

* makes emoji size relative to font size in editor

* add option to render link element

* add spoiler in editor

* fix sticker in emoji board search using wrong type

* render custom placeholder

* update hotkey for block quote and block code

* add terminate search function in async search

* add getImageInfo to matrix utils

* send stickers

* add resize observer hook

* move emoji board component hooks in hooks dir

* prevent editor expand hides room timeline

* send typing notifications

* improve emoji style and performance

* fix imports

* add on paste param to editor

* add selectFile utils

* add file picker hook

* add file paste handler hook

* add file drop handler

* update folds

* Add file upload card

* add bytes to size util

* add blurHash util

* add await to js lib

* add browser-encrypt-attachment types

* add list atom

* convert mimetype file to ts

* add matrix types

* add matrix file util

* add file related dom utils

* add common utils

* add upload atom

* add room input draft atom

* add upload card renderer component

* add upload board component

* add support for file upload in editor

* send files with message / enter

* fix circular deps

* store editor toolbar state in local store

* move msg content util to separate file

* store msg draft on room switch

* fix following member not updating on msg sent

* add theme for folds component

* fix system default theme

* Add reply support in editor

* prevent initMatrix to init multiple time

* add state event hooks

* add async callback hook

* Show tombstone info for tombstone room

* fix room tombstone component border

* add power level hook

* Add room input placeholder component

* Show input placeholder for muted member