Commit Graph

2163 Commits

Author SHA1 Message Date
mjarr b58cd897b1 Remove MSC3244 use from restricted room creation (#892)
* Remove MSC3244 use from restricted room creation

* Fix condition
2022-11-01 20:36:38 +05:30
mjarr 6a907b1542 Remove MSC3244 use from restricted room creation (#892)
* Remove MSC3244 use from restricted room creation

* Fix condition
2022-11-01 20:36:38 +05:30
Ajay Bura 2170f55d3e Release v2.2.2 2022-09-28 20:48:41 +05:30
Ajay Bura 91a6916f4c Release v2.2.2 2022-09-28 20:48:41 +05:30
Krishan db14d2359c Release v2.2.1 2022-09-28 19:26:12 +05:30
Krishan 9185ee0cf9 Release v2.2.1 2022-09-28 19:26:12 +05:30
Ajay Bura 86d45b0edd Fix crash on space leave 2022-09-28 18:17:15 +05:30
Ajay Bura 759f16d5b9 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 d0ddedc2b2 Wrap view source text 2022-09-28 13:54:58 +05:30
ginnyTheCat 6f882a403d Handle nested lists (#853)
* Handle nested lists

* Allow heading to not be followed by an empty line

* Don't parse as inline code if contains newlines

* Use escape rule in plain as well
2022-09-25 19:31:59 +05:30
ginnyTheCat 4291005161 Handle nested lists (#853)
* Handle nested lists

* Allow heading to not be followed by an empty line

* Don't parse as inline code if contains newlines

* Use escape rule in plain as well
2022-09-25 19:31:59 +05:30
Krishan 5df3dc4677 Release v2.2.0 2022-09-17 19:04:13 +05:30
Krishan 80d9a2ca7d Release v2.2.0 2022-09-17 19:04:13 +05:30
ginnyTheCat d2d9147a6f Only escape when editing (#852)
* Only escape when editing

* Base edit change detection on rendered content
2022-09-17 16:55:26 +05:30
ginnyTheCat cbd1bf35c6 Only escape when editing (#852)
* Only escape when editing

* Base edit change detection on rendered content
2022-09-17 16:55:26 +05:30
Ajay Bura d69530ae03 Add clear cache btn in loading screen 2022-09-17 15:48:45 +05:30
Ajay Bura c1be57b205 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
morguldir 4848bef0dd 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 7df38a2cc8 Parsing HTML to Markdown AST (#847)
* Force mentions to have a space after the #

* Use types for rendering

* Parse HTML

* Add code block support

* Add table support

* Allow starting heading without a space

* Escape relevant plaintext areas

* Resolve many crashes

* Use better matrix id regex

* Don't match . after id

* Don't parse mentions as links

* Add emote support

* Only emit HTML link if necessary

* Implement review changes
2022-09-16 21:21:53 +05:30
ginnyTheCat a8f374dd43 Parsing HTML to Markdown AST (#847)
* Force mentions to have a space after the #

* Use types for rendering

* Parse HTML

* Add code block support

* Add table support

* Allow starting heading without a space

* Escape relevant plaintext areas

* Resolve many crashes

* Use better matrix id regex

* Don't match . after id

* Don't parse mentions as links

* Add emote support

* Only emit HTML link if necessary

* Implement review changes
2022-09-16 21:21:53 +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 15c1f6dadf 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 aeba091d7c Delete notifications after messages have been read or deleted (#830)
* Delete read notifications

* Delete notifications for deleted messages

* Correctly remove notification
2022-09-11 18:51:59 +05:30
ginnyTheCat b0174f3acc Delete notifications after messages have been read or deleted (#830)
* Delete read notifications

* Delete notifications for deleted messages

* Correctly remove notification
2022-09-11 18:51:59 +05:30
ginnyTheCat b119a18602 Handle messages with invalid body (#833) 2022-09-11 18:51:05 +05:30
ginnyTheCat a343d9999e Handle messages with invalid body (#833) 2022-09-11 18:51:05 +05:30
ginnyTheCat 9995c911cc Change UI label (#832) 2022-09-11 16:44:39 +05:30
ginnyTheCat 0a2cca6e40 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 bca00f46a9 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 5848c02d50 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 29ddcfa1f9 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 b8a8babc88 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 4a35aa7272 Fix crash in manage device 2022-09-07 13:14:15 +05:30
Ajay Bura 6ba74769bf Fix crash with unknown mime type 2022-09-07 08:40:10 +05:30
Ajay Bura 2ded7d9b1f Fix crash with unknown mime type 2022-09-07 08:40:10 +05:30
Ajay Bura cf52eadf40 Fix unwanted changes 2022-09-06 14:25:13 +05:30
Ajay Bura 19f674cf5f Fix unwanted changes 2022-09-06 14:25:13 +05:30
Ajay Bura bfd0dc5d3a Fix wrong notification count 2022-09-06 14:22:56 +05:30
Ajay Bura 790bf5eac3 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 8583ab19f0 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 6026cf1f4a Remove favicons-webpack-plugin (#811)
* Remove favicons-webpack-plugin

* Copy android/* icons to dist

* Add favicon ico
2022-09-04 19:23:02 +05:30
Ajay Bura e6661d3b0d Remove favicons-webpack-plugin (#811)
* Remove favicons-webpack-plugin

* Copy android/* icons to dist

* Add favicon ico
2022-09-04 19:23:02 +05:30