Commit graph

596 commits

Author SHA1 Message Date
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
b119a18602 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
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
6ba74769bf 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
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
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
ginnyTheCat
77bce30981 Allow mimetypes with suffix in safe check (#808) 2022-09-04 19:15:07 +05:30
Ajay Bura
6709e70574 Fix multiple favicon changing request 2022-09-04 13:33:41 +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
Krishan
569611a1fa Release v2.1.3 2022-08-31 21:51:50 +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
ginnyTheCat
8688d6a34c Rework Markdown parsing (#719)
* Switch markdown parser

* Add inline maths

* Basic plain text rendering

* Add display math support

* Remove unnecessary <p> tag

* Fixed spoiler not working

* Add spoiler reason input support

* Make paragraphs display with newline in between

* Handle single newlines

* Fix typo when allowing start attribute

* Cleanup for merge

* Remove unused import
2022-08-21 19:34:09 +05:30
Ajay Bura
62498c513e Fix open room from search always open same space 2022-08-21 08:51:13 +05:30
Ajay Bura
8d861eaf42 Fix image lightbox height 2022-08-21 08:33:47 +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
jameskitt616
33ff24ebaf Add cancel edit-message on Escape Key press (#765) 2022-08-20 18:56:37 +05:30
Ajay Bura
55755fe056 Fix more css bugs 2022-08-19 15:19:12 +05:30
Ajay Bura
ffc2742e49 Fix minor css bugs 2022-08-19 13:57:24 +05:30
Ajay Bura
e15d333c8b Open image in lightbox (#767)
* Add lightbox

* Fix vertical media height (#467)

* Update dialog animation

* Fix overlay opacity

* Fix dialog animation

* Update open in new tab icon
2022-08-19 12:15:22 +05:30
James
36fef8a2cf Improve MIME type handling on File Upload and in Message Component (#688)
* move allowed MIME types to own util file

* add check for safe MIME type before choosing how to upload

* check for allowed blob type to decide what component to load

* re-add check for safe mimetype

* fix bracket positioning
2022-08-14 16:31:17 +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
9cf2f20abc Release v2.1.2 2022-08-11 19:10:12 +05:30
Ajay Bura
b2e133cd5c Fix image not loading without h/w data (#738) 2022-08-11 18:41:09 +05:30
Ajay Bura
d9aa4a9e49 Only render mxc images in markdown 2022-08-11 17:20:55 +05:30
Ajay Bura
f2833ea929 Fix emoji board style 2022-08-11 16:31:02 +05:30
Ajay Bura
803c927c10 Replace space by underscore in emoji shortcodes 2022-08-11 16:24:22 +05:30
Ajay Bura
92de05f1d7 Add navigation bar to sticker board 2022-08-11 16:13:53 +05:30
Ajay Bura
c1b5c3a61f Escape html with markdown off (#732) 2022-08-11 14:28:39 +05:30
Ajay Bura
f021f9c03d Fix logout not working when server offline 2022-08-11 13:41:07 +05:30
Ajay Bura
b9f2597ea6 Only scale image bigger than 512px (#731) 2022-08-11 13:33:54 +05:30
Ajay Bura
cb842dc8df Release v2.1.1 2022-08-07 20:21:16 +05:30
Ajay Bura
dc2e6fc353 Fix blurhash visible under transparent img (#721) 2022-08-07 20:14:47 +05:30
Ajay Bura
1148364cd9 Release v2.1.0 2022-08-07 19:04:38 +05:30
dependabot[bot]
f46f8f40f2 Bump matrix-js-sdk from 18.1.0 to 19.2.0 (#711)
* Bump matrix-js-sdk from 18.1.0 to 19.2.0

Bumps [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) from 18.1.0 to 19.2.0.
- [Release notes](https://github.com/matrix-org/matrix-js-sdk/releases)
- [Changelog](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-js-sdk/compare/v18.1.0...v19.2.0)

---
updated-dependencies:
- dependency-name: matrix-js-sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove session store

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-08-07 14:51:56 +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
1a70babad0 Stop sending mxid in body for pills 2022-08-07 14:28:49 +05:30
Ajay Bura
12e3a3625c Reset read receipt on sending sticker 2022-08-06 12:50:23 +05:30
Ajay Bura
bf6fa84aa9 Support RTL text in messages (#717) 2022-08-06 12:40:24 +05:30
Ajay Bura
22123c3cc4 Remove unused import 2022-08-06 12:21:20 +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