Commit Graph

329 Commits

Author SHA1 Message Date
Ajay Bura 86d45b0edd Fix crash on space leave 2022-09-28 18:17:15 +05:30
Ajay Bura 2ada86adfc Wrap view source text 2022-09-28 13:54:58 +05:30
Ajay Bura d69530ae03 Add clear cache btn in loading screen 2022-09-17 15:48:45 +05:30
morguldir 271de29aa5 Add Clear cache and reload button (#793)
Inspired by: https://github.com/matrix-org/matrix-react-sdk/blob/3c5c2bef6dbac51ce6e1864056523815ca4c38d9/src/components/views/elements/ErrorBoundary.tsx#L61-L68

Signed-off-by: morguldir <morguldir@protonmail.com>

Signed-off-by: morguldir <morguldir@protonmail.com>
2022-09-17 13:21:22 +05:30
ginnyTheCat 28b99c58f2 Allow rendering messages as plaintext (#805)
* Parse room input from user id and emoji

* Add more plain outputs

* Add reply support

* Always include formatted reply

* Add room mention parser

* Allow single linebreak after codeblock

* Remove margin from math display blocks

* Escape shrug

* Rewrite HTML tag function

* Normalize def keys

* Fix embedding replies into replies

* Don't add margin to file name

* Collapse spaces in HTML message body

* Don't crash with no plaintext rendering

* Add blockquote support

* Remove ref support

* Fix image html rendering

* Remove debug output

* Remove duplicate default option value

* Add table plain rendering support

* Correctly handle paragraph padding when mixed with block content

* Simplify links if possible

* Make blockquote plain rendering better

* Don't error when emojis are matching but not found

* Allow plain only messages with newlines

* Set user id as user mention fallback

* Fix mixed up variable name

* Replace replaceAll with replace
2022-09-14 14:30:06 +05:30
ginnyTheCat 9995c911cc Change UI label (#832) 2022-09-11 16:44:39 +05:30
Ajay Bura e85a70822d Add plain text command 2022-09-11 12:18:32 +05:30
Ajay Bura feabcc0480 Remove markdown icon from input 2022-09-11 09:19:22 +05:30
Ajay Bura db0423e265 Update command strings 2022-09-11 08:27:59 +05:30
Ajay Bura 2f2a549bf4 Fix emojiboard icon background 2022-09-07 13:24:26 +05:30
Ajay Bura 67a4d77f13 Fix crash in manage device 2022-09-07 13:14:15 +05:30
Ajay Bura bfd0dc5d3a Fix wrong notification count 2022-09-06 14:22:56 +05:30
Ajay Bura 13fac8a7e8 Manage ignored users (#814)
* Add options to display/ignore usersId's

* Update string

* Hide search icon in encrypted rooms (#763)

* Fix styles
2022-09-05 08:30:45 +05:30
Ajay Bura 9bc861ecc5 Notification settings (#807)
* Add account data hook

* Add options to change global notification

* Add options to add keywords

* Fix wrong notification count

* Show unread badge in favicon (#251)

* Fix favicon badge

* Fix bug

* Fix favicon not updating

* Add favicon svg's

* remove dead code
2022-09-04 13:10:07 +05:30
Ajay Bura 5012d7b5a8 Fix commands (#791)
* Fix commands and added more

* Add /me & /shrug commands

* Add help command

* Fix cmd descriptions

* Add reason in command
2022-09-03 21:46:40 +05:30
jameskitt616 38f923fc24 Implement cancel replyto on escape key press (#777) 2022-08-27 08:21:41 +05:30
Ajay Bura 4d08b1d5f2 Edit last message with up arrow key (#774) 2022-08-21 19:41:48 +05:30
Ajay Bura e18984869f Fix room not selecting with bad emoji data (#772) 2022-08-20 21:07:20 +05:30
Ajay Bura ac6631e4b3 Update sidebar on room/space switch (#768)
* Select last room on space/tab change (#353)

* Update sidbar on room select from search (#374)

* Select last room on space/tab change (#353)

* Update sidbar on room select from search (#374)

* Fix wrong space gets selected with some rooms

* Fix auto select room in categorized space

* Fix room remain selected on leave

* Fix leaved room appear in category & search

* Remove globally exposed vars

* Hide pin spaces from home

* Fix selecting dm always open dm tab

* Order category by AtoZ (#769)

Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
2022-08-20 20:51:37 +05:30
Ajay Bura ffc2742e49 Fix minor css bugs 2022-08-19 13:57:24 +05:30
Andrew Morgan eb65bdcfb9 Fix grammar of read receipt text (#744)
'other' should be plural in this context.
2022-08-12 16:03:56 +05:30
Ajay Bura f2833ea929 Fix emoji board style 2022-08-11 16:31:02 +05:30
Ajay Bura 92de05f1d7 Add navigation bar to sticker board 2022-08-11 16:13:53 +05:30
anyone00 73fac10d14 Support RTL text in the input fields (#720)
* Support RTL text in the room input field

set the correct direction for text according to the language written in

* Make all input RTLable

Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
2022-08-07 14:41:56 +05:30
Ajay Bura 12e3a3625c Reset read receipt on sending sticker 2022-08-06 12:50:23 +05:30
ginnyTheCat 3d40e05948 Show full timestamp on hover (#714)
* Show full timestamp on hover

* Not always display time

* Always show full timestamp in search
2022-08-06 09:35:56 +05:30
Ajay Bura f89bc00072 Custom emoji & Sticker support (#686)
* Remove comments

* Show custom emoji first in suggestions

* Show global image packs in emoji picker

* Display emoji and sticker in room settings

* Fix some pack not visible in emojiboard

* WIP

* Add/delete/rename images to exisitng packs

* Change pack avatar, name & attribution

* Add checkbox to make pack global

* Bug fix

* Create or delete pack

* Add personal emoji in settings

* Show global pack selector in settings

* Show space emoji in emojiboard

* Send custom emoji reaction as mxc

* Render stickers as stickers

* Fix sticker jump bug

* Fix reaction width

* Fix stretched custom emoji

* Fix sending space emoji in message

* Remove unnessesary comments

* Send user pills

* Fix pill generating regex

* Add support for sending stickers
2022-08-06 09:04:23 +05:30
ginnyTheCat 24e05bd77a Fix shortcuts on non QWERTY keyboards (#715)
* Use key instead of keyCode or code

* Use key for Escape
2022-08-05 19:12:25 +05:30
Ajay Bura 65ef66f1d9 Follow system theme by default 2022-07-09 18:08:35 +05:30
Krishan a56e0ce84a Don't enable e2ee from profileViewer for bridge users (#666) 2022-07-08 20:24:35 +05:30
ginnyTheCat fdd0423b1b Add emoji name fallback (#658) 2022-06-29 18:19:43 +05:30
Ajay Bura 73b6f3d63b Don't show verify button if CS is not enable 2022-05-29 09:47:30 +05:30
Ajay Bura 1c67bb7402 Fix emoji autocomplete in some cases (#565) 2022-05-29 09:36:46 +05:30
Ajay Bura 19aec41ef5 Fix join with alias (#533) 2022-05-11 20:56:49 +05:30
Ajay Bura 0cf96617c8 Fix emoji verificaition not working with some client 2022-05-08 12:26:31 +05:30
Ajay Bura 6bbb83b072 Fixed cinny verified device failed to verify other 2022-05-08 11:55:41 +05:30
Ajay Bura cb1a912403 Fix own cross siging trust before verification without key #514 2022-05-07 09:50:29 +05:30
Ajay Bura b67cba8ecd Fix space path visible in DM's 2022-05-05 19:58:16 +05:30
Ajay Bura 93209ab549 Fix public room showing leaved room as joined 2022-05-04 14:54:43 +05:30
Ajay Bura 7a1af5abf1 Merge branch 'dev' of https://github.com/ajbura/cinny into dev 2022-05-04 14:22:20 +05:30
Ajay Bura 14c3c6d20d Fix bugs in dm tab 2022-05-04 14:22:16 +05:30
Rubin Elezi 6cc22876fd Don't enable e2ee for bridged platform (#476)
* Don't enable e2ee for bridged platform

* remove comments

* Change function name

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-05-04 10:58:30 +05:30
Ajay Bura 17e8e6354a Add join with address option (#420, #447) 2022-05-03 16:01:50 +05:30
Ajay Bura 4ae601e27b Fixes #430, #434, #455 2022-05-03 14:05:56 +05:30
Ajay Bura 6d965fdc6d Bug fixes in emoji verificaiton 2022-05-03 12:52:26 +05:30
Ajay Bura 75fca57424 Fix #514 2022-05-01 20:56:30 +05:30
Ajay Bura df4cad035e Show error on wrong security key 2022-05-01 17:40:47 +05:30
Ajay Bura 815421d9bf Fix key backup not working without phrase 2022-05-01 17:32:29 +05:30
Ajay Bura 859f5d512c Session verification by emojis (#513)
* Add option to verify with security key/phrase

* Manually merge #311 by @ginnyTheCat
2022-05-01 13:22:55 +05:30
Ajay Bura 3a5368f9cc Replace confirm and prompt with custom dialogs (#500) 2022-04-25 20:21:21 +05:30